Communication method and apparatus

By receiving paging messages from IoT devices, determining X random access resources, and selecting different access resources, the signal interference problem in the Internet of Things is solved, communication efficiency is improved, and power consumption is saved.

WO2026233119A1PCT designated stage Publication Date: 2026-11-12HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/092435
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-07
Filing Date
2026-04-23
Publication Date
2026-11-12

AI Technical Summary

Technical Problem

In IoT communication scenarios, multiple IoT devices sending request messages on the same random access resource can cause signal interference and affect communication efficiency.

Method used

X random access resources are determined by receiving paging messages through IoT devices, and different random access resources are selected based on device information. The range of the initial value of the counter is limited to reduce the probability of devices selecting the same resource.

Benefits of technology

It reduces conflicts and signal interference when multiple IoT devices select the same random access resources, improves the efficiency of random access, and saves power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026092435_12112026_PF_FP_ABST
    Figure CN2026092435_12112026_PF_FP_ABST
Patent Text Reader

Abstract

A communication method and apparatus, which relate to the technical field of communications. In the method, a first IoT device can receive a paging message from a reader, wherein the paging message is used for paging one or more IoT devices, and the one or more IoT devices include the first IoT device. The first IoT device can further receive a first message, wherein the first message triggers the first IoT device to send a random access request message, and the first message is used for determining X random access resources, with X being a positive integer. In this way, when the value of a counter of the first IoT device is a first value, the first IoT device can send the random access request message on a first random access resource, wherein the first random access resource is a random access resource selected from among the X random access resources on the basis of information of the first IoT device. The method and apparatus can reduce signal interference.
Need to check novelty before this filing date? Find Prior Art

Description

A communication method and apparatus

[0001] This application claims priority to Chinese Patent Application No. 202510585503.8, filed on May 7, 2025, with the China National Intellectual Property Administration, entitled “A Communication Method and Apparatus”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of communication technology, and in particular to a communication method and apparatus. Background Technology

[0003] In Internet of Things (IoT) communication scenarios, IoT devices can establish connections with readers. For example, an IoT device can receive a reader-to-device (R2D) trigger message to generate a random number, which is then used as the initial value for the device's counter. When the initial value of the counter is 0, the IoT device sends a random access request message on a random access resource indicated by the R2D trigger message. Because the R2D trigger message indicates a single random access resource, multiple IoT devices may send random access request messages on the same resource, potentially causing signal interference. Therefore, reducing signal interference is a critical issue to address in IoT scenarios. Summary of the Invention

[0004] This application provides a communication method and apparatus that can reduce signal interference.

[0005] Firstly, a communication method is provided. This method can be executed by a first IoT device, or by a module (e.g., processor, chip, or chip system) applied to the first IoT device, or by a logical node, logical module, or software capable of implementing all or part of the functions of the first IoT device. Taking the application of this method to a first IoT device as an example, the first IoT device can receive a paging message used to page one or more IoT devices, including the first IoT device. The first IoT device can also receive a first message, which is a request message triggering the first IoT device to send a random access request message. This first message is used to determine X random access resources, where X is a positive integer. Thus, when the value of the first IoT device's counter is a first value, the first IoT device can send a random access request message on a first random access resource, which is a random access resource selected from the X random access resources based on the information of the first IoT device. In one possible implementation, the first value is less than or equal to the initial value of the first IoT device's counter.

[0006] In the above embodiments, when the first IoT device is paged, the first IoT device can obtain X random access resources through a first message. Thus, when the counter value of the first IoT device is a first value, the first IoT device can select a first random access resource from the X random access resources based on its information. Since the information of different IoT devices differs, different IoT devices can select different random access resources from the X random access resources. This reduces the probability of multiple IoT devices selecting the same random access resource, thereby reducing collisions and signal interference caused by multiple IoT devices selecting the same random access resource, and ultimately improving the efficiency of random access.

[0007] In one possible implementation, the information of the first IoT device includes at least one of the following: the timing capability of the first IoT device, the battery level of the first IoT device, the duration of the first IoT device being in the powered-on state, the switching time of the first IoT device from the powered-on state to the sleep state, or the switching time of the first IoT device from the powered-on state to the powered-off state.

[0008] In one possible implementation, the paging message is also used to indicate that the number of random access resources included in the different first messages is X.

[0009] In the above embodiments, by limiting the number of random access resources included in different first messages to X through paging messages, the number of random access resources can be omitted in the first message, thereby reducing signaling overhead.

[0010] In one possible implementation, the paging message includes an indication message that indicates whether the number of random access resources included in different first messages is the same.

[0011] In one possible implementation, the paging message further includes a second value for determining the initial value of the counter of the first IoT device, the second value being related to the total number of random access resources and X.

[0012] In one possible implementation, the second value satisfies any of the following: Q = log2(N / X); or, or, in, Indicates rounding up. This indicates rounding down, Q is the second value, N is the total number of randomly accessed resources, Q is a positive integer, and N is a positive integer greater than or equal to X.

[0013] Secondly, a communication method is provided. This method can be executed by a first IoT device, or by a module (e.g., processor, chip, or chip system) applied to the first IoT device, or by a logical node, logical module, or software capable of implementing all or part of the functions of the first IoT device. Taking the application of this method to a first IoT device as an example, the first IoT device can receive a paging message used to page one or more IoT devices, including the first IoT device. The first IoT device can also receive a first message, which is a request message triggering the first IoT device to send a random access request. This first message is used to determine X random access resources, where X is a positive integer. Thus, if the value of the first IoT device's counter is less than X, the first IoT device can send a random access request message on a second random access resource. The value of the first IoT device's counter is equal to the initial value of the first IoT device's counter, which is determined by the paging message; or, the value of the first IoT device's counter is determined based on X, and the second random access resource belongs to X random access resources.

[0014] In the above embodiments, when the first IoT device is paged, it can learn about X random access resources through a first message. Then, if the value of the first IoT device's counter is less than X, the first IoT device can select a second random access resource from the X random access resources and send a random access request message on the second random access resource. Here, the second random access resource is one that the first IoT device can select from the X random access resources; that is, the first IoT device selects a random access resource from a resource pool including X random access resources. This provides a range for random access resource selection, increases the probability that different IoT devices will select different random access resources, thereby reducing collisions and signal interference caused by multiple IoT devices selecting the same random access resource, and thus improving the efficiency of random access. Furthermore, by restricting the condition for the first IoT device to select the second random access resource from the X random access resources, such as the value of the first IoT device's counter being less than X. Compared to the initial value of the counter of the first IoT device being greater than 0, the process of the first IoT device continuously receiving the first message and decrementing the value of the counter by one can be reduced, thereby enabling the first IoT device to perform random access resource selection faster, reducing the number of times the first IoT device receives the first message, and saving power consumption.

[0015] In one possible implementation, the second random access resource is selected from X random access resources based on the value of a counter of the first IoT device.

[0016] In the above embodiments, when the value of the counter of the first IoT device is equal to the initial value of the counter of the first IoT device, since the initial value of the counter of the first IoT device is from [0, 2...], R The initial value of the IoT device's counter is chosen from a random number (-1), which diversifies the possible values. This reduces the probability that multiple IoT devices will have the same initial value, thus reducing the probability of multiple IoT devices simultaneously selecting random access resources. If multiple IoT devices select random access resources at different times, the probability of multiple IoT devices selecting the same random access resource is reduced, thereby reducing collisions and signal interference caused by multiple IoT devices selecting the same random access resource and improving the efficiency of random access. When the value of the first IoT device's counter is determined based on X, for example, the value of the first IoT device's counter is the difference between the initial value of the first IoT device's counter and X, since the initial value of the first IoT device's counter is from [0, 2...],... RThe random number selected in -1) diversifies the initial value of the counter of the IoT devices, thereby diversifying the value of the counter of the first IoT device and reducing the probability of multiple IoT devices simultaneously performing random access resource selection. If multiple IoT devices perform random access resource selection at different times, the probability of multiple IoT devices selecting the same random access resource can be reduced, thus reducing collisions and signal interference caused by multiple IoT devices selecting the same random access resource and improving the efficiency of random access.

[0017] In one possible implementation, the second random access resource is a random access resource selected from X random access resources based on information from the first IoT device.

[0018] In the above embodiments, when the counter value of the first IoT device is less than X, the first IoT device can select a second random access resource from X random access resources based on the information of the first IoT device. Since the information of different IoT devices differs, different IoT devices can select different random access resources from the X random access resources. This reduces the probability of multiple IoT devices selecting the same random access resource, thereby reducing collisions and signal interference caused by multiple IoT devices selecting the same random access resource, and ultimately improving the efficiency of random access.

[0019] In one possible implementation, the information of the first IoT device includes at least one of the following: the timing capability of the first IoT device, the battery level of the first IoT device, the duration of the first IoT device being in the powered-on state, the switching time of the first IoT device from the powered-on state to the sleep state, or the switching time of the first IoT device from the powered-on state to the powered-off state.

[0020] In one possible implementation, the paging message is also used to indicate that the number of random access resources included in the different first messages is X.

[0021] In the above embodiments, by limiting the number of random access resources included in different first messages to X through paging messages, the number of random access resources can be omitted in the first message, thereby reducing signaling overhead.

[0022] In one possible implementation, the paging message includes an indication message that indicates whether the number of random access resources included in different first messages is the same.

[0023] Thirdly, a communication method is provided. This method can be executed by a reader, or by a module applied to the reader (e.g., a processor, chip, or chip system), or by a logical node, logical module, or software capable of implementing all or part of the reader's functions. Taking the method applied to a reader as an example, in this method, the reader can send a paging message to page one or more IoT devices, including a first IoT device. The reader can also send a first message to trigger the first IoT device to send a random access request message, which determines X random access resources, where X is a positive integer. Thus, the reader can receive the random access request message on the first random access resource, which is selected from the X random access resources based on information from the first IoT device.

[0024] In one possible implementation, the information of the first IoT device includes at least one of the following: the timing capability of the first IoT device, the battery level of the first IoT device, the duration of the first IoT device being in the powered-on state, the switching time of the first IoT device from the powered-on state to the sleep state, or the switching time of the first IoT device from the powered-on state to the powered-off state.

[0025] In one possible implementation, the paging message is also used to indicate that the number of random access resources included in the different first messages is X.

[0026] In one possible implementation, the paging message includes an indication message that indicates whether the number of random access resources included in different first messages is the same.

[0027] In one possible implementation, the paging message further includes a second value for determining the initial value of the counter of the first IoT device, the second value being related to the total number of random access resources and X.

[0028] In one possible implementation, the second value satisfies any of the following: Q = log2(N / X); or, or, in, Indicates rounding up. This indicates rounding down, Q is the second value, N is the total number of randomly accessed resources, Q is a positive integer, and N is a positive integer greater than or equal to X.

[0029] The beneficial effects of the third aspect can be found in the beneficial effects of the first aspect, and will not be repeated here.

[0030] Fourthly, a communication method is provided. This method can be executed by a reader, or by a module applied to the reader (e.g., a processor, chip, or chip system), or by a logical node, logical module, or software capable of implementing all or part of the reader's functions. Taking the method applied to a reader as an example, in this method, the reader can send a paging message to page one or more IoT devices, including a first IoT device. The reader can also send a first message to trigger the first IoT device to send a random access request message, which is used to determine X random access resources, where X is a positive integer. Thus, the reader can receive the random access request message on a second random access resource. The value of the first IoT device's counter is equal to the initial value of the first IoT device's counter, which is determined by the paging message, or the value of the first IoT device's counter is determined based on X. The second random access resource belongs to X random access resources.

[0031] In one possible implementation, the paging message is also used to indicate that the number of random access resources included in the different first messages is X.

[0032] In one possible implementation, the paging message includes an indication message that indicates whether the number of random access resources included in different first messages is the same.

[0033] The beneficial effects in the fourth aspect can be found in the beneficial effects in the second aspect, and will not be repeated here.

[0034] Fifthly, a communication device is provided, comprising units, modules, or means for implementing the methods described in any one of the first, second, third, or fourth aspects. The communication device may be a first IoT device, a module of the first IoT device (e.g., a processor, chip, or chip system), or a logical node, logical module, or software capable of implementing all or part of the functions of the first IoT device. Alternatively, the communication device may be a reader, a module of the reader (e.g., a processor, chip, or chip system), or a logical node, logical module, or software capable of implementing all or part of the functions of the reader.

[0035] A sixth aspect provides a communication device including at least one processor. The at least one processor is configured to cause the communication device to perform the method described in any one of the first, second, third, or fourth aspects. The communication device may be a first IoT device, a module of the first IoT device (e.g., a processor, chip, or chip system), or a logical node, logical module, or software capable of implementing all or part of the functions of the first IoT device. Alternatively, the communication device may be a reader, a module of a reader (e.g., a processor, chip, or chip system), or a logical node, logical module, or software capable of implementing all or part of the functions of a reader. The at least one processor can execute a computer program or instructions stored in a memory to cause the aforementioned method to be performed. The memory may be included in the communication device or located outside the communication device. Furthermore, the communication device may also include an interface.

[0036] In a seventh aspect, a computer-readable storage medium is provided, which stores computer instructions or programs that, when executed, cause a computer to perform the method as described in any one of the first, second, third, or fourth aspects.

[0037] Eighthly, a computer program product is provided, comprising: a computer program or program that, when executed by a computer, causes the computer to perform the method as described in any one of the first, second, third, or fourth aspects.

[0038] A ninth aspect provides a chip including at least one processor and an interface. The processor is configured to execute computer instructions or programs, which, when run, cause the chip to perform the method described in any one of the first, second, third, or fourth aspects. The processor may execute computer programs or instructions stored in memory to cause the described method to be performed. The memory may be included in the chip or located externally. Furthermore, the chip may also include an interface.

[0039] A tenth aspect provides a communication system comprising a first IoT device for performing the method as described in any one of the first aspects and a reader for performing the method as described in any one of the third aspects.

[0040] Eleventh aspect, a communication system is provided, comprising a first IoT device for performing the method as described in any one of the second aspects and a reader for performing the method as described in any one of the fourth aspects. Attached Figure Description

[0041] Figure 1 is a schematic diagram of an IoT communication system provided in an embodiment of this application;

[0042] Figure 2 is a flowchart illustrating a communication method provided in an embodiment of this application;

[0043] Figure 3 is a schematic diagram of a process for determining a first random access resource based on the timing capability of an IoT device according to an embodiment of this application;

[0044] Figure 4 is a schematic diagram of another process for determining the first random access resource based on the timing capability of an IoT device according to an embodiment of this application;

[0045] Figure 5 is a schematic diagram of another process for determining the first random access resource based on the timing capability of an IoT device according to an embodiment of this application;

[0046] Figure 6 is a schematic diagram of a process for determining the first random access resource based on the power consumption of an IoT device according to an embodiment of this application;

[0047] Figure 7 is a schematic diagram of a process for determining a first random access resource based on the timing capability and battery level of an IoT device according to an embodiment of this application;

[0048] Figure 8 is a flowchart illustrating another communication method provided in an embodiment of this application;

[0049] Figure 9 is a schematic diagram of a process for determining a second random access resource based on the value of a counter of an IoT device according to an embodiment of this application;

[0050] Figure 10 is a schematic diagram of another process for determining the second random access resource based on the value of a counter of an IoT device according to an embodiment of this application;

[0051] Figure 11 is a schematic diagram of another process for determining a second random access resource based on the value of a counter of an IoT device according to an embodiment of this application;

[0052] Figure 12 is a schematic diagram of another process for determining the second random access resource based on the value of a counter of an IoT device according to an embodiment of this application;

[0053] Figure 13 is a schematic diagram of another process for determining the second random access resource based on the value of a counter of an IoT device according to an embodiment of this application;

[0054] Figure 14 is a schematic diagram of a communication device provided in an embodiment of this application;

[0055] Figure 15 is a schematic diagram of the structure of another communication device provided in an embodiment of this application. Detailed Implementation

[0056] The technical solutions in the embodiments of this application will be described below with reference to the accompanying drawings. The terms "system" and "network" in the embodiments of this application can be used interchangeably. Unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship; for example, A / B can represent A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be one or multiple. Furthermore, to facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish network elements and similar items with essentially the same function. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that "first" and "second" are not necessarily different. Additionally, the numbering of steps in the various embodiments described in this application is only for distinguishing different steps and is not used to limit the order of steps. For example, step 201 may occur before step 202, or may occur after step 402, or may occur simultaneously with step 402.

[0057] In the embodiments described in this application, references to "one embodiment" or "some embodiments" mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0058] The following detailed embodiments further illustrate the objectives, technical solutions, and beneficial effects of this application. It should be understood that the following are merely specific embodiments of this application and are not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made based on the technical solutions of this application should be included within the scope of protection of this application.

[0059] In the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of different embodiments are consistent and can be referenced by each other. The technical features of different embodiments can be combined to form new embodiments according to their inherent logical relationship.

[0060] The method provided in this application can be applied to various communication systems, such as IoT systems, narrowband Internet of Things (NB-IoT) systems, long-term evolution (LTE) systems, 5th-generation (5G) communication systems, NR systems, or new communication systems emerging in future communication development. IoT networks may include, but are not limited to, vehicle-to-everything (V2X) networks. Communication methods in V2X systems can be collectively referred to as vehicle-to-everything (V2X), where X can represent anything. For example, V2X can include: vehicle-to-vehicle (V2V) communication, vehicle-to-infrastructure (V2I) communication, vehicle-to-pedestrian (V2P) communication, or vehicle-to-network (V2N) communication, etc.

[0061] The following description uses an IoT communication system as an example and should not be considered as a limitation of this application.

[0062] Ambient IoT (A-IoT), also known as passive IoT, focuses on harvesting energy from the environment for data communication. It aims to provide a battery-free, low-power, low-complexity, and low-cost IoT solution. A-IoT technology is an ultra-low-power, ultra-low-complexity IoT technology defined by the 3rd Generation Partner Project (3GPP). It can be understood as an extension of passive radio frequency identification (RFID) within 3GPP. While sharing some principles with RFID, such as similar inventory management processes, 3GPP introduces more value-added scenarios. A-IoT technology can be used to implement one or more of the following services: inventory, location, sensing, and commands. Command services can be understood as implementing read, write, or lock processes. In terms of application scope, A-IoT technology can be applied to scenarios such as logistics, warehousing, industrial manufacturing, identity recognition, or environmental monitoring; this application does not limit its application to these areas.

[0063] The topology of an IoT communication system is described below as an example.

[0064] Topology 1: Referring to Figure 1-1, in Figure 1-1, the network device acts as a reader. The network device communicates directly and bidirectionally with the IoT device. The communication between the network device and the IoT device includes IoT data and / or signaling.

[0065] Topology 2: Referring to Figure 1-2, in Figure 1-2, the intermediate node acts as a reader. Network devices communicate indirectly with IoT devices through the intermediate node. In Topology 2, network devices and IoT devices communicate bidirectionally through the intermediate node. The intermediate node can be a relay capable of realizing IoT, such as an IAB node, a terminal, or a repeater, etc. This application does not limit the form of the intermediate node.

[0066] Topology 3: Referring to Figure 1.1-3, in Figure 1.1-3, the network device acts as a reader. The IoT device sends data and / or signaling to the network device and can also receive data and / or signaling from the auxiliary node. Alternatively, the IoT device receives data and / or signaling from the network device and can also send data and / or signaling to the auxiliary node. In Topology 3, the auxiliary node can be a relay capable of realizing IoT, such as an IAB node, a terminal, or a repeater, etc. This application does not limit the form of the intermediate node.

[0067] Topology 4: Refer to Figure 1.1-4, where the terminal acts as a reader. The IoT device and the terminal communicate bidirectionally. Communication between the terminal and the IoT device includes IoT data and / or signaling.

[0068] The number of devices shown in Figure 1 is merely illustrative and should not be considered a specific limitation of this application. The devices involved in the system architecture shown in Figure 1 will be described in detail below.

[0069] I. Reader

[0070] A reader, also known as a read / write device, is a device with read and write capabilities. A reader can communicate with IoT devices without physical contact, such as through broadcasting. In this way, the reader can read information from the IoT device and / or write information that needs to be stored into the IoT device. The reader can be a terminal or a network device; this application does not limit the form of the reader.

[0071] A terminal can refer to user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, wireless communication equipment, user agent, user equipment, or roadside unit (RSU). A terminal may contain communication modules, circuits, or chips that perform corresponding communication functions. The terminal may also be configured with program instructions for performing these communication functions. For example, a terminal can be a drone, a station (ST) in a wireless local area network (WLAN), a cellular phone, a smartphone, a cordless phone, a wireless data card, a tablet computer, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA) device, a laptop computer, a machine type communication (MTC) terminal, a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device (also known as a wearable smart device), a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in remote medical care, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in a smart grid, a wireless terminal in transportation safety, or a wireless terminal in a smart city. Wireless terminals in cities, wireless terminals in smart homes, transportation vehicles with wireless communication capabilities, communication modules, etc. Terminals can also be terminals in 5G systems or terminals in next-generation communication systems; this application does not limit this.

[0072] Network devices can be means of providing wireless communication functions to terminals, deployed in a radio access network (RAN). Network devices may contain communication modules, circuits, or chips that perform the corresponding communication functions. Network devices may also be configured with program instructions for performing the corresponding communication functions, as well as the corresponding program instructions themselves.

[0073] In one possible scenario, network equipment can be devices with base station functions, such as evolved NodeBs (eNodeBs), transmitting and receiving points (TRPs), transmitting points (TPs), next-generation NodeBs (gNBs), base stations in future mobile communication systems, integrated access and backhaul (IAB) nodes, and non-terrestrial network equipment, i.e., equipment that can be deployed on high-altitude platforms or satellites. Network equipment can also be transmitting and receiving points (TRPs), base stations, and various forms of control nodes, such as network controllers and wireless controllers. Specifically, network equipment can be various forms of macro base stations, micro base stations (also known as small cells) in heterogeneous network (HetNet) scenarios, relay stations, access points (APs), radio network controllers (RNCs), node Bs (NBs), base station controllers (BSCs), base transceiver stations (BTSs), home base stations (e.g., home evolved node Bs, or home node Bs (HNBs)), baseband units (BBUs) and remote radio units (RRUs) in distributed base station scenarios, transmitting and receiving points (TRPs), transmitting points (TPs), mobile switching centers, etc., and can also be base station antenna panels. Control nodes can connect to multiple base stations and configure resources for multiple terminals covered by multiple base stations. In systems employing different wireless access technologies, the names of devices with base station functions may differ. For example, it could be a gNB in ​​5G, or a network-side device in a network after 5G, or a network device in a future evolved public land mobile network (PLMN) network, or a device that performs base station functions in device-to-device (D2D) communication, machine-to-machine (M2M) communication, or vehicle-to-everything (V2X) communication, etc. This application does not limit the specific name of the network device.Network equipment can also be open RAN (O-RAN or ORAN), baseband unit pool (BBU pool) and RRU under cloud radio access network (CRAN), etc.

[0074] In another possible scenario, multiple network devices collaborate to assist terminals in achieving wireless access, with each network device performing a portion of the base station's functions. For example, network devices may include a central unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU). CUs and DUs can be separate entities or included in the same network element, such as a baseband unit (BBU). RUs may be included in radio equipment or radio units, such as remote radio units (RRUs), active antenna units (AAUs), or remote radio heads (RRHs). Optionally, network devices can be CU nodes, DU nodes, or devices comprising both CU and DU nodes. Furthermore, CUs can be classified as network devices in the access network (RAN) or in the core network (CN), without limitation.

[0075] In different systems, CU (or CU-CP and CU-UP), DU, or RU may have different names, but those skilled in the art will understand their meaning. For example, in an ORAN system, CU can also be called O-CU (open CU), DU can also be called O-DU, CU-CP can also be called O-CU-CP, CU-UP can also be called O-CU-UP, and RU can also be called O-RU. For ease of description, this application uses CU, CU-CP, CU-UP, DU, and RU as examples. Any of the units among CU (or CU-CP, CU-UP), DU, and RU in this application can be implemented through software modules, hardware modules, or a combination of software and hardware modules.

[0076] In this embodiment, the form of the reader is not limited. The device used to implement the function of the reader can be a reader itself; it can also be a device that supports the reader in implementing the function, such as a chip system. The device can be installed in the reader or used in conjunction with the reader.

[0077] II. IoT Devices

[0078] IoT devices, also known as A-IoT devices, refer to devices with sensor detection capabilities within the Internet of Things (IoT). Examples include devices supporting temperature sensors or smart home devices (which can be a smart home system composed of multiple devices). These smart home devices may also support control functions such as restarting and firmware upgrades. IoT devices can also be industrial equipment, such as industrial robots or other industrial intelligent control devices, industrial sensors, industrial monitors, and industrial production line controllers used for automated or semi-automated production. They can also be logistics equipment, such as logistics data sensors, logistics monitoring sensors, and logistics controllers. Furthermore, IoT devices can be connected vehicle devices, such as base station equipment, in-vehicle equipment, relay equipment, and infrastructure within the connected vehicle network. They can also be unmanned aerial vehicles (UAVs), such as UAVs, UAV controllers, and UAV auxiliary equipment. Additionally, IoT devices can also be terminal devices, wireless access points, base station equipment, and so on, providing communication functions.

[0079] Alternatively, IoT devices can communicate with readers via backscattering technology, or IoT devices can actively generate carrier waves (or be understood as having carrier recovery capabilities), without relying on external carrier sources for communication, thus possessing active communication capabilities.

[0080] For IoT devices that communicate with a reader via backscattering technology, the IoT device can be charged via RF signals or obtain energy through energy harvesting (light energy, heat energy, kinetic energy, etc.). In this case, the IoT device can be called a passive IoT device or a semi-passive IoT device. A passive IoT device can also be called device 1 or device A, and a semi-passive IoT device can also be called device 2a or device A (device B). This application does not limit the names.

[0081] For IoT devices that actively generate carrier waves, the IoT device can be called an active IoT device. Active IoT devices can also be called device 2b or device B.

[0082] The IoT device can be in the form of a tag, a terminal, or any other form, such as a sensor, license plate, or nameplate. The embodiments of this application do not limit the form of the IoT device. For example, the device used to implement the function of the IoT device can be the IoT device itself; it can also be a device capable of supporting the IoT device to implement that function, such as a chip system. This device can be installed in the IoT device or used in conjunction with the IoT device.

[0083] To facilitate understanding of the content of this solution, some terms used in the embodiments of this application will be explained below, so that those skilled in the art can understand them. This part is only for the purpose of understanding and should not be regarded as a specific limitation of this application.

[0084] The random access resources mentioned in this application (such as the first random access resource or the second random access resource below) can be described as random access opportunities or random access timings, etc., and are not limited thereto. Random access resources include time-domain resources and / or frequency-domain resources.

[0085] Temporal resources refer to a continuous or discontinuous segment of resources in the time domain. For example, temporal resources can be characterized by radio frames, subframes, time slots, symbols, or milliseconds. Taking the representation of temporal resources by subframes as an example, temporal resources can be understood as one or more continuous subframes and / or one or more discontinuous subframes in the time domain.

[0086] Frequency domain resources refer to a segment of resources, whether continuous or discontinuous, in the frequency domain. For example, frequency domain resources can be characterized by subcarriers, resource blocks (RBs), or resource block groups (RBGs). Taking the representation of frequency domain resources by subcarriers as an example, frequency domain resources can be understood as one or more continuous subcarriers and / or one or more discontinuous subcarriers in the frequency domain.

[0087] The random access resource can be used to transmit a random access request message. This message can be used to request a connection with the reader. In one possible implementation, the random access request message can be called Message 1 (Msg1), an ACK command, or a radio resource control (RRC) establishment message, etc., and this application does not limit its scope. In one possible implementation, the random access request message may include a random identifier of the IoT device, which is used to distinguish different IoT devices during the random access process. The random identifier of the IoT device can also be called a random access identifier or a random identifier (randomaccessID or random ID). The random identifier of the IoT device can be a random number (RN), such as a 16-bit random number or a pseudo-random number (RN16), and this application does not impose any limitations.

[0088] Currently, readers can establish connections with IoT devices through random access resources. This connection can be described as the reader triggering the IoT device to perform random access, or the reader triggering the IoT device to initiate random access (RA), etc. This application does not limit the description of this. The process of establishing a connection between the IoT device and the reader includes one or more of the following steps:

[0089] S101, The reader sends a paging message to the IoT device.

[0090] Accordingly, the IoT device receives a paging message from the reader.

[0091] The paging message is used to page IoT devices, and this application does not limit the name of the paging message.

[0092] In one possible implementation, the paging message may include the identifiers of one or more IoT devices and / or the group identifiers corresponding to one or more IoT devices.

[0093] The identifier for an IoT device can be assigned by the enterprise (i.e., written into the IoT device when it is printed) or by the operator. In one possible implementation, the identifier can be a unique identifier, such as an electronic product code (EPC), a subscription permanent identifier (SUPI), a radio network temporary identifier (RNTI), a permanent equipment identifier (PEI), a subscription concealed identifier (SUCI), or a 5G-globally unique temporary identity (5G-GUTI). Alternatively, the identifier can be a temporary identifier.

[0094] A group identifier corresponding to one or more IoT devices is used to indicate the one or more IoT devices being paged. In one possible implementation, the group identifier can belong to the identifier of one or more IoT devices, such as EPC, SUPI, RNTI, PEI, SUCI, or 5G-GUTI. For example, the group identifier can be a prefix or suffix of the identifiers of one or more IoT devices. For instance, assuming that the prefix of the identifiers of six IoT devices (such as EPC) is "00110011", then the group identifier corresponding to these six IoT devices could be "00110011". Alternatively, the group identifier can be a temporary group identifier, such as a temporary mobile group identity (TMGI).

[0095] In one possible implementation, the paging message may also include a third value. This third value is related to the total number of random access resources. For example, R = log₂N; or, or, in, Indicates rounding up. This indicates rounding down, where R is the third value, N is the total number of random access resources, and R is a positive integer. In one possible implementation, there is an error between R and log2N. That is, R is approximately equal to log2N. For example, R can be obtained by processing log2N based on at least one of the following: rounding, rounding up, rounding down, rounding up, or rounding down. Alternatively, there is no error between R and log2N. That is, R is equal to log2N.

[0096] In one possible implementation, the third value is used to determine the first value range. The first value range is the interval defined by the first maximum value and the first minimum value. The first value range may or may not include boundary points, such as the first maximum value and / or the first minimum value; this is not limited here. For example, the first minimum value is 0, and the first maximum value is 2. R -1. Thus, when the paged IoT device receives the paging message, the IoT device can select a value within the first range (e.g., [0, 2)). R A random value k is selected from -1), and k is used as the initial value of the counter of the IoT device. k is a positive integer.

[0097] In one possible implementation, the paging message also includes one or more random access resources.

[0098] S102. The reader sends an R2D trigger message to the IoT device. The R2D trigger message is used to trigger the IoT device to determine whether the value of the IoT device's counter is 0.

[0099] Accordingly, the IoT device receives an R2D trigger message from the reader.

[0100] In one possible implementation, each R2D trigger message is used to trigger the IoT device to decrement the value of its counter by one. Alternatively, the first R2D trigger message does not trigger the IoT device to decrement the value of its counter, and the Nth R2D trigger message triggers the IoT device to decrement the value of its counter by one, where N is an integer greater than 1.

[0101] In one possible implementation, the R2D trigger message is used to indicate a random access resource available in the paging message.

[0102] For example, a paging message indicates three random access resources: random access resource #1, random access resource #2, and random access resource #3. The paged IoT device receives R2D trigger message 1, which indicates that random access resource #1 is available among the three. If the initial value of the paged IoT device's counter is 0, the IoT device sends a random access request message on random access resource #1. If the initial value of the paged IoT device's counter (e.g., the initial value of the IoT device's counter is 2) is greater than 0, the paged IoT device continues to receive R2D trigger message 2, and the value of the IoT device's counter is decremented by one, i.e., the value of the IoT device's counter changes from 2 to 1. The paged IoT device continues to receive R2D trigger message 3, and the value of the IoT device's counter is decremented by one, i.e., the value of the IoT device's counter changes from 1 to 0. If R2D trigger message 3 indicates that random access resource #2 is available among the three, then the IoT device sends a random access request message on random access resource #2.

[0103] S103, The reader sends message 2 (Msg2) to the IoT device.

[0104] Accordingly, the IoT device receives Msg2 from the reader.

[0105] Msg2 is a response message to the random access request message, indicating that the reader has successfully received the random access request message. In one possible implementation, Msg2 may include the identifier of the IoT device.

[0106] S104. The IoT device sends message 3 (Msg3) to the reader.

[0107] Accordingly, the reader receives Msg3 from the IoT device.

[0108] If the IoT device's identification information in Msg2 matches the IoT device's identification information in the random access request message, the IoT device can send Msg3, which indicates that the IoT device has received the correct Msg2. Thus, if the reader successfully receives and decodes Msg3, the random access between the reader and the IoT device is successful (or the reader and the IoT device successfully establish a connection).

[0109] As can be seen, when the R2D trigger message only indicates one random access resource, if the counter values ​​of multiple paged IoT devices are all 0, it will cause multiple IoT devices to send random access request messages on the same random access resource, resulting in serious collisions and signal interference, thereby reducing the efficiency of random access. Based on this, this application provides the embodiments shown in Figure 2 or Figure 8 to solve this problem.

[0110] The embodiments of this application will be described in detail below.

[0111] Referring to Figure 2, which is a flowchart illustrating a communication method provided in an embodiment of this application, the method includes, but is not limited to, the following steps:

[0112] 201. The reader sends a paging message, which is used to page one or more IoT devices, including the first IoT device.

[0113] Accordingly, one or more IoT devices receive paging messages. For ease of description, the following description uses the first IoT device as an example.

[0114] Among them, paging messages can be R2D messages, which refer to messages sent by readers to IoT devices.

[0115] In one possible implementation, the paging message may include the identifier of the first IoT device and / or the group identifier corresponding to the first IoT device. The description of "the paging message includes the identifier of the first IoT device and / or the group identifier corresponding to the first IoT device" in step 201 can be found in the description of "the paging message includes the identifiers of one or more IoT devices and / or the group identifiers corresponding to one or more IoT devices" in step S101, and will not be repeated here.

[0116] In one possible implementation, the paging message is further used to indicate that the number of random access resources included in different first messages is X, where X is a positive integer. For example, when the number of random access resources included in different first messages is the same, the paging message indicates the number of random access resources included in each first message. Alternatively, the paging message does not indicate the number of random access resources included in each first message. For example, when the number of random access resources included in different first messages is different, the paging message does not indicate the number of random access resources included in each first message. Alternatively, the paging message indicates the number of random access resources included in each first message. For example, when the number of random access resources included in different first messages is different, the paging message indicates the number of random access resources included in each first message.

[0117] In one possible implementation, the paging message may further include an index of the first message. For example, when the paging message indicates the number of random access resources included in each first message, the paging message may also include an index of the first message. The index of the first message may be determined based on the timing of the first message's transmission; for example, the index of the first first message sent by the reader is 0, the index of the second first message sent by the reader is 1, and the index of the third first message sent by the reader is 2. In one possible implementation, the index of the first message may be associated with the number of random access resources included in the first message. For example, the paging message may indicate that the first message with index 0 includes 5 random access resources, the first message with index 1 includes 3 random access resources, and the first message with index 2 includes 3 random access resources. In one possible implementation, the term "index" in this application may be replaced with "number" or "identifier," etc., and this application does not limit this.

[0118] In one possible implementation, the paging message may further include indication information indicating whether different first messages include the same number of random access resources. For example, the indication information may be 1 bit, with 1 bit corresponding to two states: '0' and '1'. '0' indicates that different first messages include different numbers of random access resources, and '1' indicates that different first messages include the same number of random access resources. Alternatively, '1' indicates that different first messages include different numbers of random access resources, and '0' indicates that different first messages include the same number of random access resources.

[0119] In one possible implementation, the paging message includes a second value related to the total number of random access resources and X. For example, this second value satisfies any of the following: Q = log2(N / X); or, or, Where Q is the second value, N is the total number of random access resources, Q is a positive integer, and N is a positive integer greater than or equal to X.

[0120] In one possible implementation, there is an error between Q and log2(N / X). That is, Q is approximately equal to log2(N / X). For example, Q can be obtained by processing log2(N / X) based on at least one of rounding, rounding up, rounding down, rounding up, or rounding down. Alternatively, there is no error between Q and log2(N / X). That is, Q is equal to log2(N / X).

[0121] In one possible implementation, the second value can be used to determine the initial value of the counter of the first IoT device, including: the second value can be used to determine a second value range. The second value range is an interval determined by a second maximum value and a second minimum value. The second value range may include or exclude boundary points, such as the second maximum value and / or the second minimum value, which is not limited here. For example, the second minimum value is 0, and the second maximum value is 2. Q -1. In this way, the first IoT device can randomly select a value z within the second value range and use z as the initial value of the first IoT device's counter, where z is an integer.

[0122] In one possible implementation, the paging message can be used to indicate N random access resources. In this case, the first message can be used to determine X random access resources. For example, the first message indicates X available random access resources out of the N random access resources. For example, the paging information indicates four random access resources, namely random access resource #1, random access resource #2, random access resource #3, and random access resource #4. First message 1 indicates that the available random access resources among the four random access resources are random access resource #1 and random access resource #2, and first message 2 indicates that the available random access resources among the four random access resources are random access resource #3 and random access resource #4. In one possible implementation, the available random access resources indicated by different first messages can be completely different, partially the same, or completely identical.

[0123] In another possible implementation, the paging message does not indicate N random access resources. In this case, the first message can be used to identify X random access resources. For example, the first message is used to indicate X random access resources. For example, first message 1 is used to indicate random access resources #1 and #2, and first message 2 is used to indicate random access resources #3, #4, and #5. In one possible implementation, the random access resources indicated by different first messages can be completely different, partially the same, or completely identical.

[0124] In any of the above embodiments, the first message may be, for example, an R2D trigger message. Alternatively, the first message may be a message that triggers the first IoT device to send a random access request message. For example, the first message may trigger the first IoT device to determine whether the value of its counter is a first value. For example, the first value could be 0, 1, 2, or 3, etc., and this application does not limit this. If the first IoT device determines that the value of its counter is the first value, the first IoT device sends a random access request message. That is, it selects one of the X random access resources determined by the first message as the first random access resource (i.e., performs random access resource selection), and sends a random access request message on the first random access resource.

[0125] 202. The reader sends a first message, which is a request message to trigger the first IoT device to send a random access request. The first message is used to determine X random access resources, where X is a positive integer.

[0126] Accordingly, the first IoT device receives the first message.

[0127] In one possible implementation, the reader can send one or more first messages. The number of times the first IoT device receives the first message depends on the value of a counter on the first IoT device. For example, if the value of the first IoT device's counter is greater than a first value, the first IoT device continues to receive first messages. If the value of the first IoT device's counter is the first value, the first IoT device stops receiving first messages. In one possible implementation, the first value can be less than or equal to the initial value of the first IoT device's counter. If the first value is equal to the initial value of the first IoT device's counter (e.g., the initial value of the first IoT device's counter is 0), the first IoT device receives one first message. If the first value is less than the initial value of the first IoT device's counter, the first IoT device receives multiple first messages.

[0128] In one possible implementation, "the value of the counter of the first IoT device is a first value" in this application can be replaced with "the value of the counter of the first IoT device is less than the first value", "the value of the counter of the first IoT device is less than or equal to the first value", "the value of the counter of the first IoT device is greater than the first value", or "the value of the counter of the first IoT device is greater than or equal to the first value", etc., and this application does not limit it in this way.

[0129] Example 1: If "the value of the counter of the first IoT device is a first value" is replaced with "the value of the counter of the first IoT device is less than the first value," then if the value of the counter of the first IoT device is greater than or equal to the first value, the first IoT device continues to receive the first message. If the value of the counter of the first IoT device is less than the first value, the first IoT device does not continue to receive the first message. In one possible implementation, if the first value is greater than the initial value of the counter of the first IoT device, the first IoT device receives the first message once. If the first value is less than or equal to the initial value of the counter of the first IoT device, the first IoT device receives the first message multiple times.

[0130] Example 2: If "the value of the counter of the first IoT device is a first value" is replaced with "the value of the counter of the first IoT device is less than or equal to the first value," then if the value of the counter of the first IoT device is greater than the first value, the first IoT device continues to receive the first message. If the value of the counter of the first IoT device is less than or equal to the first value, the first IoT device does not continue to receive the first message. In one possible implementation, if the first value is greater than or equal to the initial value of the counter of the first IoT device, the first IoT device receives the first message once. If the first value is less than the initial value of the counter of the first IoT device, the first IoT device receives the first message multiple times.

[0131] Example 3: If "the value of the counter of the first IoT device is a first value" is replaced with "the value of the counter of the first IoT device is greater than the first value", the first IoT device continues to receive the first message if the value of the counter of the first IoT device is less than or equal to the first value. If the value of the counter of the first IoT device is greater than the first value, the first IoT device does not continue to receive the first message. In one possible implementation, if the first value is less than the initial value of the counter of the first IoT device, the first IoT device receives the first message once. If the first value is greater than or equal to the initial value of the counter of the first IoT device, the first IoT device receives the first message multiple times. For example, the first IoT device receives the first message 1 (i.e., the first first message). If the initial value of the counter of the first IoT device (e.g., the initial value of the counter of the first IoT device is 4) is greater than the first value (e.g., the first value is 2), the first IoT device can select one random access resource from the X1 random access resources determined by the first message 1 as the first random access resource. It can be seen that the first IoT device receives the first message once (i.e., the first message 1). If the initial value of the first IoT device's counter (e.g., the initial value of the first IoT device's counter is 1) is less than the first value (e.g., the first value is 2), the first IoT device continues to receive the first message 2, and the value of the first IoT device's counter is incremented by one, meaning the value of the first IoT device's counter changes from 1 to 2. The first IoT device continues to receive the first message 3, and the value of the first IoT device's counter is incremented by one again, meaning the value of the IoT device's counter changes from 2 to 3. The first IoT device can select one random access resource from the X3 random access resources determined by the first message 3 as the first random access resource. It can be seen that the first IoT device received three first messages (i.e., first message 1, first message 2, and first message 3).

[0132] Example 4: If "the value of the counter of the first IoT device is a first value" is replaced with "the value of the counter of the first IoT device is greater than or equal to the first value", the first IoT device continues to receive the first message if the value of the counter of the first IoT device is less than the first value. If the value of the counter of the first IoT device is greater than or equal to the first value, the first IoT device does not continue to receive the first message. In one possible implementation, the first IoT device receives the first message once if the first value is less than or equal to the initial value of the counter of the first IoT device. The first IoT device receives multiple first messages if the first value is greater than the initial value of the counter of the first IoT device. For example, the first IoT device receives first message 1 (i.e., the first first message). If the initial value of the counter of the first IoT device (e.g., the initial value of the counter of the first IoT device is 2) is equal to the first value (e.g., the first value is 2), the first IoT device can select one random access resource from the X1 random access resources determined by the first message 1 as the first random access resource. It can be seen that the first IoT device receives the first message once (i.e., first message 1). If the initial value of the counter of the first IoT device (e.g., the initial value of the counter of the first IoT device is 1) is less than the first value (e.g., the first value is 2), the first IoT device continues to receive the first message 2, and the value of the counter of the first IoT device is incremented by one, that is, the value of the counter of the first IoT device changes from 1 to 2. The first IoT device selects one random access resource from the X2 random access resources determined by the first message 2 as the first random access resource. It can be seen that the first IoT device received the first message twice (i.e., the first message 1 and the first message 2).

[0133] 203. When the value of the counter of the first IoT device is a first value, the first IoT device may send a random access request message on the first random access resource, which is a random access resource selected from X random access resources based on the information of the first IoT device.

[0134] In one possible implementation, the first random access resource is selected from X random access resources based on information from the first IoT device. The information from the first IoT device includes at least one of the following:

[0135] 1. Timing capability of the first IoT device. In other words, the first random access resource is a random access resource selected from X random access resources based on the timing capability of the first IoT device.

[0136] In one possible implementation, the timing capability of the first IoT device includes whether the first IoT device has a long-term timing capability or not. Specifically, the first IoT device can determine whether it has a long-term timing capability based on a first threshold. If the timing capability of the first IoT device is less than the first threshold, it indicates that the first IoT device has no long-term timing capability, or its timing capability is weak. This application does not limit the terminology used for "no long-term timing capability." If the timing capability of the first IoT device is greater than or equal to the first threshold, it indicates that the first IoT device has a long-term timing capability. This application does not limit the terminology used for "long-term timing capability." The first threshold can be predefined by the protocol or indicated to the first IoT device directly or indirectly by the reader. This application does not limit the specific threshold used for this purpose.

[0137] In one possible implementation, if the timing capability of the first IoT device is greater than or equal to a first threshold, the first IoT device can further determine the strength of its timing capability based on a second threshold. Wherein, if the timing capability of the first IoT device is less than the second threshold, but greater than or equal to the first threshold, it indicates that the timing capability of the first IoT device is relatively strong. If the timing capability of the first IoT device is greater than or equal to the second threshold, it indicates that the timing capability of the first IoT device is also strong. The second threshold can be predefined in the protocol, or it can be indicated to the first IoT device by the reader directly or indirectly; this application does not limit its scope.

[0138] To facilitate understanding, let's take X random access resources, including A time-domain resources and B time-domain resources (or X random access resources are A time-domain resources with B frequency-domain resources, or X random access resources are B frequency-domain resources with A time-domain resources) as an example to introduce the selection process of the first random access resource. Here, A and B are positive integers.

[0139] Example 1, B=1, A=X, meaning X random access resources are X time-domain resources under the same frequency domain. A first IoT device can select one of the X random access resources as its first random access resource based on its timing capability. For example, in Figure 3, one or more paging IoT devices include IoT device 1, IoT device 2, IoT device 3, IoT device 4, and IoT device 5. IoT device 1 and IoT device 3 lack long-term timing capability, IoT device 4 has strong timing capability, and IoT device 2 and IoT device 5 have strong timing capability. The initial values ​​of the counters of IoT device 1, IoT device 2, and IoT device 3 are all 0, while the initial values ​​of the counters of IoT device 4 and IoT device 5 are both 1, with a first value of 0. In Figure 3, IoT device 1, IoT device 2, IoT device 3, IoT device 4, and IoT device 5 receive a first message 1 (i.e., the first first message), which indicates two available random access resources (i.e., X1=2), where the frequency domain resources in these two random access resources are identical. Since the initial value of the counter of IoT device 1 is 0 and its first value is 0, IoT device 1 can select the first random access resource from two random access resources as its first random access resource based on its timing capability (i.e., IoT device 1 has no long-term timing capability). Since the initial value of the counter of IoT device 2 is 0 and its first value is 0, IoT device 2 can select the second random access resource from two random access resources as its first random access resource based on its timing capability (i.e., IoT device 2 has a strong timing capability). Since the initial value of the counter of IoT device 3 is 0 and its first value is 0, IoT device 3 can select the first random access resource from two random access resources as its first random access resource based on its timing capability (i.e., IoT device 3 has no long-term timing capability). Since the initial values ​​of the counters of IoT device 4 and IoT device 5 are both 1, IoT device 4 and IoT device 5 continue to receive the first message 2 (i.e., the second first message), which indicates three available random access resources (i.e., X2 = 3), and the frequency domain resources in these three random access resources are the same. Since the value of the counter of IoT device 4 is 1-1=0 and the first value is 0, IoT device 4 can select the second random access resource from the three random access resources as the first random access resource of IoT device 4 based on the timing capability of IoT device 4 (i.e., the timing capability of IoT device 4 is strong).Since the value of the counter of IoT device 5 is 1-1=0 and the first value is 0, IoT device 5 can select the third random access resource from the three random access resources as the first random access resource of IoT device 5 based on the timing capability of IoT device 5 (i.e., the timing capability of IoT device 5 is strong).

[0140] In Example 1 of step 203 above, the first random access resource can be understood as the random access resource with the earliest time-domain location among X random access resources.

[0141] Example 2, A=1, B=X, meaning X random access resources are X frequency domain resources under the same time domain resource. The first IoT device selects one random access resource from the X random access resources as the first random access resource based on the timing capability of the first IoT device. For example, in Figure 4, one or more paging IoT devices include IoT device 1, IoT device 2, IoT device 3, IoT device 4, and IoT device 5. Among them, IoT device 1 and IoT device 3 have no long-term timing capability, IoT device 4 has a strong timing capability, and IoT device 2 and IoT device 5 have strong timing capabilities. The initial values ​​of the counters of IoT device 1, IoT device 2, and IoT device 3 are all 0, and the initial values ​​of the counters of IoT device 4 and IoT device 5 are all 1, with a first value of 0. In Figure 4, IoT device 1, IoT device 2, IoT device 3, IoT device 4, and IoT device 5 receive a first message 1 (i.e., the first first message), which indicates two available random access resources (i.e., X1=2), and the time domain resources in these two random access resources are the same. Since the initial value of the counter of IoT device 1 is 0 and its first value is 0, IoT device 1 can select the first random access resource from two random access resources as its first random access resource based on its timing capability (i.e., IoT device 1 has no long-term timing capability). Since the initial value of the counter of IoT device 2 is 0 and its first value is 0, IoT device 2 can select the second random access resource from two random access resources as its first random access resource based on its timing capability (i.e., IoT device 2 has a strong timing capability). Since the initial value of the counter of IoT device 3 is 0 and its first value is 0, IoT device 3 can select the first random access resource from two random access resources as its first random access resource based on its timing capability (i.e., IoT device 3 has no long-term timing capability). Since the initial values ​​of the counters of IoT device 4 and IoT device 5 are both 1, IoT device 4 and IoT device 5 continue to receive the first message 2 (i.e., the second first message), which indicates three available random access resources (i.e., X2 = 3), and the time domain resources in these three random access resources are the same. Since the value of the counter of IoT device 4 is 1-1=0 and the first value is 0, IoT device 4 can select the second random access resource from the three random access resources as the first random access resource of IoT device 4 based on the timing capability of IoT device 4 (i.e., the timing capability of IoT device 4 is strong).Since the value of the counter of IoT device 5 is 1-1=0 and the first value is 0, IoT device 5 can select the third random access resource from the three random access resources as the first random access resource of IoT device 5 based on the timing capability of IoT device 5 (i.e., the timing capability of IoT device 5 is strong).

[0142] In Example 2 of step 203 above, the first random access resource can be understood as the random access resource with the lowest frequency domain position among X random access resources.

[0143] Example 3, where A>1 and B>1, meaning X random access resources are A time-domain resources with B frequency-domain resources (or B frequency-domain resources with A time-domain resources). The first IoT device can select one time-domain resource from the A time-domain resources as the time-domain resource for the first random access resource based on its timing capabilities (see Example 1 in step 203 above for a specific implementation, which will not be repeated here), and randomly select one frequency-domain resource from the B frequency-domain resources as the frequency-domain resource for the first random access resource. Alternatively, the first IoT device can randomly select one time-domain resource from the A time-domain resources as the time-domain resource for the first random access resource, and select one frequency-domain resource from the B frequency-domain resources as the frequency-domain resource for the first random access resource based on its timing capabilities (see Example 2 in step 203 above for a specific implementation, which will not be repeated here). Alternatively, the first IoT device may select one time domain resource from A time domain resources as the time domain resource of the first random access resource based on the timing capability of the first IoT device (see Example 1 in step 203 above for specific implementation, which will not be repeated here), and select one frequency domain resource from B frequency domain resources as the frequency domain resource of the first random access resource based on the timing capability of the first IoT device (see Example 2 in step 203 above for specific implementation, which will not be repeated here).

[0144] For example, in Figure 5, the paged IoT devices include IoT device 1, IoT device 2, and IoT device 3. IoT device 1 has no long-term timing capability, IoT device 2 has a strong timing capability, and IoT device 3 has a relatively strong timing capability; its first value is 0. In Figure 5, after IoT devices 1, 2, and 3 receive the second message, the counter values ​​of IoT device 1, 2, and 3 are all 0. This second message indicates six available random access resources (i.e., X1 = 6), including three time-domain resources (A = 3) and two frequency-domain resources (B = 2). Since the counter value of IoT device 1 is 0 and its first value is 0, IoT device 1 can first select the first time domain resource from three time domain resources as the time domain resource for its first random access resource, based on its timing capability (i.e., IoT device 1 has no long-term timing capability). Then, based on its timing capability, it can select the first frequency domain resource from the two frequency domain resources associated with the first time domain resource as the frequency domain resource for its first random access resource. Since the counter value of IoT device 2 is 0 and its first value is 0, IoT device 2 can first select the third time domain resource from three time domain resources as the time domain resource for its first random access resource, based on its timing capability (i.e., IoT device 2 has strong timing capability). Then, based on its timing capability, it can select the second frequency domain resource from the two frequency domain resources associated with the third time domain resource as the frequency domain resource for its first random access resource. Since the counter value of IoT device 3 is 0 and the first value is 0, IoT device 3 can first select the second time domain resource from the three time domain resources as the time domain resource of the first random access resource of IoT device 3 based on the timing capability of IoT device 3 (i.e., the timing capability of IoT device 3 is strong), and then select the second frequency domain resource from the two frequency domain resources associated with the second time domain resource as the frequency domain resource of the first random access resource of IoT device 3 based on the timing capability of IoT device 3.

[0145] The value of the counter in the aforementioned IoT device (such as the value of the counter in IoT device 1) can be the initial value of the IoT device's counter, or it can be the value of the IoT device's counter minus one. The second message can be a paging message or the first message (i.e., the R2D trigger message).

[0146] In Example 3 of step 203 above, the first time-domain resource can be understood as the time-domain resource with the earliest time-domain position among A time-domain resources. The first frequency-domain resource can be understood as the frequency-domain resource with the lowest frequency-domain position among B frequency-domain resources.

[0147] 2. The battery level of the first IoT device. In other words, the first random access resource is selected from X random access resources based on the battery level of the first IoT device.

[0148] Here, the battery level of the first IoT device refers to the remaining battery power of the first IoT device.

[0149] In one possible implementation, the first IoT device can determine the first random access resource based on X and the battery level of the first IoT device. That is, the first IoT device can divide the battery level into X ranges based on X, and determine the first random access resource according to the range to which the first IoT device's battery level belongs. Here, the battery range is an interval defined by a maximum and a minimum battery level, and the battery range may or may not include boundary points, such as the maximum and / or minimum battery levels, which is not limited here. The "battery value" in the battery range can be represented by numbers, percentages, or proportions. In one possible implementation, the first and second battery ranges among the X battery ranges partially overlap. For example, the minimum battery level of the first battery range is equal to the maximum battery level of the second battery range. Or, the maximum battery level of the first battery range is equal to the minimum battery level of the second battery range. Or, the maximum battery level of the first battery range is equal to the maximum battery level of the second battery range, but the minimum battery level of the first battery range is not equal to the minimum battery level of the second battery range. Or, the minimum battery level of the first battery range is equal to the minimum battery level of the second battery range, but the maximum battery level of the first battery range is not equal to the maximum battery level of the second battery range. Alternatively, the minimum battery level in the first battery range is less than the maximum battery level in the second battery range, and the maximum battery level in the first battery range is greater than or equal to the minimum battery level in the second battery range. Or, the maximum battery level in the first battery range is greater than the minimum battery level in the second battery range, and the minimum battery level in the first battery range is less than or equal to the maximum battery level in the second battery range.

[0150] For example, in Figure 6, the paged IoT devices include IoT device 1, IoT device 2, IoT device 3, IoT device 4, and IoT device 5. IoT device 1 has a battery level of 66%, IoT device 2 has a battery level of 20%, IoT device 3 has a battery level of 5%, IoT device 4 has a battery level of 48%, and IoT device 5 has a battery level of 80%, with a first value of 0. In Figure 6, after IoT devices 1, 2, 3, 4, and 5 receive the second message, the counter values ​​for IoT devices 1, 2, 3, 4, and 5 are all 0. The second message indicates four random access resources (i.e., X1 = 4). Thus, the paged IoT devices can divide their battery levels into four ranges: a first range of 0-25%, a second range of 25%-50%, a third range of 50%-75%, and a fourth range of 75%-100%. The paged IoT devices access the network based on their battery level range. Since the counter value of IoT device 1 is 0 and the first value is 0, IoT device 1 can select the third random access resource from the four random access resources based on the battery level range of IoT device 1 (i.e., IoT device 1's battery level is 66%, which falls within the third battery level range). Since the counter value of IoT device 2 is 0 and the first value is 0, IoT device 2 can select the first random access resource from the four random access resources based on the battery level range of IoT device 2 (i.e., IoT device 2's battery level is 20%, which falls within the first battery level range). Since the counter value of IoT device 3 is 0 and the first value is 0, IoT device 3 can select the first random access resource from the four random access resources based on the battery level range of IoT device 3 (i.e., IoT device 3's battery level is 5%, which falls within the first battery level range). Since the counter value of IoT device 4 is 0 and the first value is 0, IoT device 4 can select the second random access resource from the four random access resources based on the battery range to which IoT device 4's battery level belongs (i.e., IoT device 4's battery level is 48%, which belongs to the second battery range). Since the counter value of IoT device 5 is 0 and the first value is 0, IoT device 5 can select the fourth random access resource from the four random access resources based on the battery range to which IoT device 5's battery level belongs (i.e., IoT device 5's battery level is 80%, which belongs to the fourth battery range).

[0151] The value of the counter in the aforementioned IoT device (e.g., the value of the counter in IoT device 1) can be the initial value of the IoT device's counter, or it can be the value of the IoT device's counter minus one. The second message can be a paging message or the first message (i.e., an R2D trigger message).

[0152] The description of "X random access resources including A time-domain resources and B frequency-domain resources" can be found in the above description of "the timing capability of the first IoT device", and will not be repeated here.

[0153] The following explanation of the selection process for the first random access resource, taking into account the timing capability and battery level of the first IoT device, is provided.

[0154] The first IoT device can categorize its timing capability into two types: one with long-duration timing capability and the other without. When the first IoT device lacks long-duration timing capability, the first random access resource is the first random access resource among X random access resources. When the first IoT device has long-duration timing capability, it can select a first random access resource from X-1 random access resources based on its battery level. These X-1 random access resources are the X random access resources excluding the first random access resource. In one possible implementation, the first IoT device can divide its battery level into X-1 ranges and determine the first random access resource based on the range to which its battery level belongs.

[0155] For example, in Figure 7, the paged IoT devices include IoT device 1, IoT device 2, IoT device 3, IoT device 4, and IoT device 5. IoT device 1 and IoT device 3 do not have long-duration timing capabilities, while IoT device 2, IoT device 4, and IoT device 5 do. IoT device 2 has 20% battery, IoT device 4 has 50% battery, and IoT device 5 has 80% battery. The first value is 0. In Figure 7, after IoT device 1, IoT device 2, IoT device 3, IoT device 4, and IoT device 5 receive the second message, the counter values ​​of IoT device 1, IoT device 2, IoT device 3, IoT device 4, and IoT device 5 are all 0. The first message 1 indicates four available random access resources (i.e., X1 = 4). Since the counter value of IoT device 1 is 0 and the first value is 0, IoT device 1 can select the first random access resource from the four random access resources as its random access resource based on its timing capability (i.e., IoT device 1 does not have long-duration timing capability). Since the counter value of IoT device 3 is 0 and its first value is 0, IoT device 3 can select the first random access resource from the four random access resources as its random access resource based on its timing capability (i.e., IoT device 1 has no long-term timing capability). Since IoT devices 2, 4, and 5 have long-term timing capabilities, they can send random access request messages on X1-1 random access resources. Based on the remaining number of random access resources, i.e., X1-1 = 3, the battery level can be divided into three ranges: the first range is 0%–33%, the second range is 33%–67%, and the third range is 67%–100%. Since the counter value of IoT device 2 is 0 and its first value is 0, IoT device 2 can select the first random access resource from the X1-1 random access resources as its random access resource based on its battery level range (i.e., IoT device 2's battery level is 20%, belonging to the first range). That is, the second random access resource among the four random access resources indicated by the second message is the random access resource for IoT device 2. Since the counter value of IoT device 4 is 0 and the first value is 0, IoT device 4 can select the second random access resource from X1-1 random access resources as the random access resource of IoT device 4 based on the power range to which IoT device 4's power belongs (i.e., IoT device 4's power is 50%, which belongs to the second power range). That is, the third random access resource among the four random access resources indicated by the second message is the random access resource of IoT device 4.Since the counter value of IoT device 5 is 0 and the first value is 0, IoT device 5 can select the third random access resource from X1-1 random access resources as the random access resource of IoT device 5 based on the power range to which IoT device 5's power belongs (i.e., IoT device 5's power is 80%, which belongs to the third power range). That is, the fourth random access resource among the four random access resources indicated by the second message is the random access resource of IoT device 5.

[0156] The value of the counter in the aforementioned IoT device (such as the value of the counter in IoT device 1) can be the initial value of the IoT device's counter, or it can be the value of the IoT device's counter minus one. The second message can be a paging message or the first message (i.e., the R2D trigger message).

[0157] 3. Duration of the first IoT device being powered on. While powered on, the first IoT device can actively transmit data, or it can send data only after receiving a signal from the reader.

[0158] In this context, a longer duration of the first IoT device being powered on means that the first IoT device has more power, while a shorter duration of the first IoT device being powered on means that the first IoT device has less power.

[0159] The description of "the duration of the first IoT device being powered on" can be found in the description of "the battery level of the first IoT device" above, and will not be repeated here.

[0160] 4. The switching time for the first IoT device to switch from power-on to sleep mode. The first IoT device can collect energy and perform monitoring while in sleep mode.

[0161] In this context, a longer switching time for the first IoT device to transition from the powered-on state to the sleep state indicates that the first IoT device has more battery power, while a shorter switching time indicates that the first IoT device has less battery power.

[0162] The description of "the switching time of the first IoT device from the power-on state to the sleep state" can be found in the description of "the battery level of the first IoT device" above, and will not be repeated here.

[0163] 5. The switching time for the first IoT device to switch from the power-on state to the power-off state. When the first IoT device is in the power-off state, it can only perform energy harvesting.

[0164] In this context, a longer switching time for the first IoT device to switch from the power-on state to the power-off state means that the first IoT device has more power, while a shorter switching time means that the first IoT device has less power.

[0165] The description of "the switching time of the first IoT device from the power-on state to the power-off state" can be found in the description of "the power of the first IoT device" above, and will not be repeated here.

[0166] Referring to Figure 8, which is a flowchart illustrating a communication method provided in an embodiment of this application, the method includes, but is not limited to, the following steps:

[0167] 801. The reader sends a paging message, which is used to page one or more IoT devices, including the first IoT device.

[0168] Accordingly, one or more IoT devices receive paging messages. For ease of description, the following description uses the first IoT device as an example.

[0169] The content of the paging message in step 801 is similar to that in step 201, and will not be repeated here. The difference is that the paging message in step 201 includes a second value, while the paging message in step 801 includes a third value. The description of the third value in the paging message in step 801 can be found in the description of the third value in the paging message in step 201, and will not be repeated here.

[0170] 802. The reader sends a first message, which is a request message to trigger the first IoT device to send a random access request. The first message is used to determine X random access resources, where X is a positive integer.

[0171] Accordingly, the first IoT device receives the first message.

[0172] In one possible implementation, the reader can send one or more first messages. The number of times the first IoT device receives the first message depends on the value of a counter on the first IoT device. For example, if the value of the first IoT device's counter is greater than or equal to X, the first IoT device continues to receive first messages. If the value of the first IoT device's counter is less than X, the first IoT device stops receiving first messages. In one possible implementation, if the initial value of the first IoT device's counter is less than the initial value of X, the first IoT device receives one first message. If the initial value of the first IoT device's counter is greater than or equal to X, the first IoT device receives multiple first messages. In one possible implementation, "the value of the first IoT device's counter is less than X" in this application can be replaced with "the value of the first IoT device's counter is less than or equal to X," etc., and this application does not limit this.

[0173] For example, if "the value of the counter of the first IoT device is less than X" can be replaced with "the value of the counter of the first IoT device is less than or equal to X", then if the value of the counter of the first IoT device is greater than X, the first IoT device continues to receive the first message. If the value of the counter of the first IoT device is less than or equal to X, the first IoT device stops receiving the first message. In one possible implementation, if the initial value of the counter of the first IoT device is less than or equal to X, the first IoT device receives the first message once. If the initial value of the counter of the first IoT device is greater than X, the first IoT device receives the first message multiple times.

[0174] In one possible implementation, each first message is used to trigger the first IoT device to decrement the value of its counter by X. Alternatively, the first first message does not trigger the first IoT device to decrement the value of its counter by X, but the Nth first message triggers the first IoT device to decrement the value of its counter by X, where N is an integer greater than 1.

[0175] 803. When the value of the counter of the first IoT device is less than X, the first IoT device sends a random access request message on the second random access resource. The value of the counter of the first IoT device is equal to the initial value of the counter of the first IoT device. The initial value of the counter of the first IoT device is determined by a paging message. Alternatively, the value of the counter of the first IoT device is determined based on X. The second random access resource belongs to X random access resources.

[0176] In one possible implementation, where the value of the counter of the first IoT device is determined based on X, the value of the counter of the first IoT device is the difference between the initial value of the counter of the first IoT device and X.

[0177] In one possible implementation, the X random access resources triggered by the first message include A time-domain resources and B frequency-domain resources, where A and B are positive integers. In another possible implementation, if the counter value of the first IoT device is less than A, the first IoT device can access the reader, meaning the first IoT device can select a time-domain resource from the A time-domain resources as the second random access resource. Alternatively, if the counter value of the first IoT device is less than B, the first IoT device can access the reader, meaning the first IoT device can select a frequency-domain resource from the B frequency-domain resources as the second random access resource. Or, if the counter value of the first IoT device is less than X, the first IoT device can access the reader, meaning the first IoT device can select a second random access resource from the X random access resources.

[0178] In one possible implementation, the second random access resource is a random access resource randomly selected from X random access resources.

[0179] In another possible implementation, the second random access resource is a random access resource selected from X random access resources based on information from the first IoT device. The description of "the second random access resource is a random access resource selected from X random access resources based on information from the first IoT device" in step 803 can be found in the description of "the first random access resource is a random access resource selected from X random access resources based on information from the first IoT device" in step 203, and will not be repeated here.

[0180] In another possible implementation, the second random access resource is selected from X random access resources based on the value of the counter of the first IoT device. In one possible implementation, if the value of the counter of the first IoT device is less than or equal to 0, the second random access resource is the first of the X random access resources. If the value of the counter of the first IoT device is equal to 1, the second random access resource is the second of the X random access resources. If the value of the counter of the first IoT device is equal to 2, the second random access resource is the third of the X random access resources. And so on, without further details.

[0181] The X random access resources can be sorted in a predefined order. For example, the predefined order could be to first sort different time-domain resources according to their time-domain positions, and then sort different frequency-domain resources on the same time-domain resource according to their frequency-domain positions; or, to first sort different frequency-domain resources according to their frequency-domain positions, and then sort different time-domain resources on the same frequency-domain resource according to their time-domain positions, etc. This application does not limit this. In one possible implementation, sorting according to the time-domain positions could be from front to back (i.e., from the earliest time-domain position to the latest time-domain position), and sorting according to the frequency-domain positions could be from low to high (i.e., from the lowest frequency-domain position to the highest frequency-domain position) or from high to low (from the highest frequency-domain position to the lowest frequency-domain position).

[0182] To facilitate understanding, let's take X random access resources, including A time-domain resources and B time-domain resources (or X random access resources are A time-domain resources with B frequency-domain resources, or X random access resources are B frequency-domain resources with A time-domain resources) as an example to introduce the selection process of the second random access resource.

[0183] Example 1, B=1, A=X, meaning X random access resources are X time-domain resources under the same frequency domain. A first IoT device can select one of the X random access resources as a second random access resource based on the value of its counter. For example, in Figure 9, one or more paging IoT devices include IoT device 1, IoT device 2, IoT device 3, IoT device 4, IoT device 5, and IoT device 6. The initial value of the counter for IoT device 1 is 0, the initial value of the counter for IoT device 2 is 1, the initial value of the counter for IoT device 3 is 2, the initial value of the counter for IoT device 4 is 3, the initial value of the counter for IoT device 5 is 4, and the initial value of the counter for IoT device 6 is 5. In Figure 9, IoT device 1, IoT device 2, IoT device 3, IoT device 4, IoT device 5, and IoT device 6 receive a first message 1 (i.e., the first first message), which indicates two available random access resources (i.e., X1=2), where the frequency domain resources in these two random access resources are identical. Since the initial value of the counter of IoT device 1 is 0 < 2, IoT device 1 can select the first random access resource from the two random access resources as its second random access resource. Since the initial value of the counter of IoT device 2 is 1 < 2, IoT device 2 can select the second random access resource from the two random access resources as its second random access resource. Since IoT devices 3, 4, 5, and 6 are all greater than or equal to 2, they continue to receive the first message 2 (i.e., the second first message), which indicates three available random access resources (i.e., X2 = 3), and these three random access resources have the same frequency domain resource. Since the first message 2 triggers IoT device 3 to decrement its counter value by X2, the counter value of IoT device 3 is 2 - 3 = -1 < 3, and IoT device 3 can select the first random access resource from the three random access resources as its second random access resource. Since the first message 2 triggered IoT device 4 to decrement its counter value by X2, the counter value of IoT device 4 = 3 - 3 = 0 < 3. Therefore, IoT device 4 can select the first random access resource from the three random access resources as its second random access resource. Similarly, since the first message 2 triggered IoT device 5 to decrement its counter value by X2, the counter value of IoT device 5 = 4 - 3 = 1 < 3. Therefore, IoT device 5 can select the second random access resource from the three random access resources as its second random access resource.Since the first message 2 triggered the IoT device 6 to decrement the value of its counter by X2, the value of the IoT device 6's counter = 5 - 3 = 2 < 3. Therefore, the IoT device 6 can select the third random access resource from the three random access resources as the second random access resource of the IoT device 6.

[0184] In Example 1 of step 803 above, the first random access resource can be understood as the random access resource with the earliest time-domain location among X random access resources.

[0185] Example 2, A=1, B=X, meaning X random access resources are X frequency domain resources under the same time domain resource. A first IoT device can select one of the X random access resources as a second random access resource based on the value of its counter. For example, in Figure 10, one or more paging IoT devices include IoT device 1, IoT device 2, IoT device 3, IoT device 4, IoT device 5, and IoT device 6. The initial value of the counter for IoT device 1 is 0, the initial value of the counter for IoT device 2 is 1, the initial value of the counter for IoT device 3 is 2, the initial value of the counter for IoT device 4 is 3, the initial value of the counter for IoT device 5 is 4, and the initial value of the counter for IoT device 6 is 5. In Figure 10, IoT device 1, IoT device 2, IoT device 3, IoT device 4, IoT device 5, and IoT device 6 receive a first message 1 (i.e., the first first message), which indicates two available random access resources (i.e., X1=2), where the time domain resources in these two random access resources are identical. Since the initial value of the counter of IoT device 1 is 0 < 2, IoT device 1 can select the first random access resource from the two random access resources as its second random access resource. Since the initial value of the counter of IoT device 2 is 1 < 2, IoT device 2 can select the second random access resource from the two random access resources as its second random access resource. Since IoT devices 3, 4, 5, and 6 are all greater than or equal to 2, they continue to receive the first message 2 (i.e., the second first message), which indicates three available random access resources (i.e., X2 = 3), and the time-domain resources in these three random access resources are the same. Since the first message 2 triggers IoT device 3 to decrement its counter value by X2, the counter value of IoT device 3 is 2 - 3 = -1 < 3, and IoT device 3 can select the first random access resource from the three random access resources as its second random access resource. Since the first message 2 triggered IoT device 4 to decrement its counter value by X2, the counter value of IoT device 4 = 3 - 3 = 0 < 3. Therefore, IoT device 4 can select the first random access resource from the three random access resources as its second random access resource. Similarly, since the first message 2 triggered IoT device 5 to decrement its counter value by X2, the counter value of IoT device 5 = 4 - 3 = 1 < 3. Therefore, IoT device 5 can select the second random access resource from the three random access resources as its second random access resource.Since the first message 2 triggered the IoT device 6 to decrement the value of its counter by X2, the value of the IoT device 6's counter = 5 - 3 = 2 < 3. The IoT device 6 can select the third random access resource from the three random access resources as the second random access resource of the IoT device 6.

[0186] In Example 2 of step 803 above, the first random access resource can be understood as the random access resource with the lowest frequency domain position among X random access resources.

[0187] Example 3, A>1 and B>1, meaning X random access resources are A time-domain resources with B frequency-domain resources (or B frequency-domain resources with A time-domain resources). The first IoT device can select one time-domain resource from the A time-domain resources as the time-domain resource of the second random access resource based on the value of its counter (see Example 1 in step 803 for a detailed implementation, which will not be repeated here), and randomly select one frequency-domain resource from the B frequency-domain resources as the frequency-domain resource of the second random access resource. The value of the first IoT device's counter can be the initial value of the first IoT device's counter or the value of the first IoT device's counter minus A. Alternatively, the first IoT device can select one time-domain resource from A time-domain resources as the time-domain resource of the second random access resource based on the value of its counter (see Example 1 in step 803 for a specific implementation, which will not be repeated here), and select one frequency-domain resource from B frequency-domain resources as the frequency-domain resource of the second random access resource based on the information of the first IoT device (see Example 2 in step 203 for a specific implementation, which will not be repeated here). The value of the first IoT device's counter can be the initial value of the first IoT device's counter or the value of the first IoT device's counter minus A, as shown in Figure 11. Alternatively, the first IoT device can randomly select one time-domain resource from A time-domain resources as the time-domain resource of the second random access resource, and select one frequency-domain resource from B frequency-domain resources as the frequency-domain resource of the second random access resource based on the value of its counter (see Example 2 in step 803 for a specific implementation, which will not be repeated here). The value of the first IoT device's counter can be the initial value of the first IoT device's counter or the value of the first IoT device's counter minus B. Alternatively, the first IoT device can select one time-domain resource from A time-domain resources as the time-domain resource of the second random access resource based on its information (see Example 1 in step 203 for a specific implementation, which will not be repeated here), and select one frequency-domain resource from B frequency-domain resources as the frequency-domain resource of the second random access resource based on the value of the first IoT device's counter (see Example 2 in step 803 for a specific implementation, which will not be repeated here). The value of the first IoT device's counter can be the initial value of the first IoT device's counter or the value of the first IoT device's counter minus B, as shown in Figure 12. Alternatively, the first IoT device can select one random access resource from X random access resources as the second random access resource based on the value of the first IoT device's counter. The value of the first IoT device's counter can be the initial value of the first IoT device's counter or the value of the first IoT device's counter minus X, as shown in Figure 13.

[0188] For example, in Figure 11, the paged IoT devices include IoT device 1, IoT device 2, and IoT device 3. IoT device 1 lacks long-duration timing capability, IoT device 2 has strong timing capability, and IoT device 3 has relatively strong timing capability. In Figure 11, after IoT devices 1, 2, and 3 receive the second message, the counter value of IoT device 1 is 0, the counter value of IoT device 2 is 1, and the counter value of IoT device 3 is 2. This second message indicates six available random access resources (i.e., X1 = 6), including three time-domain resources (A = 3) and two frequency-domain resources (B = 2). Since the counter value of IoT device 1 is less than A, IoT device 1 can first select the first time-domain resource from the three time-domain resources as the time-domain resource for its second random access resource based on its counter value. Then, based on its timing capability (i.e., IoT device 1 lacks long-duration timing capability), it can select the first frequency-domain resource from the two frequency-domain resources associated with the first time-domain resource as the frequency-domain resource for its second random access resource. Since the counter value of IoT device 2 is less than A, IoT device 2 can first select the second time-domain resource from the three time-domain resources as the time-domain resource for its second random access resource, based on the counter value. Then, based on the timing capability of IoT device 2 (i.e., strong timing capability), it can select the second frequency-domain resource from the two frequency-domain resources associated with the second time-domain resource as the frequency-domain resource for its second random access resource. Since the counter value of IoT device 3 is 0 and the first value is less than A, IoT device 3 can first select the third time-domain resource from the three time-domain resources as the time-domain resource for its second random access resource, based on the counter value. Then, based on the timing capability of IoT device 3 (i.e., relatively strong timing capability), it can select the second frequency-domain resource from the two frequency-domain resources associated with the third time-domain resource as the frequency-domain resource for its second random access resource.

[0189] For example, in Figure 12, the paged IoT devices include IoT device 1, IoT device 2, and IoT device 3. IoT device 1 lacks long-term timing capability, IoT device 2 has strong timing capability, and IoT device 3 has relatively strong timing capability. In Figure 12, after IoT devices 1, 2, and 3 receive the second message, the counter values ​​for IoT device 1, 2, and 3 are 0 and 1, respectively. This second message indicates six available random access resources (i.e., X1 = 6), including three time-domain resources (A = 3) and two frequency-domain resources (B = 2). Since the counter value of IoT device 1 is less than B, IoT device 1 can first select the first frequency domain resource from two frequency domain resources as the frequency domain resource for its second random access resource, based on the counter value of IoT device 1. Then, based on the timing capability of IoT device 1 (i.e., IoT device 1 has no long-term timing capability), it can select the first time domain resource from the three time domain resources associated with the first frequency domain resource as the time domain resource for its second random access resource. Similarly, since the counter value of IoT device 2 is less than B, IoT device 2 can first select the first frequency domain resource from two frequency domain resources as the frequency domain resource for its second random access resource, based on the counter value of IoT device 2. Then, based on the timing capability of IoT device 2 (i.e., IoT device 2 has strong timing capability), it can select the third time domain resource from the three time domain resources associated with the first frequency domain resource as the time domain resource for its second random access resource. Since the value of the counter of IoT device 3 is less than B, IoT device 3 can first select the second frequency domain resource from the two frequency domain resources based on the value of the counter of IoT device 3 as the frequency domain resource of the second random access resource of IoT device 3, and then select the second time domain resource from the three time domain resources associated with the second frequency domain resource as the time domain resource of the second random access resource of IoT device 3 based on the timing capability of IoT device 3 (i.e., the timing capability of IoT device 3 is strong).

[0190] For example, in Figure 13, the paged IoT devices include IoT device 1, IoT device 2, and IoT device 3. IoT device 1 lacks long-term timing capability, IoT device 2 has strong timing capability, and IoT device 3 has relatively strong timing capability. In Figure 13, after IoT devices 1, 2, and 3 receive the second message, the counter value of IoT device 1 is 0, the counter value of IoT device 2 is 4, and the counter value of IoT device 3 is 2. This second message indicates six available random access resources (i.e., X1 = 6), including three time-domain resources (A = 3) and two frequency-domain resources (B = 2). Since the counter value of IoT device 1 is less than X, IoT device 1 can first select the first random access resource from the six random access resources as its second random access resource based on its counter value. This first random access resource is the one with the earliest time-domain position and the lowest frequency-domain position among the six random access resources. Since the counter value of IoT device 2 is less than X, IoT device 2 can first select the fifth random access resource from the six random access resources as its second random access resource based on the counter value. This fifth random access resource is the second earliest in the time domain and the second lowest in the frequency domain (i.e., the highest in the frequency domain) among the six random access resources. Since the counter value of IoT device 3 is less than X, IoT device 3 can first select the third random access resource from the six random access resources as its second random access resource based on the counter value. This third random access resource is the third earliest in the time domain (i.e., the latest / lastest in the time domain) and the lowest in the frequency domain among the six random access resources.

[0191] In Example 3 of step 803 above, the second message can be either a paging message or the first message (i.e., an R2D trigger message). The first time-domain resource can be understood as the time-domain resource with the earliest time-domain position among A time-domain resources. The first frequency-domain resource can be understood as the frequency-domain resource with the lowest frequency-domain position among B frequency-domain resources.

[0192] Optionally, to achieve the aforementioned functions, the device includes corresponding hardware structures and / or software modules for performing each function. Those skilled in the art will readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0193] This application embodiment can divide the reader or IoT device (e.g., the first IoT device) into functional modules according to the above method example. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0194] Referring to Figure 14, which is a schematic diagram of a communication device provided in an embodiment of this application, the communication device 1400 can be applied to the methods shown in the embodiments of Figure 2 or Figure 8 above. As shown in Figure 14, the communication device 1400 includes a processing module 1401 and a transceiver module 1402. The processing module 1401 may be one or more processors, and the transceiver module 1402 may be a transceiver or a communication interface. The communication device can be used to implement the reader or IoT device (e.g., the first IoT device) involved in any of the above method embodiments, or to implement the functions of network elements involved in any of the above method embodiments. The network element or network function may be a network element in a hardware device, a software function running on dedicated hardware, or a virtualization function instantiated on a platform (e.g., a cloud platform). Optionally, the communication device 1400 may also include a storage module 1403 for storing the program code and data of the communication device 1400. It should be understood that regardless of whether these functional modules are subdivided or combined, the general flow performed by the communication device 1400 in implementing any of the above method embodiments is the same. For example, the transceiver module 1402 in the aforementioned communication device 1400 may include a receiving module and / or a transmitting module. Of course, the transceiver module may also be called a communication module. In one implementation, each module may have its own program code (or program instructions). When the program code corresponding to each module is run on the processor, it causes the unit to execute the corresponding process to achieve the corresponding function.

[0195] In one example, when the communication device functions as an IoT device or as a chip used in a network device (i.e., a chip for an IoT device), it executes the steps performed by the IoT device in the above method embodiments. The transceiver module 1402 is used to specifically execute the sending and / or receiving actions performed by the IoT device (e.g., the first IoT device) in the embodiments shown in FIG2 or FIG8, for example, to support the IoT device in performing other processes of the technology described herein. The processing module 1401 can be used to support the communication device 1400 in performing the processing actions in the above method embodiments, for example, to support the network device in performing other processes of the technology described herein.

[0196] For example, transceiver module 1402 is configured to: receive a paging message, the paging message being used to page one or more IoT devices, including a first IoT device. Transceiver module 1402 is further configured to: receive a first message, the first message being a request message triggering the first IoT device to send a random access request message, the first message being used to determine X random access resources, where X is a positive integer. Transceiver module 1402 is further configured to: if the value of a counter of the first IoT device is a first value, send a random access request message on a first random access resource, the first random access resource being a random access resource selected from the X random access resources based on information of the first IoT device.

[0197] For example, transceiver module 1402 is configured to: receive a paging message, the paging message being used to page one or more IoT devices, including a first IoT device. Transceiver module 1402 is further configured to: receive a first message, the first message being a request message triggering the first IoT device to send a random access request message, the first message being used to determine X random access resources, where X is a positive integer. Transceiver module 1402 is further configured to: if the value of the first IoT device's counter is less than X, send a random access request message on a second random access resource, the value of the first IoT device's counter being equal to the initial value of the first IoT device's counter, the initial value of the first IoT device's counter being determined by the paging message, or the value of the first IoT device's counter being determined based on X, and the second random access resource belonging to X random access resources.

[0198] In one example, the communication device functions as a reader or as a chip used in a reader, i.e., a chip used in a reader, and performs the steps performed by the reader in the above method embodiments. The transceiver module 1402 is used to specifically perform the sending and / or receiving actions performed by the terminal in the embodiments shown in FIG2 or FIG8, for example, supporting the reader in performing other processes of the technology described herein. The processing module 1401 can be used to support the communication device 1400 in performing the processing actions in the above method embodiments, for example, supporting the terminal in performing other processes of the technology described herein.

[0199] For example, transceiver module 1402 is configured to: send a paging message, the paging message being used to page one or more IoT devices, including a first IoT device. Transceiver module 1402 is further configured to: send a first message, the first message being a request message to trigger the first IoT device to send a random access request message, the first message being used to determine X random access resources, where X is a positive integer. Transceiver module 1402 is further configured to: receive the random access request message on the first random access resource, the first random access resource being a random access resource selected from the X random access resources based on information from the first IoT device.

[0200] For example, transceiver module 1402 is configured to: send a paging message, the paging message being used to page one or more IoT devices, including a first IoT device. Transceiver module 1402 is further configured to: send a first message, the first message being a request message to trigger the first IoT device to send a random access request message, the first message being used to determine X random access resources, where X is a positive integer. Transceiver module 1402 is further configured to: receive a random access request message on a second random access resource, wherein the value of a counter of the first IoT device is equal to the initial value of the counter of the first IoT device, the initial value of the counter of the first IoT device being determined by the paging message, or the value of the counter of the first IoT device being determined based on X, and the second random access resource belonging to X random access resources.

[0201] In one possible implementation, when the aforementioned device is a chip, the transceiver module 1402 can be a communication interface, pins, or circuits. The communication interface can be used to input data to be processed to the processor and can output the processor's processing results. Specifically, the communication interface can be a general purpose input / output (GPIO) interface, which can connect to multiple peripheral devices (such as LCD displays, cameras, radio frequency (RF) modules, antennas, etc.). The communication interface is connected to the processor via a bus.

[0202] The processing module 1401 can be a processing circuit, which may be one or more processors, or all or part of the circuitry within one or more processors used for control and / or processing. This processing circuit or processor can execute computer execution instructions stored in the storage module to cause the chip to execute the methods involved in the embodiments shown in FIG2 or FIG8. Further, the processor may include a controller, an arithmetic logic unit (ALU), and registers. For example, the controller is primarily responsible for instruction decoding and issuing control signals for the operations corresponding to the instructions. The ALU is primarily responsible for performing fixed-point or floating-point arithmetic operations, shift operations, and logical operations, and can also perform address operations and conversions. The registers are primarily responsible for storing register operands and intermediate operation results temporarily stored during instruction execution. In specific implementations, the processor's hardware architecture can be an application-specific integrated circuit (ASIC) architecture, a microprocessor without interlocked piped stages architecture (MIPS) architecture, an advanced reduced instruction set machine (RISC) machine (ARM) architecture, or a network processor (NP) architecture, etc. The processor can be single-core or multi-core. The storage module can be an internal storage module of the chip, such as a register or cache. Alternatively, the storage module can be an external storage module, such as read-only memory (ROM) or other types of static storage devices that can store static information and instructions, or random access memory (RAM).

[0203] Optionally, the functions of the processor and interface can be implemented through hardware design, software design, or a combination of hardware and software; no restrictions are imposed here.

[0204] Figure 15 is a schematic diagram of another communication device provided in an embodiment of this application. It is understood that the communication device 1510 includes necessary means such as modules, units, elements, circuits, or interfaces, appropriately configured together to execute this solution. The communication device 1510 can be the aforementioned reader or IoT device (e.g., the first IoT device), or a component (e.g., a chip) within these devices, used to implement the methods described in the above method embodiments. The communication device 1510 includes one or more processors 1511. The processor 1511 can be a general-purpose processor or a dedicated processor, for example, a baseband processor or a central processing unit. The baseband processor can be used to process communication protocols and communication data, while the central processing unit can be used to control the communication device (e.g., a reader, IoT device, or chip), execute software programs, and process data from the software programs.

[0205] Optionally, in one design, the processor 1511 may include a program 1513 (sometimes also referred to as code or instructions), which can be executed on the processor 1511 to cause the communication device 1510 to perform the methods described in the above embodiments. In yet another possible design, the communication device 1510 includes circuitry (not shown in FIG15) for implementing the functions of a reader, IoT device, etc., as described in the above embodiments. Optionally, the communication device 1510 may include one or more memories 1512 storing a program 1514 (sometimes also referred to as code or instructions), which can be executed on the memory 1512 to cause the communication device 1510 to perform the methods described in the above method embodiments.

[0206] Optionally, data may also be stored in the processor 1511 and / or the memory 1512. The processor and memory may be configured separately or integrated together.

[0207] Optionally, if the communication device 1510 is a reader or IoT device (e.g., a first IoT device), it may also include a transceiver 1515 and / or an antenna 1516. The processor 1511, sometimes referred to as a processing unit, controls the communication device (e.g., a reader or IoT device). The transceiver 1515, sometimes referred to as a transceiver unit, transceiver, or transceiver circuit, is used to implement the transmission and reception functions of the communication device via the antenna 1516. Optionally, the transceiver 1515 may include a receiver and / or a transmitter. The receiver may be referred to as a receiving unit, receiver, or receiving circuit. The transmitter may be referred to as a transmitting unit, transmitter, or transmitting circuit.

[0208] Optionally, if the communication device 1510 is a chip for a reader or IoT device, the transceiver 1515 can be a transceiver circuit, such as an input / output interface or a transceiver interface.

[0209] This application also provides a communication device, which includes at least one processor; wherein the at least one processor is configured to perform the method described in any one of the embodiments shown in FIG2 or FIG8.

[0210] This application also provides a computer-readable storage medium storing computer instructions that, when executed, cause the computer to perform the method described in any of the embodiments shown in FIG2 or FIG8.

[0211] This application also provides a computer program product, which includes computer program code. When the computer program code is run, it causes the computer to perform the method described in any of the embodiments shown in FIG2 or FIG8.

[0212] This application also provides a chip, which includes at least one processor and an interface. The processor is used to read and execute instructions stored in a memory. When the instructions are executed, the chip causes the chip to perform the method described in any of the embodiments shown in FIG2 or FIG8.

[0213] Optionally, the processing performed by a single execution entity (reader or IoT device) shown in any of the above embodiments can also be divided into multiple execution entities, which can be logically and / or physically separated. For example, the processing performed by the IoT device can be divided into execution by at least one of CU, DU, and RU.

[0214] Furthermore, the various embodiments of this application are merely illustrative examples of executing all the steps included, and should not be considered as specific limitations on this application. For example, the order of steps in various embodiments can be simply changed according to their function and internal logic; or, for example, all steps in various embodiments can be executed, or only a portion of them can be executed, as long as the same function as in the embodiments of this application can be achieved.

[0215] In this application, "send" and "receive" indicate the direction of signal transmission. For example, "send information to the reader" can be understood as the destination of the information being the reader, which can include direct transmission via the air interface or indirect transmission via the air interface from other units or modules. "Receive information from the network reader" can be understood as the source of the information being the reader, which can include direct reception from the reader via the air interface or indirect reception from the reader via the air interface from other units or modules. "Send" can also be understood as the "output" of the chip interface, and "receive" can also be understood as the "input" of the chip interface.

[0216] In other words, sending and receiving can occur between devices, such as between a reader and an IoT device; or they can occur within a device, such as between components, modules, chips, software modules, or hardware modules within a device via a bus, wiring, or interface.

[0217] In the embodiments of this application, "when," "if," "if," and "in the case of" all refer to the device making corresponding processing under certain objective circumstances, and are not limited to a time, nor do they require the device to make a judgment action when it is implemented, nor do they mean that there are other limitations.

[0218] In this application, the words “example,” “exemplarily,” “for example,” or “such as” are used to indicate that something is an example, illustration, or description. Any embodiment or design described as “example,” “exemplarily,” “for example,” or “such as” in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the words “example,” “exemplarily,” “for example,” or “such as” is intended to present the relevant concepts in a specific manner.

[0219] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A communication method, characterized in that, include: Receive a paging message, the paging message being used to page one or more Internet of Things (IoT) devices, the one or more IoT devices including a first IoT device; Receive a first message, which is a request message that triggers the first IoT device to send a random access request. The first message is used to determine X random access resources, where X is a positive integer. When the counter value of the first IoT device is a first value, a random access request message is sent on a first random access resource, which is a random access resource selected from the X random access resources based on the information of the first IoT device.

2. The method according to claim 1, characterized in that, The information of the first IoT device includes at least one of the following: the timing capability of the first IoT device, the battery level of the first IoT device, the duration of the first IoT device being in the power-on state, the switching time of the first IoT device from the power-on state to the sleep state, or the switching time of the first IoT device from the power-on state to the power-off state.

3. The method according to claim 1 or 2, characterized in that, The paging message is also used to indicate that the number of random access resources included in different first messages is X.

4. The method according to any one of claims 1-3, characterized in that, The paging message includes an indication message, which indicates whether the number of random access resources included in different first messages is the same.

5. The method according to any one of claims 1-4, wherein the paging message further includes a second value, the second value being used to determine an initial value of the counter of the first IoT device, the second value being related to the total number of random access resources and X.

6. The method according to claim 5, characterized in that, The second value satisfies any of the following: Q = log2(N / X); or, or, Among them, the This indicates rounding up. This indicates rounding down, where Q is the second value, N is the total number of random access resources, Q is a positive integer, and N is a positive integer greater than or equal to X.

7. A communication method, characterized in that, include: Receive a paging message, the paging message being used to page one or more Internet of Things (IoT) devices, the one or more IoT devices including a first IoT device; Receive a first message, which is a request message that triggers the first IoT device to send a random access request. The first message is used to determine X random access resources, where X is a positive integer. If the value of the counter of the first IoT device is less than X, a random access request message is sent on the second random access resource. The value of the counter of the first IoT device is equal to the initial value of the counter of the first IoT device, which is determined by the paging message. Alternatively, the value of the counter of the first IoT device is determined based on X. The second random access resource belongs to the X random access resources.

8. The method according to claim 7, characterized in that, The second random access resource is a random access resource selected from the X random access resources based on the value of the counter of the first IoT device.

9. The method according to claim 7, characterized in that, The second random access resource is a random access resource selected from the X random access resources based on the information of the first IoT device.

10. The method according to claim 9, characterized in that, The information of the first IoT device includes at least one of the following: the timing capability of the first IoT device, the battery level of the first IoT device, the duration of the first IoT device being in the power-on state, the switching time of the first IoT device from the power-on state to the sleep state, or the switching time of the first IoT device from the power-on state to the power-off state.

11. The method according to any one of claims 7-10, characterized in that, The paging message is also used to indicate that the number of random access resources included in different first messages is X.

12. The method according to any one of claims 7-11, characterized in that, The paging message includes an indication message, which indicates whether the number of random access resources included in different first messages is the same.

13. A communication method, characterized in that, include: Sending a paging message, the paging message being used to page one or more Internet of Things (IoT) devices, the one or more IoT devices including a first IoT device; Send a first message, which is a request message to trigger the first IoT device to send a random access request. The first message is used to determine X random access resources, where X is a positive integer. The random access request message is received on a first random access resource, which is a random access resource selected from the X random access resources based on the information of the first IoT device.

14. The method according to claim 13, characterized in that, The information of the first IoT device includes at least one of the following: the timing capability of the first IoT device, the battery level of the first IoT device, the duration of the first IoT device being in the power-on state, the switching time of the first IoT device from the power-on state to the sleep state, or the switching time of the first IoT device from the power-on state to the power-off state.

15. The method according to claim 13 or 14, characterized in that, The paging message is also used to indicate that the number of random access resources included in different first messages is X.

16. The method according to any one of claims 13-15, wherein the paging message includes an indication message, the indication message being used to indicate whether the number of random access resources included in different first messages is the same.

17. The method according to any one of claims 13-16, wherein the paging message further comprises a second value, the second value being used to determine an initial value of a counter for the first IoT device, the second value being related to the total number of random access resources and X.

18. The method according to claim 17, characterized in that, The second value satisfies any of the following: Q = log2(N / X); or, or, wherein the This indicates rounding up. This indicates rounding down, where Q is the second value, N is the total number of random access resources, Q is a positive integer, and N is a positive integer greater than or equal to X.

19. A communication method, characterized in that, include: Sending a paging message, the paging message being used to page one or more Internet of Things (IoT) devices, the one or more IoT devices including a first IoT device; Send a first message, which is a request message to trigger the first IoT device to send a random access request. The first message is used to determine X random access resources, where X is a positive integer. The random access request message is received on the second random access resource. The value of the counter of the first IoT device is equal to the initial value of the counter of the first IoT device. The initial value of the counter of the first IoT device is determined by the paging message. Alternatively, the value of the counter of the first IoT device is determined based on X. The second random access resource belongs to X random access resources.

20. The method according to claim 19, characterized in that, The paging message is also used to indicate that the number of random access resources included in different first messages is X.

21. The method according to claim 19 or 20, characterized in that, The paging message includes an indication message, which indicates whether the number of random access resources included in different first messages is the same.

22. A communication device, characterized in that, Includes units or modules for implementing the method as described in any one of claims 1-21.

23. A communication device, characterized in that, The communication device includes at least one processor; wherein the at least one processor is configured to cause the communication device to perform the method of any one of claims 1-21.

24. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions or programs that, when executed, cause the computer to perform the method as described in any one of claims 1-21.

25. A computer program product, characterized in that, The computer program product includes: computer instructions or programs that, when executed by a computer, cause the computer to perform the method as described in any one of claims 1-21.

26. A chip, characterized in that, The chip includes at least one processor and an interface, the processor being configured to execute computer instructions or programs that, when run, cause the chip to perform the method as described in any one of claims 1-21.