State determination method, apparatus and storage medium
By determining the status of environmental IoT devices and performing or rejecting operations based on that status, combined with saving context information, the problem of low availability and reliability of environmental IoT devices is solved, achieving more efficient device status management and operation execution.
Patent Information
- Application Number
- PCT/CN2024/089912
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2025-10-30
AI Technical Summary
In existing technologies, the availability and reliability of environmental IoT devices are low, especially for devices without batteries or with limited energy storage capacity, which face challenges in status determination and operation execution.
By determining the state of environmental IoT devices and performing or rejecting requested operations based on that state, combined with saving device context information, availability and reliability can be improved.
It improves the availability and reliability of environmental IoT devices, ensuring operational effectiveness and accurate device status.
Smart Images

Figure CN2024089912_30102025_PF_FP_ABST
Abstract
Description
Methods and apparatus for determining state, storage medium Technical Field
[0001] This disclosure relates to the Internet of Things (IoT) field, and more particularly to methods and apparatus for determining state, and storage media. Background Technology
[0002] Currently, the application of the Internet of Things (IoT) is becoming increasingly widespread, especially the environmental IoT, also known as the passive Internet of Things (Ambient IoT). Environmental IoT supports ambient power, requiring no batteries or having limited energy storage capacity (i.e., using capacitors), and can be powered by collecting radio waves, light, motion, heat, or any other suitable power source.
[0003] Summary of the Invention
[0004] To improve the availability of environmental IoT devices, embodiments of this disclosure provide a method and apparatus for determining the state, as well as a storage medium.
[0005] According to a first aspect of the present disclosure, a method for determining a state is provided, comprising:
[0006] Determine the state of the environmental IoT device, wherein the state of the environmental IoT device is one of multiple states;
[0007] Based on the state of the IoT device in the environment, execute the operation indicated by the first request or refuse to execute the operation indicated by the first request.
[0008] According to a second aspect of the present disclosure, a method for determining a state is provided, comprising:
[0009] The context information of the environmental IoT device is stored, including the state information of the environmental IoT device; wherein the environmental IoT device is in one of multiple states.
[0010] According to a third aspect of the present disclosure, an environmental Internet of Things (IoT) device is provided, comprising:
[0011] The processing module is configured to determine the state of an environmental IoT device, wherein the state of the environmental IoT device is one of multiple states;
[0012] The processing module is also configured to execute the operation indicated by the first request or refuse to execute the operation indicated by the first request based on the state of the IoT device in the environment.
[0013] According to a fourth aspect of the present disclosure, a first device is provided, comprising:
[0014] The processing module is configured to save context information of an environmental IoT device, the context information including the state information of the environmental IoT device; wherein the environmental IoT device is in one of multiple states.
[0015] According to a fifth aspect of the present disclosure, an environmental Internet of Things (IoT) device is provided, comprising:
[0016] One or more processors;
[0017] The processor is configured to execute the method for determining a state as described in any of the first aspects.
[0018] According to a sixth aspect of the present disclosure, a first device is provided, comprising:
[0019] One or more processors;
[0020] The processor is used to execute the method for determining the state as described in any of the second aspects.
[0021] According to a seventh aspect of the present disclosure, a communication system is provided, comprising:
[0022] An environmental Internet of Things (IoT) device, the environmental IoT device being configured to implement the method for determining a state as described in any of the first aspects;
[0023] A first device, configured to implement the method for determining a state as described in any of the second aspects.
[0024] According to an eighth aspect of the present disclosure, a storage medium is provided that stores instructions that, when executed on a communication device, cause the communication device to perform a method for determining a state as described in either the first or second aspect.
[0025] According to a ninth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, is used to implement a method for determining a state as described in either the first or second aspect.
[0026] In this embodiment of the disclosure, the environmental IoT device can perform the operation indicated by the first request or refuse to perform the operation based on its current state, thereby improving the availability and reliability of the environmental IoT device.
[0027] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0028] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0029] Figure 1A is an exemplary schematic diagram of the architecture of a communication system provided according to an embodiment of the present disclosure.
[0030] Figure 1B is a schematic diagram of an exemplary topology of an environmental Internet of Things (IoT) device provided according to an embodiment of the present disclosure.
[0031] Figure 1C is a schematic diagram of an exemplary topology of an environmental Internet of Things (IoT) device provided according to an embodiment of the present disclosure.
[0032] Figure 2 is an exemplary flowchart of a method for determining a state according to an embodiment of the present disclosure.
[0033] Figure 3A is an exemplary flowchart of a method for determining a state according to an embodiment of the present disclosure.
[0034] Figure 3B is an exemplary flowchart of a method for determining a state according to an embodiment of the present disclosure.
[0035] Figure 4A is an exemplary scenario diagram showing the state information on the first device corresponding to different states of the environmental IoT device provided in the embodiments of this disclosure.
[0036] Figure 4B is an exemplary scenario diagram showing the state information on the first device corresponding to different states of the environmental IoT device provided in the embodiments of this disclosure.
[0037] Figure 5A is an exemplary block diagram of an environmental Internet of Things (IoT) device provided according to an embodiment of the present disclosure.
[0038] Figure 5B is an exemplary block diagram of a first device provided according to an embodiment of the present disclosure.
[0039] Figure 6A is an exemplary interactive schematic diagram of a communication device provided according to an embodiment of the present disclosure.
[0040] Figure 6B is an exemplary interactive schematic diagram of a chip provided according to an embodiment of the present disclosure. Detailed Implementation
[0041] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0042] This disclosure provides a method, apparatus, and storage medium for determining a state.
[0043] In a first aspect, embodiments of this disclosure provide a method for determining a state, the method comprising:
[0044] Determine the state of the environmental IoT device, wherein the state of the environmental IoT device is one of multiple states;
[0045] Based on the state of the IoT device in the environment, execute the operation indicated by the first request or refuse to execute the operation indicated by the first request.
[0046] In the above embodiments, the environmental IoT device can perform the operation indicated by the first request or refuse to perform the operation based on its current state, thereby improving the availability and reliability of the environmental IoT device.
[0047] In conjunction with some embodiments of the first aspect, in some embodiments, the multiple states include at least one of the following:
[0048] The first state indicates that the IoT device in the environment has been successfully deployed.
[0049] The second state indicates that the IoT device is available in the environment.
[0050] The third state indicates that the IoT device in the environment has been successfully authenticated.
[0051] The fourth state indicates that the IoT device in the environment is unavailable.
[0052] In the above embodiments, the multiple states may include, but are not limited to, at least one of the above, so that environmental IoT devices can switch between multiple states, resulting in high availability.
[0053] In conjunction with some embodiments of the first aspect, in some embodiments, the second state is also used to indicate that the IoT device in the environment has been successfully authenticated.
[0054] In the above embodiments, the total number of states can be reduced, thus lowering the difficulty of controlling IoT devices in the environment.
[0055] In conjunction with some embodiments of the first aspect, in some embodiments, the step of performing the operation indicated by the first request or refusing to perform the operation indicated by the first request based on the state of the environmental IoT device includes at least one of the following:
[0056] In response to receiving the first request, and given that the environmental IoT device is in the first state, the first operation is performed;
[0057] In response to receiving the first request, and when the environmental IoT device is in the second state or the third state, the first operation is performed;
[0058] In response to receiving the first request, and with the environmental IoT device in the fourth state, the first operation is refused to be performed;
[0059] Wherein, the first request is used to request the environmental IoT device to perform the first operation; wherein, the first operation includes any one of the following:
[0060] Inventory operations;
[0061] Registration process;
[0062] Authentication process.
[0063] In the above embodiments, when the first request is used to request the environmental IoT device to perform the first operation, the environmental IoT device can determine whether to perform the first operation or refuse to perform the first operation based on its own state, thereby clarifying the state of the environmental IoT device that supports performing the first operation and improving the availability of the environmental IoT device.
[0064] In conjunction with some embodiments of the first aspect, in some embodiments, the method further includes any one of the following:
[0065] In response to the successful execution of the first operation, the environmental IoT device is controlled to switch to the second state or the third state;
[0066] In response to the successful execution of the first operation, it is determined that the environmental IoT device remains in the second state or the third state.
[0067] In the above embodiments, the environmental IoT device can switch states or remain in a second or third state in response to the successful execution of the first operation, thereby improving the availability and reliability of the environmental IoT device.
[0068] In conjunction with some embodiments of the first aspect, in some embodiments, the step of performing the operation indicated by the first request or refusing to perform the operation indicated by the first request based on the state of the environmental IoT device includes at least one of the following:
[0069] In response to receiving the first request, and with the environmental IoT device in the second state, the second operation is performed;
[0070] In response to receiving the first request, and with the environmental IoT device in the third state, the second operation is performed;
[0071] In response to receiving the first request, and given that the environmental IoT device is in the first state, the second operation is refused.
[0072] In response to receiving the first request, and with the environmental IoT device in the second state, the second operation is refused to be performed;
[0073] In response to receiving the first request, and with the environmental IoT device in the fourth state, the second operation is refused to be performed;
[0074] Wherein, the first request is used to request the environmental IoT device to perform the second operation; wherein, the second operation includes any one of the following:
[0075] Write operation;
[0076] Query operation;
[0077] Command operations.
[0078] In the above embodiments, when the first request is used to request the environmental IoT device to perform the second operation, the environmental IoT device can determine whether to perform the second operation or refuse to perform the second operation based on its own state, thus clarifying the state of the environmental IoT device that supports performing the second operation and improving the availability of the environmental IoT device.
[0079] In conjunction with some embodiments of the first aspect, in some embodiments, the method further includes any one of the following:
[0080] In response to the successful execution of the second operation, the environmental IoT device is controlled to switch to the third state;
[0081] That is, after successfully executing the second operation, the environmental IoT device can switch states, such as switching to the third state.
[0082] In response to the successful execution of the second operation, it is determined that the environmental IoT device remains in the third state;
[0083] That is, once the second operation is successfully performed, the environmental IoT device can maintain its current state, for example, remain in the third state.
[0084] In response to the successful execution of the second operation, the environmental IoT device is controlled to switch to the second state;
[0085] That is, after successfully executing the second operation, the environmental IoT device can switch states, such as switching to the second state.
[0086] In response to the successful execution of the second operation, it is determined that the environmental IoT device remains in the second state.
[0087] That is, once the second operation is successfully performed, the environmental IoT device can maintain its current state, for example, maintain the second state.
[0088] In the above embodiments, the environmental IoT device can switch states or remain in the second or third state in response to the successful execution of the second operation, thereby improving the availability and reliability of the environmental IoT device.
[0089] In conjunction with some embodiments of the first aspect, in some embodiments, the step of performing the operation indicated by the first request or refusing to perform the operation indicated by the first request based on the state of the environmental IoT device includes:
[0090] In response to receiving the first request, and when the environmental IoT device is in the second state or the third state, a third operation is performed;
[0091] In response to receiving the first request, and given that the environmental IoT device is in the first state, the third operation is refused.
[0092] In response to receiving the first request, and with the environmental IoT device in the second state, the third operation is refused.
[0093] In response to receiving the first request, and with the environmental IoT device in the fourth state, the third operation is refused.
[0094] Wherein, the first request is used to request the environmental IoT device to perform the third operation, the third operation including:
[0095] Disable operation.
[0096] In the above embodiments, when the first request is used to request the environmental IoT device to perform the third operation, the environmental IoT device can determine whether to perform the third operation or refuse to perform the third operation based on its own state, thus clarifying the state of the environmental IoT device that supports performing the third operation and improving the availability of the environmental IoT device.
[0097] In conjunction with some embodiments of the first aspect, in some embodiments, the method further includes:
[0098] In response to the successful execution of the third operation, the environmental IoT device is controlled to switch to the fourth state.
[0099] In the above embodiments, the environmental IoT device can switch states to the fourth state in response to the successful execution of the first operation, thereby improving the availability and reliability of the environmental IoT device. That is, after the successful execution of the third operation, the environmental IoT device can switch states, for example, to the fourth state.
[0100] In conjunction with some embodiments of the first aspect, in some embodiments, the environmental IoT in the fourth state does not support state switching.
[0101] In the above embodiments, the fourth state can be an irreversible state, which improves the availability and reliability of environmental IoT devices.
[0102] Secondly, embodiments of this disclosure provide a method for determining a state, the method comprising:
[0103] The context information of the environmental IoT device is stored, including the state information of the environmental IoT device; wherein the environmental IoT device is in one of multiple states.
[0104] In the above embodiments, the first device can maintain the context information of the environmental IoT device, which may include at least the state information of the environmental IoT device, thereby improving the reliability of the first device in controlling the environmental IoT device.
[0105] In conjunction with some embodiments of the second aspect, in some embodiments, the plurality of states includes at least one of the following:
[0106] The first state indicates that the IoT device in the environment has been successfully deployed.
[0107] The second state indicates that the IoT device is available in the environment.
[0108] The third state indicates that the IoT device in the environment has been successfully authenticated.
[0109] The fourth state indicates that the IoT device in the environment is unavailable.
[0110] In conjunction with some embodiments of the second aspect, in some embodiments, the second state is also used to indicate that the IoT device in the environment has been successfully authenticated.
[0111] In conjunction with some embodiments of the second aspect, in some embodiments, the status information of the environmental IoT device includes at least one of the following:
[0112] First status information, which indicates that the environmental IoT device is inactive;
[0113] The second status information is used to indicate whether the status of the IoT device in the environment is connected or activated.
[0114] The third state information is used to indicate that the state of the environmental IoT device is disabled.
[0115] In the above embodiments, the status information of the environmental IoT device stored on the first device can correspond to the status of the environmental IoT device, thereby improving the reliability of controlling the environmental IoT device.
[0116] In conjunction with some embodiments of the second aspect, in some embodiments, the context information further includes:
[0117] The device information of the environmental IoT device.
[0118] In the above embodiments, the context information of the environmental IoT device stored by the first device may also include the device information of the environmental IoT device. This allows for targeted sending of the first request to the environmental IoT device, improving the reliability of controlling the environmental IoT device to perform corresponding operations.
[0119] In conjunction with some embodiments of the second aspect, in some embodiments, the method further includes any one of the following:
[0120] In response to successfully acquiring the device information of the environmental IoT device, the status information of the environmental IoT device is recorded as the first status information;
[0121] In response to determining that the environmental IoT device has been successfully deployed, the status information of the environmental IoT device is recorded as the first status information.
[0122] In the above embodiments, the first device can record the status information of the environmental IoT device as the first status information upon successfully acquiring the device information of the environmental IoT device or determining that the environmental IoT device has been successfully deployed. This ensures that the first device and the environmental IoT device have a consistent understanding of the status of the environmental IoT device, resulting in high availability.
[0123] In conjunction with some embodiments of the second aspect, in some embodiments, the method further includes:
[0124] The status information of the environmental IoT device is either the first status information or the second status information. A first request is sent to the environmental IoT device, and the first request is used to request the environmental IoT device to perform a first operation.
[0125] The first operation includes any one of the following:
[0126] Inventory operations;
[0127] Registration process;
[0128] Authentication process.
[0129] In the above embodiments, the first device can request the environmental IoT device to perform a first operation based on the stored status information of the environmental IoT device, thereby improving the availability and reliability of the environmental IoT device.
[0130] In conjunction with some embodiments of the second aspect, in some embodiments, the method further includes:
[0131] In response to determining that the environmental IoT device has successfully performed the first operation, the status information of the environmental IoT device is recorded as the second status information.
[0132] In the above embodiments, the first device can update the stored status information of the environmental IoT device in a timely manner, ensuring that the first device and the environmental IoT device have a consistent understanding of the status of the environmental IoT device, and thus have high availability.
[0133] In conjunction with some embodiments of the second aspect, in some embodiments, the method further includes:
[0134] The status information of the environmental IoT device is the second status information. A first request is sent to the environmental IoT device, and the first request is used to request the environmental IoT device to perform a second operation.
[0135] The second operation includes any one of the following:
[0136] Write operation;
[0137] Query operation;
[0138] Command operations.
[0139] In the above embodiments, the first device can request the environmental IoT device to perform a second operation based on the stored status information of the environmental IoT device, thereby improving the availability and reliability of the environmental IoT device.
[0140] In conjunction with some embodiments of the second aspect, in some embodiments, the method further includes:
[0141] The status information of the environmental IoT device is the second status information. A first request is sent to the environmental IoT device, and the first request is used to request the environmental IoT device to perform the third operation.
[0142] The third operation includes:
[0143] Disable operation.
[0144] In the above embodiments, the first device can request the environmental IoT device to perform a third operation based on the stored status information of the environmental IoT device, thereby improving the availability and reliability of the environmental IoT device.
[0145] In conjunction with some embodiments of the second aspect, in some embodiments, the method further includes any one of the following:
[0146] In response to determining that the environmental IoT device has successfully performed the third operation, the context information of the environmental IoT device is deleted;
[0147] In response to determining that the environmental IoT device has successfully performed the third operation, the state information of the environmental IoT device is recorded as the third state information in the context information of the environmental IoT device.
[0148] In the above embodiments, the first device can promptly delete the saved context information of the environmental IoT device or update the status information of the environmental IoT device, ensuring that the first device and the environmental IoT device have a consistent understanding of the status of the environmental IoT device, resulting in high availability.
[0149] Thirdly, embodiments of this disclosure provide an environmental Internet of Things (IoT) device, comprising:
[0150] The processing module is configured to determine the state of an environmental IoT device, wherein the state of the environmental IoT device is one of multiple states;
[0151] The processing module is also configured to execute the operation indicated by the first request or refuse to execute the operation indicated by the first request based on the state of the IoT device in the environment.
[0152] Fourthly, embodiments of this disclosure provide a first device, comprising:
[0153] The processing module is configured to save context information of an environmental IoT device, the context information including the state information of the environmental IoT device; wherein the environmental IoT device is in one of multiple states.
[0154] Fifthly, embodiments of this disclosure provide an environmental Internet of Things (IoT) device, comprising:
[0155] One or more processors;
[0156] The processor is configured to execute the method for determining a state as described in any of the first aspects.
[0157] Sixthly, embodiments of this disclosure provide a first device, comprising:
[0158] One or more processors;
[0159] The processor is used to execute the method for determining the state as described in any of the second aspects.
[0160] In a seventh aspect, embodiments of this disclosure provide a communication system, comprising:
[0161] An environmental Internet of Things (IoT) device, the environmental IoT device being configured to implement the method for determining a state as described in any of the first aspects;
[0162] A first device, configured to implement the method for determining a state as described in any of the second aspects.
[0163] Eighthly, embodiments of this disclosure provide a storage medium storing instructions that, when executed on a communication device, cause the communication device to perform a method for determining a state as described in either the first or second aspect.
[0164] In a ninth aspect, embodiments of this disclosure provide a computer program product including a computer program, which, when executed by a processor, is used to implement a method for determining a state as described in any one of the first or second aspects.
[0165] Understandably, the aforementioned Ambient IoT device, first device, communication system, storage medium, and computer program are all used to execute the methods proposed in the embodiments of this disclosure. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods, and will not be repeated here.
[0166] This disclosure provides a method and apparatus for determining a state, as well as a storage medium. In some embodiments, the terms "method for determining a state" and "information processing method," "communication method," etc., can be used interchangeably; the terms "apparatus for determining a state" and "information processing apparatus," "communication apparatus," etc., can be used interchangeably; and the terms "information processing system," "communication system," etc., can be used interchangeably.
[0167] This disclosure is not exhaustive, but merely illustrative of some embodiments, and is not intended to limit the scope of protection of this disclosure. Unless otherwise specified, each step in a particular embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a particular embodiment can also be implemented as an independent embodiment, and the order of the steps in a particular embodiment can be arbitrarily interchanged. Furthermore, the optional implementation methods in a particular embodiment can be arbitrarily combined; moreover, the embodiments can be arbitrarily combined, for example, some or all steps of different embodiments can be arbitrarily combined, and a particular embodiment can be arbitrarily combined with the optional implementation methods of other embodiments.
[0168] In each of the disclosed embodiments, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of the embodiments are consistent and can be referenced by each other. Technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships.
[0169] The terminology used in the embodiments of this disclosure is for the purpose of describing particular embodiments only and is not intended to limit the scope of this disclosure.
[0170] In this embodiment of the disclosure, unless otherwise stated, elements expressed in the singular form, such as "a," "an," "the," "the aforementioned," "the," "this," etc., can mean "one and only one," or "one or more," "at least one," etc. For example, when using articles such as "a," "an," "the," etc. in translation, the noun following the article can be understood as either a singular expression or a plural expression.
[0171] In the embodiments disclosed herein, "multiple" refers to two or more.
[0172] In some embodiments, the terms “at least one of”, “one or more”, “a plurality of”, “multiple”, etc., may be used interchangeably.
[0173] In some embodiments, the notation "at least one of A and B", "A and / or B", "A in one case, B in another", "in response to one case A, in response to another case B", etc., may include the following technical solutions depending on the situation: in some embodiments, A (execute A regardless of B); in some embodiments, B (execute B regardless of A); in some embodiments, execution is selected from A and B (A and B are selectively executed); in some embodiments, A and B (both A and B are executed). The same applies when there are more branches such as A, B, C, etc.
[0174] In some embodiments, the notation "A or B" may include the following technical solutions, depending on the situation: in some embodiments, A (execution of A regardless of B); in some embodiments, B (execution of B regardless of A); in some embodiments, execution is selected from A and B (A and B are selectively executed). The same applies when there are more branches such as A, B, C, etc.
[0175] The prefixes "first," "second," etc., used in the embodiments of this disclosure are merely for distinguishing different descriptive objects and do not impose restrictions on the position, order, priority, quantity, or content of the descriptive objects. The description of the descriptive objects is found in the claims or the context of the embodiments, and the use of prefixes should not constitute unnecessary restrictions. For example, if the descriptive object is a "field," the ordinal numbers preceding "field" in "first field" and "second field" do not restrict the position or order of the "fields." "First" and "second" do not restrict whether the "fields" they modify are in the same message, nor do they restrict the order of "first field" and "second field." Similarly, if the descriptive object is a "level," the ordinal numbers preceding "level" in "first level" and "second level" do not restrict the priority between "levels." Furthermore, the number of descriptive objects is not limited by ordinal numbers and can be one or more. For example, in "first device," the number of "devices" can be one or more. Furthermore, the objects modified by different prefixes can be the same or different. For example, if the object being described is "device", then "first device" and "second device" can be the same device or different devices, and their types can be the same or different. Similarly, if the object being described is "information", then "first information" and "second information" can be the same information or different information, and their content can be the same or different.
[0176] In some embodiments, “including A,” “containing A,” “for indicating A,” and “carrying A” can be interpreted as directly carrying A or indirectly indicating A.
[0177] In some embodiments, the apparatus and device may be interpreted as physical or virtual, and their names are not limited to those described in the embodiments. In some cases, they may also be understood as "equipment", "device", "circuit", "network element", "node", "function", "unit", "section", "system", "network", "entity", "body", etc.
[0178] In some embodiments, the acquisition of data, information, etc., may comply with the laws and regulations of the country where the location is situated.
[0179] In some embodiments, data, information, etc., may be obtained with the user's consent.
[0180] Furthermore, each element, each row, or each column in the table of this disclosure can be implemented as an independent embodiment, and any combination of any element, any row, or any column can also be implemented as an independent embodiment.
[0181] Figure 1A is a schematic diagram of the architecture of a communication system according to an embodiment of the present disclosure.
[0182] As shown in Figure 1A, the communication system 100 includes an Ambient IoT device 101 and a first device 102.
[0183] In some embodiments, the Ambient IoT device 101 may include, but is not limited to, a device that can be triggered by the first device 102 to send data and / or signaling to the first device 102. It may be equipped with radio frequency identification (RFID) and can be triggered as a reader of the Ambient IoT device 101 to perform operations such as inventory and data reporting.
[0184] In some embodiments, the first device 102 may be a reader of the Ambient IoT device 101.
[0185] In some embodiments, the first device 102 may also be a network device 102, including but not limited to an access network device, or a core network device, or a server device, etc.
[0186] In some embodiments, the access network device described above is, for example, a node or device that connects a terminal to a wireless network. The access network device may include, but is not limited to, at least one of the following in a 5G communication system: evolved Node B (eNB), next-generation eNB (ng-eNB), next-generation Node B (gNB), node B (NB), home node B (HNB), home evolved node B (HeNB), radio backhaul device, radio network controller (RNC), base station controller (BSC), base transceiver station (BTS), base band unit (BBU), mobile switching center, base station in a 6G communication system, open RAN, cloud RAN, base station in other communication systems, and access node in a Wi-Fi system.
[0187] In some embodiments, the access network device described above may be composed of a central unit (CU) and a distributed unit (DU). The CU may also be called a control unit. By adopting the CU-DU structure, the protocol layer of the access network device can be separated. Some of the protocol layer functions are centrally controlled by the CU, while the remaining part or all of the protocol layer functions are distributed in the DU, which is centrally controlled by the CU. However, this is not the only possibility.
[0188] In some embodiments, when the first device 102 is a reader for the Ambient IoT device 101, the first device 102 can be an intermediate node located between the access network device and the Ambient IoT device 101, including but not limited to terminals, Integrated Access and Backhaul (IAB) nodes, relays, etc. For example, the intermediate node can transmit ambient IoT data and / or signaling between the base station and the Ambient IoT device 101.
[0189] The first device 102 can be, for example, a common terminal, including at least one of the following: mobile phone, wearable device, car with communication function, smart car, tablet computer, computer with wireless transceiver function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal device in industrial control, wireless terminal device in self-driving, wireless terminal device in remote medical surgery, wireless terminal device in smart grid, wireless terminal device in transportation safety, wireless terminal device in smart city, and wireless terminal device in smart home, but not limited to these.
[0190] In some embodiments, the first device 102 may be a core network device.
[0191] In some embodiments, when the first device 102 is a core network device, it may be a core network function, including but not limited to Access and Mobility Management Function (AMF), Unified Data Management (UDM), Unified Data Repository (UDR), and environmental IoT device functions (i.e., core network functions that serve environmental IoT devices, such as AIoT functions), etc. This disclosure does not limit it.
[0192] In some embodiments, the core network described above can be a single device, including one or more network elements, or it can be multiple devices or a group of devices. Network elements can be virtual or physical. The core network includes, for example, at least one of the Evolved Packet Core (EPC), 5G Core Network (5GCN), and Next Generation Core (NGC).
[0193] In some embodiments, the first device 102 may be an application function (AF).
[0194] In some embodiments, when the first device 102 is an AF, it may be provided by a third party.
[0195] In some embodiments, the technical solutions of this disclosure can be applied to the Open RAN architecture. In this case, the interfaces between or within access network devices involved in the embodiments of this disclosure can be transformed into internal interfaces of Open RAN. The processes and information interactions between these internal interfaces can be implemented by software or programs.
[0196] It is understood that the communication system described in this disclosure is for the purpose of more clearly illustrating the technical solutions of this disclosure, and does not constitute a limitation on the technical solutions proposed in this disclosure. As those skilled in the art will know, with the evolution of system architecture and the emergence of new business scenarios, the technical solutions proposed in this disclosure are also applicable to similar technical problems.
[0197] The following embodiments of this disclosure can be applied to the communication system 100 shown in FIG1A, or to some of the main bodies, but are not limited thereto. The main bodies shown in FIG1A are illustrative. The communication system may include all or some of the main bodies in FIG1A, or it may include other main bodies outside of FIG1A. The number and form of each main body are arbitrary. Each main body may be physical or virtual. The connection relationship between the main bodies is illustrative. The main bodies may not be connected or may be connected. The connection can be in any way, it can be a direct connection or an indirect connection, it can be a wired connection or a wireless connection.
[0198] In some embodiments, the application of environmental IoT can make supply chains more efficient and sustainable, prevent counterfeiting, and provide the data needed for advanced transportation and smart city initiatives.
[0199] For example, the connection topology of environmental IoT devices can be divided into several categories.
[0200] In some embodiments, this disclosure provides two exemplary topologies.
[0201] For example, as shown in Figure 1B, in topology 1, network devices communicate with environmental IoT devices.
[0202] In Topology 1, environmental IoT devices communicate directly and bidirectionally with network devices, such as base stations. The communication between the base station and the environmental IoT devices includes environmental IoT data and / or signaling.
[0203] For example, as shown in Figure 1C, network devices and environmental IoT devices communicate through an intermediate node.
[0204] In Topology 2, environmental IoT devices and base stations communicate bidirectionally through intermediate nodes. In Topology 2, these intermediate nodes are terminals, relays, or Integrated Access and Backhaul (IAB) nodes with environmental IoT service capabilities. The intermediate nodes transmit environmental IoT data and / or signaling between the base station and the environmental IoT devices.
[0205] To support environmental IoT services under the above topology, this disclosure provides the following methods, apparatus, and storage media for determining the state of environmental IoT devices and their state transitions, thereby improving the availability of environmental IoT devices, preventing malicious attacks, and enhancing the reliability of using environmental IoT devices.
[0206] Figure 2 is an interactive schematic diagram illustrating a method for determining a state according to an embodiment of the present disclosure. As shown in Figure 2, the present disclosure relates to a method for determining a state, the method including:
[0207] Step S2101: The first device 102 saves the context information of the environmental IoT device.
[0208] In some embodiments, the first device 102 may include, but is not limited to, core network functions, AF (Automatic Front-End), or a reader. When the first device 102 is a reader, it may include, but is not limited to, access network devices, terminals, or IAB nodes.
[0209] In some embodiments, the context information may include at least the status information of the environmental IoT device 101.
[0210] In other words, the first device 102 can store the status information of one or more environmental IoT devices 101, which can indicate the status of the corresponding environmental IoT device 101, such as indicating that the corresponding environmental IoT device 101 is in an active state.
[0211] The environmental IoT device 101 can proactively inform the first device 102 of its own context information, such as status information, or the first device 102 can obtain the context information of the environmental IoT device 101, such as status information.
[0212] This disclosure does not limit the method by which the first device obtains context information, such as status information, from the environmental IoT device 101.
[0213] In some embodiments, the status information of the environmental IoT device 101 may include, but is not limited to, at least one of the following:
[0214] First status information, which indicates that the environmental IoT device is inactive;
[0215] The second status information is used to indicate whether the status of the IoT device in the environment is connected or activated.
[0216] The third state information is used to indicate that the state of the environmental IoT device is disabled.
[0217] In one example, the first state information may be specifically ready or idle, etc., and this disclosure does not limit it.
[0218] In one example, the second status information may specifically be connected, active, or enabled, etc., and this disclosure does not limit it.
[0219] In one example, the third state information can be specifically disabled, killed, inactive, etc., and this disclosure does not limit it in this respect.
[0220] In one example, any scheme that indicates the state of the environmental IoT device 101 through different state information should fall within the scope of protection of this disclosure.
[0221] In some embodiments, the state of the environmental IoT device 101 can be one of multiple states.
[0222] In other words, the environmental IoT device 101 according to this disclosure may have multiple states. Different states can indicate the corresponding characteristics of the environmental IoT device. Furthermore, the environmental IoT device can switch between multiple states according to protocol agreements, its own implementation, or signaling.
[0223] In some embodiments, the multiple states or various states may include, but are not limited to, at least one of the following:
[0224] The first state can be used to indicate that the IoT device 101 in the environment has been successfully deployed.
[0225] The second state indicates that the IoT device is available in the environment.
[0226] The third state indicates that the IoT device in the environment has been successfully authenticated.
[0227] The fourth state indicates that the IoT device in the environment is unavailable.
[0228] In one example, the name of the first state is not limited and can be interchanged with the ready state, prepared state, etc., and this disclosure does not limit it.
[0229] In one example, the name of the second state is not limited and can be interchanged with the enabled state, active state, etc., and this disclosure does not limit it.
[0230] In one example, the name of the third state is not limited and can be interchanged with the secure state, trusted state, etc., and this disclosure does not limit it.
[0231] In one example, the name of the fourth state is not limited and can be interchanged with the disabled state, inactivated state, killed state, etc. This disclosure does not limit it.
[0232] It should be noted that the fourth state mentioned above is an irreversible state, meaning that the environmental IoT device 101 in the fourth state no longer supports state switching.
[0233] For example, when the environmental IoT device 101 is in an unavailable state, the first device 102 does not expect the environmental IoT device 101 to switch states, or will not obtain the state information of the environmental IoT device 101 for a period of time, or will not interact with the environmental IoT device 101.
[0234] In one example, the state information of the environmental IoT device 101 stored on the first device 102 should correspond to the state of the environmental IoT device 101. That is, the first device 102 can store state information corresponding to the state of the environmental IoT device 101 so as to conduct subsequent interactions with the environmental IoT device based on the stored state information.
[0235] For example, when the environmental IoT device 101 is in the first state described above, the state information of the environmental IoT device 101 stored on the first device 102 can be the first state information.
[0236] For example, when the environmental IoT device 101 is in the second or third state described above, the state information of the environmental IoT device 101 stored on the first device 102 can be the second state information.
[0237] For example, when the environmental IoT device 101 is in the fourth state described above, the state information of the environmental IoT device 101 stored on the first device 102 can be the third state information.
[0238] For example, when the environmental IoT device 101 is in the fourth state described above, the first device 102 can also delete the context information of the environmental IoT device 101 to improve the reliability of the context information recorded by the first device 102.
[0239] In some embodiments, to reduce the difficulty of controlling the IoT device 101 in the environment, the total number of states can be reduced.
[0240] That is, in some embodiments, the environmental IoT device can have the above four states as candidate states, that is, there are four possible states that the environmental IoT device can be in, and the environmental IoT device can switch between the four states.
[0241] In some embodiments, the environmental IoT device may have three of the four states described above as candidate states; that is, the environmental IoT device may be in three states. The environmental IoT device can switch between the three states. Of course, it is also possible to have two states or always be in one state, and this disclosure does not limit this. In one example, multiple states may include, but are not limited to, at least one of the following:
[0242] The first state can be used to indicate that the IoT device 101 in the environment has been successfully deployed.
[0243] The second state indicates that the IoT device in the environment is available and authentication is successful.
[0244] The fourth state indicates that the IoT device in the environment is unavailable.
[0245] In one example, the name of the first state is not limited and can be interchanged with the ready state, prepared state, etc., and this disclosure does not limit it.
[0246] In one example, the name of the second state is not limited and can be interchanged with the enabled state, active state, secure state, trusted state, etc. This disclosure does not limit it.
[0247] In one example, the name of the fourth state is not limited and can be interchanged with the disabled state, deactivated state, killed state, etc. This disclosure does not limit it.
[0248] It should be noted that the fourth state mentioned above is an irreversible state, meaning that the environmental IoT device 101 in the fourth state no longer supports state switching.
[0249] For example, when the environmental IoT device 101 is in an unavailable state, the first device 102 does not expect the environmental IoT device 101 to switch states, or will not obtain the state information of the environmental IoT device 101 for a period of time, or will not interact with the environmental IoT device 101.
[0250] In one example, the state information of the environmental IoT device 101 stored on the first device 102 should correspond to the state of the environmental IoT device 101.
[0251] For example, when the environmental IoT device 101 is in the first state described above, the state information of the environmental IoT device 101 stored on the first device 102 can be the first state information.
[0252] For example, when the environmental IoT device 101 is in the second state described above, the state information of the environmental IoT device 101 stored on the first device 102 can be the second state information.
[0253] For example, when the environmental IoT device 101 is in the fourth state described above, the state information of the environmental IoT device 101 stored on the first device 102 can be the third state information.
[0254] For example, when the environmental IoT device 101 is in the fourth state described above, the first device 102 can also delete the context information of the environmental IoT device 101 to improve the reliability of the context information recorded by the first device 102.
[0255] In some embodiments, the first device 102 may store context information of one or more environmental IoT devices 101. To distinguish the context information of different environmental IoT devices 101, the context information may also include device information of the environmental IoT devices 101.
[0256] In one example, the device information of the environmental IoT device 101 may include, but is not limited to, the device identifier of the environmental IoT device 101, such as the Electronic Product Code (EPC) of the environmental IoT device 101, or the group identifier of the device group to which the environmental IoT device 101 belongs.
[0257] In one example, the device information of the environmental IoT device 101 may include, but is not limited to, the device type information of the environmental IoT device 101, such as type 1, type A, etc.
[0258] In one example, the content of the device information of the environmental IoT device 101 is not limited. In some embodiments, since the state of the environmental IoT device may change, in order to ensure the reliability of the state information of the environmental IoT device 101 stored on the first device 102, the state information can be updated in a timely manner in the following ways:
[0259] In one example, if the first device 102 is a core network function or a reader, and the first device 102 successfully obtains the device information of the environmental IoT device 101, the first device 102 can record the status information of the environmental IoT device 101 as the aforementioned first status information.
[0260] In the case where the first device 102 is a core network function or a reader, it can obtain the device information of the environmental IoT device 101 from a third party, such as an AF. The device information of the environmental IoT device 101 includes, but is not limited to, the device identifier of the environmental IoT device 101.
[0261] In one example, if the first device 102 is AF, and the first device 102 determines that the environmental IoT device 101 has been successfully deployed, the first device 102 can record the status information of the environmental IoT device 101 as the aforementioned first status information.
[0262] In one example, if the first device 102 is a core network function, a reader, or an AF, and the current status information of the environmental IoT device 101 recorded by the first device 102 is the first status information, then if the first device 102 determines that the environmental IoT device 101 has successfully performed the first operation, the first device 102 can update the status information of the environmental IoT device 101 to the aforementioned second status information.
[0263] For example, the first operation may include, but is not limited to, at least one of the following:
[0264] Inventory operations;
[0265] Registration process;
[0266] Authentication process.
[0267] For example, the first device 102 sends a first request to the environmental IoT device 101, requesting it to perform a first operation. If the environmental IoT device can perform the first operation, it sends a first response to the first device. The first response may include the execution result of the environmental IoT device 101 performing the first operation, such as inventory result, authentication success indication information, and registration success indication information. The first device 102 can determine that the environmental IoT device 101 has successfully performed the first operation based on the first response.
[0268] For example, when the environmental IoT device 101 successfully executes the inventory operation initiated by the first device 102, the first device 102 updates the context information of the environmental IoT device 101 and records its status information as the second status information.
[0269] For example, when the environmental IoT device 101 successfully executes the registration operation initiated by the first device 102, the first device 102 updates the context information of the environmental IoT device 101 and records its status information as the second status information.
[0270] For example, when the environmental IoT device 101 successfully executes the authentication operation initiated by the first device 102, the first device 102 updates the context information of the environmental IoT device 101 and records its status information as the second status information.
[0271] In one example, if the first device 102 is a core network function, a reader, or an AF, and the status information of the environmental IoT device 101 is the second status information, if the first device 102 determines that the environmental IoT device 101 has successfully performed the first operation or the second operation, then the first device 102 can determine that the status information of the environmental IoT device 101 remains the aforementioned second status information.
[0272] For example, the first operation may include, but is not limited to, at least one of the following:
[0273] Inventory operations;
[0274] Registration process;
[0275] Authentication process.
[0276] For example, the second operation may include, but is not limited to, at least one of the following:
[0277] Write operation;
[0278] Query operation;
[0279] Command operations.
[0280] For example, the first device 102 can send a first request to the environmental IoT device 101, requesting it to perform a first operation or a second operation. After the environmental IoT device 101 determines to perform the first operation or the second operation, it can send a first response to the first device 102. The first response can include the execution result of the environmental IoT device 101 performing the first operation or the second operation. For example, the first response instructs the environmental IoT device 101 to switch to a second state, indicating that the environmental IoT device 101 has successfully performed the first operation. Or, for example, the first response includes a query result, indicating that the environmental IoT device 101 has successfully performed the second operation (specifically a query operation). At this time, the first device 102 can determine that the environmental IoT device 101 has successfully performed the first operation or the second operation based on the first response.
[0281] Understandably, after the environmental IoT device 101 successfully executes the first operation and updates its status information to the second status information, the first device 102 can cause the environmental IoT device 101 to execute the first operation again, allowing the environmental IoT device to re-perform the inventory, registration, or authentication operation. In this case, the first device 102 will not modify the status information of the environmental IoT device 101 that it has recorded.
[0282] It is understood that after the environmental IoT device 101 successfully performs the first operation and updates the status information to the second status information, the first device 102 can cause the environmental IoT device 101 to perform the second operation, enabling the environmental IoT device to perform data writing operations (the data may come from AF or other devices, which are not limited in this disclosure), command operations (including but not limited to the operations that the first device 102 expects the environmental IoT device to perform), and query operations (including but not limited to the data that the first device 102 expects the environmental IoT device to return). At this time, the first device 102 will not modify the status information of the environmental IoT device 101 that it has recorded.
[0283] In one example, if the first device 102 is a core network function, a reader, or an AF, and the status information of the environmental IoT device 101 is the second status information, then if the first device 102 determines that the environmental IoT device 101 has successfully performed the third operation, the first device 102 can update the status information of the environmental IoT device 101 to the aforementioned third status information.
[0284] For example, the third operation includes, but is not limited to, disabling operations.
[0285] For example, the first device 102 may send a first request to the environmental IoT device 101, requesting it to perform a third operation. After the environmental IoT device 101 determines that it will perform the third operation, it may send a first response to the first device 102. The first response indicates the execution result of the environmental IoT device 101 performing the third operation, such as instructing the environmental IoT device 101 to switch to a fourth state, or instructing the environmental IoT device 101 to be successfully disabled. The environmental IoT device 101 may determine that it has successfully performed the third operation based on the first response.
[0286] In some embodiments, any scheme by which the first device 102 ensures that the recorded state information of the environmental IoT device 101 is consistent with the state of the environmental IoT device 101 shall fall within the protection scope of this disclosure.
[0287] In some embodiments, it is understood that if the environmental IoT device 101 determines that it will not perform the operation indicated by the first request, it may send a second response to the first device 102. The second response is used to inform the first device 102 that the environmental IoT device 101 refuses to perform the corresponding operation.
[0288] For example, the second response may include a reason for refusing to perform, such as the current state of the environmental IoT device 101 not supporting the performance of the operation, and / or the state of the environmental IoT device 101, so that the first device 102 can determine whether to update the state information of the environmental IoT device 101 recorded by itself based on the second response.
[0289] For example, the second response is used to instruct the environmental IoT device to refuse to perform the second operation, and it indicates that the environmental IoT device 101 is currently in a fourth state. The first device 102 can check whether the state information of the environmental IoT device 101 recorded by itself is the third state information corresponding to the fourth state, that is, whether it matches the current state of the environmental IoT device 101. This ensures that the first device 101 and the environmental IoT device 101 have a consistent understanding of the state of the environmental IoT device 101, improving the reliability of using the environmental IoT device 101.
[0290] In step S2102, the first device 102 sends a first request to the environmental IoT device 101.
[0291] In some embodiments, the first device 102 sends the first request to the environmental IoT device 101 based on the status information of the environmental IoT device 101 stored in itself.
[0292] In some embodiments, the first request may be used to request an environmental IoT device to perform a corresponding operation, which includes, but is not limited to, the first operation, the second operation, or the third operation described above.
[0293] In some embodiments, the name of the first request is not limited and can be interchanged with request information, request message, request command, etc.
[0294] In some embodiments, the first request may be initiated by the AF and sent to the environmental IoT device 101 through core network functions, access network devices, intermediate nodes, etc.
[0295] In one example, the first device 102 is AF. The first device 102 sends a first request to the core network function, which forwards it to the access network device (the access network device to which the environmental IoT device 101 is connected). The access network device sends the request directly to the environmental IoT device 101, or sends it to an intermediate node, which then forwards it to the environmental IoT device 101.
[0296] In one example, the first device 102 is a core network function. After receiving the first request sent by the AF, the first device 102 forwards it to the access network device (the access network device to which the environmental IoT device 101 is connected). The access network device sends it directly to the environmental IoT device 101, or the access network device sends it to the intermediate node, and the intermediate node forwards it to the environmental IoT device 101.
[0297] In one example, the first device 102 is a reader and an access network device. At this time, the first device 102 receives the first request sent by the core network function (the core network function obtains the first request from the AF) and sends it directly to the environmental IoT device 101.
[0298] In one example, the first device 102 is a reader and an intermediate node. At this time, the first device 102 receives the first request sent by the access network device (the access network device obtains the first request from the core network function) and sends it to the environmental IoT device 101.
[0299] In some embodiments, the process by which the first device 102 sends the first request to the environmental IoT device 101 based on the status information of the environmental IoT device 101 stored within it may specifically include:
[0300] In one example, the status information of the environmental IoT device 101 stored on the first device 102 is the aforementioned first status information. At this time, the first device 102 can send a first request to the environmental IoT device 101. The first request is used to request the environmental IoT device 101 to perform a first operation, which includes, but is not limited to, inventory operation, registration operation, or authentication operation.
[0301] In one example, the status information of the environmental IoT device 101 stored on the first device 102 is the second status information mentioned above. At this time, the first device 102 can send a first request to the environmental IoT device 101. The first request is used to request the environmental IoT device 101 to (again) perform a first operation. The first operation includes, but is not limited to, inventory operation, registration operation or authentication operation.
[0302] In one example, the status information of the environmental IoT device 101 stored on the first device 102 is the second status information mentioned above. At this time, the first device 102 can send a first request to the environmental IoT device 101. The first request is used to request the environmental IoT device 101 to perform a second operation. The second operation includes, but is not limited to, a write operation, a command operation, or a query operation.
[0303] In one example, the status information of the environmental IoT device 101 stored on the first device 102 is the second status information mentioned above. At this time, the first device 102 can send a first request to the environmental IoT device 101. The first request is used to request the environmental IoT device 101 to perform a third operation, which includes, but is not limited to, disabling operations.
[0304] In one example, the first device 102 has deleted the context information of the environmental IoT device 101. At this time, the first device 102 will not send a first request to the environmental IoT device 101. The first request is used to request the environmental IoT device 101 to perform a first operation or a second operation.
[0305] In one example, the status information of the environmental IoT device 101 stored on the first device 102 is the third status information mentioned above. At this time, the first device 102 will not send a first request to the environmental IoT device 101. The first request is used to request the environmental IoT device 101 to perform a first operation or a second operation.
[0306] The above is merely an illustrative example. Any scheme in which the first device 102 sends a first request to the environmental IoT device 101 should fall within the protection scope of this disclosure.
[0307] In step S2103, the environmental IoT device 101 determines its current state and / or performs a state switch.
[0308] In some embodiments, the state of the environmental IoT device 101 can be one of multiple states.
[0309] In some embodiments, the multiple states may include, but are not limited to, the four states described above (first state, second state, third state, and fourth state). Accordingly, the environmental IoT device 101 determines its current state and / or performs state switching in the following manner:
[0310] In one example, after the environmental IoT device 101 is successfully deployed, it is determined to be in the first state.
[0311] In one example, if the environmental IoT device 101 is in a first state and has successfully performed the first operation described above, including but not limited to inventory or registration operations, the environmental IoT device 101 determines to perform a state switch and transitions from the first state to the second state. After performing the state switch, the environmental IoT device 101 determines to be in the second state.
[0312] In one example, if the environmental IoT device 101 is in a first state and has successfully performed the first operation described above, which includes, but is not limited to, a registration operation or an authentication operation, then the environmental IoT device 101 determines to perform a state switch and transitions from the first state to the third state. After performing the state switch, the environmental IoT device 101 is determined to be in the third state.
[0313] In one example, if the environmental IoT device 101 is in the second state and has successfully performed the first operation described above, including but not limited to registration or authentication, then the environmental IoT device 101 determines to perform a state switch, transitioning from the second state to the third state. After the state switch, the environmental IoT device 101 is determined to be in the third state.
[0314] In one example, if the environmental IoT device 101 is in the second state and successfully executes the aforementioned second operation, which includes but is not limited to write operations, command operations, or query operations, then the environmental IoT device 101 determines to perform a state switch and transitions from the second state to the third state. After performing the state switch, the environmental IoT device 101 is determined to be in the third state.
[0315] In one example, if the environmental IoT device 101 is in the second state and successfully performs the first operation described above, including but not limited to inventory or registration operations, then the environmental IoT device 101 is determined to remain in the second state, that is, it is determined that it is still in the second state.
[0316] In one example, if the environmental IoT device 101 is in the third state and successfully performs the first operation described above, including but not limited to inventory operation, registration operation, or authentication operation, then the environmental IoT device 101 is determined to remain in the third state, that is, it is determined that it is still in the third state.
[0317] In one example, if the environmental IoT device 101 is in the third state and successfully performs the second operation described above, including but not limited to write operations, command operations, or query operations, then the environmental IoT device 101 is determined to remain in the third state, that is, it is determined that it is still in the third state.
[0318] In one example, if the environmental IoT device 101 is in the third state and successfully performs the aforementioned third operation (including but not limited to a disable operation), then the environmental IoT device 101 determines to perform a state switch and transitions from the third state to the fourth state. After performing the state switch, the environmental IoT device 101 is determined to be in the fourth state.
[0319] In one example, the environmental IoT device 101 in the fourth state no longer supports state switching.
[0320] In one example, the environmental IoT device 101 in the fourth state refuses to perform any operation.
[0321] In one example, after environmental IoT device 101 successfully executes any of the above operations, such as obtaining data or information requested by first device 102, it can send a first response to first device 102. This first response can be used to instruct environmental IoT device 101 to execute the operation indicated by the first request. First device 102 can update the status information of environmental IoT device 101 stored therein based on the first response.
[0322] In one example, if the environmental IoT device 101 refuses to perform any of the above operations, it can send a second response to the first device 102. This second response can be used to inform the first device 102 that the environmental IoT device 101 refuses to perform the operation indicated by the first request. Exemplarily, the second response may include the reason for the refusal and / or the current state of the environmental IoT device 101. The first device 102 can update its stored state information of the environmental IoT device 101 based on the second response.
[0323] In some embodiments, the multiple states may include, but are not limited to, the three states described above (first state, second state, and fourth state). Accordingly, the environmental IoT device 101 determines its current state and / or performs state switching in the following manner:
[0324] In one example, after the environmental IoT device 101 is successfully deployed, it is determined to be in the first state.
[0325] In one example, if the environmental IoT device 101 is in a first state and has successfully performed the first operation described above, including but not limited to inventory, registration, or authentication operations, the environmental IoT device 101 determines to perform a state switch and transitions from the first state to the second state. After performing the state switch, the environmental IoT device 101 determines to be in the second state.
[0326] In one example, if the environmental IoT device 101 is in the first state and successfully executes the second operation described above, which includes, but is not limited to, a write operation, a command operation, or a query operation, the environmental IoT device 101 determines to perform a state switch, transitioning from the first state to the second state. After performing the state switch, the environmental IoT device 101 is determined to be in the second state.
[0327] In one example, if the environmental IoT device 101 is in the second state and successfully performs the first operation described above, including but not limited to inventory operation, registration operation, or authentication operation, the environmental IoT device 101 determines that it remains in the second state, that is, it determines that it is still in the second state.
[0328] In one example, if the environmental IoT device 101 is in the second state and successfully performs the second operation described above, including but not limited to write operations, command operations, or query operations, then the environmental IoT device 101 is determined to remain in the second state, that is, it is determined that it is still in the second state.
[0329] In one example, if the environmental IoT device 101 is in the second state and successfully performs the third operation described above, which includes, but is not limited to, a disabling operation, then the environmental IoT device 101 determines to perform a state switch, transitioning from the second state to the fourth state. After performing the state switch, the environmental IoT device 101 is determined to be in the fourth state.
[0330] In one example, the environmental IoT device 101 in the fourth state no longer supports state switching.
[0331] In one example, the environmental IoT device 101 in the fourth state refuses to perform any operation.
[0332] In one example, after successfully executing any of the above operations, the environmental IoT device 101 can send a first response to the first device 102. This first response can be used to indicate the execution result of the operation indicated by the first request. Based on the first response, the first device 102 can determine that the environmental IoT device 101 has executed the corresponding operation successfully, and can further update the status information of the environmental IoT device 101 stored therein.
[0333] In one example, if the environmental IoT device 101 refuses to perform any of the above operations, it can send a second response to the first device 102. This second response can be used to indicate that the environmental IoT device 101 refuses to perform the operation indicated by the first request. This response may include the reason for refusal and / or the current state of the environmental IoT device 101. Based on the second response, the first device 102 can update the state information of the environmental IoT device 101 that it stores.
[0334] In step S2104, the environmental IoT device 101, based on its current state, performs the operation indicated by the first request or refuses to perform the operation indicated by the first request.
[0335] In some embodiments, the state of the environmental IoT device 101 can be one of multiple states.
[0336] In some embodiments, the multiple states may include, but are not limited to, the four states described above (first state, second state, third state, and fourth state). Accordingly, the environmental IoT device 101 performs the operation indicated by the first request or refuses to perform the operation indicated by the first request based on its current state in the following manner:
[0337] In one example, environmental IoT device 101 receives a first request, which requests environmental IoT device 101 to perform a first operation. If environmental IoT device 101 is currently in a first state, then environmental IoT device 101 can perform the first operation. The first operation includes, but is not limited to, the inventory operation, registration operation, or authentication operation described above.
[0338] After the environmental IoT device 101 successfully executes the first operation, it can trigger a state switch of the environmental IoT device 101, which can switch to the second state or the third state. The specific scheme for determining the state of the environmental IoT device 101 after the switch has been introduced in the foregoing embodiments and will not be repeated here.
[0339] In one example, environmental IoT device 101 receives a first request, which requests environmental IoT device 101 to perform a first operation. If environmental IoT device 101 is currently in a second state, then environmental IoT device 101 can perform the first operation. The first operation includes, but is not limited to, the inventory operation, registration operation, or authentication operation described above.
[0340] After the environmental IoT device 101 successfully performs the first operation, it can be triggered to switch to the third state, or the environmental IoT device 101 can remain in the second state. The specific scheme for determining the state of the environmental IoT device 101 at this time has been introduced in the foregoing embodiments and will not be repeated here.
[0341] In one example, environmental IoT device 101 receives a first request, which requests environmental IoT device 101 to perform a first operation. If environmental IoT device 101 is currently in a third state, then environmental IoT device 101 can perform the first operation. The first operation includes, but is not limited to, the inventory operation, registration operation, or authentication operation described above.
[0342] After the environmental IoT device 101 successfully executes the first operation, the environmental IoT device 101 can remain in the third state. The specific solution has been described in the foregoing embodiments and will not be repeated here.
[0343] In one example, if environmental IoT device 101 receives a first request requesting it to perform a first operation, and the device is currently in a fourth state, it may refuse to perform the first operation. The first operation may include, but is not limited to, the inventory operation, registration operation, or authentication operation described above.
[0344] In one example, if environmental IoT device 101 receives a first request requesting it to perform a second operation, and the device is currently in a first state, then it may refuse to perform the second operation. The second operation may include, but is not limited to, the write operation, command operation, or query operation described above.
[0345] In one example, environmental IoT device 101 receives a first request, which requests environmental IoT device 101 to perform a second operation. If environmental IoT device 101 is currently in a second state, then environmental IoT device 101 can perform the second operation. The second operation includes, but is not limited to, the write operation, command operation, or query operation described above.
[0346] After the environmental IoT device 101 successfully executes the second operation, it can be triggered to switch to the third state. The specific solution has been described in the aforementioned embodiments and will not be repeated here.
[0347] In one example, environmental IoT device 101 receives a first request, which requests environmental IoT device 101 to perform a second operation. If environmental IoT device 101 is currently in a third state, then environmental IoT device 101 can perform the second operation. The second operation includes, but is not limited to, the write operation, command operation, or query operation described above.
[0348] After the environmental IoT device 101 successfully performs the second operation, the environmental IoT device 101 can remain in the third state. The specific solution has been described in the foregoing embodiments and will not be repeated here.
[0349] In one example, if environmental IoT device 101 receives a first request requesting it to perform a second operation, and the device is currently in a fourth state, then it may refuse to perform the second operation. The second operation may include, but is not limited to, the write operation, command operation, or query operation described above.
[0350] In one example, if environmental IoT device 101 receives a first request requesting it to perform a third operation, and the device is currently in a first state, then it can refuse to perform the third operation. The third operation may include, but is not limited to, the aforementioned disabling operation.
[0351] In one example, if environmental IoT device 101 receives a first request requesting it to perform a third operation, and the device is currently in a second state, then it may refuse to perform the third operation. The third operation may include, but is not limited to, the aforementioned disabling operation.
[0352] In one example, environmental IoT device 101 receives a first request, which requests environmental IoT device 101 to perform a third operation. If environmental IoT device 101 is currently in a third state, then environmental IoT device 101 can perform the third operation. The third operation includes, but is not limited to, the aforementioned disabling operation.
[0353] After the environmental IoT device 101 successfully executes the third operation, the environmental IoT device 101 can enter the fourth state. The specific solution has been described in the aforementioned embodiments and will not be repeated here.
[0354] In one example, if environmental IoT device 101 receives a first request requesting it to perform a third operation, and the device is currently in a fourth state, then it may refuse to perform the third operation. The third operation may include, but is not limited to, the aforementioned disabling operation.
[0355] As can be seen from the above embodiments, the environmental IoT device 101 can perform a first operation in a first state, perform a first operation or a second operation in a second state, and perform the aforementioned second operation or third operation in a third state, but does not support any operation in a fourth state.
[0356] In some embodiments, the multiple states may include, but are not limited to, the three states described above (first state, second state, and fourth state). Accordingly, the environmental IoT device 101 performs the operation indicated by the first request or refuses to perform the operation indicated by the first request based on its current state in the following manner:
[0357] In one example, environmental IoT device 101 receives a first request, which requests environmental IoT device 101 to perform a first operation. If environmental IoT device 101 is currently in a first state, then environmental IoT device 101 can perform the first operation. The first operation includes, but is not limited to, the inventory operation, registration operation, or authentication operation described above.
[0358] After the environmental IoT device 101 successfully executes the first operation, it can trigger a state switch of the environmental IoT device 101, which can switch to the second state. The specific solution has been described in the aforementioned embodiments and will not be repeated here.
[0359] In one example, environmental IoT device 101 receives a first request, which requests environmental IoT device 101 to perform a first operation. If environmental IoT device 101 is currently in a second state, then environmental IoT device 101 can perform the first operation. The first operation includes, but is not limited to, the inventory operation, registration operation, or authentication operation described above.
[0360] After the environmental IoT device 101 successfully performs the first operation, the environmental IoT device 101 can remain in the second state. The specific solution has been described in the foregoing embodiments and will not be repeated here.
[0361] In one example, if environmental IoT device 101 receives a first request requesting it to perform a first operation, and the device is currently in a fourth state, it may refuse to perform the first operation. The first operation may include, but is not limited to, the inventory operation, registration operation, or authentication operation described above.
[0362] In one example, if environmental IoT device 101 receives a first request requesting it to perform a second operation, and the device is currently in a first state, then it may refuse to perform the second operation. The second operation may include, but is not limited to, the write operation, command operation, or query operation described above.
[0363] In one example, environmental IoT device 101 receives a first request, which requests environmental IoT device 101 to perform a second operation. If environmental IoT device 101 is currently in a second state, then environmental IoT device 101 can perform the second operation. The second operation includes, but is not limited to, the write operation, command operation, or query operation described above.
[0364] After the environmental IoT device 101 successfully performs the second operation, the environmental IoT device 101 can remain in the second state. The specific solution has been described in the foregoing embodiments and will not be repeated here.
[0365] In one example, if environmental IoT device 101 receives a first request requesting it to perform a second operation, and the device is currently in a fourth state, then it may refuse to perform the second operation. The second operation may include, but is not limited to, the write operation, command operation, or query operation described above.
[0366] In one example, if environmental IoT device 101 receives a first request requesting it to perform a third operation, and the device is currently in a first state, then it can refuse to perform the third operation. The third operation may include, but is not limited to, the aforementioned disabling operation.
[0367] In one example, environmental IoT device 101 receives a first request requesting it to perform a third operation. If environmental IoT device 101 is currently in a second state, then environmental IoT device 101 can perform the third operation. The third operation includes, but is not limited to, the aforementioned disabling operation.
[0368] After the environmental IoT device 101 successfully executes the third operation, the environmental IoT device 101 can enter the fourth state. The specific solution has been described in the aforementioned embodiments and will not be repeated here.
[0369] In one example, if environmental IoT device 101 receives a first request requesting it to perform a third operation, and the device is currently in a fourth state, then it may refuse to perform the third operation. The third operation may include, but is not limited to, the aforementioned disabling operation.
[0370] As can be seen from the above embodiments, the environmental IoT device 101 can perform a first operation in a first state, perform a first operation, a second operation, or a third operation in a second state, and does not support any operation in a fourth state.
[0371] In some embodiments, the environmental IoT device 101 may send a first response to the first device 102, including the result of performing the operation, if the operation is performed as indicated by the first request.
[0372] In some embodiments, if the environmental IoT device 101 refuses to perform the operation indicated by the first request, it may send a second response to the first device 102, including the reason for refusing to perform the operation and / or the current state of the environmental IoT device 101.
[0373] The specific implementation method has been described in the foregoing embodiments and will not be repeated here.
[0374] The above is merely an illustrative example, and all schemes for state switching of the environmental IoT device 101 should fall within the protection scope of this disclosure.
[0375] In some embodiments, the names of information, etc., are not limited to the names described in the embodiments. Terms such as "information", "message", "signal", "signaling", "report", "configuration", "indication", "instruction", "command", "channel", "parameter", "domain", "field", "symbol", "symbol", "codebook", "codeword", "codepoint", "bit", "data", "program", and "chip" can be used interchangeably.
[0376] In some embodiments, terms such as “send,” “transmit,” “report,” “distribute,” “transfer,” “bidirectional transmission,” “send and / or receive” can be used interchangeably.
[0377] In some embodiments, “get,” “obtain,” “receive,” “transmit,” “bidirectional transmission,” and “send and / or receive” can be used interchangeably and can be interpreted as receiving from other entities, obtaining from protocols, obtaining from higher layers, obtaining through self-processing, or autonomous implementation, among other meanings.
[0378] In some embodiments, the communication method involved in this disclosure may include at least one of steps S2101 to S2104. For example, step S2101 may be implemented as an independent embodiment, step S2102 may be implemented as an independent embodiment, steps S2101 to S2102 may be implemented as independent embodiments, step S2103 may be implemented as an independent embodiment, step S2104 may be implemented as an independent embodiment, steps S2103 to S2104 may be implemented as independent embodiments, and steps S2101 to S2104 may be implemented as independent embodiments, but are not limited thereto.
[0379] In some embodiments, step S2101 is optional, and one or more of these steps may be omitted or substituted in different embodiments. For example, if the first device 102 is unable to serve the environmental IoT device 101, step S2101 may not be performed.
[0380] In some embodiments, step S2102 is optional, and one or more of these steps may be omitted or substituted in different embodiments. For example, step S2102 may not be executed when another entity sends a first request to the environmental IoT device 101.
[0381] In some embodiments, step S2103 is optional, and one or more of these steps may be omitted or substituted in different embodiments. For example, if the environmental IoT device 101 is always in a certain state, step S2103 may not be executed.
[0382] In some embodiments, step S2104 is optional, and one or more of these steps may be omitted or substituted in different embodiments. For example, step S2104 may not be executed when the operation indicated by the first request is performed or refused to be performed by another executing entity.
[0383] In some embodiments, steps S2101 to S2104 are optional, and one or more of these steps may be omitted or substituted in different embodiments.
[0384] In some embodiments, the execution order of steps S2101 to S2104 is not limited.
[0385] In one example, step S2101 can be executed after step S2103. For example, if the environmental IoT device 101 updates its own state, the first device 102 can adaptively update the stored state information of the environmental IoT device 101.
[0386] In one example, step S2103 can be executed after step S2104. For example, after the environmental IoT device 101 successfully performs any operation, it can trigger a state switch.
[0387] In one example, step S2101 can be executed after step S2102. For example, after the first device 102 sends a first request and determines that the environmental IoT device 101 has successfully performed the corresponding operation, the first device 102 is triggered to update the state information of the environmental IoT device 101 it has saved.
[0388] In the above embodiments, the environmental IoT device can perform the operation indicated by the first request or refuse to perform the operation based on its current state. The first device can also store the context information of the environmental IoT device, which includes at least the state information of the environmental IoT device, thereby improving the availability and reliability of the environmental IoT device.
[0389] Figure 3A is an interactive schematic diagram illustrating a method for determining a state according to an embodiment of the present disclosure. As shown in Figure 3A, the present disclosure relates to a method for determining a state, which can be executed by an environmental Internet of Things (IoT) device 101. The method includes:
[0390] Step S3101: Obtain the first request.
[0391] In some embodiments, the environmental IoT device 101 may obtain the first request from the first device 102, but is not limited thereto, and may also receive the first request sent by other entities.
[0392] In some embodiments, the environmental IoT device 101 obtains a first request determined according to predefined rules.
[0393] In some embodiments, the environmental IoT device 101 processes the request to obtain the first request.
[0394] In some embodiments, step S3101 is omitted, the environmental IoT device 101 autonomously implements the function indicated by the first request, or the environmental IoT device 101 obtains the first request based on predefined rules or protocol agreements, or the above function is a default or default setting.
[0395] In some embodiments, optional implementations of step S3101 can be found in optional implementations of step S2102 in FIG2 and other related parts in the embodiments involved in FIG2, which will not be repeated here.
[0396] Step S3102: Determine the current state and / or perform a state switch.
[0397] In some embodiments, optional implementations of step S3102 can be found in optional implementations of step S2103 in FIG2 and other related parts in the embodiments involved in FIG2, which will not be repeated here.
[0398] Step S3103: Perform the operation indicated by the first request or refuse to perform the operation.
[0399] In some embodiments, optional implementations of step S3103 can be found in optional implementations of step S2104 in FIG2 and other related parts in the embodiments involved in FIG2, which will not be repeated here.
[0400] In some embodiments, steps S3101 to S3103 are optional, and one or more of these steps may be omitted or substituted in different embodiments.
[0401] In some embodiments, the execution order of steps S3101 to S3103 is not limited.
[0402] In the above embodiments, the environmental IoT device can perform the operation indicated by the first request or refuse to perform the operation based on its current state, thereby improving the availability and reliability of the environmental IoT device.
[0403] Figure 3B is an interactive schematic diagram illustrating a method for determining a state according to an embodiment of the present disclosure. As shown in Figure 3B, the present disclosure relates to a method for determining a state, which can be executed by a first device 102, and the method includes:
[0404] Step S3201: Save the context information of the environmental IoT device 101.
[0405] In some embodiments, optional implementations of step S3201 can be found in optional implementations of step S2101 in FIG2 and other related parts in the embodiments involved in FIG2, which will not be repeated here.
[0406] Step S3202: Send the first request.
[0407] In some embodiments, the first device 102 may send a first request to the environmental IoT device 101. The first request may instruct the environmental IoT device to perform a corresponding operation.
[0408] In some embodiments, the environmental IoT device 101 receives a first request.
[0409] In some embodiments, the first request is used to request the environmental IoT device 101 to perform a first operation, a second operation, or a third operation. The specific content of the first, second, and third operations has been described in detail in the foregoing embodiments and will not be repeated here. Furthermore, the environmental IoT device can determine whether to perform an operation related to the first request based on the content of the first request and its own current state. For example, in some embodiments, the environmental IoT device performs the corresponding operation; in other embodiments, the environmental IoT device refuses to perform the corresponding operation.
[0410] In some embodiments, the environmental IoT device may inform the first device of the result of the operation (execution / rejection).
[0411] In some embodiments, optional implementations of step S3202 can be found in optional implementations of step S2102 in FIG2 and other related parts in the embodiments involved in FIG2, which will not be repeated here.
[0412] In some embodiments, steps S3201 to S3202 are optional, and one or more of these steps may be omitted or substituted in different embodiments.
[0413] In some embodiments, the execution order of steps S3201 to S3202 is not limited.
[0414] In the above embodiments, the first device can store the context information of the environmental IoT device, which includes the status information of the environmental IoT device, thereby improving the availability and reliability of the environmental IoT device.
[0415] The above scheme is further illustrated with examples below.
[0416] Example 1, for example as shown in Figure 4A, includes multiple states including but not limited to at least one of the following: ready state; enabled state; secured state; disabled state.
[0417] The context information stored on the first device can include the status information of the environmental IoT device, which can be ready, connected, or disabled.
[0418] The switching between the above four states and the state information of the environmental IoT devices on the first device can be shown in Table 1, for example.
[0419] Table 1
[0420] Example 2, as shown in Figure 4B, includes multiple states including but not limited to at least one of the following: ready state; enabled state; disabled state.
[0421] The context information stored on the first device includes the status information of the environmental IoT device, which can be ready, connected, or disabled.
[0422] The switching between the above three states and the state information of the environmental IoT devices on the first device can be shown in Table 2.
[0423] Table 2
[0424] The above is merely an illustrative example. One or more rows and one or more columns of Tables 1 and 2 can be used individually or in combination. This disclosure does not limit the combination method.
[0425] This disclosure also proposes an apparatus for implementing any of the above methods. For example, an apparatus is proposed that includes units or modules for implementing the steps performed by each device (e.g., an environmental IoT device, a first device) in any of the above methods.
[0426] It should be understood that the division of units or modules in the above device is only a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, the units or modules in the device can be implemented by a processor calling software: for example, the device includes a processor connected to a memory containing instructions. The processor calls the instructions stored in the memory to implement any of the above methods or to implement the functions of the units or modules in the above device. The processor can be, for example, a general-purpose processor, such as a Central Processing Unit (CPU) or a microprocessor, and the memory can be internal or external to the device. Alternatively, the units or modules in the device can be implemented in the form of hardware circuits. The functionality of some or all of the units or modules can be achieved through the design of these hardware circuits, which can be understood as one or more processors. For example, in one implementation, the hardware circuit is an application-specific integrated circuit (ASIC). The functionality of some or all of the units or modules is achieved through the design of the logical relationships between the components within the circuit. In another implementation, the hardware circuit can be implemented using a programmable logic device (PLD). Taking a field-programmable gate array (FPGA) as an example, it can include a large number of logic gates. The connection relationships between the logic gates are configured through configuration files, thereby achieving the functionality of some or all of the units or modules. All units or modules of the above device can be implemented entirely through processor-called software, entirely through hardware circuits, or partially through processor-called software with the remaining parts implemented through hardware circuits.
[0427] In this embodiment, the processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction read and execute capabilities, such as a Central Processing Unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP). In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. The logical relationships of the aforementioned hardware circuits are fixed or reconfigurable. For example, the processor is a hardware circuit implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and configuring the hardware circuit can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units or modules. Furthermore, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a Neural Network Processing Unit (NPU), a Tensor Processing Unit (TPU), or a Deep Learning Processing Unit (DPU).
[0428] Figure 5A is a schematic diagram of the structure of an environmental IoT device proposed in an embodiment of this disclosure. As shown in Figure 5A, the environmental IoT device 5100 may include a processing module 5101.
[0429] In some embodiments, the processing module 5101 described above is configured to determine the state of an environmental IoT device, wherein the state of the environmental IoT device is one of a plurality of states.
[0430] In some embodiments, the processing module 5101 is further configured to perform the operation indicated by the first request or refuse to perform the operation indicated by the first request based on the state of the IoT device in the environment.
[0431] In some embodiments, the processing module 5101 is used to execute at least one of the other steps (such as step S2103, step S2104, but not limited thereto) executed by the environmental IoT device 5100 in any of the above methods, which will not be described in detail here.
[0432] Figure 5B is a schematic diagram of the structure of the first device proposed in an embodiment of this disclosure. As shown in Figure 5B, the first device 5200 may include a processing module 5201.
[0433] In some embodiments, the processing module 5201 is configured to save context information of an environmental IoT device, the context information including the state information of the environmental IoT device; wherein the environmental IoT device is in one of a plurality of states.
[0434] In some embodiments, the processing module 5201 is used to perform at least one of the other steps (such as step S2101, but not limited thereto) performed by the first device 5200 in any of the above methods, which will not be described in detail here.
[0435] In some embodiments, the processing module may be a single module or may include multiple sub-modules. Optionally, the multiple sub-modules may each perform all or part of the steps required by the processing module. Optionally, the processing module may be interchangeable with a processor.
[0436] Figure 6A is a schematic diagram of the structure of the communication device 6100 proposed in an embodiment of this disclosure. The communication device 6100 may be an environmental Internet of Things device, a chip, chip system, or processor implementing any of the above methods in the first device, etc. The communication device 6100 can be used to implement the methods described in the above method embodiments, and for details, please refer to the description in the above method embodiments.
[0437] As shown in Figure 6A, the communication device 6100 includes one or more processors 6101. The processor 6101 can be a general-purpose processor or a dedicated processor, such as a baseband processor or a central processing unit (CPU). The baseband processor can be used to process communication protocols and communication data, while the CPU can be used to control communication devices (e.g., environmental IoT devices, core network functions, intermediate nodes, AF, etc.), execute programs, and process program data. Optionally, the communication device 6100 can be used to execute any of the above methods. Optionally, one or more processors 6101 can be used to invoke instructions to cause the communication device 6100 to execute any of the above methods.
[0438] In some embodiments, the communication device 6100 further includes one or more transceivers 6103. When the communication device 6100 includes one or more transceivers 6103, the transceiver 6103 performs at least one of the communication steps (e.g., step S2102, but not limited thereto) in the above method, such as sending and / or receiving, while the processor 6101 performs at least one of other steps (e.g., steps S2101, S2103, and S2104, but not limited thereto). In optional embodiments, the transceiver may include a receiver and / or a transmitter, which may be separate or integrated. Optionally, the terms transceiver, transceiver unit, transceiver, transceiver circuit, interface circuit, and interface can be used interchangeably; the terms transmitter, sending unit, transmitter, and sending circuit can be used interchangeably; and the terms receiver, receiving unit, receiver, and receiving circuit can be used interchangeably.
[0439] In some embodiments, the communication device 6100 further includes one or more memories 6102 for storing data. Optionally, all or part of the memories 6102 may be located outside the communication device 6100. In optional embodiments, the communication device 6100 may include one or more interface circuits 6104. Optionally, the interface circuits 6104 are connected to the memories 6102 and can be used to receive data from the memories 6102 or other devices, and to send data to the memories 6102 or other devices. For example, the interface circuits 6104 can read data stored in the memories 6102 and send the data to the processor 6101.
[0440] The communication device 6100 described in the above embodiments may be a network device, but the scope of the communication device 6100 described in this disclosure is not limited thereto, and the structure of the communication device 6100 may not be limited by FIG. 6A. The communication device may be a standalone device or a part of a larger device. For example, the communication device may be: (1) a standalone integrated circuit IC, or chip, or chip system or subsystem; (2) a collection of one or more ICs, optionally, the IC collection may also include storage components for storing data and programs; (3) an ASIC, such as a modem; (4) a module that can be embedded in other devices; (5) a receiver, terminal device, smart terminal device, cellular phone, wireless device, handheld device, mobile unit, vehicle device, network device, cloud device, artificial intelligence device, etc.; (6) others, etc.
[0441] Figure 6B is a schematic diagram of the structure of chip 6200 according to an embodiment of this disclosure. For cases where the communication device 6100 can be a chip or a chip system, please refer to the schematic diagram of chip 6200 shown in Figure 6B, but it is not limited thereto.
[0442] Chip 6200 includes one or more processors 6201. Chip 6200 is used to perform any of the methods described above.
[0443] In some embodiments, chip 6200 further includes one or more interface circuits 6202. Optionally, terms such as interface circuit, interface, and transceiver pin can be used interchangeably. In some embodiments, chip 6200 further includes one or more memories 6203 for storing data. Optionally, all or part of the memories 6203 may be located outside chip 6200. Optionally, interface circuit 6202 is connected to memory 6203, and interface circuit 6202 can be used to receive data from memory 6203 or other devices, and interface circuit 6202 can be used to send data to memory 6203 or other devices. For example, interface circuit 6202 can read data stored in memory 6203 and send the data to processor 6201.
[0444] In some embodiments, the interface circuit 6202 performs at least one of the communication steps (e.g., step S2102, but not limited thereto) in the above-described method, such as sending and / or receiving. For example, the interface circuit 6202 performing the communication steps (e.g., sending and / or receiving) in the above-described method means that the interface circuit 6202 performs data interaction between the processor 6201, the chip 6200, the memory 6203, or the transceiver device. In some embodiments, the processor 6201 performs at least one of other steps (e.g., steps S2101, S2103, and S2104, but not limited thereto).
[0445] The modules and / or devices described in the various embodiments, such as virtual devices, physical devices, and chips, can be combined or separated arbitrarily as needed. Optionally, some or all steps can also be performed collaboratively by multiple modules and / or devices, which is not limited here.
[0446] This disclosure also proposes a storage medium storing instructions that, when executed on the communication device 6100, cause the communication device 6100 to perform any of the above methods. Optionally, the storage medium is an electronic storage medium. Optionally, the storage medium is a computer-readable storage medium, but not limited thereto; it may also be a storage medium readable by other devices. Optionally, the storage medium may be a non-transitory storage medium, but not limited thereto; it may also be a temporary storage medium.
[0447] This disclosure also provides a program product that, when executed by the communication device 6100, causes the communication device 6100 to perform any of the above methods. Optionally, the program product is a computer program product.
[0448] This disclosure also proposes a computer program that, when run on a computer, causes the computer to perform any of the above methods.
[0449] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0450] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for determining a state, characterized in that, The method includes: Determine the state of the environmental IoT device, wherein the state of the environmental IoT device is one of multiple states; Based on the state of the IoT device in the environment, execute the operation indicated by the first request or refuse to execute the operation indicated by the first request.
2. The method according to claim 1, characterized in that, The plurality of states includes at least one of the following: The first state indicates that the IoT device in the environment has been successfully deployed. The second state indicates that the IoT device is available in the environment. The third state indicates that the IoT device in the environment has been successfully authenticated. The fourth state indicates that the IoT device in the environment is unavailable.
3. The method according to claim 2, characterized in that, The second state is also used to indicate that the IoT device in the environment has been successfully authenticated.
4. The method according to claim 2 or 3, characterized in that, The decision to execute or refuse to execute the operation indicated by the first request based on the state of the IoT device in the environment includes at least one of the following: In response to receiving the first request, and given that the environmental IoT device is in the first state, the first operation is performed; In response to receiving the first request, and when the environmental IoT device is in the second state or the third state, the first operation is performed; In response to receiving the first request, and with the environmental IoT device in the fourth state, the first operation is refused to be performed; Wherein, the first request is used to request the environmental IoT device to perform the first operation; wherein, the first operation includes any one of the following: Inventory operations; Registration process; Authentication process.
5. The method according to claim 4, characterized in that, The method further includes any one of the following: In response to the successful execution of the first operation, the environmental IoT device is controlled to switch to the second state or the third state; in response to the successful execution of the first operation, the environmental IoT device is determined to remain in the second state or the third state.
6. The method according to claim 2 or 3, characterized in that, The decision to execute or refuse to execute the operation indicated by the first request based on the state of the IoT device in the environment includes at least one of the following: In response to receiving the first request, and with the environmental IoT device in the second state, the second operation is performed; In response to receiving the first request, and with the environmental IoT device in the third state, the second operation is performed; In response to receiving the first request, and given that the environmental IoT device is in the first state, the second operation is refused. In response to receiving the first request, and given that the environmental IoT device is in the second state, the second operation is refused to be performed; In response to receiving the first request, and with the environmental IoT device in the fourth state, the second operation is refused to be performed; Wherein, the first request is used to request the environmental IoT device to perform the second operation; wherein, the second operation includes any one of the following: Write operation; Query operation; Command operations.
7. The method according to claim 6, characterized in that, The method further includes any one of the following: In response to the successful execution of the second operation, the environmental IoT device is controlled to switch to the third state; In response to the successful execution of the second operation, it is determined that the environmental IoT device remains in the third state; In response to the successful execution of the second operation, the environmental IoT device is controlled to switch to the second state; In response to the successful execution of the second operation, it is determined that the environmental IoT device remains in the second state.
8. The method according to claim 2 or 3, characterized in that, The step of executing the operation indicated by the first request or refusing to execute the operation indicated by the first request based on the state of the IoT device in the environment includes: In response to receiving the first request, and when the environmental IoT device is in the second state or the third state, a third operation is performed; In response to receiving the first request, and given that the environmental IoT device is in the first state, the third operation is refused. In response to receiving the first request, and with the environmental IoT device in the second state, the third operation is refused. In response to receiving the first request, and with the environmental IoT device in the fourth state, the third operation is refused. Wherein, the first request is used to request the environmental IoT device to perform the third operation, the third operation including: Disable operation.
9. The method according to claim 8, characterized in that, The method further includes: In response to the successful execution of the third operation, the environmental IoT device is controlled to switch to the fourth state.
10. The method according to any one of claims 2-9, characterized in that, The IoT environment in the fourth state does not support state switching.
11. A method for determining a state, characterized in that, The method includes: The context information of the environmental IoT device is stored, including the state information of the environmental IoT device; wherein the environmental IoT device is in one of multiple states.
12. The method according to claim 11, characterized in that, The plurality of states includes at least one of the following: The first state indicates that the IoT device in the environment has been successfully deployed. The second state indicates that the IoT device is available in the environment. The third state indicates that the IoT device in the environment has been successfully authenticated. The fourth state indicates that the IoT device in the environment is unavailable.
13. The method according to claim 12, characterized in that, The second state is also used to indicate that the IoT device in the environment has been successfully authenticated.
14. The method according to any one of claims 11-13, characterized in that, The status information of the environmental IoT device includes at least one of the following: First status information, which indicates that the environmental IoT device is inactive; The second status information is used to indicate whether the IoT device in the environment is connected or activated. The third state information is used to indicate that the state of the environmental IoT device is disabled.
15. The method according to any one of claims 11-14, characterized in that, The context information also includes: The device information of the environmental IoT device.
16. The method according to any one of claims 11-15, characterized in that, The method further includes any one of the following: In response to successfully acquiring the device information of the environmental IoT device, the status information of the environmental IoT device is recorded as the first status information; In response to determining that the environmental IoT device has been successfully deployed, the status information of the environmental IoT device is recorded as the first status information.
17. The method according to any one of claims 14-16, characterized in that, The method further includes: The status information of the environmental IoT device is either the first status information or the second status information. A first request is sent to the environmental IoT device, and the first request is used to request the environmental IoT device to perform a first operation. The first operation includes any one of the following: Inventory operations; Registration process; Authentication process.
18. The method according to claim 17, characterized in that, The method further includes: In response to determining that the environmental IoT device has successfully performed the first operation, the status information of the environmental IoT device is recorded as the second status information.
19. The method according to any one of claims 14-18, characterized in that, The method further includes: The status information of the environmental IoT device is the second status information. A first request is sent to the environmental IoT device, and the first request is used to request the environmental IoT device to perform a second operation. The second operation includes any one of the following: Write operation; Query operation; Command operations.
20. The method according to any one of claims 14-19, characterized in that, The method further includes: The status information of the environmental IoT device is the second status information. A first request is sent to the environmental IoT device, and the first request is used to request the environmental IoT device to perform the third operation. The third operation includes: Disable operation.
21. The method according to claim 20, characterized in that, The method further includes any one of the following: In response to determining that the environmental IoT device has successfully performed the third operation, the context information of the environmental IoT device is deleted; In response to determining that the environmental IoT device has successfully performed the third operation, the state information of the environmental IoT device is recorded as the third state information in the context information of the environmental IoT device.
22. An environmental Internet of Things (IoT) device, characterized in that, include: The processing module is configured to determine the state of an environmental IoT device, wherein the state of the environmental IoT device is one of multiple states; The processing module is also configured to execute the operation indicated by the first request or refuse to execute the operation indicated by the first request based on the state of the IoT device in the environment.
23. A first device, characterized in that, include: The processing module is configured to save context information of an environmental IoT device, the context information including the state information of the environmental IoT device; wherein the environmental IoT device is in one of multiple states.
24. An environmental Internet of Things (IoT) device, characterized in that, include: One or more processors; The processor is used to execute the method for determining a state according to any one of claims 1-10.
25. A first device, characterized in that, include: One or more processors; The processor is used to execute the method for determining a state according to any one of claims 11-21.
26. A communication system, characterized in that, include: An environmental IoT device, the environmental IoT device being configured to implement a method for determining a state as described in any one of claims 1-10; A first device, configured to implement a method for determining a state as described in any one of claims 11-21.
27. A storage medium storing instructions, characterized in that, When the instruction is executed on the communication device, it causes the communication device to perform the method for determining a state as described in any one of claims 1-10 or 12-21.
28. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program is used to implement the method of determining a state as described in any one of claims 1-10 or 11-21.
Citation Information
Patent Citations
Internet of Things connection state monitoring method and device, electronic equipment and medium
CN114900452A
Communication method and device and storage medium
CN116195283A
Mobile network access method and device, electronic equipment and storage medium
CN117320006A
Information transmission method and device, communication equipment, communication system and storage medium
CN117716742A
Combined parallel / serial status register read
US20090063754A1