Communication method, apparatus, and environmental internet of things device
Patent Information
- Application Number
- CN202510412117.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-02
- Publication Date
- 2026-10-16
AI Technical Summary
[0004]本申请实施例提供一种通信方法、装置及环境物联网设备,以解决A-IoT设备如何处理下行消息的问题
[0014] In this embodiment of the application, after receiving the first message from the reader, the action for the first message can be determined according to the type of the first message, thus clarifying the processing method of the first message, which can take into account both the energy consumption control of the AIoT device and the necessary message response.
Smart Images

Figure CN122934462A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology, specifically relating to a communication method, apparatus, and environmental Internet of Things (IoT) device. Background Technology
[0002] In the Ambient Internet of Things (AIoT), to improve inventory success efficiency, readers repeatedly send messages to inventory AIoT devices, preventing them from failing to be counted due to the device not receiving the message. However, for AIoT devices, to control energy consumption, it is usually necessary to avoid repeatedly responding to messages from the same reader or different readers corresponding to the same service request.
[0003] In related technologies, there is currently no clear solution on how A-IoT devices should process messages such as paging messages or R2D trigger messages received from readers. Summary of the Invention
[0004] This application provides a communication method, apparatus, and environmental IoT device to address the problem of how A-IoT devices process downlink messages.
[0005] Firstly, a communication method is provided, the method comprising: The environmental IoT (AIoT) device receives the first message from the reader; The AIoT device determines its action for the first message based on the type of the first message, wherein the type includes at least one of paging messages and R2D trigger messages.
[0006] Secondly, a communication device is provided, the device comprising: The receiving module is used to receive the first message from the reader / writer; A processing module is configured to determine an action for the first message based on the type of the first message, wherein the type includes at least one of paging messages and R2D trigger messages.
[0007] Thirdly, a communication device is provided, the device being configured to perform the steps of the method described in the first aspect.
[0008] Fourthly, an environmental Internet of Things (IoT) device is provided, the device including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method described in the first aspect.
[0009] Fifthly, an environmental Internet of Things (IoT) device is provided, including a processor and a communication interface, wherein the communication interface is used to receive a first message from a reader / writer, and the processor is used to determine an action for the first message based on the type of the first message, wherein the type includes at least one of a paging message and an R2D trigger message.
[0010] In a sixth aspect, a readable storage medium is provided, on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0011] A seventh aspect provides a wireless communication system, comprising: a terminal and a network-side device, wherein the terminal can be used to perform the steps of the method described in the first aspect.
[0012] Eighthly, a chip is provided, the chip including a processor and a communication interface coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.
[0013] In a ninth aspect, a computer program / program product is provided, the computer program / program product being stored in a storage medium, the computer program / program product being executed by at least one processor to perform the steps of the method as described in the first aspect.
[0014] In this embodiment of the application, after receiving the first message from the reader, the action for the first message can be determined according to the type of the first message, thus clarifying the processing method of the first message, which can take into account both the energy consumption control of the AIoT device and the necessary message response. Attached Figure Description
[0015] Figure 1 This is a block diagram of a wireless communication system applicable to embodiments of this application.
[0016] Figure 2 This is a schematic diagram of an environmental Internet of Things (IoT) topology provided in one embodiment of this application.
[0017] Figure 3 This is a schematic diagram of an environmental Internet of Things topology provided in another embodiment of this application.
[0018] Figure 4 This is a schematic diagram of the timing of continuous paging message delivery according to an embodiment of this application.
[0019] Figure 5 This is a flowchart illustrating a communication method proposed in one embodiment of this application.
[0020] Figure 6This is a schematic diagram of the process of AIoT device randomly accessing a reader / writer according to an embodiment of this application.
[0021] Figure 7 This is a schematic diagram illustrating the timing of receiving paging messages and R2D trigger messages according to an embodiment of this application.
[0022] Figure 8 This is a flowchart illustrating a communication method according to another embodiment of this application.
[0023] Figure 9 This is a flowchart illustrating a communication method according to another embodiment of this application.
[0024] Figure 10 This is a flowchart illustrating a communication method according to another embodiment of this application.
[0025] Figure 11 This is a schematic diagram of the structure of a communication device according to an embodiment of this application.
[0026] Figure 12 This is a schematic diagram of the structure of a communication device proposed in an embodiment of this application.
[0027] Figure 13 This is a schematic diagram of the structure of a terminal proposed in an embodiment of this application.
[0028] Figure 14 This is a schematic diagram of the structure of a network-side device proposed in an embodiment of this application. Detailed Implementation
[0029] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0030] The terms "first," "second," etc., used in this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same class, not limited in number; for example, the first object can be one or more. Furthermore, "or" in this application indicates at least one of the connected objects. For example, the scope of protection for "A or B" covers at least three scenarios: Scenario 1: including A but not B; Scenario 2: including B but not A; Scenario 3: including both A and B. In addition, the terms "A and / or B," "at least one of A and B," and "at least one of A or B" also cover at least the above three scenarios. The character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0031] The term "instruction" in this application can be either a direct instruction (or explicit instruction) or an indirect instruction (or implicit instruction). A direct instruction can be understood as one in which the sender explicitly informs the receiver of specific information, the operation to be performed, or the requested result, etc., in the instruction sent. An indirect instruction can be understood as one in which the receiver determines the corresponding information based on the instruction sent by the sender, or makes a judgment and determines the operation to be performed or the requested result, etc., based on the judgment result.
[0032] It is worth noting that the technologies described in this application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), or other systems. The terms "system" and "network" in this application are often used interchangeably, and the described technologies can be used with the systems and radio technologies mentioned above, as well as with other systems and radio technologies. The following description describes New Radio (NR) systems for illustrative purposes, and the term NR is used in most of the following description; however, these technologies can also be applied to systems other than NR systems, such as 6th generation (6G) radio systems. th Generation 6G communication system.
[0033] Figure 1This diagram illustrates a block diagram of a wireless communication system applicable to embodiments of this application. The wireless communication system includes a terminal 11 and a network-side device 12. The terminal 11 can be a mobile phone, tablet computer, laptop computer, notebook computer, personal digital assistant (PDA), handheld computer, netbook, ultra-mobile personal computer (UMPC), mobile internet device (MID), augmented reality (AR), virtual reality (VR) device, robot, wearable device, flight vehicle, vehicle user equipment (VUE), shipboard equipment, pedestrian user equipment (PUE), smart home devices (home appliances with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), game consoles, personal computers (PCs), ATMs, or self-service machines, etc. Wearable devices include: smartwatches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart chains, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among these, in-vehicle devices can also be referred to as in-vehicle terminals, in-vehicle controllers, in-vehicle modules, in-vehicle components, in-vehicle chips, or in-vehicle units, etc. It should be noted that the specific type of terminal 11 is not limited in this application embodiment. Network-side equipment 12 may include access network equipment or core network equipment, wherein access network equipment may also be referred to as Radio Access Network (RAN) equipment, radio access network function, or radio access network unit. Access network equipment may include base stations, Wireless Local Area Network (WLAN) access points (AS), or Wireless Fidelity (WiFi) nodes, etc.In this context, a base station may be referred to as a Node B (NB), an Evolved Node B (eNB), a Next Generation Node B (gNB), a New Radio Node B (NR Node B), an Access Point, a Relay Base Station (RBS), a Serving Base Station (SBS), a Base Transceiver Station (BTS), a Radio Base Station, a Radio Transceiver, a Basic Service Set (BSS), an Extended Service Set (ESS), a Home Node B (HNB), a Home Evolved Node B, a Transmit / Receive Point (TRP), or any other suitable term in the relevant field, as long as the same technical effect is achieved. The base station is not limited to any specific technical terminology. It should be noted that in this application embodiment, only a base station in an NR system is used as an example for introduction, and the specific type of base station is not limited.
[0034] Core network equipment, also known as core network nodes, core network functions, or core network elements, includes, but is not limited to, at least one of the following: Mobility Management Entity (MME), Access and Mobility Management Function (AMF), Session Management Function (SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Server Discovery Function (EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (or L-NEF), and Binding Support Function. Support Functions (BSF), Application Functions (AF), Location Management Functions (LMF), Gateway Mobile Location Centres (GMLC), and Network Data Analytics Functions (NWDAF), etc. It should be noted that this application embodiment only uses core network equipment in the NR system as an example for description, and does not limit the specific type of core network equipment. If the name of the core network equipment mentioned in this application embodiment changes in subsequent protocol versions (e.g., 6G), it will also be within the scope of protection of this application.
[0035] Optionally, the core network equipment can be implemented by one or more functional modules in a single device, or by multiple devices working together; this application does not specifically limit this. It is understood that the aforementioned functional modules can be network elements in hardware devices, software functional modules running on dedicated hardware, or virtualized functional modules instantiated on a platform (e.g., a cloud platform).
[0036] Ambient Internet of Things (AIoT) is an IoT business network composed of a massive number of AIoT devices. These AIoT devices have ultra-low complexity, ultra-low cost, and ultra-low power consumption. They are often powered by energy harvesting and do not have batteries or only have limited energy storage capacity (e.g., using a capacitor).
[0037] In wireless communication systems, AIoT devices often harvest energy from radio waves. Continuous waves (CW) can come from network devices (such as base stations (BS)) or user equipment (UE).
[0038] The AIoT devices currently under discussion include: 1) An AIoT device with a peak power consumption of ≈1μW has energy storage. The device does not have uplink or downlink signal amplification functions. The uplink transmission of the device is backscattered on an externally provided carrier source (i.e., the radio waves mentioned above).
[0039] 2) AIoT devices with peak power consumption ≤ several hundred μW, energy storage, and the device supports uplink and / or downlink signal amplification functions. The uplink transmission of the device can be generated directly by the device itself or through backscattering from an externally provided carrier source.
[0040] 3) Active devices with energy storage, active radio frequency components for transmission, and the ability to generate signals independently.
[0041] The focus of the discussion is primarily on the passive devices described in 1) and 2) above, namely, devices that require charging via CW to achieve backscattering. Therefore, in AIoT communication, it is necessary to consider whether the device's energy state can support the reception and response of downlink messages.
[0042] The deployment scenarios for passive devices in related technologies can include the following two types: 1) Topology 1: such as Figure 2As shown, the AIoT BS and small base station 22 coexist at the same location. Small base station 22 serves as the carrier source, and it excites the AIoT device 23 to perform backscattering via the downlink carrier, thus enabling uplink transmission to the small base station 22. Furthermore, in Figure 2 In the communication system topology shown, small base station 22 can exchange data or signaling with core network 21, and core network 21 can exchange data or signaling with APP service 24. The AIoT BS and small base station 22 can function as readers / writers, and a terminal or a component on a terminal can function as an AIoT device.
[0043] 2) Topology II: such as Figure 3 As shown, the AIoT BS and the large base station 32 coexist at the same location. The indoor UE 35 acts as an intermediate node. The large base station 32 controls the UE 35 via air interface signaling. The UE 35 excites the AIoT device 33 to perform backscattering via downlink carrier, i.e., uplink transmission to the UE 35. The UE 35 then forwards the uplink transmission from the AIoT device 33 to the large base station 32 via the air interface. Furthermore, in... Figure 3 In the communication system topology shown, the large base station 32 can exchange data or signaling with the core network 31, and the core network 31 can exchange data or signaling with the APP service 34. The terminal 35 can function as a reader / writer, and the tag device can function as an AIoT device.
[0044] The business types in AIoT include: inventory and command issuance.
[0045] Inventory management is the most basic and important business in AIoT, used to enable AIoT servers to learn about one or more known or unknown AIoT devices within the coverage area of a reader via a wireless network.
[0046] After learning that the AIoT device has been recognized by the network, the AIoT server can send instructions to the AIoT device via the wireless network. These instructions are shown in Table 1 below.
[0047] Table 1. Instructions issued by the AIoT server to AIoT devices
[0048] Explanation regarding continuous paging: like Figure 4As shown, an A-IoT reader (hereinafter referred to as the reader) can send multiple (subsequent) paging messages associated with the same service request from the core network. AIoT devices should avoid repeatedly responding to the same service request. Once the AIoT device has determined whether and successfully responded to the service request, it skips sending responses to subsequent paging messages for the same service request. Furthermore, as... Figure 4 As shown, between two paging messages, the reader may also send an R2D trigger (Reader to Device trigger) message to the AIoT device. Figure 4 In this context, TI stands for Transaction ID.
[0049] Different readers may receive the same service request from the core network. This service request may be initiated for the same AIoT device / group / piece, and different readers may send paging messages to the same AIoT device / group / piece. In some cases, for the sake of low power consumption and business needs of AIoT devices (e.g., inventory, where the service request initiated by the core network only needs to know the AIoT device identifier), AIoT devices should also avoid responding repeatedly to paging messages from different readers corresponding to the same service request.
[0050] For example, to improve inventory success rate, readers may repeatedly send paging messages to inventory AIoT devices, preventing them from failing to be counted due to the device not receiving the message. However, for AIoT devices, to control energy consumption, it is usually necessary to avoid repeatedly responding to messages from the same reader or different readers corresponding to the same service request.
[0051] In related technologies, there is currently no clear solution on how A-IoT devices should process messages such as paging messages or R2D trigger messages received from readers.
[0052] To address the aforementioned issues, this application proposes a communication method, apparatus, and environmental IoT device. The communication method provided by this application will be described in detail below with reference to the accompanying drawings and through some embodiments and application scenarios.
[0053] like Figure 5 As shown, a communication method proposed in one embodiment of this application may include: Step 501: The AIoT device receives the first message from the reader / writer.
[0054] In some embodiments, the first message can be any message from the reader / writer.
[0055] Step 502: The AIoT device determines the action for the first message based on the type of the first message.
[0056] In some embodiments, the type includes at least one of paging messages and R2D trigger messages. If the first message is a paging message, it is used to page the AIoT device. The first message can be the first paging message in a series of paging messages, or any of the subsequent paging messages in a series of paging messages. If the first message is an R2D trigger message, it is used to trigger the AIoT device to maintain the timing between itself and the reader / writer via this message. In some scenarios, such as the first paging in a series of paging messages, the first message is both a paging message and an R2D trigger message.
[0057] The behavior may differ depending on the type of the first message, which will be explained below.
[0058] In some embodiments, step 502 may include: if the type of the first message is a paging message, the AIoT device determines the action for the first message based on whether a first transaction ID (TI) exists locally.
[0059] The existence of a first transaction identifier locally can be one of the following two possibilities: Does the first transaction identifier need to be stored locally? Does a first variable exist locally, and is used to store the first transaction identifier?
[0060] Optionally, the first transaction identifier may be the transaction identifier corresponding to the previous paging. In some embodiments, the first transaction identifier may be the transaction identifier corresponding to the previous paging response.
[0061] In some embodiments, the AIoT device determines the behavior for the first message based on whether a first transaction identifier exists locally. This may include: if a first transaction identifier exists locally, the AIoT device determines the behavior for the first message based on the first transaction identifier and a second transaction identifier carried in the first message.
[0062] It is understandable that the presence of a first transaction identifier locally indicates that the AIoT device has received or responded to a paging, and the AIoT device needs to further determine the relationship between the received or responded paging and the currently received paging.
[0063] In some embodiments, the AIoT device determines the behavior for the first message based on the first transaction identifier and the second transaction identifier carried in the first message, which may include: the AIoT device determining whether the second transaction identifier carried in the first message is the same as the first transaction identifier.
[0064] Optionally, the AIoT device determines the action for the first message based on the first transaction identifier and the second transaction identifier carried in the first message, which may further include: if the second transaction identifier is the same as the first transaction identifier, and the access corresponding to the first transaction identifier is not successfully completed, the AIoT device performs access to the reader / writer according to the first message; if the access corresponding to the first transaction identifier has been successfully completed, the AIoT device ignores the first message.
[0065] It is understandable that if the second transaction identifier is the same as the first transaction identifier, it indicates that the AIoT device has received or responded to a paging service corresponding to the current paging. In this case, the AIoT device needs to further determine whether the received or responded paging was successfully completed.
[0066] Regarding whether the access corresponding to the first transaction identifier was successfully completed, the AIoT device can determine this based on whether it received a NACK indication transmitted via MSG2 or MSG3 during the access process corresponding to the first transaction identifier. If the AIoT device did not receive MSG2 containing its own random identifier, or if the AIoT device did not receive a NACK indication transmitted via MSG3 for the first transaction identifier, it indicates that the access corresponding to the first transaction identifier was successfully completed; otherwise, it indicates that the access corresponding to the first transaction identifier was not successfully completed. It is understood that the AIoT device determines whether the access corresponding to the first transaction identifier was successfully completed within the time period from sending MSG1 until receiving the first message. In some embodiments, the NACK indication includes the random identifier of the AIoT device or the access layer AS identifier. The random identifier of the AIoT device can be the content carried in MSG1.
[0067] Optionally, the AIoT device determines the action for the first message based on the first transaction identifier and the second transaction identifier carried in the first message, which may further include: if the second transaction identifier is different from the first transaction identifier, the AIoT device determines whether it is being paged based on the first message.
[0068] It is understandable that if the second transaction identifier is different from the first transaction identifier, it indicates that the AIoT device has not yet received or responded to the service corresponding to the current paging. In this case, the AIoT device needs to further determine whether the current paging target includes itself.
[0069] Optionally, Figure 5 The method may further include: if the AIoT device determines that it has not been paged, the AIoT device clears the first transaction identifier locally.
[0070] It is understandable that if the AIoT device determines that it has not been paged based on the first message, the AIoT device will clear the first transaction identifier in its local memory. That is, if it receives a current page but the current paged object does not include itself, the AIoT device will update its local paged records for responses or receipts to blank.
[0071] In other embodiments, the AIoT device determines its behavior for the first message based on whether a first transaction identifier exists locally. This may include: if a first transaction identifier does not exist locally, the AIoT device determines whether it is being paged based on the first message.
[0072] Understandably, the absence of a first transaction identifier locally indicates that the AIoT device has not received or responded to any other paging before receiving the current paging. In this case, the AIoT device needs to further determine whether the current paging target includes itself.
[0073] In some embodiments, the AIoT device determining whether it has been paged based on the first message may include: if the first message contains a paging identity, the Media Access Control (MAC) layer of the AIoT device submits the first message to the Non-Access Stratum (NAS) layer, the NAS layer confirms whether the AIoT device has been paged, and informs the MAC layer of the result of whether it has been paged.
[0074] The NAS layer confirming whether the AIoT device is paged may include at least one of the following: 1) The paging identifier included in the first message is the Device ID. This Device ID can be either a permanent or temporary device ID. The NAS layer determines whether the Device ID of the AIoT device maintained by the NAS layer includes or corresponds to the Device ID in the first message. If it does, the NAS layer confirms that the AIoT device has been paged; otherwise, the NAS layer confirms that the AIoT device has not been paged. As an example, if the NAS layer determines that the reader is paged all AIoT devices based on a specific value in the Device ID of the first message, the NAS layer will also confirm that the AIoT device has been paged.
[0075] 2) The paging identifier contained in the first message is the device group ID. The NAS layer determines whether the device group ID in the first message is consistent with the device group ID maintained by the NAS layer. If they are consistent, the NAS layer confirms that the AIoT device has been paged; otherwise, the NAS layer confirms that the AIoT device has not been paged.
[0076] 3) The paging identifier contained in the first message includes preset filtering conditions. The NAS layer determines whether it meets the preset filtering conditions. If it does, the NAS layer confirms that the AIoT device has been paged; otherwise, the NAS layer confirms that the AIoT device has not been paged.
[0077] In other embodiments, the AIoT device determining whether it has been paged based on the first message may include at least one of the following: 1) If the first message does not contain a paging identifier, the MAC layer of the AIoT device confirms whether the AIoT device has been paged. For example, if the first message does not contain a paging identifier, it means the first message is used to page all AIoT devices, and the MAC layer of the AIoT device can directly confirm that the AIoT device has been paged.
[0078] 2) If the first message contains a paging identifier that is only visible to the MAC layer and the value of the paging identifier field is a preset value (such as a special value), it means that the first message is used to page all AIoT devices, and the MAC layer of the AIoT device can directly confirm that the AIoT device has been paged.
[0079] Optionally, Figure 5 The method shown may further include: upon determining that it is being paged, the AIoT device performs access to the reader / writer based on the first message.
[0080] In some embodiments, the AIoT device performs access to the reader / writer according to the first message, including: the AIoT device determining whether the first resource indicated in the first message is a dedicated resource, wherein the first resource is a resource used to transmit the AIoT device identifier; and determining whether to perform non-contention-free random access (CFRA) or contention-based random access (CBRA) based on the determination result.
[0081] Specifically, when the first resource is a dedicated resource, CFRA is executed. Specifically, the AIoT device sends MSG1 to the reader / writer via the first resource.
[0082] In the case where the first resource is not a dedicated resource, CBRA is executed. Specifically, the AIoT device randomly selects a second resource according to the first parameter indicated in the first message, and sets the value of the slot counter used to access the reader to a first value. When an R2D trigger message is received, the value of the slot counter is decremented by 1 (slot counter -= 1). When the value of the slot counter is 0, MSG1 is sent to the reader through the second resource, wherein the first value is greater than 0 and the first value is related to the first parameter.
[0083] In some embodiments, when the first parameter indicated by the first message is Q, the AIoT device can be between 0 and 2. Q Choose any one of the following values as the first value, that is, the AIoT device is between 0 and 2. Q Choose any one of the values as the starting value of the time slot counter.
[0084] In other embodiments, when the first parameter indicated by the first message is N (N is used to indicate the number of all MSG1 resources used for transmission), the AIoT device will first select one MSG1 resource from the N MSG1 resources, and then determine the first value according to the time slot corresponding to this MSG1 resource, that is, set the starting value of the time slot counter according to the time slot corresponding to this MSG1 resource.
[0085] Optionally, for CBRA, such as Figure 6As shown, after performing step A to receive the first message (paging message) and step B to send MSG1 containing a random identifier to the reader (step B), the AIoT device can also receive MSG2 from the reader and send MSG3 to the reader. Optionally, for CBRA, after receiving MSG2 and sending MSG3, or for CFRA, after sending MSG1 (i.e., sending the AIoT device identifier), the AIoT device can... Figure 6 As shown, the AIoT device can also perform the following steps (i.e. Figure 5 The method shown may also include the following steps: Step C: The interaction of possible high-level commands and responses after the AIoT device connects to the reader / writer.
[0086] In some embodiments, step C may include: Step C1: The AIoT device receives data from the reader to enable possible R2D transmission, such as the transmission of higher-level instructions from the reader. In step C2, the AIoT device sends data to the reader to enable possible D2R transmission, such as the transmission of a response to an instruction from the reader.
[0087] Optionally, Figure 5 The method shown may further include: after the AIoT device is connected to the reader, if a first transaction identifier exists locally, the first transaction identifier is updated to the second transaction identifier locally; if a first transaction identifier does not exist locally, the second transaction identifier is stored locally, which can be stored directly or stored in a first variable.
[0088] It is understood that, through the above embodiments, the AIoT device can determine whether to respond to the paging message and how to respond when it receives the first message from the reader as a paging message. This clarifies the processing method of the paging message and can take into account both the energy consumption control and the necessary response of the AIoT device.
[0089] In some embodiments, step 502 may include: if the type of the first message is a paging message, the AIoT device determines whether the first resource indicated in the first message is a dedicated resource, wherein the first resource is a resource for transmitting the AIoT device identifier.
[0090] It is understood that the AIoT device may determine whether the first resource indicated in the first message is a dedicated resource in at least one of the following ways: 1) The AIoT device is determined by an indication of the access type carried in the first message, and the indication is CFRA.
[0091] 2) The NAS layer of the AIoT device informs the MAC layer of the AIoT device that the paging identifier in the first message is a device identifier.
[0092] Optionally, step 502 may further include: if the first resource is a dedicated resource, the AIoT device determines whether it is being paged based on the first message.
[0093] The process by which the AIoT device determines whether it has been paged based on the first message is described above and will not be repeated here.
[0094] Optionally, step 502 may further include: if the first resource is not a dedicated resource, the AIoT device determines the action for the first message based on whether a first transaction ID (TI) exists locally, as detailed in the description above.
[0095] Optionally, step 502 may further include: if the AIoT device determines that it is being paged, the AIoT device sends MSG1 to the reader / writer through the first resource.
[0096] Optionally, step 502 may further include: if the AIoT device determines that it has not been paged, the AIoT device ignores the first message.
[0097] It is understood that when the AIoT device determines that the first resource is a dedicated resource and it is being paged, it performs CFRA, that is, it sends MSG1 according to the first resource. Optionally, the paging message for CFRA may not carry a transaction identifier.
[0098] In some embodiments, step 502 may include: when the type of the first message is an R2D trigger message, the AIoT device determines whether the value of the time slot counter used to access the reader is 0.
[0099] Optionally, step 502 may further include: if the value of the time slot counter is 0, the AIoT device ignores the first message.
[0100] Optionally, step 502 may further include: if the value of the time slot counter is not 0, the AIoT device determines the action for the first message based on whether a first transaction identifier exists locally.
[0101] Optionally, step 502 may further include: if the value of the time slot counter is not 0, the AIoT device determines whether the most recent paging message before receiving the first message was ignored; if so, the AIoT device ignores the first message and continues to listen; otherwise, the AIoT device determines the action for the first message based on whether a first transaction identifier exists locally.
[0102] The existence of a first transaction identifier locally can be one of the following two possibilities: Does the first transaction identifier need to be stored locally? Does a first variable exist locally, and is used to store the first transaction identifier?
[0103] Optionally, the first transaction identifier may be the transaction identifier corresponding to the previous paging.
[0104] In some embodiments, the AIoT device determines the behavior for the first message based on whether a first transaction identifier exists locally. This may include: if a first transaction identifier exists locally, the AIoT device determines the behavior for the first message based on the first transaction identifier and a second transaction identifier carried in the first message.
[0105] The AIoT device determines the action for the first message based on the first transaction identifier and the second transaction identifier carried in the first message, which may include: the AIoT device determining whether the second transaction identifier carried in the first message is the same as the first transaction identifier.
[0106] Optionally, the AIoT device determines the action for the first message based on the first transaction identifier and the second transaction identifier carried in the first message, which may further include: if the second transaction identifier is different from the first transaction identifier, the AIoT device ignores the first message.
[0107] Optionally, the AIoT device determines its behavior for the first message based on the first transaction identifier and the second transaction identifier carried in the first message. This may further include: if the second transaction identifier is the same as the first transaction identifier, and the access corresponding to the first transaction identifier has not been successfully completed, the AIoT device decrements the value of the slot counter by 1 (slot counter-=1), and accesses the reader / writer according to the first message when the value of the slot counter is 0; if the access corresponding to the first transaction identifier has been successfully completed, the AIoT device ignores the first message.
[0108] Whether the access corresponding to the first transaction identifier was successfully completed can be determined by whether a NACK indication transmitted via MSG3 was received for the first transaction identifier. If no NACK indication transmitted via MSG3 is received for the first transaction identifier, it indicates that the access corresponding to the first transaction identifier has been successfully completed; otherwise, it indicates that the access corresponding to the first transaction identifier has not been successfully completed. In some embodiments, the NACK indication includes the random identifier of the AIoT device or the access layer AS identifier. The random identifier of the AIoT device may be the content carried in MSG1.
[0109] In other embodiments, the AIoT device determines its behavior for the first message based on whether a first transaction identifier exists locally. This may include: if a first transaction identifier does not exist locally, the AIoT device ignores the first message, that is, if a first transaction identifier does not exist locally, the AIoT device ignores the first message of type R2D trigger message.
[0110] It is understood that, through the above embodiments, the AIoT device can determine whether to respond to the R2D trigger message and how to respond when it receives the first message from the reader as an R2D trigger message. This clarifies the processing method of the R2D trigger message and can take into account both the energy consumption control and the necessary response of the AIoT device.
[0111] Optionally, before step 502, Figure 5 The method shown may further include: the MAC layer of the AIoT device determining the type of the first message.
[0112] In some embodiments, the MAC layer of the AIoT device determines the type of the first message, which may include at least one of the following: 1) Determine the type of the first message based on the value of the message type field in the first message.
[0113] One objective of this determination method is to design the MAC format of the R2D trigger message as an independent MAC message type. When the AIoT device receives it, it can determine that the message is only used to indicate the start of a time slot, and the AIoT device implicitly determines that it needs to decrement the interest counter by 1. The advantage of this determination method is that it can reduce the processing latency of the AIoT device for the first message.
[0114] In some embodiments, the R2D trigger message only carries the message type field (code point meaning R2D trigger), thus saving MAC layer signaling overhead. In this case, the logic for determining whether the AIoT device enters the process of receiving the R2D trigger message (e.g., ...) Figure 9 or Figure 10 (As shown) can be accessed Figure 8 The relevant steps described are determined. That is, as follows: Figure 7 As shown, if the current R2D trigger message belongs to a paging round and has already been passed... Figure 8 Step 810 is ignored, meaning the AIoT device only continuously listens for the next paging (ignoring any R2D trigger received). Therefore, none of the R2D triggers belonging to this paging round will be triggered. Figure 9 or Figure 10 The judgment process.
[0115] In other embodiments, the R2D trigger message carries a message type field (code point meaning R2D trigger) and a second TI (Transaction ID). This improves reliability (supporting byte alignment / bit alignment) and prevents the AIoT device from treating an R2D trigger message belonging to the next paging message as the current R2D trigger message and operating the time slot counter if it has not received at least one R2D trigger message and the next paging message. This could lead to accessing the wrong resource, resulting in access conflicts or access failures. The second TI indicates that the R2D trigger is for the service, avoiding the error caused by not receiving an R2D trigger message from being introduced into the next paging round corresponding to another service. See details. Figure 10 The flowchart shown is shown.
[0116] 2) If the message type corresponding to the first message is a paging message, the type of the first message is determined based on the content contained in the first message.
[0117] One objective of this determination method is to design the MAC message type corresponding to the R2D trigger message as a paging message (code point meaning paging). The main idea of this method is to model the R2D trigger message as a functional message belonging to paging. In this paging message, optional paging identifier and MSG1 resource parameters are carried; the presence or absence of optional fields indicates that the paging message contains at least one of the paging identifier, MSG1 resource parameters, and a second TI. As an example, if the first message's message type is paging and it only carries the optional TI field, then the first message can be considered an R2D trigger message; that is, if the first message contains only a transaction identifier, then the first message's type is an R2D trigger message. The advantage of this determination method is that it saves message overhead.
[0118] In other words, AIoT devices can determine the function of a message based on the number of codepoints in the message type field and the content of optional fields in the received paging message.
[0119] 3) Upon receiving indication information from the Physical Layer Signaling (PHY) of the AIoT device, determine that the type of the first message is an R2D trigger message.
[0120] The advantage of this determination method is that it can save on higher-layer signaling overhead (supports byte alignment / bit alignment). At this time, the logic of the MAC layer of the AIoT device to determine whether the type of the first message is an R2D trigger message becomes: the MAC layer of the AIoT device receives the R2D trigger indication submitted by the PHY.
[0121] The following is combined with Figure 8 , Figure 9 and Figure 10 The communication method proposed in this application will be described again.
[0122] like Figure 8 As shown, in some embodiments, a communication method proposed in this application may include: Step 801: The AIoT device receives the first message from the reader / writer.
[0123] Step 802: The AIoT device determines whether the first message is an R2D trigger message; if so, proceed to... Figure 9 or Figure 10 Otherwise, proceed to step 803.
[0124] In some embodiments, the AIoT device may determine whether the first message is an R2D trigger message based on the content contained in the first message.
[0125] Step 803: The AIoT device determines whether the first TI exists locally; if yes, proceed to step 804; otherwise, proceed to step 805.
[0126] Among them, the determination of whether the first TI exists locally by an AIoT device can be in the following two cases: AIoT devices determine whether to store the first TI locally; The AIoT device determines whether a first variable exists locally, and the first variable is used to store the first TI.
[0127] Optionally, the first TI may be the TI corresponding to the previous paging. In some embodiments, the first TI may be the TI corresponding to the previous paging response.
[0128] Understandably, the presence of a first TI locally indicates that the AIoT device has received or responded to a paging, and the AIoT device needs to further determine the relationship between the received or responded paging and the currently received paging; the absence of a first TI locally indicates that the AIoT device has not received or responded to any other paging before receiving the current paging, and the AIoT device needs to further determine whether the current paging target includes itself.
[0129] Step 804: The AIoT device determines whether the second TI carried in the first message is the same as the first TI that exists locally; if yes, proceed to step 809; otherwise, proceed to step 805.
[0130] Understandably, if the second TI is the same as the first TI, it indicates that the AIoT device has received or responded to a paging service corresponding to the current paging, and the AIoT device needs to further determine whether the received or responded paging was successfully completed; if the second TI is different from the first TI, it indicates that the AIoT device has not yet received or responded to a service corresponding to the current paging, and the AIoT device needs to further determine whether the current paging target includes itself.
[0131] Step 805: The AIoT device determines whether the first message contains a paging identifier; if yes, proceed to step 806; otherwise, proceed to step 807.
[0132] Step 806: The MAC layer of the AIoT device delivers the paging identifier to the NAS layer of the AIoT device. The NAS layer determines whether the AIoT device has been paged and informs the MAC layer of the result.
[0133] Step 807: The MAC layer of the AIoT device determines whether it is being paged; if yes, proceed to step 808; otherwise, proceed to step 811.
[0134] In some embodiments, the MAC layer of an AIoT device receives an instruction from the NAS / the MAC receives a specific paging identifier indicating that this paging is initiated for all received AIoT devices.
[0135] Step 808: The AIoT device performs access to the reader / writer according to the first message. Optionally, after successful access, if the first TI exists locally, the local first TI is updated to the second TI; if the first TI does not exist locally, the first TI is saved locally.
[0136] Step 809: The AIoT device determines whether the access corresponding to the first TI has been successfully completed; if yes, proceed to step 810; otherwise, proceed to step 808.
[0137] Regarding whether the access corresponding to the first TI was unsuccessfully completed, the AIoT device can determine this based on whether it received a NACK indication transmitted via MSG2 or MSG3 during the access process corresponding to the first TI. If the AIoT device did not receive MSG2 containing its own random identifier, or if the AIoT device did not receive a NACK indication transmitted via MSG3 for the first TI, it indicates that the access for the first TI was successfully completed; otherwise, it indicates that the access for the first TI was unsuccessfully completed. It is understood that the AIoT device determines whether the access for the first TI was successfully completed within the time period from sending MSG1 until receiving the first message. In some embodiments, the NACK indication includes the random identifier of the AIoT device or the access layer AS identifier. The random identifier of the AIoT device is the content carried in MSG1.
[0138] Step 810: The AIoT device ignores the first message. Optionally, it continues to listen for the next message (paging message and / or R2D trigger message).
[0139] Step 811: The AIoT device clears the local first TI.
[0140] It is understood that if the AIoT device itself is not paged, the AIoT device will clear the first TI locally. That is, if it receives a current page but the current paged object does not include itself, the AIoT device will update the local paged records for the paged device that has been responded to or received to blank.
[0141] like Figure 9 As shown, in some other embodiments, a communication method proposed in this application may include: Step 901: The AIoT device determines that the first message from the reader is an R2D trigger message.
[0142] Step 902: The AIoT device determines whether the value of the slot counter used to access the reader is 0; if yes (if slot counter=0, then the access slot has expired), proceed to step 909; otherwise, proceed to step 903.
[0143] Step 903: The AIoT device determines whether the first TI exists locally; if it exists, proceed to step 904; otherwise, proceed to step 909.
[0144] Among them, the determination of whether the first TI exists locally by an AIoT device can be in the following two cases: AIoT devices determine whether to store the first TI locally; The AIoT device determines whether a first variable exists locally, and the first variable is used to store the first TI.
[0145] Step 904: The AIoT device determines whether the local first TI is the same as the second TI carried in the first message. If yes, proceed to step 905; otherwise, proceed to step 909.
[0146] Step 905: The AIoT device determines whether the access corresponding to the first TI has been successfully completed; if yes, proceed to step 909; otherwise, proceed to step 906.
[0147] Regarding whether the access corresponding to the first TI was unsuccessfully completed, the AIoT device can determine this based on whether it received a NACK indication transmitted via MSG2 or MSG3 during the access process corresponding to the first TI. If the AIoT device did not receive MSG2 containing its own random identifier, or if the AIoT device did not receive a NACK indication transmitted via MSG3 for the first TI, it indicates that the access for the first TI was successfully completed; otherwise, it indicates that the access for the first TI was unsuccessfully completed. It is understood that the AIoT device determines whether the access for the first TI was successfully completed within the time period from sending MSG1 until receiving the first message. In some embodiments, the NACK indication includes the random identifier of the AIoT device or the access layer AS identifier. The random identifier of the AIoT device is the content carried in MSG1.
[0148] Step 906: The AIoT device decrements the value of the time slot counter by 1.
[0149] Step 907: The AIoT device determines whether the value of the time slot counter is 0; if yes, proceed to step 908; otherwise, proceed to step 910.
[0150] Step 909: The AIoT device ignores the first message and continues to listen.
[0151] Step 910: The AIoT device continues to listen.
[0152] like Figure 10 As shown, in some other embodiments, a communication method proposed in this application may include: Step 1001: The AIoT device determines that the first message from the reader is an R2D trigger message.
[0153] Step 1002: The AIoT device determines whether the value of the slot counter used to access the reader is 0; if it is 0 (slot counter=0), it means that the access slot has expired, and proceed to step 1007; otherwise, proceed to step 1003.
[0154] Optionally, in step 1003, the AIoT device determines whether the most recent paging message before receiving the current R2D trigger message was ignored; if yes, proceed to step 1007; otherwise, proceed to step 1004.
[0155] Step 1004: The AIoT device decrements the value of the time slot counter by 1.
[0156] Step 1005: The AIoT device determines whether the value of the time slot counter is 0; if yes, proceed to step 1006; otherwise, proceed to step 1008.
[0157] Step 1006: The AIoT device performs access to the reader / writer according to the first message.
[0158] Step 1007: The AIoT device ignores the first message and continues to listen.
[0159] Step 1008: The AIoT device continues to listen.
[0160] In a communication method proposed in this application, after receiving a first message from a reader, the AIoT device can determine the action for the first message based on the type of the first message, clarifying the processing method of the first message. Specifically, it provides a method for determining whether to respond and how to respond to the message when a response is required, standardizing the inter-layer interaction behavior of the AIoT device, which can take into account both the energy consumption control of the AIoT device and the necessary message response, while avoiding repeated responses to paging messages for the same service.
[0161] This application provides a communication method in which the executing entity can be a virtual device. This application uses a virtual device executing the communication method as an example to illustrate the communication device provided in this application.
[0162] like Figure 11 As shown, one embodiment of this application proposes a communication device 1100, which can be used for AIoT devices. The device 1100 may include a receiving module 1101 and a processing module 1102.
[0163] The receiving module 1101 is used to receive the first message from the reader / writer.
[0164] In some embodiments, the first message can be any message from the reader / writer.
[0165] Processing module 1102 is used to determine the action for the first message based on the type of the first message.
[0166] In some embodiments, the type includes at least one of paging messages and R2D trigger messages. If the first message is a paging message, it is used to page the AIoT device. The first message can be the first paging message in a series of paging messages, or any of the subsequent paging messages in a series of paging messages. If the first message is an R2D trigger message, it is used to trigger the AIoT device to maintain the timing between itself and the reader / writer via this message. In some scenarios, such as the first paging in a series of paging messages, the first message is both a paging message and an R2D trigger message.
[0167] The behavior may differ depending on the type of the first message, which will be explained below.
[0168] In some embodiments, the processing module includes: a first processing submodule, configured to determine an action for the first message based on whether a first transaction identifier exists locally, when the type of the first message is a paging message.
[0169] The existence of a first transaction identifier locally can be one of the following two possibilities: Does the first transaction identifier need to be stored locally? Does a first variable exist locally, and is used to store the first transaction identifier?
[0170] Optionally, the first transaction identifier may be the transaction identifier corresponding to the previous paging. In some embodiments, the first transaction identifier may be the transaction identifier corresponding to the previous paging response.
[0171] In some embodiments, the first processing submodule is specifically configured to: if a first transaction identifier exists locally, determine the action for the first message based on the first transaction identifier and a second transaction identifier carried in the first message.
[0172] In some embodiments, the first processing submodule is specifically configured to: determine whether the second transaction identifier carried in the first message is the same as the first transaction identifier.
[0173] In some embodiments, the first processing submodule may further be configured to: if the access corresponding to the first transaction identifier is not successfully completed when the second transaction identifier is the same as the first transaction identifier, perform access to the reader according to the first message; if the access corresponding to the first transaction identifier has been successfully completed, ignore the first message.
[0174] Whether the access corresponding to the first transaction identifier was successfully completed can be determined by whether a NACK indication transmitted via MSG3 was received for the first transaction identifier. If no NACK indication transmitted via MSG3 is received for the first transaction identifier, it indicates that the access corresponding to the first transaction identifier has been successfully completed; otherwise, it indicates that the access corresponding to the first transaction identifier has not been successfully completed. In some embodiments, the NACK indication includes the random identifier of the AIoT device or the access layer AS identifier. The random identifier of the AIoT device may be the content carried in MSG1.
[0175] In some embodiments, the first processing submodule may further be used to: determine whether it is being paged based on the first message if the second transaction identifier is different from the first transaction identifier.
[0176] Optionally, the processing module 1102 can also be used to: clear the first transaction identifier locally when it determines that it has not been paged.
[0177] In some embodiments, the first processing submodule is further configured to: determine whether it is being paged based on the first message if the first transaction identifier does not exist locally.
[0178] In some embodiments, determining whether the device is being paged based on the first message may include: if the first message contains a paging identity, the Media Access Control (MAC) layer of the AIoT device submits the first message to the Non-Access Stratum (NAS) layer, and the NAS layer confirms whether the AIoT device is being paged and informs the MAC layer of the result of whether it is being paged.
[0179] The NAS layer confirming whether the AIoT device is paged may include at least one of the following: 1) The paging identifier included in the first message is the Device ID. This Device ID can be either a permanent or temporary device ID. The NAS layer determines whether the Device ID of the AIoT device maintained by the NAS layer includes or corresponds to the Device ID in the first message. If it does, the NAS layer confirms that the AIoT device has been paged; otherwise, the NAS layer confirms that the AIoT device has not been paged. As an example, if the NAS layer determines that the reader is paged all AIoT devices based on a specific value in the Device ID of the first message, the NAS layer will also confirm that the AIoT device has been paged.
[0180] 2) The paging identifier contained in the first message is the device group ID. The NAS layer determines whether the device group ID in the first message is consistent with the device group ID maintained by the NAS layer. If they are consistent, the NAS layer confirms that the AIoT device has been paged; otherwise, the NAS layer confirms that the AIoT device has not been paged.
[0181] 3) The paging identifier contained in the first message includes preset filtering conditions. The NAS layer determines whether it meets the preset filtering conditions. If it does, the NAS layer confirms that the AIoT device has been paged; otherwise, the NAS layer confirms that the AIoT device has not been paged.
[0182] In other embodiments, the AIoT device determining whether it has been paged based on the first message may include at least one of the following: 1) If the first message does not contain a paging identifier, the MAC layer of the AIoT device confirms whether the AIoT device has been paged. For example, if the first message does not contain a paging identifier, it means the first message is used to page all AIoT devices, and the MAC layer of the AIoT device can directly confirm that the AIoT device has been paged.
[0183] 2) If the first message contains a paging identifier that is only visible to the MAC layer and the value of the paging identifier field is a preset value, it means that the first message is used to page all AIoT devices, and the MAC layer of the AIoT device can directly confirm that the AIoT device has been paged.
[0184] Optionally, Figure 11 The apparatus shown may further include: a sending module, configured to perform access to the reader / writer based on the first message when it determines that it has been paged.
[0185] In some embodiments, the sending module may be specifically used to: determine whether the first resource indicated in the first message is a dedicated resource, wherein the first resource is a resource used to transmit the AIoT device identifier; and determine whether to perform non-contention-free random access (CFRA) or contention-based random access (CBRA) based on the determination result.
[0186] In the case where the first resource is a dedicated resource, CFRA is performed. Specifically, the sending module can be used to send MSG1 to the reader / writer via the first resource.
[0187] Wherein, if the first resource is not a dedicated resource, CBRA is executed. Specifically, the sending module can be used to: randomly select a second resource according to the first parameter indicated in the first message, set the value of the slot counter used to access the reader to a first value, decrement the value of the slot counter by 1 (slot counter-=1) each time an R2D trigger message is received, and send MSG1 to the reader through the second resource when the value of the slot counter is 0, wherein the first value is greater than 0 and the first value is related to the first parameter.
[0188] In some embodiments, when the first parameter indicated by the first message is Q, the AIoT device can be between 0 and 2. Q Choose any one of the following values as the first value, that is, the AIoT device is between 0 and 2. Q Choose any one of the values as the starting value of the time slot counter.
[0189] In other embodiments, when the first parameter indicated by the first message is N (N is used to indicate the number of all MSG1 resources used for transmission), the AIoT device will first select one MSG1 resource from the N MSG1 resources, and then determine the first value according to the time slot corresponding to this MSG1 resource, that is, set the starting value of the time slot counter according to the time slot corresponding to this MSG1 resource.
[0190] Optionally, the processing module 1102 can also be used to: after the AIoT device is connected to the reader, if a first transaction identifier exists locally, update the first transaction identifier locally to the second transaction identifier; if a first transaction identifier does not exist locally, save the second transaction identifier locally. The second transaction identifier can be stored directly or stored in a first variable.
[0191] It is understood that, through the above embodiments, when the device 1100 receives a paging message from the reader, it can determine whether to respond to the paging message and how to respond, thus clarifying the processing method of the paging message and taking into account both the energy consumption control and necessary response of the AIoT device.
[0192] In other embodiments, the processing module includes a second processing submodule, configured to determine whether the first resource indicated in the first message is a dedicated resource when the type of the first message is a paging message, wherein the first resource is a resource used to transmit an AIoT device identifier.
[0193] Optionally, the second processing submodule can also be used to: when the first resource is a dedicated resource, the AIoT device determines whether it is being paged based on the first message.
[0194] Optionally, the second processing submodule can also be used to: process the first message through the first processing submodule when the first resource is not a dedicated resource.
[0195] Optionally, the second processing submodule can also be used to: send MSG1 to the reader / writer via the first resource when it determines that it is being paged.
[0196] Optionally, the second processing submodule can also be used to: ignore the first message if it determines that it has not been paged.
[0197] It is understood that when the second processing submodule determines that the first resource is a dedicated resource and the AIoT device is paged, it executes CFRA, that is, sends MSG1 according to the first resource. Optionally, the paging message for CFRA may not carry a transaction identifier.
[0198] In other embodiments, the processing module includes a third processing submodule, configured to determine whether the value of the time slot counter used to access the reader is 0 when the type of the first message is an R2D triggered message.
[0199] Optionally, the third processing submodule can also be used to: ignore the first message when the value of the time slot counter is 0.
[0200] Optionally, the third processing submodule can also be used to: determine the action for the first message based on whether a first transaction identifier exists locally, if the value of the time slot counter is not 0.
[0201] Optionally, the third processing submodule can also be used to: if the value of the time slot counter is not 0, first determine whether the most recent paging message before the first message was received has been ignored; if so, ignore the first message and continue listening; otherwise, determine the action for the first message based on whether a first transaction identifier exists locally.
[0202] In some embodiments, the third processing submodule is specifically configured to: determine the action for the first message based on the first transaction identifier and the second transaction identifier carried in the first message, when the value of the time slot counter is not 0 and a first transaction identifier exists locally.
[0203] In some embodiments, the third processing submodule is specifically used to: determine whether the second transaction identifier carried in the first message is the same as the first transaction identifier.
[0204] In some embodiments, the third processing submodule may also be used to: ignore the first message if the second transaction identifier is different from the first transaction identifier.
[0205] In some embodiments, the third processing submodule can also be used to: if the second transaction identifier is the same as the first transaction identifier, and if the access corresponding to the first transaction identifier is not successfully completed, decrement the value of the time slot counter by 1, and if the value of the time slot counter is 0, access the reader / writer according to the first message; if the access corresponding to the first transaction identifier has been successfully completed, ignore the first message.
[0206] Whether the access corresponding to the first transaction identifier was successfully completed can be determined by whether a NACK indication transmitted via MSG3 was received for the first transaction identifier. If no NACK indication transmitted via MSG3 is received for the first transaction identifier, it indicates that the access corresponding to the first transaction identifier has been successfully completed; otherwise, it indicates that the access corresponding to the first transaction identifier has not been successfully completed. In some embodiments, the NACK indication includes the random identifier of the AIoT device or the access layer AS identifier. The random identifier of the AIoT device may be the content carried in MSG1.
[0207] Optionally, the third processing submodule can also be used to: ignore the first message when the value of the time slot counter is not 0 and there is no first transaction identifier locally.
[0208] Optionally, the processing module 1102 may also be used to: determine the type of the first message through the MAC layer of the AIoT device before determining the action for the first message based on the type of the first message.
[0209] In some embodiments, the MAC layer of the AIoT device determines the type of the first message, which may include at least one of the following: 1) Determine the type of the first message based on the value of the message type field in the first message; One objective of this determination method is to design the MAC format of the R2D trigger message as an independent MAC message type. When the AIoT device receives it, it can determine that the message is only used to indicate the start of a time slot, and the AIoT device implicitly determines that it needs to decrement the interest counter by 1. The advantage of this determination method is that it can reduce the processing latency of the AIoT device for the first message.
[0210] 2) When the message type corresponding to the first message is a paging message, the type of the first message is determined according to the content contained in the first message; for example, when the content contained in the first message is only a transaction identifier, the type of the first message is an R2D trigger message.
[0211] 3) Upon receiving indication information from the Physical Layer Signaling (PHY) of the AIoT device, determine that the type of the first message is an R2D trigger message.
[0212] The communication device 1100 provided in this application embodiment can achieve... Figure 5 The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.
[0213] like Figure 12 As shown in the illustration, this application also provides a communication device 1200, including a processor 1201 and a memory 1202. The memory 1202 stores programs or instructions that can run on the processor 1201. For example, when the communication device 1200 is a terminal, the program or instructions executed by the processor 1201 implement the various steps of the above-described communication method embodiments and achieve the same technical effect. When the communication device 1200 is a network-side device, the program or instructions executed by the processor 1201 implement the various steps of the above-described communication method embodiments and achieve the same technical effect. To avoid repetition, further details are omitted here.
[0214] This application embodiment also provides an environmental IoT device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement, for example... Figure 5The steps in the method embodiment shown are illustrated. This terminal embodiment corresponds to the above-described communication method embodiment. All implementation processes and methods of the above method embodiments can be applied to this terminal embodiment and achieve the same technical effect. The environmental IoT device can be... Figure 11 The communication device shown.
[0215] Figure 13 A schematic diagram of the hardware structure of a terminal to implement an embodiment of this application. The terminal 1300 includes, but is not limited to, at least some of the following components: radio frequency unit 1301, network module 1302, audio output unit 1303, input unit 1304, sensor 1305, display unit 1306, user input unit 1307, interface unit 1308, memory 1309, and processor 1310.
[0216] Those skilled in the art will understand that the terminal 1300 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1310 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 13 The terminal structure shown does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0217] It should be understood that, in this embodiment, the input unit 1304 may include a graphics processor 13041 and a microphone 13042. The graphics processor 13041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1306 may include a display panel 13061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1307 includes a touch panel 13071 and at least one of other input devices 13072. The touch panel 13071 is also called a touch screen. The touch panel 13071 may include a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0218] In this embodiment, after receiving downlink data from the network-side device, the radio frequency unit 1301 can transmit it to the processor 1310 for processing; in addition, the radio frequency unit 1301 can send uplink data to the network-side device. Typically, the radio frequency unit 1301 includes, but is not limited to, antennas, amplifiers, transceivers, couplers, low-noise amplifiers, duplexers, etc.
[0219] The memory 1309 can be used to store software programs or instructions, as well as various data. The memory 1309 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1309 may include volatile memory or non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1309 in this embodiment includes, but is not limited to, these and any other suitable types of memory.
[0220] Processor 1310 may include one or more processing units; optionally, processor 1310 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1310.
[0221] The radio frequency unit 1301 is used to receive the first message from the reader / writer.
[0222] Processor 1310 is configured to determine an action for the first message based on the type of the first message, wherein the type of the first message includes at least one of paging messages and R2D trigger messages.
[0223] The terminal 1300 provided in this application embodiment can determine the action for the first message according to the type of the first message after receiving the first message from the reader / writer, thus clarifying the processing method of the first message, and can take into account both the energy consumption control of the device and the necessary message response.
[0224] It is understood that the implementation process of each implementation method mentioned in this embodiment can refer to the relevant description of the method embodiment and achieve the same or corresponding technical effect. To avoid repetition, it will not be described again here.
[0225] Specifically, embodiments of this application also provide a network-side device. For example... Figure 14 As shown, the network-side device 1400 includes: an antenna 141, a radio frequency (RF) device 142, a baseband device 143, a processor 144, and a memory 145. The antenna 141 is connected to the RF device 142. In the uplink direction, the RF device 142 receives information through the antenna 141 and transmits the received information to the baseband device 143 for processing. In the downlink direction, the baseband device 143 processes the information to be transmitted and sends it to the RF device 142. The RF device 142 processes the received information and transmits it through the antenna 141.
[0226] The method executed by the network-side device in the above embodiments can be implemented in the baseband device 143, which includes a baseband processor.
[0227] Baseband device 143 may include, for example, at least one baseband board on which multiple chips are disposed, such as Figure 14 As shown, one of the chips is, for example, a baseband processor, which is connected to the memory 145 via a bus interface to call the program in the memory 145 and execute the network-side device operations shown in the above method embodiment.
[0228] The network-side device may also include a network interface 146, such as a Common Public Radio Interface (CPRI).
[0229] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described communication method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0230] The processor mentioned above is the processor in the environmental IoT device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk. In some examples, the readable storage medium may be a non-transient readable storage medium.
[0231] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described communication method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0232] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0233] This application also provides a computer program / program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described communication method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0234] This application also provides a communication system, including: a reader / writer and an environmental IoT device, wherein the environmental IoT device can be used to perform... Figure 5 The steps of the communication method described above.
[0235] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0236] From the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of computer software products plus necessary general-purpose hardware platforms, and of course, they can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk, etc.) and includes several instructions to cause the terminal or network-side device to execute the methods described in the various embodiments of this application.
[0237] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other implementations under the guidance of this application without departing from the spirit and scope of the claims. All of these implementations are within the protection scope of this application.
Claims
1. A communication method, characterized in that, The method includes: The environmental IoT (AIoT) device receives the first message from the reader; The AIoT device determines its action in response to the first message based on the type of the first message, wherein the type of the first message includes at least one of paging messages and R2D trigger messages.
2. The method according to claim 1, characterized in that, The AIoT device determines its action for the first message based on the type of the first message, including: When the first message is a paging message, the AIoT device determines the action for the first message based on whether a first transaction identifier exists locally.
3. The method according to claim 2, characterized in that, The AIoT device determines its action for the first message based on whether a first transaction identifier exists locally, including: If a first transaction identifier exists locally, the AIoT device determines the action for the first message based on the first transaction identifier and the second transaction identifier carried in the first message.
4. The method according to claim 3, characterized in that, The AIoT device determines its action regarding the first message based on the first transaction identifier and the second transaction identifier carried in the first message, including: The AIoT device determines whether the second transaction identifier carried in the first message is the same as the first transaction identifier; If the second transaction identifier is the same as the first transaction identifier, and the access corresponding to the first transaction identifier fails to complete, the AIoT device performs access to the reader / writer according to the first message; if the access corresponding to the first transaction identifier has been successfully completed, the AIoT device ignores the first message. If the second transaction identifier is different from the first transaction identifier, the AIoT device determines whether it has been paged based on the first message.
5. The method according to claim 4, characterized in that, The method further includes: If the AIoT device determines that it has not been paged, it clears the first transaction identifier locally.
6. The method according to any one of claims 2-5, characterized in that, The AIoT device determines its action for the first message based on whether a first transaction identifier exists locally, including: If the first transaction identifier does not exist locally, the AIoT device determines whether it has been paged based on the first message.
7. The method according to any one of claims 4-6, characterized in that, The AIoT device determines whether it has been paged based on the first message, including: If the first message contains a paging identifier, the Media Access Control (MAC) layer of the AIoT device delivers the first message to the Non-Access NAS layer. The NAS layer confirms whether the AIoT device has been paged and informs the MAC layer of the result of whether it has been paged. If the first message does not contain a paging identifier, the MAC layer of the AIoT device confirms whether the AIoT device has been paged.
8. The method according to any one of claims 4-7, characterized in that, The method further includes: Upon determining that it has been paged, the AIoT device performs an access request to the reader / writer based on the first message.
9. The method according to claim 4 or 8, characterized in that, The AIoT device performs access to the reader / writer according to the first message, including: The AIoT device determines whether the first resource indicated in the first message is a dedicated resource, wherein the first resource is a resource used to transmit the AIoT device identifier; If the first resource is a dedicated resource, the AIoT device sends MSG1 to the reader / writer through the first resource; If the first resource is not a dedicated resource, the AIoT device randomly selects a second resource according to the first parameter indicated in the first message, sets the value of the time slot counter used to access the reader to a first value, decrements the value of the time slot counter by 1 each time an R2D trigger message is received, and sends MSG1 to the reader through the second resource when the value of the time slot counter is 0. The first value is greater than 0 and is related to the first parameter.
10. The method according to claim 8 or 9, characterized in that, The method further includes: The AIoT device updates its local first transaction identifier to the second transaction identifier; Alternatively, the AIoT device may store the second transaction identifier locally.
11. The method according to claim 1, characterized in that, The AIoT device determines its action for the first message based on the type of the first message, including: When the type of the first message is a paging message, the AIoT device determines whether the first resource indicated in the first message is a dedicated resource, wherein the first resource is a resource used to transmit the AIoT device identifier; If the first resource is a dedicated resource, the AIoT device determines whether it is being paged based on the first message; Upon determining that it is being paged, the AIoT device sends MSG1 to the reader / writer through the first resource.
12. The method according to any one of claims 1-11, characterized in that, The AIoT device determines its behavior for the first message based on the type, including: When the first message is an R2D trigger message, the AIoT device determines whether the value of the time slot counter used to access the reader is 0; If the value of the time slot counter is 0, the AIoT device ignores the first message; If the value of the time slot counter is not 0, the AIoT device determines the action for the first message based on whether a first transaction identifier exists locally.
13. The method according to claim 12, characterized in that, The AIoT device determines its action for the first message based on whether a first transaction identifier exists locally, including: If a first transaction identifier exists locally, the AIoT device determines the action for the first message based on the first transaction identifier and the second transaction identifier carried in the first message.
14. The method according to claim 13, characterized in that, The AIoT device determines its action regarding the first message based on the first transaction identifier and the second transaction identifier carried in the first message, including: The AIoT device determines whether the second transaction identifier carried in the first message is the same as the first transaction identifier; If the second transaction identifier is different from the first transaction identifier, the AIoT device ignores the first message; If the second transaction identifier is the same as the first transaction identifier, and the access corresponding to the first transaction identifier is not successfully completed, the AIoT device decrements the value of the time slot counter by 1, and accesses the reader / writer according to the first message when the value of the time slot counter is 0; if the access corresponding to the first transaction identifier is successfully completed, the AIoT device ignores the first message.
15. The method according to claim 12, characterized in that, The AIoT device determines its action for the first message based on whether a first transaction identifier exists locally, including: If the first transaction identifier does not exist locally, the AIoT device ignores the first message.
16. The method according to any one of claims 1-15, characterized in that, Before the AIoT device determines its action for the first message based on the type of the first message, the method further includes: The Media Access Control (MAC) layer of the AIoT device determines the type of the first message.
17. The method according to claim 16, characterized in that, The MAC layer of the AIoT device determines the type of the first message, including at least one of the following: The type of the first message is determined based on the value of the message type field in the first message; If the message type corresponding to the first message is a paging message, the type of the first message is determined based on the content contained in the first message; Upon receiving an indication from the physical layer (PHY) of the AIoT device, the type of the first message is determined to be an R2D trigger message.
18. A communication device, characterized in that, include: The receiving module is used to receive the first message from the reader / writer; A processing module is configured to determine an action for the first message based on the type of the first message, wherein the type includes at least one of paging messages and R2D trigger messages.
19. The apparatus according to claim 18, characterized in that, The processing module includes: The first processing submodule is used to determine the action for the first message based on whether a first transaction identifier exists locally, when the type of the first message is a paging message.
20. The apparatus according to claim 19, characterized in that, The first processing submodule is specifically used for: If a first transaction identifier exists locally, the action for the first message is determined based on the first transaction identifier and the second transaction identifier carried in the first message.
21. The apparatus according to claim 20, characterized in that, The first processing submodule is specifically used for: Determine whether the second transaction identifier carried in the first message is the same as the first transaction identifier; If the second transaction identifier is the same as the first transaction identifier, and the access corresponding to the first transaction identifier fails to complete, the access is executed to the reader according to the first message; if the access corresponding to the first transaction identifier has been successfully completed, the first message is ignored. If the second transaction identifier is different from the first transaction identifier, determine whether the user is being paged based on the first message.
22. The apparatus according to any one of claims 19-21, characterized in that, The first processing submodule is also used for: If the first transaction identifier does not exist locally, determine whether it is being paged based on the first message.
23. The apparatus according to claim 18, characterized in that, The processing module includes a third processing submodule; the second processing submodule is used for: If the first message is a paging message, determine whether the first resource indicated in the first message is a dedicated resource, wherein the first resource is a resource used to transmit the AIoT device identifier; If the first resource is a dedicated resource, determine whether you are being paged based on the first message; Upon determining that it is being paged, it sends MSG1 to the reader / writer via the first resource.
24. The apparatus according to any one of claims 18-23, characterized in that, The processing module includes a third processing submodule, which is used for: If the first message is an R2D trigger message, determine whether the value of the time slot counter used to access the reader is 0; If the value of the time slot counter is 0, the first message is ignored; If the value of the time slot counter is not 0, the action for the first message is determined based on whether a first transaction identifier exists locally.
25. The apparatus according to claim 24, characterized in that, The third processing submodule is specifically used for: If the value of the time slot counter is not 0 and a first transaction identifier exists locally, the action for the first message is determined based on the first transaction identifier and the second transaction identifier carried in the first message.
26. The apparatus according to claim 25, characterized in that, The third processing submodule is specifically used for: Determine whether the second transaction identifier carried in the first message is the same as the first transaction identifier; If the second transaction identifier is different from the first transaction identifier, the first message is ignored; If the second transaction identifier is the same as the first transaction identifier, and the access corresponding to the first transaction identifier is not successfully completed, the value of the time slot counter is decremented by 1, and if the value of the time slot counter is 0, the reader is accessed according to the first message; if the access corresponding to the first transaction identifier has been successfully completed, the first message is ignored.
27. The apparatus according to any one of claims 24-26, characterized in that, The third processing submodule is also used for: If the value of the time slot counter is not 0 and there is no first transaction identifier locally, the first message is ignored.
28. An environmental Internet of Things (IoT) device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the communication method as described in any one of claims 1 to 17.
29. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the communication method as described in any one of claims 1 to 17.