Message transmission method and apparatus, and device
By processing Msg2 and NACK messages based on stored random numbers or AS IDs during random access by AIoT devices, the problem of readers being unable to determine the reception status is solved, thus improving the communication success rate of AIoT devices.
Patent Information
- Application Number
- PCT/CN2026/095184
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-09
- Filing Date
- 2026-05-07
- Publication Date
- 2026-11-12
AI Technical Summary
During the three-step random access process of AIoT devices, the reader cannot determine whether the target AIoT device has successfully received Msg2, which leads to the inability to accurately send NACK messages. This may result in the device failing to receive or retransmit messages, affecting communication efficiency.
During random access, AIoT devices process received Msg2 and NACK messages based on saved random numbers or AS IDs to ensure correct identification and response, including saving random numbers or AS IDs for subsequent processing.
It improves the success rate of AIoT devices receiving Msg2 and NACK messages, simplifies the processing flow, and enhances the communication success rate.
Smart Images

Figure CN2026095184_12112026_PF_FP_ABST
Abstract
Description
Message transmission methods, apparatus and equipment
[0001] Cross-references to related applications
[0002] This application is based on and claims priority to Chinese Patent Application No. 202510598809.7, filed on May 9, 2025, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of communication technology, and more specifically, to a message transmission method, apparatus, and device. Background Technology
[0004] Ambient power-enabled IoT (AIoT) technology refers to the application of IoT to environmental monitoring and control. In the three-step random access process of an AIoT device, if the reader does not receive Msg3 from the target AIoT device after sending Msg2 once, the reader cannot determine whether the target AIoT device has successfully received Msg2. The reader can then perform at least one of the following operations: resend Msg2 to trigger the target AIoT device to send Msg3; or send a NACK message to the target AIoT device to trigger it to initiate the random access process again when receiving the next paging message, so as to execute any unfinished business. However, since the target AIoT device may have already received the Msg2 previously sent by the reader and performed AS ID configuration, the target AIoT device may not be able to successfully receive the Msg2 sent by the reader again. Since the reader cannot determine whether the target AIoT device has successfully received Msg2, the reader cannot determine whether to use a random number or AS ID to send the NACK message. Regardless of whether the reader uses a random number or AS ID to send the NACK message, there is a possibility that the AIoT device may not be able to successfully receive the NACK message. Summary of the Invention
[0005] This application provides a message transmission method, apparatus, and device that can solve the problem in the related art of AIoT devices receiving at least one of Msg2 and NACK messages.
[0006] Firstly, a message transmission method is provided, executed by an environmental Internet of Things (AIoT) device, the method comprising:
[0007] During the random access process of an environmental Internet of Things (AIoT) device, the AIoT device performs a first operation, which includes at least one of the following:
[0008] If the AIoT device stores a first random number, the received first Msg2 is processed based on the first random number.
[0009] If the AIoT device stores a first access layer identifier (AS ID), the received second Msg2 is processed based on the first AS ID;
[0010] If the AIoT device stores at least one of a first AS ID and a first random number, the received NACK message is processed based on at least one of the first AS ID and the first random number. The NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
[0011] Secondly, a message transmission method is provided, executed by a reader / writer, the method comprising:
[0012] During the random access process of environmental IoT (AIoT) devices, the reader performs a third operation, which includes:
[0013] Send a NACK message to the AIoT device, the NACK message including one of the following: a first random number, a first AS ID, a first random number, and a first AS ID;
[0014] Wherein, the first random number is a random number generated by the AIoT device for Msg1, the first AS ID is an AS ID assigned by the reader to the AIoT device, and the NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
[0015] Thirdly, a message transmission device is provided, comprising:
[0016] A first processing module is configured to perform a first operation during the random access process of an environmental Internet of Things (AIoT) device, wherein the AIoT device performs at least one of the following operations:
[0017] If the AIoT device stores a first random number, the received first Msg2 is processed based on the first random number.
[0018] If the AIoT device stores a first access layer identifier (AS ID), the received second Msg2 is processed based on the first AS ID;
[0019] If the AIoT device stores at least one of a first AS ID and a first random number, the received NACK message is processed based on at least one of the first AS ID and the first random number. The NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
[0020] Fourthly, a message transmission device is provided, comprising:
[0021] The second processing module is used to perform a third operation during the random access process of environmental IoT (AIoT) devices, the third operation including:
[0022] Send a NACK message to the AIoT device, the NACK message including one of the following: a first random number, a first AS ID, a first random number, and a first AS ID;
[0023] Wherein, the first random number is a random number generated by the AIoT device for Msg1, the first AS ID is an AS ID assigned by the reader to the AIoT device, and the NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
[0024] Fifthly, a message transmission apparatus is provided, the apparatus being configured to perform the steps of the message transmission method as described in the first aspect, or to implement the steps of the message transmission method as described in the second aspect.
[0025] In a sixth aspect, an environmental Internet of Things (AIoT) device is provided, the environmental Internet of Things (AIoT) 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 message transmission method as described in the first aspect.
[0026] In a seventh aspect, an environmental IoT (AIoT) device is provided, including a processor and a communication interface, wherein the processor is configured to perform a first operation during random access of the environmental IoT (AIoT) device, the first operation including at least one of the following:
[0027] If the AIoT device stores a first random number, the received first Msg2 is processed based on the first random number.
[0028] If the AIoT device stores a first access layer identifier (AS ID), the received second Msg2 is processed based on the first AS ID;
[0029] If the AIoT device stores at least one of a first AS ID and a first random number, the received NACK message is processed based on at least one of the first AS ID and the first random number. The NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
[0030] Eighthly, a reader / writer is provided, comprising 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 message transmission method as described in the second aspect.
[0031] A ninth aspect provides a reader / writer, including a processor and a communication interface, wherein the processor is configured to perform a third operation during the random access process of an environmental Internet of Things (AIoT) device, the third operation including:
[0032] Send a NACK message to the AIoT device, the NACK message including one of the following: a first random number, a first AS ID, a first random number, and a first AS ID;
[0033] Wherein, the first random number is a random number generated by the AIoT device for Msg1, the first AS ID is an AS ID assigned by the reader to the AIoT device, and the NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
[0034] In a tenth 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, or implement the steps of the method described in the second aspect.
[0035] Eleventhly, a wireless communication system is provided, comprising: an environmental Internet of Things (AIoT) device and a reader / writer, wherein the environmental Internet of Things (AIoT) device can be used to perform the steps of the method described in the first aspect, and the reader / writer can be used to perform the steps of the method described in the second aspect.
[0036] In a twelfth aspect, a chip is provided, the chip including a processor and a communication interface coupled to the processor, the processor being configured to run a program or instructions to implement the steps of the message transmission method as described in the first aspect, or to implement the steps of the message transmission method as described in the second aspect.
[0037] In a thirteenth aspect, a computer program / program product is provided, which is stored in a storage medium and is executed by at least one processor to implement the steps of the message transmission method as described in the first aspect, or to implement the steps of the message transmission method as described in the second aspect.
[0038] In this embodiment, when the AIoT device stores a first random number, the received first Msg2 is processed based on the first random number, enabling the AIoT device to determine whether the received Msg2 belongs to itself based on the first random number. This simplifies the process of processing Msg2 and improves the success rate of AIoT device processing Msg2. When the AIoT device stores a first access layer identifier (AS ID), the received second Msg2 is processed based on the first AS ID, enabling the AIoT device to determine whether the received Msg2 belongs to itself based on the first AS ID, thus improving the success rate of AIoT device receiving Msg2. When the AIoT device stores at least one of the first AS ID and the first random number, the received NACK message is processed based on at least one of the first AS ID and the first random number, enabling the AIoT device to clearly determine whether the received NACK message belongs to itself based on the stored information, thus improving the success rate of AIoT device receiving NACK messages. Attached Figure Description
[0039] Figure 1 is a block diagram of a wireless communication system applicable to an embodiment of this application;
[0040] Figure 2 is a schematic diagram of one of the network structures of Ambient IoT involved in the embodiments of this application;
[0041] Figure 3 is a second schematic diagram of the network structure of Ambient IoT involved in the embodiments of this application;
[0042] Figure 4 is a third schematic diagram of the network structure of Ambient IoT involved in the embodiments of this application;
[0043] Figure 5 is a schematic diagram of the three-step random access process of AIoT devices in related technologies;
[0044] Figure 6 is a schematic diagram of Msg2 using format 1 provided in the embodiment of this application;
[0045] Figure 7 is one of the schematic diagrams of Msg2 using format 2 provided in the embodiments of this application;
[0046] Figure 8 is a second schematic diagram of Msg2 using format 2 provided in the embodiments of this application;
[0047] Figure 9 is a third schematic diagram of Msg2 using format 2 provided in the embodiments of this application;
[0048] Figure 10 is a flowchart illustrating one of the message transmission methods provided in an embodiment of this application;
[0049] Figure 11 is a schematic diagram of one of the NACK MAC PDU structures provided in the embodiments of this application;
[0050] Figure 12 is a second schematic diagram of the NACK MAC PDU structure provided in the embodiments of this application;
[0051] Figure 13 is a third schematic diagram of the NACK MAC PDU structure provided in the embodiments of this application;
[0052] Figure 14 is a fourth schematic diagram of the NACK MAC PDU structure provided in the embodiments of this application;
[0053] Figure 15 is a second flowchart illustrating the message transmission method provided in an embodiment of this application;
[0054] Figure 16 is a schematic diagram of one of the message transmission devices provided in the embodiments of this application;
[0055] Figure 17 is a second schematic diagram of the message transmission device provided in an embodiment of this application;
[0056] Figure 18 is a schematic diagram of the structure of a communication device provided in an embodiment of this application;
[0057] Figure 19 is a schematic diagram of the hardware structure of a terminal implementing an embodiment of this application;
[0058] Figure 20 is a schematic diagram of the hardware structure of a network-side device that implements an embodiment of this application. Detailed Implementation
[0059] 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.
[0060] 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.
[0061] 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 the sender explicitly informing the receiver of specific information, the required operation, or the requested result in the instruction sent. An indirect instruction can be understood as the receiver determining the corresponding information based on the instruction sent by the sender, or making a judgment and determining the required operation or requested result based on the judgment result.
[0062] 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.
[0063] Figure 1 shows a block diagram of a wireless communication system applicable to an embodiment of this application. The wireless communication system includes a terminal 11 and a network-side device 12. The terminal 11 can also be referred to as User Equipment (UE), and 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 (home devices with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), game console, personal computer (PC), ATM, or self-service machine, 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 (APs), or Wireless Fidelity (WiFi) nodes, etc.Among them, base stations can be referred to as Node B (NB), Evolved Node B (eNB), Next Generation Node B (gNB), New Radio Node B (NR Node B), Access Point, Relay Base Station (RBS), Serving Base Station (SBS), Base Transceiver Station (BTS), Radio Base Station, Radio Transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B (HNB), Home Evolved Node B, Transmit / Receive Point (TRP), Non-Terrestrial Network (NTN) equipment (such as satellite or high altitude platform stations). The term "base station" can be any suitable term in the field, such as "station" or any other appropriate term in the relevant field, as long as the same technical effect is achieved. The term "base station" is not limited to any specific technical term. It should be noted that the embodiments of this application only use the base station in the NR system as an example for introduction, and do not limit the specific type of base station.
[0064] 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 (L-NEF), and Binding Support. Functions include BSF, Application Function (AF), Location Management Function (LMF), Gateway Mobile Location Centre (GMLC), Network Data Analytics Function (NWDAF), and Non-Terrestrial Network (NTN) equipment (such as satellite or high altitude platform station).It should be noted that the embodiments of this application only use the core network equipment in the NR system as an example for introduction, and do not limit the specific type of core network equipment. If the name of the core network equipment mentioned in the embodiments of this application changes in subsequent protocol versions (e.g., 6G), it is also within the scope of protection of this application.
[0065] 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).
[0066] The following is a definition of the technical terms used in the embodiments of this application:
[0067] I. Ambient IoT (AIoT)
[0068] Ambient IoT is a new 3GPP IoT technology. Ambient IoT devices feature ultra-low complexity and ultra-low power consumption.
[0069] Ambient IoT, also known as Ambient Power-Enabled Internet of Things, is an IoT network in which AIoT devices are powered through energy harvesting. These devices are not equipped with batteries or have limited energy storage capacity (e.g., using a capacitor). Energy sources for harvesting include radio waves, light, motion, heat, or other suitable energy sources.
[0070] Ambient IoT devices are powered by energy harvesting. Regarding energy storage, the devices may possess the following characteristics:
[0071] No batteries, no energy storage. Completely dependent on external energy sources. Or,
[0072] Limited energy storage capacity; no need to replace batteries or recharge.
[0073] Typically, Ambient IoT devices do not have traditional batteries. The devices themselves use energy harvested from radio waves, which can come from network devices or user equipment, such as mobile UEs.
[0074] Ambient IoT devices can be classified based on their energy source, energy storage capability, and whether they emit passively or actively.
[0075] It should be noted that Ambient IoT can include Passive IoT.
[0076] Referring to TR22.840, Ambient IoT offers several communication modes for passive or active transmission:
[0077] 1) Normal operation. Ambient IoT devices have continuous power or can operate for a period of time. Energy can come from continuous energy harvesting or may have some energy storage capacity, such as being equipped with capacitors.
[0078] 2) Active transmission, supporting device-triggered operations. The device can only support short-term activity and intermittent communication. The device can decide when to communicate with the network. The device may not necessarily monitor the network, meaning it may not listen to called services for extended periods.
[0079] 3) Passive transmission, only supports network-initiated on-demand operations. Ambient IoT devices cannot initiate services themselves.
[0080] II. Network Structure of Ambient IoT
[0081] Figure 2 is a schematic diagram of one of the network structures of Ambient IoT according to an embodiment of this application. In one structure, referring to Figure 2, the reader / writer can be integrated as a functional unit in the base station, and the base station can communicate directly with the AIoT device.
[0082] Figure 3 is a second schematic diagram of the network structure of Ambient IoT according to an embodiment of this application. In another structure, referring to Figure 3, the reader / writer can be integrated as a functional unit in the base station, and the base station communicates with the AIoT device through auxiliary nodes such as repeater NCR nodes or RIS nodes.
[0083] Figure 4 is a schematic diagram of the third network structure of Ambient IoT according to an embodiment of this application. In another structure, referring to Figure 4, the wireless reader / writer is a unit deployed separately from the base station. The Ambient IoT device involved can be a terminal device based on passive communication; the wireless reader / writer can also be a fixed-deployment reading and writing device controlled by the base station. The wireless reader / writer realizes communication with the AIoT device under the control of the base station. The communication between the reader / writer and the AIoT device can be based on a backscatter communication mechanism or an active communication method in which the AIoT device generates and transmits radio waves.
[0084] The reader mentioned in the embodiments of this application includes a reader integrated in a base station, or a reader integrated in a mobile terminal, or a reader integrated in a relay node or auxiliary node, etc. Optionally, the reader can be one of the following: a terminal, an intermediate node, an auxiliary node, or a network-side device.
[0085] For ease of description, the interface between the wireless reader and the AIoT device will be referred to as the AIoT interface.
[0086] III. Random Access Process for AIoT Devices
[0087] The relevant technologies studied the random access process of 2-step RA and 3-step RA, and the corresponding processes are as follows;
[0088] 1. Two-step random access (RA) process:
[0089] AIoT devices can use Msg1 to send a randomly generated 16-bit RN16 and their own upper-layer identifier to the reader, or simply send their own upper-layer identifier.
[0090] After receiving Msg1, the reader can optionally send an acknowledgment message to the AIoT device. If the reader fails to receive Msg1, it can send a negative response message, allowing the AIoT device to re-execute the access process later. When replying to the AIoT device after receiving Msg1, the reader can assign an Access Stratum ID (AS ID) to the AIoT device for subsequent message transmission between the reader and the AIoT device.
[0091] 2. Three-step random access (RA) process:
[0092] Figure 5 is a schematic diagram of the three-step random access process for AIoT devices in related technologies. Referring to Figure 5, the 3-step RA process includes:
[0093] AIoT devices use Msg1 to send a randomly generated 16-bit RN16 (binary) to the reader;
[0094] After receiving Msg1, the reader sends an acknowledgment message (Msg2) to the AIoT device;
[0095] After receiving the confirmation message Msg2, the AIoT device sends Msg3 containing its own identification information to the reader;
[0096] In the 3-step RA process, if the reader fails to receive Msg3, it can send a NACK message to the AIoT device, allowing the AIoT to initiate the random access process again later; or the reader can send Msg2 to the AIoT device again to schedule the AIoT device to send Msg3 again.
[0097] During the 3-step random access process, the reader can assign an AS ID to the target AIoT device via Msg2. The reader can: 1) configure the RN16 (randomly generated 16-bit number) carried in Msg1 received from the target AIoT device as the AS ID of the target AIoT device; or 2) assign a 16-bit number different from the received RN16 as the AS ID to the AIoT device.
[0098] IV. Msg2 format
[0099] The format of Msg2 used to assign AS IDs to target AIoT devices still needs further research and determination. Below are some possible formats.
[0100] Figure 6 is a schematic diagram of Msg2 using format 1 provided in an embodiment of this application. Referring to Figure 6, format 1 uses a message type field to indicate that the message is Msg2. This format includes RN16 received by the reader from the target AIoT device and AS ID assigned by the reader to the target AIoT device, wherein the value of AS ID may be the same as or different from the value of RN16;
[0101] Figure 7 is one of the schematic diagrams of Msg2 using format 2 provided in the embodiments of this application. Referring to Figure 7, format 2 uses a message type field and an indicator bit (flag, F) to jointly indicate the format of Msg2.
[0102] When the reader determines that it will use the RN16 carried by Msg1 received from the target AIoT device as the AS ID of the target AIoT device, it uses the message type field to indicate that the message is Msg2, and uses the F bit (e.g., a value of 0) to indicate that Msg2 only includes RN16. Referring to Figure 8, which is a second schematic diagram of Msg2 using format 2 provided in this application embodiment, Msg2 includes the RN16 field but does not include the AS ID field. When the target AIoT device receives Msg2 which includes the RN16 field but does not include the AS ID field, if the value of the RN16 field matches the RN16 value it sent, it uses the value of the RN16 field as its AS ID, thus completing the AS ID configuration.
[0103] When the reader determines that Msg2, which includes both the RN16 field and the AS ID field, can be used to configure the AS ID of the target AIoT device, it uses the message type field to indicate that the message is Msg2, and uses the F bit (e.g., a value of 1) to indicate that Msg2 includes both the RN16 field and the AS ID field. Referring to Figure 9, Figure 9 is a third schematic diagram of Msg2 using format 2 provided in this embodiment. When the target AIoT device receives Msg2, if the value of its RN16 field matches the value of its own sent RN16, it uses the value of its AS ID field as its AS ID. Based on this method, the reader can configure the target AIoT device with a 16-bit value that is the same as or different from the RN16 carried in Msg1, as the target AIoT device's AS ID.
[0104] During message transmission between the reader and the AIoT device, the AS ID is used to identify the correspondence between an uplink or downlink message and the AIoT device. After receiving a downlink message, the AIoT device determines whether it is the target AIoT device by checking if the AS ID carried in the received downlink message (i.e., MAC PDU) matches its own AS ID. If the AS ID matches, the AIoT device is determined to be the target AIoT device. The AIoT device then further processes the MAC parameters (e.g., scheduling information) and upper-layer data in the downlink message, including submitting the upper-layer data to the upper layer and sending response messages generated by the upper layer according to the scheduling information. In the AIoT air interface, downlink is referred to as R2D (Reader to AIoT Device) and uplink as D2R (AIoT device to Reader). In the following description, R2D refers to the downlink direction (i.e., the direction from reader to AIoT device), and D2R refers to the uplink direction (i.e., the direction from AIoT device to reader).
[0105] V. Retransmission of Msg2
[0106] In the 3-step RA process, if the reader fails to receive Msg3 after sending Msg2, the reader can retransmit Msg2 to the target AIoT device to trigger the target AIoT device to retransmit Msg3.
[0107] VI. MAC NACK Transmission
[0108] During the 3-step RA process, if the reader fails to receive Msg3 after sending Msg2, the reader can send a NACK message to the target AIoT device. This will trigger the target AIoT device to initiate the access process again when it receives the next paging message, so as to execute the unfinished business.
[0109] In the above 3-step RA process, when the reader fails to receive Msg3 from the target AIoT device after sending Msg2 once, the reader cannot determine whether the target AIoT device has successfully received Msg2. When the reader sends Msg2 again to trigger the target AIoT device to send Msg3, there are two possible scenarios:
[0110] Scenario 1: If the target AIoT device fails to receive Msg2, after receiving Msg2 again from the reader, the target AIoT device will perform the AS ID configuration process based on Msg2 and send Msg3 to the reader.
[0111] Scenario 2: If the target AIoT device has already successfully received Msg2, it will perform the AS ID configuration process based on the AS ID configuration information carried in Msg2. In this case, after performing AS ID configuration, the target AIoT device will delete the previously generated RN16 value and save the AS ID value configured by the reader / writer for subsequent message transmission and identification between the reader / writer and the AIoT device. When the AIoT device receives Msg2 again, it has already completed the AS ID configuration process.
[0112] The above 3-step RA process has the following problems:
[0113] The reader cannot determine whether scenario 1 or scenario 2 occurs. If scenario 1 occurs, when the reader retransmits Msg2, the target AIoT device can send Msg3 based on the received Msg2. However, if scenario 2 occurs, when the target AIoT device receives the retransmitted Msg2, since the target AIoT device has already performed AS ID configuration based on the previously received Msg2, the previously generated RN16 has become invalid or deleted. Therefore, the target AIoT device cannot determine that Msg2 is its own Msg2 message (i.e., it is the intended recipient of the Msg2 message) based on the RN16 carried by the re-received Msg2, and cannot trigger the sending of Msg3 based on Msg2.
[0114] Furthermore, a similar issue arises when sending a NACK message to the target AIoT device after the reader sends Msg2 but does not receive Msg3. If the target AIoT device does not correctly receive Msg2, it only saves the RN16 value instead of the AS ID value. If the AIoT device correctly receives Msg2, it has already completed the AS ID configuration, meaning it has deleted the RN16 value but saved the AS ID. The reader cannot determine whether to use the RN16 value or the AS ID to send the NACK signal. Regardless of whether the reader uses the RN16 value or the AS ID to send the NACK signal, there is a possibility that the AIoT device cannot determine whether the NACK signal belongs to itself.
[0115] To address the aforementioned problems, embodiments of this application provide a novel message transmission method. The message transmission method provided by these embodiments will be described in detail below with reference to the accompanying drawings, through some examples and application scenarios.
[0116] Figure 10 is a flowchart illustrating one of the message transmission methods provided in this application embodiment. As shown in Figure 10, the message transmission method includes:
[0117] Step 100: During the random access process of the AIoT device in the environment, the AIoT device performs a first operation, the first operation including at least one of the following:
[0118] If the AIoT device stores a first random number, the received first Msg2 is processed based on the first random number.
[0119] If the AIoT device stores a first access layer identifier (AS ID), the received second Msg2 is processed based on the first AS ID;
[0120] If the AIoT device stores at least one of a first AS ID and a first random number, the received NACK message is processed based on at least one of the first AS ID and the first random number. The NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
[0121] It is understood that how the AIoT device processes the received Msg2 in the message transmission method provided in the embodiments of this application is determined based on whether the AIoT device stores a random number or an AS ID.
[0122] Method 1: The AIoT device stores a first random number.
[0123] If the AIoT device has a first random number stored in it, the received first Msg2 is processed based on the first random number.
[0124] In some embodiments, the method further includes:
[0125] During the random access process of the AIoT device, the AIoT device performs a second operation, which includes at least one of the following:
[0126] Upon receiving the third Msg2 from the AIoT device, the first random number is saved;
[0127] After the AIoT device performs AS ID configuration, the first random number is saved;
[0128] After the AIoT device sends Msg3, the first random number is saved;
[0129] Wherein, the first random number is a random number generated by the AIoT device for Msg1; the reception of the third Msg2 occurs before the reception of the first Msg2.
[0130] It is understandable that after the AIoT device sends Msg1 (Msg1 carries a first random number) based on the 3-step RA process, the first random number is a random number generated by the AIoT device for Msg1, which can be a 16-bit random number, denoted as RN16. When the AIoT device receives the third Msg2, it first determines whether the intended recipient of the third Msg2 is itself. After determining that the intended recipient of the third Msg2 is itself, it will subsequently perform AS ID configuration based on the third Msg2 and send Msg3. Therefore, this application embodiment proposes that when the AIoT device receives the third Msg2, or after performing AS ID configuration, or after sending Msg3, it continues to save the first random number, which is used by the AIoT device to determine whether subsequently received retransmitted Msg2 (such as the first Msg2 mentioned above, where the reception of the first Msg2 is after the reception of the third Msg2) belongs to itself.
[0131] Optionally, the first random number can be saved after the AIoT device generates the first random number for Msg1, or after Msg1 is sent.
[0132] In some embodiments, processing the received first Msg2 based on the first random number includes:
[0133] If the value of the random number field of the first Msg2 matches the first random number, then Msg3 is sent.
[0134] It is understandable that the AIoT device stores a first random number. When the value of the random number field of the first Msg2 matches the first random number, the AIoT device determines that the first Msg2 belongs to itself, that is, determines that the desired target AIoT device of the first Msg2 is the AIoT device, and triggers the retransmission of Msg3, that is, sends Msg3.
[0135] Optionally, a match can be understood as having the same value. Matching the value of the random number field of the first Msg2 with the first random number can be understood as the value of the random number field of the first Msg2 being the same as the first random number.
[0136] This application also provides a method for deleting a saved first random number in an AIoT device.
[0137] In some embodiments, the method further includes: deleting the first random number when a first condition is met;
[0138] The first condition includes at least one of the following:
[0139] The duration for which the AIoT device stores the first random number reaches or exceeds a preset duration;
[0140] Msg4 is received, which is the message received by the AIoT device from the reader after sending Msg3;
[0141] First paging message received;
[0142] The first paging message is received and the service identifier (Transaction ID) carried by the Media Access Control (MAC) Protocol Data Unit (PDU) bearing the first paging message is different from the stored service identifier;
[0143] The first paging message is received and the service identifier carried by the MAC PDU carrying the first paging message is the same as the stored service identifier;
[0144] The AIoT device stores an AS ID and receives a non-acknowledgment NACK message carrying the AS ID;
[0145] A NACK message carrying the first random number was received;
[0146] Received an indication signal to trigger the next access opportunity;
[0147] Received an indication signal to trigger the start of the next time slot;
[0148] Wherein, the first paging message is the next paging message after the second paging message, and the second paging message is the paging message that triggers the current random access procedure.
[0149] The message transmission method provided in this application embodiment, when the AIoT device has stored a first random number, processes the received Msg2 according to the stored first random number, such as determining whether the initially received Msg2 and the subsequently received Msg2 belong to itself, which simplifies the process of the AIoT device processing Msg2 and improves the success rate of the AIoT device processing Msg2.
[0150] It should be noted that since the AIoT device still needs to save the RN16 value after receiving Msg2 and performing ASID configuration based on the correctly received Msg2, or after sending Msg3, there is an additional memory overhead.
[0151] Method 2: AIoT devices store the first AS ID.
[0152] If the AIoT device stores a first access layer identifier (AS ID), the received second Msg2 is processed based on the first AS ID.
[0153] It should be noted that the first AS ID is carried in the received fourth Msg2, and the fourth Msg2 is received before the second Msg2 is received.
[0154] In some embodiments, the method further includes:
[0155] When the AIoT device receives the fourth Msg2, it saves the first AS ID in the fourth Msg2 and deletes the first random number;
[0156] Wherein, the first random number is a random number generated by the AIoT device for Msg1; the reception of the fourth Msg2 occurs before the reception of the second Msg2.
[0157] It is understandable that after the AIoT device sends Msg1 (Msg1 carries a first random number) based on the 3-step RA process, the first random number is a random number generated by the AIoT device for Msg1, which can be a 16-bit random number, denoted as RN16. When the AIoT device receives the fourth Msg2, the AIoT device first determines whether the intended recipient of the fourth Msg2 is itself. After determining that the intended recipient of the fourth Msg2 is itself, it will subsequently perform AS ID configuration based on the fourth Msg2 and send Msg3. Therefore, this application embodiment proposes that when the AIoT device receives the fourth Msg2, it saves the first AS ID in the fourth Msg2, which is used by the AIoT device to determine whether the subsequently received retransmitted Msg2 (such as the second Msg2 mentioned above, the reception of the second Msg2 is after the reception of the fourth Msg2) belongs to itself.
[0158] Optionally, when the AIoT device receives the fourth Msg2, saving the first AS ID in the fourth Msg2 and deleting the first random number includes: after the AIoT device receives the fourth Msg2, after the AIoT device performs AS ID configuration according to the fourth Msg2, or after the AIoT device sends Msg3, saving the first AS ID in the fourth Msg2 and deleting the first random number.
[0159] In some embodiments, processing the received second Msg2 based on the first AS ID includes one of the following:
[0160] If the second Msg2 includes a random number field but does not include an AS ID field, and the value of the random number field of the second Msg2 matches the first AS ID, then send Msg3;
[0161] If the second Msg2 includes an AS ID field but does not include a random number field, and the value of the AS ID field of the second Msg2 matches the first AS ID, then send Msg3;
[0162] If the second Msg2 includes a random number field and an AS ID field, and the value of the AS ID field of the second Msg2 matches the first AS ID, then Msg3 is sent.
[0163] Referring to Figure 8, when the format of the second Msg2 is as shown in Figure 8, the second Msg2 includes a random number field but does not include an AS ID field. The AIoT device processes the received second Msg2 based on the first AS ID, including: determining whether the value of the random number field of the second Msg2 matches the first AS ID; if the value of the random number field of the second Msg2 matches the first AS ID, determining that the intended recipient of the second Msg2 is the AIoT device, and sending Msg3.
[0164] Optionally, if the second Msg2 includes an AS ID field but does not include a random number field, and the value of the AS ID field of the second Msg2 matches the first AS ID, then the intended recipient of the second Msg2 is determined to be the AIoT device, and Msg3 is sent.
[0165] Referring to Figures 6 and 9, when the format of the second Msg2 is as shown in Figure 6 or Figure 9, the second Msg2 includes a random number field and an AS ID field. The AIoT device processes the received second Msg2 based on the first AS ID, including: determining whether the value of the AS ID field of the second Msg2 matches the first AS ID, that is, determining whether the AS ID carried in the resent Msg2 matches the stored first AS ID. If the value of the AS ID field of the second Msg2 matches the first AS ID, the intended recipient of the second Msg2 is determined to be the AIoT device, and Msg3 is sent.
[0166] The message transmission method provided in this application embodiment can improve the success rate of AIoT device receiving Msg2 by processing the received Msg2 according to the stored access layer identifier when the AIoT device has stored the access layer identifier. Furthermore, it does not require the AIoT device to store the first random number after completing the AS ID configuration or sending Msg3, which can save the storage space of the AIoT device and reduce the cost of the AIoT device.
[0167] In some embodiments, the method further includes:
[0168] If the AIoT device receives Msg4, it discards the received Msg2.
[0169] Optionally, according to method one or method two above, if the AIoT device receives Msg4, the received Msg2 is discarded, that is, the AIoT device no longer sends Msg3 to the reader based on the received Msg2.
[0170] In some embodiments, the first Msg2 and the third Msg2 satisfy at least one of the following:
[0171] The format of the first Msg2 is the same as that of the third Msg2;
[0172] The content of the first Msg2 is the same as the content of the third Msg2.
[0173] In some embodiments, the second Msg2 and the fourth Msg2 satisfy at least one of the following:
[0174] The format of the second Msg2 is the same as that of the fourth Msg2;
[0175] The content of the second Msg2 is the same as the content of the fourth Msg2.
[0176] Optionally, when the reader sends Msg2 again to trigger the AIoT device to retransmit Msg3, the format and content of Msg2 should be exactly the same as the initial Msg2.
[0177] That is, the first Msg2 and the third Msg2 satisfy at least one of the following: the format of the first Msg2 is the same as the format of the third Msg2; the content of the first Msg2 is the same as the content of the third Msg2.
[0178] That is, the second Msg2 and the fourth Msg2 satisfy at least one of the following: the format of the second Msg2 is the same as the format of the fourth Msg2; the content of the second Msg2 is the same as the content of the fourth Msg2.
[0179] AIoT devices do not expect multiple Msg2 messages received during the same random access process to have different content or format. This is to avoid AIoT device anomalies and situations where the AIoT device cannot determine whether the received Msg2 message belongs to it.
[0180] To address the issue of AIoT devices receiving NACK messages, this application proposes the following embodiment: when the AIoT device stores at least one of a first AS ID and a first random number, the received NACK message is processed based on at least one of the first AS ID and the first random number. The NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
[0181] It is understood that when an AIoT device receives a NACK message, it processes the received NACK message based on at least one of the first AS ID and the first random number, including: determining whether the intended recipient of the received NACK message is the AIoT device based on at least one of the stored first AS ID and the first random number; if it is determined that the intended recipient of the received NACK message is the AIoT device, stopping the current random access process or re-initiating the random access process.
[0182] In this embodiment, the AIoT device processes the received NACK message based on at least one of the first AS ID and the first random number, provided that the AIoT device has stored at least one of the first AS ID and the first random number. This enables the AIoT device to clearly determine whether the received NACK message belongs to itself based on the information provided, thereby improving the success rate of the AIoT device receiving NACK messages.
[0183] In some embodiments, processing the received NACK message based on at least one of the first AS ID and the first random number includes one of the following:
[0184] Before receiving Msg2, or before receiving Msg4, or if the AIoT device has a first random number stored, the received NACK message is processed based on the first random number;
[0185] After receiving Msg2, or after receiving Msg4, or if the AIoT device has a first AS ID, the received NACK message is processed based on the first AS ID;
[0186] If the AIoT device stores a first random number and a first AS ID, the received NACK message is processed based on the first random number and the first AS ID.
[0187] Optionally, if the AIoT device stores a first random number before receiving Msg2, the AIoT device processes the received NACK message based on the first random number.
[0188] Optionally, if the first random number saved by the AIoT device is not deleted before the AIoT device receives Msg4, the AIoT device processes the received NACK message based on the first random number.
[0189] Optionally, if the AIoT device stores a first random number, the AIoT device processes the received NACK message based on the first random number.
[0190] Optionally, after the AIoT device receives Msg2, the AIoT device deletes the first random number, saves the first AS ID, and processes the received NACK message based on the first AS ID.
[0191] Optionally, after the AIoT device receives Msg2, the AIoT device saves the first AS ID and the first random number is not deleted. The AIoT device processes the received NACK message based on the first AS ID.
[0192] Optionally, after the AIoT device receives Msg4, the AIoT device deletes the first random number and processes the received NACK message based on the saved first AS ID.
[0193] Optionally, if the AIoT device stores a first random number and a first AS ID, for example, if the first random number stored by the AIoT device has not been deleted and the AIoT device also stores a first AS ID, the received NACK message is processed based on the first random number and the first AS ID.
[0194] Optionally, processing the received NACK message includes determining whether the intended recipient of the received NACK message is the AIoT device.
[0195] It should be noted that the embodiments of this application do not limit the timing of receiving the NACK message.
[0196] In this embodiment, the AIoT device processes the received NACK message according to at least one of the stored AS ID and random number under different circumstances, thereby improving the success rate of the AIoT device receiving NACK message.
[0197] In some embodiments, processing the received NACK message based on the first random number includes one of the following:
[0198] If the received NACK message includes a random number field but does not include an AS ID field, and the value of the random number field of the NACK message matches the first random number, the current random access procedure is stopped or the random access procedure is re-initiated.
[0199] If the received NACK message includes an AS ID field but does not include a random number field, and the value of the AS ID field of the NACK message matches the first random number, the current random access procedure is stopped or the random access procedure is re-initiated.
[0200] If the received NACK message includes a random number field and an AS ID field, and the value of the random number field of the NACK message matches the first random number, the current random access procedure is stopped or the random access procedure is re-initiated.
[0201] It is understandable that during the random access process of the AIoT device, after sending Msg1, or receiving Msg2, or performing AS ID configuration based on the received Msg2, or after sending Msg3, the first random number is saved for a period of time. During this period, the reader can use the first random number carried in Msg1 received from the AIoT device to send a NACK message to the AIoT device, which carries the random number.
[0202] In some embodiments, the NACK message employs a MAC PDU structure that includes a random number field, or a MAC PDU structure that selects a random number field between an AS ID field and a random number field, or a MAC PDU structure that includes an AS ID field and a random number field.
[0203] When a NACK message includes a random number field but does not include an AS ID field, the NACK message can adopt a MAC PDU structure that includes a random number field, or a MAC PDU structure that selects a random number field between the AS ID field and the random number field. In this case, the NACK message carries a random number. Figure 11 is a schematic diagram of one of the NACK MAC PDU structures provided in an embodiment of this application. Referring to Figure 11, the NACK message adopts a MAC PDU structure that includes a random number field, that is, the NACK message carries a first random number. Figure 12 is a schematic diagram of another NACK MAC PDU structure provided in an embodiment of this application. The MAC PDU structure that can be selected between the AS ID field and the random number field is shown in Figure 12, where the F bit is used to indicate whether the NACK MAC PDU carries the ASID field or the random number field. Referring to the format of F=0 in Figure 12, the NACK message adopts a MAC PDU structure that selects a random number field between the AS ID field and the random number field, and the NACK message carries a random number.
[0204] It is understood that when the received NACK message includes a random number field but does not include an AS ID field, the AIoT device stores a first random number. The AIoT device determines whether the value of the random number field of the NACK message matches the first random number. If the value of the random number field of the NACK message matches the first random number, the AIoT device determines that the intended recipient of the NACK message is itself, and then executes the subsequent process according to the NACK message, stopping the current random access process or re-initiating the random access process.
[0205] When the received NACK message includes an AS ID field but does not include a random number field, the NACK message may adopt a MAC PDU structure that includes an AS ID field, or a MAC PDU structure that selects the AS ID field between the AS ID field and the random number field. Figure 13 is a third schematic diagram of the NACK MAC PDU structure provided in an embodiment of this application. Referring to Figure 13, the NACK message adopts a MAC PDU structure that includes an AS ID field, that is, the NACK message only carries the AS ID. Referring to the format F=1 in Figure 12, the NACK message adopts a MAC PDU structure that selects the AS ID field between the AS ID field and the random number field, that is, the NACK message only carries the AS ID.
[0206] It is understood that when the received NACK message includes an AS ID field but does not include a random number field, the AIoT device stores a first random number. The AIoT device determines whether the value of the AS ID field of the NACK message matches the first random number. If the value of the AS ID field of the NACK message matches the first random number, the AIoT device determines that the intended recipient of the NACK message is itself, and then executes the subsequent process according to the NACK message, stopping the current random access process or re-initiating the random access process.
[0207] When the NACK message includes both a random number field and an AS ID field, the NACK message adopts a MAC PDU structure that includes both an AS ID field and a random number field. Figure 14 is a fourth schematic diagram of the NACK MAC PDU structure provided in this application embodiment. Referring to Figure 14, the NACK message adopts a MAC PDU structure that includes both an AS ID field and a random number field. That is, the NACK message carries a first random number and a first AS ID.
[0208] Understandably, when the received NACK message includes both a random number field and an AS ID field, the AIoT device stores a first random number. The AIoT device ignores the AS ID field of the received NACK message. The AIoT device determines whether the value of the random number field of the NACK message matches the first random number. If the value of the random number field of the NACK message matches the first random number, the AIoT device determines that the intended recipient of the NACK message is itself. Then, it executes the subsequent process according to the NACK message, stopping the current random access process or re-initiating the random access process.
[0209] Optionally, if the first condition is met, the AIoT device deletes the first random number. The understanding of the first condition can be found in the description of the foregoing embodiments, and will not be repeated here.
[0210] The message transmission method provided in this application embodiment allows the AIoT device to process the received NACK message based on a first random number, enabling the AIoT device to determine whether the intended recipient of the NACK message is itself based on the first random number, thereby improving the success rate of the AIoT device receiving the NACK message.
[0211] In some embodiments, processing the received NACK message based on the first AS ID includes one of the following:
[0212] If the received NACK message includes an AS ID field but does not include a random number field, and the value of the AS ID field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated.
[0213] If the received NACK message includes a random number field but does not include an AS ID field, and the value of the random number field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated.
[0214] If the received NACK message includes a random number field and an AS ID field, and the value of the AS ID field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated.
[0215] In some embodiments, the NACK message employs a MAC PDU structure including an AS ID field, or a MAC PDU structure based on selecting an AS ID field between an AS ID field and a random number field, or a MAC PDU structure including a random number field, or a MAC PDU structure based on selecting a random number field between an AS ID field and a random number field, or a MAC PDU structure including an AS ID field and a random number field.
[0216] Optionally, the received NACK message includes an AS ID field but does not include a random number field. This NACK message can use a MAC PDU structure that includes the AS ID field, or a MAC PDU structure based on selecting the AS ID field between the AS ID field and the random number field. Referring to Figure 13, the NACK message uses a MAC PDU structure that includes the AS ID field, meaning the NACK message only carries the AS ID. Referring to the format F=1 in Figure 12, the NACK message uses a MAC PDU structure that selects the AS ID field between the AS ID field and the random number field, meaning the NACK message only carries the AS ID.
[0217] It is understood that the received NACK message includes the AS ID field but does not include the random number field. That is, the received NACK message only includes the AS ID. After receiving Msg2, or after receiving Msg4, or if the AIoT device has stored the first AS ID, the AIoT device determines whether the value of the AS ID field of the received NACK message matches the first AS ID. If the value of the AS ID field of the received NACK message matches the first AS ID, the AIoT device determines that the intended recipient of the received NACK message is the AIoT device itself, and the AIoT device stops the current random access process or re-initiates the random access process.
[0218] Optionally, the received NACK message includes a random number field but does not include the AS ID field. The NACK message may employ a MAC PDU structure that includes a random number field, or a MAC PDU structure that selects a random number field between the AS ID field and the random number field. In this case, the NACK message carries a random number. The MAC PDU structure used in the NACK message can be referenced in Figures 11 and 12 (specifically, the format F=0 in Figure 12).
[0219] It is understood that the received NACK message includes a random number field but does not include the AS ID field. That is, the received NACK message only carries a random number. After receiving Msg2, or after receiving Msg4, or if the AIoT device has stored a first AS ID, the AIoT device determines whether the value of the random number field of the received NACK message matches the first AS ID stored by the AIoT device. If they match, the intended recipient of the received NACK message is determined to be the AIoT device, and the AIoT device stops the current random access process or re-initiates the random access process.
[0220] Optionally, the received NACK message includes a random number field and an AS ID field, that is, the received NACK message carries a random number and an AS ID, and the NACK message adopts the structure shown in Figure 13.
[0221] It is understood that the received NACK message includes a random number field and an AS ID field. After receiving Msg2, or after receiving Msg4, or if the AIoT device has stored the first AS ID, the AIoT device ignores the value of the random number field of the received NACK message and determines whether the value of the AS ID field of the received NACK message matches the first AS ID. If the value of the AS ID field of the received NACK message matches the first AS ID, the AIoT device determines that the intended recipient of the received NACK message is the AIoT device itself, and the AIoT device stops the current random access process or re-initiates the random access process.
[0222] The message transmission method provided in this application embodiment allows the AIoT device to process the received NACK message based on the first AS ID, enabling the AIoT device to determine whether the intended recipient of the NACK message is itself based on the first AS ID, thereby improving the success rate of the AIoT device receiving the NACK message.
[0223] In some embodiments, processing the received NACK message based on the first random number and the first AS ID includes:
[0224] If the received NACK message includes a random number field and an AS ID field, and the value of the random number field of the NACK message matches the first random number and the value of the AS ID field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated.
[0225] It is understood that the received NACK message includes a random number field and an AS ID field, and the AIoT device stores a first random number and a first AS ID. It determines whether the value of the AS ID field of the received NACK message matches the first AS ID, and whether the value of the random number field of the received NACK message matches the first random number. If the value of the random number field of the NACK message matches the first random number and the value of the AS ID field of the NACK message matches the first AS ID, it determines that the intended recipient of the received NACK message is the AIoT device, and stops the current random access process or re-initiates the random access process.
[0226] Optionally, if the first condition is met, the AIoT device deletes the first random number. The understanding of the first condition can be found in the description of the foregoing embodiments, and will not be repeated here.
[0227] The message transmission method provided in this application embodiment, when the NACK message received by the AIoT device includes a random number field and an AS ID field, and the AIoT device stores a first random number and a first AS ID, determines whether the value of the AS ID field of the received NACK message matches the first AS ID, and whether the value of the random number field of the received NACK message matches the first random number. This enables the AIoT device to determine whether the intended recipient of the NACK message is itself based on the first random number and the first AS ID, thereby improving the success rate of the AIoT device receiving the NACK message.
[0228] It should be noted that the items included in the first operation in step 100 above can be combined. For example, if the AIoT device stores a first random number, the received first Msg2 is processed based on the first random number; the received NACK message is also processed based on the first random number. As another example, if the AIoT device stores a first AS ID, the received second Msg2 is processed based on the first AS ID; the received NACK message is also processed based on the first AS ID.
[0229] The message transmission method provided in this application, when the AIoT device stores a first random number, processes the received first Msg2 based on the first random number, enabling the AIoT device to determine whether the received Msg2 belongs to itself based on the first random number, thus simplifying the process of AIoT device processing Msg2 and improving the success rate of AIoT device processing Msg2; when the AIoT device stores a first access layer identifier (AS ID), processes the received second Msg2 based on the first AS ID, enabling the AIoT device to determine whether the received Msg2 belongs to itself based on the first AS ID, thus improving the success rate of AIoT device receiving Msg2; when the AIoT device stores at least one of the first AS ID and the first random number, processes the received NACK message based on at least one of the first AS ID and the first random number, enabling the AIoT device to clearly determine whether the received NACK message belongs to itself based on the stored information, thus improving the success rate of AIoT device receiving NACK messages.
[0230] Figure 15 is a second flowchart illustrating the message transmission method provided in an embodiment of this application. As shown in Figure 15, the message transmission method includes:
[0231] Step 200: During the random access process of environmental IoT (AIoT) devices, the reader performs a third operation, which includes:
[0232] Send a NACK message to the AIoT device, the NACK message including one of the following: a first random number, a first AS ID, a first random number and a first AS ID;
[0233] It is understood that the NACK message sent by the reader to the AIoT device may include a first random number, or a first AS ID, or a first random number and a first AS ID, wherein the first random number is a random number generated by the AIoT device for Msg1, and the first AS ID is an AS ID assigned by the reader to the AIoT device. The NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
[0234] The message transmission method provided in this application embodiment allows the reader to send a NACK message to an AIoT device that may include a first random number, or a first AS ID, or a first random number and a first AS ID. This enables the AIoT device to clearly determine whether the received NACK message belongs to itself based on the stored information, thereby improving the success rate of the AIoT device receiving NACK messages.
[0235] Optionally, sending a NACK message includes at least one of the following:
[0236] Before receiving Msg3, send a NACK message based on the first random number;
[0237] After receiving Msg3, a NACK message is sent based on the first AS ID;
[0238] After receiving Msg1, a NACK message is sent based on at least one of the first random number and the first AS ID.
[0239] Optionally, during the random access process of the AIoT device, after the AIoT device sends Msg1, receives Msg2, performs AS ID configuration, or sends Msg3, a first random number is stored for a period of time. The reader can then use the first random number carried in Msg1 received from the AIoT device to send a NACK message to the AIoT device, carrying the first random number in the NACK message. The NACK MAC PDU structure shown in Figures 11, 12, or 14 can be used to send the NACK message based on the random number.
[0240] Optionally, after sending Msg2 to the AIoT device, if the received signal energy of Msg3 is higher than a threshold (i.e., the reader has received Msg3), the reader determines that the AIoT device has sent Msg3. In this case, the reader can determine that the AIoT device has successfully received Msg2, and can send a NACK message to the AIoT device based on the AS ID. This allows the AIoT device, having stored the AS ID, to determine whether the received NACK message belongs to itself. This can be achieved using the NACK MAC PDU structure shown in Figures 12, 13, or 14, sending a NACK message based on the AS ID. Conversely, if after sending Msg2, the reader determines that the received signal energy of Msg3 is lower than a threshold (i.e., the reader has not received Msg3), the reader determines that the AIoT device has not sent Msg3, and therefore determines that the AIoT device has not successfully received Msg2. In this case, the reader can send a NACK message to the AIoT device based on the first random number in the previously received Msg1.
[0241] Optionally, after receiving Msg1, the reader sends a NACK message based on at least one of a first random number and a first AS ID.
[0242] Understandably, after receiving Msg1, the reader can obtain a first random number, assign a first AS ID to the AIoT device based on the first random number, and the reader can send a NACK message based on at least one of the first random number and the first AS ID.
[0243] The message transmission method provided in this application embodiment involves the reader sending a NACK message based on the first random number before receiving Msg3; sending a NACK message based on the first AS ID after receiving Msg3; and sending a NACK message based on at least one of the first random number and the first AS ID after receiving Msg1. This enables the AIoT device to clearly determine whether the received NACK message belongs to itself based on the stored information, thereby improving the success rate of the AIoT device receiving NACK messages.
[0244] Optionally, the NACK message adopts a MAC PDU structure including a random number field, or the NACK message adopts a MAC PDU structure including an AS ID field, or adopts a MAC PDU structure that is optional between the AS ID field and the random number field, or adopts a MAC PDU structure including both the AS ID field and the random number field.
[0245] When the reader sends a NACK message based on the first random number, the NACK message can adopt a MAC PDU structure as shown in Figure 11, which includes a random number field but does not include an AS ID field; or, a MAC PDU structure as shown in Figure 12, which selects a random number field between the AS ID field and the random number field; or, a MAC PDU structure as shown in Figure 14, which includes an AS ID field and a random number field.
[0246] When the reader sends a NACK message based on the first AS ID, the NACK message can adopt a MAC PDU structure including an AS ID field as shown in Figure 13, or adopt a MAC PDU structure that selects the AS ID field between the AS ID field and the random number field as shown in Figure 12, or adopt a MAC PDU structure including an AS ID field and a random number field as shown in Figure 14.
[0247] When the reader sends a NACK message based on the first random number and the first AS ID, the NACK message adopts the NACK MAC PDU structure shown in Figure 14, which includes an AS ID field and a random number field.
[0248] The message transmission method provided in this application embodiment gives the MAC PDU structure that NACK messages can use, which improves the flexibility of NACK messages. It can send NACK messages with different MAC PDU structures under different circumstances, thereby improving the success rate of AIoT devices receiving NACK messages.
[0249] The message transmission method provided in this application can be executed by a message transmission device. This application uses an example of a message transmission device executing the message transmission method to illustrate the message transmission device provided in this application.
[0250] This application provides a message transmission device. As an example, the message transmission device may be a communication device or a component within a communication device, such as a chip. The communication device may be an AIoT device, a reader / writer, etc. Exemplarily, the terminal may include, but is not limited to, the type of terminal 11 listed above, and the network-side device may include, but is not limited to, the type of network-side device 12 listed above. This application does not impose specific limitations.
[0251] The message transmission device includes a receiving module, a sending module, and a processing module. These modules can be implemented in software or hardware. When implemented in hardware, the processing module can be implemented by a processor. For example, the processor can include general-purpose processors, special-purpose processors, etc., such as central processing units (CPUs), microprocessors, digital signal processors (DSPs), artificial intelligence (AI) processors, graphics processing units (GPUs), application-specific integrated circuits (ASICs), network processors (NPs), field-programmable gate arrays (FPGAs), or other programmable logic devices, gate circuits, transistors, discrete hardware components, etc. The receiving and sending modules can be implemented by a communication interface, which can include one or more of the following: transceivers, pins, circuits, buses, radio frequency units, etc.
[0252] Specifically, referring to Figure 16, when the message transmission device is a component in an AIoT device, the message transmission device 1600 includes a first processing module 1601, used to perform a first operation during the random access process of an environmental IoT AIoT device, the first operation including at least one of the following:
[0253] If the AIoT device stores a first random number, the received first Msg2 is processed based on the first random number.
[0254] If the AIoT device stores a first access layer identifier (AS ID), the received second Msg2 is processed based on the first AS ID;
[0255] If the AIoT device stores at least one of a first AS ID and a first random number, the received NACK message is processed based on at least one of the first AS ID and the first random number. The NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
[0256] Optionally, the first processing module is further configured to:
[0257] During the random access process of the AIoT device, a second operation is performed, the second operation including at least one of the following:
[0258] Upon receiving the third Msg2 from the AIoT device, the first random number is saved;
[0259] After the AIoT device performs AS ID configuration, the first random number is saved;
[0260] After the AIoT device sends Msg3, the first random number is saved;
[0261] Wherein, the first random number is a random number generated by the AIoT device for Msg1; the reception of the third Msg2 occurs before the reception of the first Msg2.
[0262] Optionally, the processing of the received first Msg2 based on the first random number includes:
[0263] If the value of the random number field of the first Msg2 matches the first random number, then Msg3 is sent.
[0264] Optionally, the first processing module is further configured to:
[0265] If the first condition is met, delete the first random number;
[0266] The first condition includes at least one of the following:
[0267] The duration for which the AIoT device stores the first random number reaches or exceeds a preset duration;
[0268] Msg4 is received, which is the message received by the AIoT device from the reader after sending Msg3;
[0269] First paging message received;
[0270] The first paging message is received and the service identifier carried by the Media Access Control (MAC) Protocol Data Unit (PDU) bearing the first paging message is different from the stored service identifier;
[0271] The first paging message is received and the service identifier carried by the MAC PDU carrying the first paging message is the same as the stored service identifier;
[0272] The AIoT device stores an AS ID and receives a non-acknowledgment NACK message carrying the AS ID;
[0273] A NACK message carrying the first random number was received;
[0274] Received an indication signal to trigger the next access opportunity;
[0275] Received an indication signal to trigger the start of the next time slot;
[0276] Wherein, the first paging message is the next paging message after the second paging message, and the second paging message is the paging message that triggers the current random access procedure.
[0277] Optionally, the first processing module is further configured to:
[0278] When the AIoT device receives the fourth Msg2, it saves the first AS ID in the fourth Msg2 and deletes the first random number;
[0279] Wherein, the first random number is a random number generated by the AIoT device for Msg1; the reception of the fourth Msg2 occurs before the reception of the second Msg2.
[0280] Optionally, the processing of the received second Msg2 based on the first AS ID includes one of the following:
[0281] If the second Msg2 includes a random number field but does not include an AS ID field, and the value of the random number field of the second Msg2 matches the first AS ID, then send Msg3;
[0282] If the second Msg2 includes an AS ID field but does not include a random number field, and the value of the AS ID field of the second Msg2 matches the first AS ID, then send Msg3;
[0283] If the second Msg2 includes a random number field and an AS ID field, and the value of the AS ID field of the second Msg2 matches the first AS ID, then Msg3 is sent.
[0284] Optionally, the first processing module is further configured to:
[0285] If the AIoT device receives Msg4, it discards the received Msg2.
[0286] Optionally, the first Msg2 and the third Msg2 satisfy at least one of the following:
[0287] The format of the first Msg2 is the same as that of the third Msg2;
[0288] The content of the first Msg2 is the same as the content of the third Msg2.
[0289] Optionally, the second Msg2 and the fourth Msg2 satisfy at least one of the following:
[0290] The format of the second Msg2 is the same as that of the fourth Msg2;
[0291] The content of the second Msg2 is the same as the content of the fourth Msg2.
[0292] Optionally, processing the received NACK message based on at least one of the first AS ID and the first random number includes one of the following:
[0293] Before receiving Msg2, or before receiving Msg4, or if the AIoT device has a first random number stored, the received NACK message is processed based on the first random number;
[0294] After receiving Msg2, or after receiving Msg4, or if the AIoT device has a first AS ID, the received NACK message is processed based on the first AS ID;
[0295] If the AIoT device stores a first random number and a first AS ID, the received NACK message is processed based on the first random number and the first AS ID.
[0296] Optionally, processing the received NACK message based on the first random number includes one of the following:
[0297] If the received NACK message includes a random number field but does not include an AS ID field, and the value of the random number field of the NACK message matches the first random number, the current random access procedure is stopped or the random access procedure is re-initiated.
[0298] If the received NACK message includes an AS ID field but does not include a random number field, and the value of the AS ID field of the NACK message matches the first random number, the current random access procedure is stopped or the random access procedure is re-initiated.
[0299] If the received NACK message includes a random number field and an AS ID field, and the value of the random number field of the NACK message matches the first random number, the current random access procedure is stopped or the random access procedure is re-initiated.
[0300] Optionally, the NACK message may employ a MAC PDU structure that includes a random number field, or a MAC PDU structure that selects a random number field between the AS ID field and the random number field, or a MAC PDU structure that includes both the AS ID field and the random number field.
[0301] Optionally, processing the received NACK message based on the first AS ID includes one of the following:
[0302] If the received NACK message includes an AS ID field but does not include a random number field, and the value of the AS ID field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated.
[0303] If the received NACK message includes a random number field but does not include an AS ID field, and the value of the random number field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated.
[0304] If the received NACK message includes a random number field and an AS ID field, and the value of the AS ID field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated.
[0305] Optionally, the NACK message adopts a MAC PDU structure including an AS ID field, or adopts a MAC PDU structure based on selecting an AS ID field between an AS ID field and a random number field, or adopts a MAC PDU structure including a random number field, or adopts a MAC PDU structure based on selecting a random number field between an AS ID field and a random number field, or adopts a MAC PDU structure including an AS ID field and a random number field.
[0306] Optionally, processing the received NACK message based on the first random number and the first AS ID includes:
[0307] If the received NACK message includes a random number field and an AS ID field, and the value of the random number field of the NACK message matches the first random number and the value of the AS ID field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated.
[0308] The message transmission device provided in this application embodiment can implement the various processes implemented in the method embodiment of FIG10 and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0309] Referring to Figure 17, when the message transmission device is a component in the reader / writer, the message transmission device 1700 includes a second processing module 1701, used to perform a third operation during the random access process of environmental Internet of Things (AIoT) devices. The third operation includes:
[0310] Send a NACK message to the AIoT device, the NACK message including one of the following: a first random number, a first AS ID, a first random number, and a first AS ID;
[0311] Wherein, the first random number is a random number generated by the AIoT device for Msg1, the first AS ID is an AS ID assigned by the reader to the AIoT device, and the NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
[0312] Optionally, sending a NACK message includes at least one of the following:
[0313] Before receiving Msg3, send a NACK message based on the first random number;
[0314] After receiving Msg3, a NACK message is sent based on the first AS ID;
[0315] After receiving Msg1, a NACK message is sent based on at least one of the first random number and the first AS ID.
[0316] Optionally, the NACK message adopts a MAC PDU structure including a random number field, or the NACK message adopts a MAC PDU structure including an AS ID field, or adopts a MAC PDU structure that is optional between the AS ID field and the random number field, or adopts a MAC PDU structure including both the AS ID field and the random number field.
[0317] The message transmission device provided in this application embodiment can implement the various processes implemented in the method embodiment of FIG15 and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0318] As shown in Figure 18, this application embodiment also provides a communication device 1800, including a processor 1801 and a memory 1802. The memory 1802 stores a program or instructions that can run on the processor 1801. For example, when the communication device 1800 is an AIoT device, the program or instructions executed by the processor 1801 implement the various steps of the above-described message transmission method embodiment and achieve the same technical effect. When the communication device 1800 is a reader / writer, the program or instructions executed by the processor 1801 implement the various steps of the above-described message transmission method embodiment and achieve the same technical effect. To avoid repetition, further details are omitted here.
[0319] This application also provides an AIoT device, including a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps in the method embodiment shown in FIG10. This AIoT device embodiment corresponds to the above-described AIoT device-side method embodiment. All implementation processes and methods of the above-described method embodiments can be applied to this AIoT device embodiment and achieve the same technical effects. The AIoT device may be the message transmission device shown in FIG16.
[0320] Figure 19 is a schematic diagram of the hardware structure of a terminal implementing an embodiment of this application. The terminal 1900 includes, but is not limited to, at least some of the following components: a radio frequency unit 1901, a network module 1902, an audio output unit 1903, an input unit 1904, a sensor 1905, a display unit 1906, a user input unit 1907, an interface unit 1908, a memory 1909, and a processor 1910.
[0321] Those skilled in the art will understand that terminal 1900 may also include a power supply (such as a battery) for powering various components. The power supply can be logically connected to processor 1910 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The terminal structure shown in Figure 19 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.
[0322] It should be understood that, in this embodiment, the input unit 1904 may include a graphics processor 19041 and a microphone 19042. The graphics processor 19041 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 1906 may include a display panel 19061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1907 includes at least one of a touch panel 19071 and other input devices 19072. The touch panel 19071 is also called a touch screen. The touch panel 19071 may include a touch detection device and a touch controller. Other input devices 19072 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.
[0323] In this embodiment, after receiving downlink data from the network-side device, the radio frequency unit 1901 can transmit it to the processor 1910 for processing; in addition, the radio frequency unit 1901 can send uplink data to the network-side device. Typically, the radio frequency unit 1901 includes, but is not limited to, antennas, amplifiers, transceivers, couplers, low-noise amplifiers, duplexers, etc.
[0324] The memory 1909 can be used to store software programs or instructions, as well as various data. The memory 1909 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 1909 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 1909 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
[0325] Processor 1910 may include one or more processing units; optionally, processor 1910 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 1910.
[0326] The processor 1910 is configured to perform a third operation during the random access process of an AIoT (Artificial Intelligence of Things) device in the environment, the third operation including:
[0327] Send a NACK message to the AIoT device, the NACK message including one of the following: a first random number, a first AS ID, a first random number, and a first AS ID;
[0328] Wherein, the first random number is a random number generated by the AIoT device for Msg1, the first AS ID is an AS ID assigned by the reader to the AIoT device, and the NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
[0329] It is understood that the implementation process of each implementation method mentioned in this embodiment can refer to the relevant description of the reader-side method embodiment and achieve the same or corresponding technical effects. To avoid repetition, it will not be described again here.
[0330] This application also provides a network-side device, including a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the method embodiment shown in FIG15. This network-side device embodiment corresponds to the above-described reader-writer side method embodiment. All implementation processes and methods of the above-described method embodiments can be applied to this network-side device embodiment and can achieve the same technical effect.
[0331] Specifically, this application embodiment also provides a network-side device, which can be the message transmission device shown in FIG17. As shown in FIG20, the network-side device 2000 includes: an antenna 2001, a radio frequency device 2002, a baseband device 2003, a processor 2004, and a memory 2005. The antenna 2001 is connected to the radio frequency device 2002. In the uplink direction, the radio frequency device 2002 receives information through the antenna 2001 and sends the received information to the baseband device 2003 for processing. In the downlink direction, the baseband device 2003 processes the information to be transmitted and sends it to the radio frequency device 2002, which processes the received information and then transmits it through the antenna 2001.
[0332] The method executed by the network-side device in the above embodiments can be implemented in the baseband device 2003, which includes a baseband processor.
[0333] The baseband device 2003 may include at least one baseband board, on which multiple chips are disposed, as shown in FIG20. One of the chips is, for example, a baseband processor, which is connected to the memory 2005 via a bus interface to call the program or instructions in the memory 2005 to execute the network-side device operation shown in the above method embodiment.
[0334] The network-side device may also include a network interface 2006, such as a Common Public Radio Interface (CPRI).
[0335] Processor 2004 is used to perform a third operation during the random access process of AIoT devices in the environment, the third operation including:
[0336] Send a NACK message to the AIoT device, the NACK message including one of the following: a first random number, a first AS ID, a first random number, and a first AS ID;
[0337] Wherein, the first random number is a random number generated by the AIoT device for Msg1, the first AS ID is an AS ID assigned by the reader to the AIoT device, and the NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
[0338] In addition, the network-side device 2000 of this application embodiment also includes: a program or instructions stored in the memory 2005 and executable on the processor 2004. The processor 2004 calls the program or instructions in the memory 2005 to execute the methods executed by each module shown in FIG17 and achieve the same technical effect. To avoid repetition, it will not be described in detail here.
[0339] 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 message transmission method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0340] The processor mentioned above is either the processor in the terminal described in the above embodiments or the processor in the network-side device. 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.
[0341] 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 message transmission method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0342] 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.
[0343] 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 message transmission method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0344] This application also provides a communication system, including: an AIoT device and a reader / writer, wherein the AIoT device can be used to perform the steps of the message transmission method described above, and the network-side device can be used to perform the steps of the message transmission method described above.
[0345] 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.
[0346] 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 the computer software product includes several instructions to cause the terminal or network-side device to execute the methods described in the various embodiments of this application.
[0347] 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 message transmission method, comprising: During the random access process of an environmental Internet of Things (AIoT) device, the AIoT device performs a first operation, which includes at least one of the following: If the AIoT device stores a first random number, the received first Msg2 is processed based on the first random number. If the AIoT device stores a first access layer identifier (AS ID), the received second Msg2 is processed based on the first AS ID; If the AIoT device stores at least one of a first AS ID and a first random number, the received unacknowledged NACK message is processed based on at least one of the first AS ID and the first random number. The NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
2. The method according to claim 1, wherein, The method further includes: During the random access process of the AIoT device, the AIoT device performs a second operation, which includes at least one of the following: Upon receiving the third Msg2 from the AIoT device, the first random number is saved; After the AIoT device performs AS ID configuration, the first random number is saved; After the AIoT device sends Msg3, the first random number is saved; Wherein, the first random number is a random number generated by the AIoT device for Msg1; the reception of the third Msg2 occurs before the reception of the first Msg2.
3. The method according to claim 1 or 2, wherein, The process of processing the received first Msg2 based on the first random number includes: If the value of the random number field of the first Msg2 matches the first random number, then Msg3 is sent.
4. The method according to any one of claims 1-3, wherein, The method further includes: if a first condition is met, the AIoT device deletes the first random number; The first condition includes at least one of the following: The duration for which the AIoT device stores the first random number reaches or exceeds a preset duration; Msg4 is received, which is the message received by the AIoT device from the reader after sending Msg3; First paging message received; The first paging message is received and the service identifier carried by the Media Access Control (MAC) Protocol Data Unit (PDU) bearing the first paging message is different from the stored service identifier; The first paging message is received and the service identifier carried by the MAC PDU carrying the first paging message is the same as the stored service identifier; The AIoT device stores an AS ID and receives a NACK message carrying the AS ID; A NACK message carrying the first random number was received; Received an indication signal to trigger the next access opportunity; Received an indication signal to trigger the start of the next time slot; Wherein, the first paging message is the next paging message after the second paging message, and the second paging message is the paging message that triggers the current random access procedure.
5. The method according to claim 1, wherein, The method further includes: When the AIoT device receives the fourth Msg2, it saves the first AS ID in the fourth Msg2 and deletes the first random number; Wherein, the first random number is a random number generated by the AIoT device for Msg1; the reception of the fourth Msg2 occurs before the reception of the second Msg2.
6. The method according to claim 1 or 5, wherein, The processing of the received second Msg2 based on the first AS ID includes one of the following: If the second Msg2 includes a random number field but does not include an AS ID field, and the value of the random number field of the second Msg2 matches the first AS ID, then send Msg3; If the second Msg2 includes an AS ID field but does not include a random number field, and the value of the AS ID field of the second Msg2 matches the first AS ID, then send Msg3; If the second Msg2 includes a random number field and an AS ID field, and the value of the AS ID field of the second Msg2 matches the first AS ID, then Msg3 is sent.
7. The method according to any one of claims 1-6, wherein, The method further includes: If the AIoT device receives Msg4, it discards the received Msg2.
8. The method according to claim 2, wherein, The first Msg2 and the third Msg2 satisfy at least one of the following: The format of the first Msg2 is the same as that of the third Msg2; The content of the first Msg2 is the same as the content of the third Msg2.
9. The method according to claim 5, wherein, The second Msg2 and the fourth Msg2 satisfy at least one of the following: The format of the second Msg2 is the same as that of the fourth Msg2; The content of the second Msg2 is the same as the content of the fourth Msg2.
10. The method according to any one of claims 1-9, wherein, The processing of the received NACK message based on at least one of the first AS ID and the first random number includes one of the following: Before receiving Msg2, or before receiving Msg4, or if the AIoT device has a first random number stored, the received NACK message is processed based on the first random number; After receiving Msg2, or after receiving Msg4, or if the AIoT device has a first AS ID, the received NACK message is processed based on the first AS ID; If the AIoT device stores a first random number and a first AS ID, the received NACK message is processed based on the first random number and the first AS ID.
11. The method according to claim 10, wherein, The processing of the received NACK message based on the first random number includes one of the following: If the received NACK message includes a random number field but does not include an AS ID field, and the value of the random number field of the NACK message matches the first random number, the current random access procedure is stopped or the random access procedure is re-initiated. If the received NACK message includes an AS ID field but does not include a random number field, and the value of the AS ID field of the NACK message matches the first random number, the current random access procedure is stopped or the random access procedure is re-initiated. If the received NACK message includes a random number field and an AS ID field, and the value of the random number field of the NACK message matches the first random number, the current random access procedure is stopped or the random access procedure is re-initiated.
12. The method according to any one of claims 1-11, wherein, The NACK message uses a MAC PDU structure that includes a random number field, or a MAC PDU structure that selects a random number field between the AS ID field and the random number field, or a MAC PDU structure that includes both the AS ID field and the random number field.
13. The method according to claim 10, wherein, The processing of the received NACK message based on the first AS ID includes one of the following: If the received NACK message includes an AS ID field but does not include a random number field, and the value of the AS ID field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated. If the received NACK message includes a random number field but does not include an AS ID field, and the value of the random number field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated. If the received NACK message includes a random number field and an AS ID field, and the value of the AS ID field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated.
14. The method according to any one of claims 1-13, wherein, The NACK message uses a MAC PDU structure that includes an AS ID field, or a MAC PDU structure that selects an AS ID field between an AS ID field and a random number field, or a MAC PDU structure that includes a random number field, or a MAC PDU structure that selects a random number field between an AS ID field and a random number field, or a MAC PDU structure that includes both an AS ID field and a random number field.
15. The method according to claim 10, wherein, The processing of the received NACK message based on the first random number and the first AS ID includes: If the received NACK message includes a random number field and an AS ID field, and the value of the random number field of the NACK message matches the first random number and the value of the AS ID field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated.
16. A message transmission method, comprising: During the random access process of environmental IoT (AIoT) devices, the reader performs a third operation, which includes: Send a NACK message to the AIoT device, the NACK message including one of the following: a first random number, a first AS ID, a first random number, and a first AS ID; Wherein, the first random number is a random number generated by the AIoT device for Msg1, the first AS ID is an AS ID assigned by the reader to the AIoT device, and the NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
17. The method according to claim 16, wherein, Sending a NACK message includes at least one of the following: Before receiving Msg3, send a NACK message based on the first random number; After receiving Msg3, a NACK message is sent based on the first AS ID; After receiving Msg1, a NACK message is sent based on at least one of the first random number and the first AS ID.
18. The method according to claim 16 or 17, wherein, The NACK message uses a MAC PDU structure that includes a random number field, or the NACK message uses a MAC PDU structure that includes an AS ID field, or the NACK message uses a MAC PDU structure that is optional between the AS ID field and the random number field, or the NACK message uses a MAC PDU structure that includes both the AS ID field and the random number field.
19. A message transmission device, comprising: A first processing module is configured to perform a first operation during the random access process of an environmental Internet of Things (AIoT) device, the first operation including at least one of the following: If the AIoT device stores a first random number, the received first Msg2 is processed based on the first random number. If the AIoT device stores a first access layer identifier (AS ID), the received second Msg2 is processed based on the first AS ID; If the AIoT device stores at least one of a first AS ID and a first random number, the received NACK message is processed based on at least one of the first AS ID and the first random number. The NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
20. The apparatus according to claim 19, wherein, The first processing module is also used for: During the random access process of the AIoT device, the AIoT device performs a second operation, which includes at least one of the following: Upon receiving the third Msg2 from the AIoT device, the first random number is saved; After the AIoT device performs AS ID configuration, the first random number is saved; After the AIoT device sends Msg3, the first random number is saved; Wherein, the first random number is a random number generated by the AIoT device for Msg1; the reception of the third Msg2 precedes the reception of the first Msg2.
21. The apparatus according to claim 19 or 20, wherein, The first processing module is also used for: If the first condition is met, delete the first random number; The first condition includes at least one of the following: The duration for which the AIoT device stores the first random number reaches or exceeds a preset duration; Msg4 is received, which is the message received by the AIoT device from the reader after sending Msg3; First paging message received; The first paging message is received and the service identifier carried by the Media Access Control (MAC) Protocol Data Unit (PDU) bearing the first paging message is different from the stored service identifier; The first paging message is received and the service identifier carried by the MAC PDU carrying the first paging message is the same as the stored service identifier; The AIoT device stores an AS ID and receives a non-acknowledgment NACK message carrying the AS ID; A NACK message carrying the first random number was received; Received an indication signal to trigger the next access opportunity; Received an indication signal to trigger the start of the next time slot; Wherein, the first paging message is the next paging message after the second paging message, and the second paging message is the paging message that triggers the current random access procedure.
22. The apparatus according to claim 19, wherein, The first processing module is also used for: When the AIoT device receives the fourth Msg2, it saves the first AS ID in the fourth Msg2 and deletes the first random number; Wherein, the first random number is a random number generated by the AIoT device for Msg1; the reception of the fourth Msg2 occurs before the reception of the second Msg2.
23. The apparatus according to claim 19 or 22, wherein, The processing of the received second Msg2 based on the first AS ID includes one of the following: If the second Msg2 includes a random number field but does not include an AS ID field, and the value of the random number field of the second Msg2 matches the first AS ID, then send Msg3; If the second Msg2 includes an AS ID field but does not include a random number field, and the value of the AS ID field of the second Msg2 matches the first AS ID, then send Msg3; If the second Msg2 includes a random number field and an AS ID field, and the value of the AS ID field of the second Msg2 matches the first AS ID, then Msg3 is sent.
24. The apparatus according to any one of claims 19-23, wherein, The processing of the received NACK message based on at least one of the first AS ID and the first random number includes one of the following: Before receiving Msg2, or before receiving Msg4, or if the AIoT device has a first random number stored, the received NACK message is processed based on the first random number; After receiving Msg2, or after receiving Msg4, or if the AIoT device has a first AS ID, the received NACK message is processed based on the first AS ID; If the AIoT device stores a first random number and a first AS ID, the received NACK message is processed based on the first random number and the first AS ID.
25. The apparatus according to claim 24, wherein, The processing of the received NACK message based on the first random number includes one of the following: If the received NACK message includes a random number field but does not include an AS ID field, and the value of the random number field of the NACK message matches the first random number, the current random access procedure is stopped or the random access procedure is re-initiated. If the received NACK message includes an AS ID field but does not include a random number field, and the value of the AS ID field of the NACK message matches the first random number, the current random access procedure is stopped or the random access procedure is re-initiated. If the received NACK message includes a random number field and an AS ID field, and the value of the random number field of the NACK message matches the first random number, the current random access procedure is stopped or the random access procedure is re-initiated.
26. The apparatus according to claim 24, wherein, The processing of the received NACK message based on the first AS ID includes one of the following: If the received NACK message includes an AS ID field but does not include a random number field, and the value of the AS ID field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated. If the received NACK message includes a random number field but does not include an AS ID field, and the value of the random number field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated. If the received NACK message includes a random number field and an AS ID field, and the value of the AS ID field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated.
27. The apparatus according to claim 24, wherein, The processing of the received NACK message based on the first random number and the first AS ID includes: If the received NACK message includes a random number field and an AS ID field, and the value of the random number field of the NACK message matches the first random number and the value of the AS ID field of the NACK message matches the first AS ID, the current random access procedure is stopped or the random access procedure is re-initiated.
28. A message transmission device, comprising: The second processing module is used to perform a third operation during the random access process of environmental IoT (AIoT) devices, the third operation including: Send a NACK message to the AIoT device, the NACK message including one of the following: a first random number, a first AS ID, a first random number, and a first AS ID; Wherein, the first random number is a random number generated by the AIoT device for Msg1, the first AS ID is an AS ID assigned by the reader to the AIoT device, and the NACK message is used to instruct the AIoT device to stop the current random access process or re-initiate the random access process.
29. The apparatus according to claim 28, wherein, Sending a NACK message includes at least one of the following: Before receiving Msg3, send a NACK message based on the first random number; After receiving Msg3, a NACK message is sent based on the first AS ID; After receiving Msg1, a NACK message is sent based on at least one of the first random number and the first AS ID.
30. The apparatus according to claim 28 or 29, wherein, The NACK message uses a MAC PDU structure that includes a random number field, or the NACK message uses a MAC PDU structure that includes an AS ID field, or the NACK message uses a MAC PDU structure that is optional between the AS ID field and the random number field, or the NACK message uses a MAC PDU structure that includes both the AS ID field and the random number field.
31. An environmental Internet of Things (AIoT) device, comprising 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 message transmission method as described in any one of claims 1 to 15.
32. A reader / writer, comprising 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 message transmission method as claimed in any one of claims 16 to 18.
33. A readable storage medium storing a program or instructions that, when executed by a processor, implement the message transmission method as described in any one of claims 1 to 15, or implement the steps of the message transmission method as described in any one of claims 16 to 18.
