Communication method and related apparatus

WO2026199998A1PCT designated stage Publication Date: 2026-10-01HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/138399
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-03-24
Filing Date
2025-11-28
Publication Date
2026-10-01

Smart Images

  • Figure CN2025138399_01102026_PF_FP_ABST
    Figure CN2025138399_01102026_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a communication method. A network device may indicate related information of random access resources by using a first message, wherein the first message may comprise at least one of indication information and quantity information of access resources, and the indication information may comprise first indication information or second indication information, the first indication information being used to indicate whether the first message comprises access resources, and the second indication information being used to indicate whether the first message comprises access resources and a device identifier. An A-IoT device can accurately identify, on the basis of the indication information and / or quantity information of access resources in the first message, content contained in the first message, and further select, on the basis of the first message, an access resource for random access.
Need to check novelty before this filing date? Find Prior Art

Description

Communication methods and related devices

[0001] This application claims priority to Chinese Patent Application No. 202510354119.7, filed on March 24, 2025, entitled "Communication Method and Related Apparatus", the entire contents of which are incorporated herein by reference. Technical Field

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

[0003] In Ambient Internet of Things (A-IoT) scenarios, paging messages are triggered by the network side (such as access network devices or core network devices) to instruct A-IoT devices to respond. The network side can send messages to A-IoT devices to instruct them on the resource information used to respond. However, current A-IoT communication protocols do not provide a specific solution. Summary of the Invention

[0004] In view of this, this application provides a communication method and related apparatus to solve at least some of the above-mentioned problems, and the disclosed technical solution is as follows:

[0005] Firstly, this application provides a communication method executed by an A-IoT device, comprising: receiving a first message, the first message indicating relevant information about access resources, the relevant information including at least one of indication information and quantity information of access resources, the indication information including first indication information or second indication information, the first indication information indicating whether the first message includes access resources, and the second indication information indicating whether the first message includes access resources and a first identifier; and selecting access resources according to the first message. In this way, the A-IoT device can accurately identify the content contained in the first message based on the indication information and / or the quantity information of access resources in the first message, and further select randomly accessed access resources according to the first message.

[0006] In one possible implementation of the first aspect, the first identifier includes a paging type identifier or a device identifier for an A-IoT device.

[0007] In one possible implementation of the first aspect, if the first message includes a first identifier, the first message includes access resources, which are used for the A-IoT device corresponding to the first identifier to send a reply message.

[0008] In one possible implementation of the first aspect, the first indication information includes one information bit, which is a first value indicating that the first message does not include access resources, or a second value indicating that the first message includes access resources but does not include the first identifier.

[0009] In one possible implementation of the first aspect, the second indication information includes two information bits: a third value indicating that the first message does not include access resources; a fourth value indicating that the first message includes access resources but does not include the first identifier; or a fifth value indicating that the first message includes access resources and the first identifier.

[0010] In one possible implementation of the first aspect, if the first instruction information or the second instruction information indicates that the first message does not include access resources, the first message includes third instruction information, which is used to indicate whether the first message includes the first identifier.

[0011] In one possible implementation of the first aspect, if the first indication information or the second indication information indicates that the first message does not include access resources, the first message includes information on the quantity of access resources. This allows the access resource quantity information to indicate the access resources allocated by the network device, enabling the A-IoT device to select randomly accessed access resources based on the access resource quantity information.

[0012] In one possible implementation of the first aspect, when the first indication information indicates that the first message includes access resources, the quantity information of the access resources in the first message indicates that the number of second messages is 0. The access resources are used by the A-IoT device to send a reply message, wherein the second message is a resource allocation message used to indicate the access resources. Therefore, when the first indication information indicates that the first message includes access resources and indicates that no second message will be sent, the A-IoT device can directly use the access resources in the first message to send a reply message to the network device.

[0013] In one possible implementation of the first aspect, the first message further includes fourth indication information for indicating that the first message includes the first identifier.

[0014] In one possible implementation of the first aspect, if the second indication information indicates that the first message includes access resources and a first identifier, the quantity information of access resources in the first message or the fifth indication information used to indicate whether the first message includes the first identifier is a preset reserved value; or, the first message does not include the quantity information of access resources or the fifth indication information.

[0015] In one possible implementation of the first aspect, the second indication information is the first identifier, or the second indication information is used to determine non-contention random access, or the second indication information is used to determine that the number of second messages is 0, wherein the second message is a resource allocation message used to indicate access resources.

[0016] In one possible implementation of the first aspect, the quantity information of access resources includes at least one of the quantity of time-domain resources, the quantity of frequency-domain resources, the total quantity of time-frequency resources, and the quantity of a second message, wherein the second message is a resource allocation message used to indicate the access resources. For example, when the quantity information of access resources in the first message includes the total quantity of time-frequency resources, it can directly include the numerical value of the total quantity of time-frequency resources; alternatively, it can indicate both the total quantity of frequency-domain resources and the total quantity of time-domain resources, and the A-IoT device calculates the total quantity of time-frequency resources based on the total quantity of frequency-domain resources and the total quantity of time-domain resources.

[0017] In one possible implementation of the first aspect, if the first indication information or the second indication information indicates that the first message does not include access resources, the method further includes: receiving at least one second message, the second message including time-frequency location information of the access resources; determining a target time-frequency resource for random access based on a target second message, the target second message including access resources selected based on the quantity information of access resources. In this way, the A-IoT device selects a range of access resources based on the information indicated by the first message, and further determines the specific access resource based on the second message.

[0018] In one possible implementation of the first aspect, the message type of the second message is different from that of the first message; or, the message type of the second message is the same as that of the first message, and the second message includes the access resource but does not include the first identifier. Thus, a new message type can be defined to indicate a specific access resource, or an existing message type can be used to indicate a specific access resource.

[0019] In one possible implementation of the first aspect, the first message includes a number of second messages, wherein selecting an access resource based on the first message includes: randomly selecting a target second message based on the number of second messages; selecting an access resource based on the target second message includes: randomly selecting a time-frequency domain resource from the target second messages, wherein the target second message includes at least one time-frequency domain resource.

[0020] In one possible implementation of the first aspect, the first message includes the total number of time-domain resources, wherein selecting access resources according to the first message includes: randomly selecting a time-domain access resource according to the total number of time-domain resources; determining the target time-frequency resource for random access according to the target second message includes: determining the time-domain location of the time-domain access resource according to the time-domain resource information of the target second message, wherein the target second message includes the time-domain access resource; and randomly selecting a frequency-domain location from the frequency-domain resource information of the target second message.

[0021] In one possible implementation of the first aspect, determining the time-domain location of the time-domain access resource based on the time-domain resource information of the target second message includes: determining the cumulative number of each time-domain resource indicated by the currently received second message, wherein the cumulative number is obtained by accumulating and counting the time-domain resources indicated by all second messages received after the first message is received, according to a preset time-domain order; and determining the time-domain location where the cumulative number is consistent with the randomly selected time-domain access resource as the time-domain location of the time-domain access resource.

[0022] In one possible implementation of the first aspect, the first message includes the number of frequency domain resources, wherein selecting an access resource according to the first message includes: randomly selecting a frequency domain access resource according to the number of frequency domain resources; determining the target time-frequency resource for random access according to the target second message includes: determining the frequency domain location corresponding to the frequency domain access resource based on the frequency domain resource information in the target second message, and randomly selecting a time domain location from the time domain resource information in the target second message.

[0023] In one possible implementation of the first aspect, the first message includes the number of frequency domain resources and the number of second messages. Selecting access resources based on the first message includes: randomly selecting a target second message based on the number of second messages, and randomly selecting a frequency domain access resource based on the number of frequency domain resources. Determining the target time-frequency resource for random access based on the target second message includes: randomly selecting a time domain location based on the time domain resource information in the target second message; and determining the frequency domain location corresponding to the frequency domain access resource based on the frequency domain resource information in the target second message.

[0024] In one possible implementation of the first aspect, the first message includes the total number of frequency domain resources, which is the total number of frequency domain resources indicated by at least one second message. Selecting an access resource based on the first message includes: randomly selecting a frequency domain access resource based on the total number of frequency domain resources; determining the target time-frequency resource for random access based on the target second message includes: determining the frequency domain location corresponding to the frequency domain access resource based on the frequency domain resource information in the target second message, where the target second message includes the frequency domain access resource; and randomly selecting a time domain location from the time domain resource information in the target second message.

[0025] In one possible implementation of the first aspect, determining the frequency domain location corresponding to the frequency domain access resource based on the frequency domain resource information in the target second message includes: determining the cumulative number corresponding to each frequency domain resource indicated by the currently received second message based on the frequency domain resource information in the currently received second message, wherein the cumulative number is obtained by accumulating and counting the frequency domain resources indicated by each second message received after the first message according to a preset frequency domain order; and determining the frequency domain location where the cumulative number is consistent with the frequency domain access resource as the frequency domain location of the frequency domain access resource.

[0026] In one possible implementation of the first aspect, the first message includes the total number of time-frequency resources, wherein selecting an access resource according to the first message includes: randomly selecting a time-frequency access resource based on the total number of time-frequency resources; determining the target time-frequency resource for random access according to the target second message includes: determining the time-frequency location corresponding to the time-frequency access resource based on the frequency domain resource information and time domain resource information in the target second message, wherein the target second message includes the time-frequency access resource.

[0027] In one possible implementation of the first aspect, determining the time-domain location and frequency-domain location corresponding to the time-frequency access resource based on the frequency-domain resource information and time-domain resource information in the target second message includes: determining the cumulative number of each time-frequency resource indicated by the currently received second message, wherein the cumulative number is obtained by accumulating and counting the time-frequency resources indicated by all second messages received after the first message is received, according to a preset time-frequency order; and determining the time-frequency location where the cumulative number is consistent with the time-frequency access resource as the time-frequency location of the time-frequency access resource.

[0028] Secondly, this application also provides a communication method performed by a network device, comprising: sending a first message, the first message being used to indicate relevant information about access resources, the relevant information including at least one of indication information and quantity information of access resources, the indication information including first indication information or second indication information, the first indication information being used to indicate whether the first message includes access resources, and the second indication information being used to indicate whether the first message includes access resources and a first identifier.

[0029] In one possible implementation of the second aspect, the first identifier includes a paging type identifier or a device identifier for an A-IoT device.

[0030] In one possible implementation of the second aspect, if the first message includes a first identifier, the first message includes access resources, which are used for the A-IoT device corresponding to the first identifier to send a reply message.

[0031] In one possible implementation of the second aspect, the first indication information includes one information bit, which is a first value indicating that the first message does not include access resources, or a second value indicating that the first message includes access resources and does not include the first identifier.

[0032] In one possible implementation of the second aspect, the second indication information includes two information bits: a third value indicating that the first message does not include access resources, or a fourth value indicating that the first message includes access resources but does not include the first identifier, or a fifth value indicating that the first message includes access resources and the first identifier.

[0033] In one possible implementation of the second aspect, if the first indication information or the second indication information indicates that the first message does not include access resources, the first message includes third indication information, which is used to indicate whether the first message includes the first identifier.

[0034] In one possible implementation of the second aspect, if the first instruction information or the second instruction information indicates that the first message does not include access resources, the first message includes information on the quantity of access resources.

[0035] In one possible implementation of the second aspect, when the first indication information indicates that the first message includes access resources, the quantity information of the access resources in the first message indicates that the quantity of the second message is 0, and the access resources are used for A-IoT devices to send reply messages, wherein the second message is a resource allocation message used to indicate the access resources.

[0036] In one possible implementation of the second aspect, the first message further includes fourth indication information for indicating that the first message includes a device identifier or a paging type identifier.

[0037] In one possible implementation of the second aspect, when the second indication information indicates that the first message includes access resources and the first identifier, the quantity information of access resources in the first message or the fifth indication information used to indicate whether the first message includes the first identifier is a preset reserved value; or, the first message does not include the quantity information of access resources or the fifth indication information.

[0038] In one possible implementation of the second aspect, the second indication information is a first identifier, or the second indication information is used to determine non-contention random access, or the second indication information is used to determine that the number of second messages is 0, wherein the second message is a resource allocation message used to indicate access resources.

[0039] In one possible implementation of the second aspect, the quantity information of access resources includes at least one of the quantity of time-domain resources, the quantity of frequency-domain resources, the total quantity of time-frequency resources, and the quantity of a second message, wherein the second message is a resource allocation message used to indicate access resources.

[0040] In one possible implementation of the second aspect, if the first indication information or the second indication information indicates that the first message does not include access resources, the method further includes: sending at least one second message, the second message including time-frequency location information of the access resources; and receiving a reply message sent by the A-IoT device through the access resources determined by at least one second message.

[0041] In one possible implementation of the second aspect, the message type of the second message is different from that of the first message; or, the message type of the second message is the same as that of the first message, and the second message includes access resources but does not include the first identifier.

[0042] Thirdly, this application also provides an electronic device, which includes: one or more processors, a memory, and a touch screen; the memory is used to store program code; the processor is used to run the program code, enabling the electronic device to implement the communication method as described in either the first or second aspect.

[0043] Fourthly, this application also provides a computer-readable storage medium having instructions stored thereon that, when executed on an electronic device, cause the electronic device to perform a communication method as described in either the first or second aspect.

[0044] Fifthly, this application also provides a computer program product having instructions stored thereon, which, when run on an electronic device, cause the electronic device to implement the communication method as described in either the first or second aspect.

[0045] In a sixth aspect, this application also provides a chip system, comprising: at least one processor and an interface, the interface being used to receive code instructions and transmit them to the at least one processor; the at least one processor executing the code instructions to implement the communication method of either the first aspect or the second aspect. Attached Figure Description

[0046] Figure 1 is a structural diagram of a communication system for an environmental Internet of Things provided in an embodiment of this application;

[0047] Figure 2 is a structural diagram of a communication system for an IoT environment provided in an embodiment of this application;

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

[0049] Figure 4 is a schematic diagram of a paging message data format provided in an embodiment of this application;

[0050] Figure 5 is a schematic diagram of a second message data format provided in an embodiment of this application;

[0051] Figure 6 is a flowchart of another communication method provided in an embodiment of this application;

[0052] Figure 7 is a schematic diagram of time-frequency resources allocated by a network device according to an embodiment of this application;

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

[0054] Figure 9 is a flowchart of another communication method provided in an embodiment of this application;

[0055] Figure 10 is a schematic diagram of another time-frequency resource allocated by a network device according to an embodiment of this application;

[0056] Figure 11 is a flowchart of another communication method provided in an embodiment of this application;

[0057] Figure 12 is a flowchart of another communication method provided in an embodiment of this application;

[0058] Figure 13 is a flowchart of another communication method provided in an embodiment of this application;

[0059] Figure 14 is a schematic diagram of another time-frequency resource allocated by a network device according to an embodiment of this application;

[0060] Figure 15 is a schematic diagram of the structure of a communication device provided in an embodiment of this application;

[0061] Figure 16 is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. Detailed Implementation

[0062] The terms "first," "second," and "third," etc., used in this application specification, claims, and drawings are used to distinguish different objects, not to limit a specific order.

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

[0064] Please refer to Figure 1, which shows a communication system structure diagram of an environmental Internet of Things (IoT) according to an embodiment of this application. As shown in Figure 1, the communication system includes a network device 101 and an A-IoT device 102.

[0065] The A-IoT device 102 can be used to receive excitation signals or backscattered signals. Optionally, the A-IoT device 102 may not be a power storage device and cannot independently generate or amplify signals. Optionally, the A-IoT device 102 can be a power storage device, but cannot independently generate or amplify signals. Optionally, the A-IoT device 102 can be a power storage device and can also independently generate or amplify signals. Optionally, the A-IoT device 102 can be a power storage device (capacitor) or a supercapacitor.

[0066] It should be noted that A-IoT is one possible abbreviation for Ambient IoT, and other forms of English abbreviations, such as AIoT, may also be used. This application does not limit this.

[0067] Network device 101 can provide data transmission services to A-IoT devices through a wireless interface, that is, wireless transmission can be performed between network device 101 and A-IoT devices. For example, network device 101 sends data or instructions to A-IoT device 102 through wireless communication, and A-IoT device 102 can send data to network device 101 through wireless communication.

[0068] Please refer to Figure 2, which shows a schematic diagram of the architecture of another Internet of Things (IoT) network communication system provided in an embodiment of this application. As shown in Figure 2, the communication system may include a network device 201, an intermediate node 202 (or auxiliary node), and an A-IoT device 203.

[0069] In this architecture, A-IoT device 203 communicates wirelessly with network device 202 through intermediate node 202.

[0070] The intermediate node 202 can be a relay, terminal device, integrated access and backhaul (IAB) node, repeater, or other device with relay capabilities. In this embodiment, the intermediate node 202 can be considered part of a network device. The network device 101 and intermediate node 202 in Figures 1 and 2 can be referred to as readers / writers.

[0071] In this embodiment, intermediate node 202 can provide data transmission services to A-IoT device 203 via a wireless interface, that is, intermediate node 202 provides relay function for A-IoT device 203. For example, during uplink, A-IoT device 203 can send uplink data to network device 201 through intermediate node 202, or A-IoT device 203 can directly send uplink data to network node 201. During downlink, network device 201 can send downlink data to A-IoT device 203 through intermediate node 202, or network device 201 can directly send downlink data to A-IoT device 203. In other words, intermediate node 202 can assist network device and A-IoT device in achieving wireless communication during uplink and / or downlink processes.

[0072] It should be noted that, in addition to the architecture of the A-IoT system shown in Figures 1 and 2, the architecture of the A-IoT system also includes a variety of architectures, such as A-IoT devices receiving and transmitting data through different network devices or nodes, or terminal devices directly providing wireless interfaces for A-IoT devices. All of these architectures are applicable to this invention.

[0073] In this application, network devices and intermediate nodes (e.g., terminal devices) that provide wireless interface transmission for A-IoT devices can be collectively referred to as readers.

[0074] The aforementioned terminal equipment, also known as user equipment (UE), mobile station (MS), or mobile terminal (MT), is a device that provides voice or data connectivity to a user. Specifically, it includes devices that provide voice connectivity, devices that provide data connectivity, or devices that provide both voice and data connectivity. For example, it may include handheld devices with wireless connectivity or processing devices connected to a wireless modem. This terminal equipment can communicate with the core network via a radio access network (RAN), exchanging voice or data with the RAN, or interacting with the RAN to exchange voice and data. Currently, terminal devices can include: mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices (such as smartwatches, smart bracelets, pedometers, etc.), in-vehicle devices (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed trains, etc.), virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, smart home devices (such as refrigerators, televisions, air conditioners, electricity meters, etc.), smart robots, workshop equipment, wireless terminals in autonomous driving, wireless terminals in remote surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, or wireless terminals in smart homes, and flying equipment (such as smart robots, hot air balloons, drones, airplanes), etc.

[0075] Terminal devices can also be other devices with terminal functions. For example, a terminal device can also be a device that acts as a terminal in D2D communication. Terminal devices can also include vehicle-to-everything (V2X) terminal devices, machine-to-machine / machine-type communications (M2M / MTC) terminal devices, Internet of Things (IoT) terminal devices, light UEs, reduced capability UEs (REDCAP UEs), subscriber units, subscriber stations, mobile stations, remote stations, access points (APs), remote terminals, access terminals, user terminals, user agents, or user devices, drone equipment, etc.

[0076] For example, it can include mobile phones (or "cellular" phones), computers with mobile terminal devices, portable, pocket-sized, handheld, and computer-embedded mobile devices. Examples include personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, and personal digital assistants (PDAs). It also includes limited devices, such as devices with low power consumption, limited storage capacity, or limited computing power. Examples include information sensing devices such as barcode scanners, radio frequency identification (RFID), sensors, global positioning systems (GPS), and laser scanners. In this application, terminal devices with wireless transceiver capabilities and chips that can be installed in the aforementioned terminal devices are collectively referred to as terminal devices.

[0077] It should be noted that the terminal device may be a device or apparatus with a chip, or a device or apparatus with integrated circuitry, or a chip, module or control unit in the device or apparatus shown above. This application does not limit the specific device.

[0078] The network devices in the architectures shown in Figures 1 and 2 can be access network devices or core network devices.

[0079] Access network equipment can be access network equipment for cellular systems related to the 3rd Generation Partnership Project (3GPP). For example, fourth-generation (4G) mobile communication systems or 5G mobile communication systems. Access network equipment can be access network equipment in open RAN (O-RAN or ORAN) or cloud radio access network (CRAN). Alternatively, network equipment can also be access network equipment in a communication system resulting from the integration of two or more of the above communication systems.

[0080] Network equipment can also serve as core network equipment in 5G mobile communication systems, such as: Ambient IoT function (AIoTF), access and mobility management function (AMF), application function (AF), etc.

[0081] Network equipment includes, but is not limited to: evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved NodeB, or home Node B, HNB), baseband unit (BBU), access point (AP) in wireless fidelity (WIFI) systems, macro base station, micro base station, wireless relay node, donor node, radio controller in CRAN scenarios, wireless backhaul node, transmission point (TP), or transmission and receiving point (TRP). Network equipment can also be access network equipment in 5G mobile communication systems. For example, next-generation Node B (gNB), TRP, TP in new radio (NR) systems, or one or more antenna panels (including multiple antenna panels) of a base station in a 5G mobile communication system. Alternatively, network devices can also be network nodes constituting a gNB or transmission point. Examples include centralized units (CUs), distributed units (DUs), CU-control plane (CPs), CU-user plane (UPs), or radio units (RUs). CUs and DUs can be separate entities or included in the same network element, such as a BBU. RUs can be included in radio equipment or radio units, such as remote radio units (RRUs), active antenna units (AAUs), or remote radio heads (RRHs). Alternatively, network devices can also be servers, wearable devices, vehicles, or in-vehicle equipment. For example, in V2X technology, network devices can be roadside units (RSUs).

[0082] It should be noted that the network device can be the device or apparatus shown above, or a component (e.g., a chip), module, or unit in the device or apparatus shown above; this application does not limit the specific details.

[0083] The core network (A-IoTF) sends inventory requests or commands to the reader side. These requests and commands include message type and device identifiers. If the inventory request or command does not include a device identifier, it indicates a full inventory, or a command is sent to all devices. Alternatively, an indication field can be used to specify either a full inventory or a command sent to all devices. In this case, the inventory request or command will not include the device identifier. If the inventory request or command includes a device identifier, it can include the device identifier's length (bit length or byte length), the device identifier's type (device identifier, group device identifier, or filter information), and an indication of whether the device identifier is temporary or permanent.

[0084] Please refer to Figure 3, which shows a flowchart of a communication method provided in an embodiment of this application. This method is applicable to all the above-mentioned A-IoT communication system architectures. As shown in Figure 3, the method may include the following steps:

[0085] S101, the network device sends the first message to the A-IoT device. The corresponding A-IoT device receives the first message.

[0086] In the embodiments of this application, the first message may be a paging message (also known as a paging message) of the network device paging the A-IoT device, used to instruct the A-IoT device to reply, and further used to notify the A-IoT device to send Msg1.

[0087] The first message includes information related to access resources, including information about the time-frequency resources used by A-IoT to send reply messages to network devices. For example, it may include at least one of indication information and access resource quantity information. The indication information includes either first indication information or second indication information. The first indication information indicates whether the first message includes access resources, and the second indication information indicates whether the first message includes access resources and a first identifier. The first identifier may include a paging type identifier or the device identifier of the A-IoT device.

[0088] Figure 4 shows a possible message format for a paging message. A paging message may include fields such as message type, transaction ID (or process ID), paging identifier, and resource-related information.

[0089] Message type: Indicates that the message is a paging message.

[0090] Transaction ID: Used to identify a paging request or session. Different paging requests or sessions have different transaction IDs, ensuring that each paging request or session can be uniquely identified. Transaction IDs are assigned by the network device. A network device can send multiple paging messages containing the same transaction ID to instruct A-IoT devices to perform random access. The A-IoT device only needs to reply to one of the paging messages, and the reply message includes the same transaction ID. For example, if the A-IoT device receives paging message 1 and then receives paging message 2, and both paging messages contain the same transaction ID, and the A-IoT device confirms that it has successfully replied to paging message 1, it does not need to reply to paging message 2.

[0091] Paging identifier: A-IoT device used to indicate paging by network devices, wherein the paging message may include one or more paging identifier fields.

[0092] Network devices can page one or more A-IoT devices. In this scenario, the paging identifier can include the device ID of one or more A-IoT devices. Only A-IoT devices whose device ID is the same as the device ID in the paging message need to reply.

[0093] Network devices can page multiple A-IoT devices. In this scenario, the paging identifier field may include a group ID or filtering information that maps to multiple A-IoT devices. Alternatively, the paging message may include multiple paging identifier fields, each of which includes the identifier of the A-IoT device. In other words, the paging message includes multiple device IDs. Only A-IoT devices whose device identifier matches the group ID or device identifier in the paging message need to reply. This scenario can be called group paging.

[0094] Network devices can also page all A-IoT devices. In this scenario, the paging identifier field does not include the device identifier, and all A-IoT devices that receive the paging message need to reply. This scenario can be called full paging.

[0095] The paging identifier can be a string (bit string). The paging message includes a string (bit string) containing the paging identifier. This string is not visible to the protocol layer; it is also not visible to the protocol layer if the string is not included.

[0096] Resource-related information: This field indicates the quantity of resource-related information used to determine the A-IoT device's response to the paging message. For example, this field may contain at least one of the following: the total number of time-domain resources, the number of frequency-domain resources, the number of time-frequency resources, and the number of messages indicating resource configuration (i.e., the second message). This application does not impose any special restrictions on the specific content of the resource-related information in the first message.

[0097] The A-IoT device parses the paging message and determines whether a response is needed. If a response is needed, step S102 and subsequent steps are executed. If no response is needed, the current process ends.

[0098] For example, when an A-IoT device determines that the paging identifier carried in a paging message matches its own device identifier, it decides that a response to the paging message is required. For instance, situations where the A-IoT device's device identifier matches the paging identifier in the paging message may include: the device ID carried in the paging message is the same as the A-IoT device's device ID; or, multiple device IDs mapped by the group ID in the paging message include the A-IoT device's device ID; or, the filtering information in the paging identifier field of the paging message does not include the A-IoT device's device ID.

[0099] The paging message may also include the length of the paging identifier (i.e., the length of the device ID or group ID of the A-IoT device), indication information of whether the paging identifier is included, the paging identifier type (or paging type identifier, such as paging a single device, group paging, or full paging), indication information of whether the access resources are included, or indication information of whether only the resource information is included, etc. This application does not impose any special restrictions on the information included in the paging message.

[0100] For example, including only resource information means including resource information but not including the first identifier, wherein the first identifier may include a device identifier or a paging type identifier. The device identifier may also be called a paging identifier, and may include a group ID or a device ID of at least one A-IoT device. This application does not impose any special restrictions on the name of the device identifier or paging identifier.

[0101] S102, the A-IoT device determines the access timing for random access based on the resource-related information in the first message.

[0102] The access timing mentioned in this article may include a time-domain resource, a frequency-domain resource, or a time-frequency resource. If the resource location cannot be accurately determined based on the access timing determined by the first message, the precise access resource location needs to be determined based on the second message sent by the network device.

[0103] After an A-IoT device parses the first message and determines that a reply is required, it can determine the random access type based on the information in the paging message, including non-contention random access (CFRA) and contention random access (CBRA).

[0104] For a non-contention-based random access procedure, the paging message may include the access resource for random access and the device identifier, wherein the device identifier may include the device ID of one or more A-IoT devices, and the access resource is used by one or more A-IoT devices to send a reply message (i.e., Msg1) to the network device.

[0105] In a scenario where a network device is paging an A-IoT device, the access resources can be directly indicated to the A-IoT device via a paging message, eliminating the need for a second message. In this scenario, the paging message received by the A-IoT device includes a device ID, and since it's a non-contention-based random access scenario, access can be directly performed based on the access resources indicated in the paging message. If the paging message includes multiple device IDs, and if it includes resource-related information (e.g., frequency domain resources and / or time domain resources), and the random access resource can be determined based on this information, then the resource to be replied to is determined directly based on the resource information in the paging message. If the paging message includes resource-related information but cannot accurately determine the resource, then the random access resource is determined based on the received second message.

[0106] For the contention-based random access procedure, the A-IoT device randomly selects an access opportunity (time-domain resources and / or frequency-domain resources) to perform random access based on the resource-related information in the first message. This access opportunity specifies some information about the time-frequency resources used to determine random access. Detailed information about the random access resources needs to be determined based on the access opportunity and the second message sent by the network device.

[0107] The access timing varies depending on the resource-related information in the first message. For example, if the resource-related information is the number N of second messages, the A-IoT device can randomly select one second message based on the value of N to determine the access timing, i.e., determine the resource to be randomly accessed based on the selected second message. Another example is if the resource-related information is the total number X of time-frequency resources, the A-IoT device can randomly select one resource to perform the random access process based on the value of X. Yet another example is if the resource-related information is the total number M of time-domain resources, the A-IoT device can randomly select one time-domain resource based on the value of M as the access timing. Finally, if the resource-related information is the number P of frequency-domain resources, the A-IoT device can randomly select one frequency-domain resource based on the value of P as the access timing.

[0108] S103, the network device sends at least one second message to the A-IoT device. Correspondingly, the A-IoT device receives at least one second message.

[0109] The second message is used to instruct the network device on the random access resources allocated to the A-IoT device.

[0110] In one possible implementation, the second message is a newly defined reader-to-device (R2D) message type, which can be called a resource configuration message, that is, a newly defined resource configuration message used to indicate random access resources.

[0111] Please refer to Figure 5(1), which shows a schematic diagram of a network device sending messages to an A-IoT device. The explanation is based on the example that the first message is a paging message and the second message is a resource configuration message (i.e., the newly defined R2D trigger message).

[0112] During the paging process of an A-IoT device, after sending a paging message, the network device can send multiple R2D trigger messages to indicate the resource configuration information for random access. As shown in Figure 5, after sending a paging message, the network device can send two R2D trigger messages. Each R2D trigger message carries different resource configuration information, meaning that different R2D trigger messages indicate different random access resources.

[0113] Figure 5(1) also shows a possible message format for an R2D trigger message, which may include fields such as message type, transaction ID, time domain resource information, and frequency domain resource information.

[0114] The message type indicates the type of the R2D trigger message. In this embodiment, it is used to indicate that the R2D trigger message is a resource configuration message.

[0115] The transaction ID has the same meaning and content as the transaction ID field in the paging message, so it will not be repeated here.

[0116] Time-domain resource information is used to indicate the time-domain information of random access resources allocated by network devices to A-IoT devices, such as time-domain length, time-domain offset, number of time-domain resources, etc. Its measurement unit can be chip, ms, symbol, time slot, etc.

[0117] Frequency domain resource information is used to indicate the frequency domain information of random access resources allocated by network devices to A-IoT devices, such as frequency point, frequency offset, frequency domain width, and number of frequency domain resources.

[0118] A-IoT devices can use time-domain resource information and frequency-domain configuration to determine the resource location of random access resources allocated to them by network devices.

[0119] Depending on actual business needs, R2D trigger messages may also include other fields, which will not be detailed in this application.

[0120] In another possible implementation, the second message can be an existing R2D message type, such as a paging message, which indicates detailed information about the random access resource. In this scenario, a field of the paging message can be used to indicate that the paging message is only used to determine the random access resource, that is, including resource information and omitting the paging identifier (device ID / group ID) field, such as leaving the paging identifier field blank or not including the paging identifier field in the paging message. In this case, the paging identifier field of the paging message can be the last field of the paging message. The paging identifier field can be implicit, such as being carried by a data packet, such as a service data unit (SDU) or protocol data unit (PDU), or it can be an explicit paging identifier field, such as directly filling in the device ID of the paging device.

[0121] In addition, in one possible implementation, the paging message can be indicated by the paging identifier field as being used only to determine the access resources for random access.

[0122] Figure 5(2) is a schematic diagram of another message format for paging messages. Each line in this message format is 8 bits, of which the RI field occupies 1 bit and is used to indicate whether the paging message includes resource information and does not include the paging identifier field (i.e., the PDU / SDU / device ID field in the figure). An RI field of 0 indicates that resource information is not included and only resource-related quantity information is included (e.g., total number of time-domain resources, number of frequency-domain resources, number of time-frequency resources, etc.). An RI field of 1 indicates that detailed resource information is included and the PDU / SDU / device ID field is not included.

[0123] The DI field indicates whether the PDU / SDU / device ID field is included. Furthermore, when the RI field is 0, the DI field indicates whether the PDU / SDU / device ID field is included. When the DI field indicates that the PDU / SDU / device ID field is included, this field can be a device ID or a group ID; when the DI field indicates that the PDU / SDU / device ID field is not included, it can be a full paging. When the RI field is 1, the DI field is a reserved field.

[0124] The Number field indicates the quantity of resources, such as the total number of time-domain resources, the number of frequency-domain resources, the number of time-frequency resources, or the number of second messages. Specifically, when the Number field indicates the number of second messages as 0, a RI field of 1 indicates that the paging message includes resource information. For example, a Number field of 00 and a RI field of 1 indicate that the paging message includes resource information. Whether the paging message includes a PDU / SDU / device ID field can be indicated by the DI field. If the DI field indicates the inclusion of a PDU / SDU / device ID field, and this ID includes a device ID, then the paging message includes both resource information and device ID information, confirming non-contention-based random access (CFRA). In this scenario, detailed resource information does not need to be sent via the second message.

[0125] The DL field can indicate the length of the PDU / SDU / device ID field.

[0126] In another possible implementation, as shown in Figure 5(3), the RI field can include 2 bits, that is, the RI field can include four values. For example: RI field 00 indicates that the paging message does not include resource information, that is, the resource-related information in the paging message only includes the resource-related quantity; RI field 01 indicates that the paging message includes detailed resource information, but does not include the PDU / SDU / device ID field; RI 10 indicates that it includes detailed resource information and PDU / SDU / device ID field, and may not include the number field or DI field, or these two fields can be reserved values ​​and set to 0. For example, in the scenario where a network device is paging an A-IoT device, the A-IoT device is a non-contention random access device, and the network device can directly indicate the ID of the paging device and the detailed resource information of the random access through the paging message, without having to send a second message.

[0127] The DI field is used to indicate whether the PDU / SDU / device ID field is included. Furthermore, when the RI field is 00, the DI field is used to indicate whether the PDU / SDU / device ID field is included.

[0128] The Number field is used to indicate the quantity of subsequent resources when the RI field is 01, such as the total number of time-domain resources, the number of frequency-domain resources, the number of time-frequency resources, or the number of second messages. In scenarios where the first message includes the number of second messages and any of the other three items mentioned above, Number can include more information bits, such as 3 bits. The number of information bits included in the Number field can be determined according to the needs of the actual scenario.

[0129] In addition, the R field in the message format shown in (3) of Figure 5 represents a reserved field.

[0130] S104, the A-IoT device determines the time-frequency resource location for random access based on the resource configuration information in the target second message, wherein the target second message is a second message that matches the access timing of random access.

[0131] In scenarios where a network device paging multiple A-IoT devices, the network device needs to allocate random access resources for these devices. This means the R2D trigger message needs to indicate multiple resources. In this scenario, a single R2D trigger message may not be able to indicate all allocated resources. Therefore, during a single paging process, the network device may need to send multiple R2D trigger messages to indicate the allocated random access resources. In this scenario, the A-IoT device needs to determine the R2D trigger message (i.e., the target second message) that matches the access timing. This process involves determining which R2D trigger message's resource configuration information corresponds to the access timing.

[0132] Furthermore, the A-IoT device determines the time-frequency resource information corresponding to the access timing based on the resource configuration information in the second target message.

[0133] For example, based on the total number M of time-domain resources in the paging message (e.g., M=4), the A-IoT device randomly selects the third time-domain resource to perform random access. After receiving the first R2D trigger message, the A-IoT device detects that the first R2D trigger message only includes two time-domain resources, determines that this R2D trigger message does not correspond to the access timing, and does not execute the random access procedure. After receiving the second R2D trigger message, the A-IoT device determines that the first time-domain resource indicated in the R2D trigger message is the access timing, and determines the time-domain resource location for random access based on the information of the first time-domain resource. Further, the A-IoT device randomly selects a frequency-domain resource location from the frequency-domain resource information in the R2D trigger message. The determined time-domain resource location and frequency-domain resource location are the time-frequency resource locations corresponding to random access.

[0134] S105, the A-IoT device sends a reply message on the time-frequency resource determined based on the time-frequency resource location. Correspondingly, the network device receives the reply message.

[0135] After determining the location of the randomly accessed time-frequency resource based on the paging message and the R2D trigger message, the A-IoT device sends a reply message, namely Msg1, to the network device on the resource corresponding to that time-frequency resource location.

[0136] For contention-based random access procedures, Msg1 may include a randomly generated random ID, or Msg1 may include the random ID and other upper-layer data, such as the device ID of the A-IoT device, or Msg1 may include the random ID and other upper-layer data controlled by the network device. The random ID is used by the network device to send a reply message.

[0137] After receiving Msg1 containing a random ID from the A-IoT device, the network device will reply with a confirmation message, Msg2, for any A-IoT device that has successfully accessed the network. Msg2 includes the random ID sent by the A-IoT device. If the random ID in Msg2 received by the A-IoT device is the same as the random ID sent via Msg1, the contention is resolved successfully, and the random access process continues, such as the transmission of data or commands between the A-IoT device and the network device.

[0138] For non-contention-based random access procedures, Msg1 may include upper-layer data, such as the device ID of the A-IoT device, and / or other upper-layer data. Furthermore, if the AS ID is included in the paging message, Msg1 will also include the AS ID.

[0139] After an A-IoT device sends Msg1, it may receive an acknowledgment message or a non-acknowledgment message from the network device. For A-IoT devices that successfully access the network, the network device sends Msg2 containing an acknowledgment message. For A-IoT devices that fail to receive Msg1, the network device sends Msg2 containing a non-acknowledgment message. Upon receiving Msg2, the A-IoT device re-enters the random access procedure, i.e., resends Msg1.

[0140] Subsequently, the A-IoT device can transmit its device ID to the network device through a random access procedure or data transmission procedure. That is, the A-IoT device sends a third message containing its own device ID to the network device, such as Msg3. Furthermore, the network device can also transmit a fourth message to the A-IoT device, such as an acknowledgment or non-acknowledgment message to Msg3, which can be called Msg4.

[0141] The communication method provided in this embodiment involves a network device indicating relevant information about random access resources via a first message (i.e., a paging message) and indicating the time-frequency location of the random access resources via at least one second message (i.e., an R2D trigger message or a paging message). The A-IoT device determines the access timing for random access based on the first message, identifies a target second message matching the access timing, and further determines the time-frequency location of the random access resources based on the target second message. Finally, a random access procedure is executed on the identified random access resources. Therefore, this method achieves improved efficiency by using a first message to indicate relevant control information for random access resources and a second message to indicate the time-frequency location of the random access resources, allowing the A-IoT device to determine the resources for random access and execute the random access procedure.

[0142] The following sections will introduce the different implementation methods of determining random access resources corresponding to different contents of resource-related information in the first message.

[0143] (1) The number of second messages included in the first message

[0144] In this scenario, the A-IoT device can randomly select one as the time-domain access opportunity based on the number of second messages, and further determine the random access resources that match the time-domain access opportunity based on the second messages.

[0145] Please refer to Figure 6, which shows a flowchart of another communication method provided in an embodiment of this application. The method may include the following steps:

[0146] S201, the network device sends a first message to the A-IoT device, the first message including the number of second messages. Correspondingly, the A-IoT device receives the first message.

[0147] This embodiment uses the example of a paging message as the first message and an R2D trigger message (i.e., a resource configuration message) as the second message for illustration.

[0148] The resource-related information field in the paging message includes the number of R2D trigger messages that the paging network device needs to send this time.

[0149] S202, the A-IoT device determines the timing of time-domain access based on the number of second messages.

[0150] The A-IoT device parses the resource-related information in the received first message to obtain the number of second messages, and randomly selects a second message based on the number as the message to determine the time-domain resource to be accessed randomly. The time-domain access timing is any time-domain resource indicated by the second message.

[0151] For example, the first message indicates that two second messages will be sent during this paging process. The A-IoT device randomly selects the second second message to perform random access, that is, it determines the time and frequency location of the random access resource according to the resource configuration information indicated by the second message.

[0152] S203, the network device sends at least one second message. Correspondingly, the A-IoT device receives at least one second message.

[0153] This step is the same as the implementation process of S103 in Figure 3, and will not be described again here.

[0154] S204, the A-IoT device determines the location of the randomly accessed time-frequency resources based on the resource configuration information in the second message corresponding to the time-domain access timing.

[0155] After receiving the second message, the A-IoT device determines whether the currently received second message is a second message that matches the timing of access in the time domain. If so, it randomly selects a resource from the resources indicated by the second message as the resource for random access.

[0156] The resource configuration information in the second message includes time-domain resource information and frequency-domain resource information. The time-domain resource information indicates the resource allocation information of the time-domain resources allocated by the network device, such as the time-domain length and time-domain offset of each time-domain resource. The frequency-domain resource information indicates the resource allocation information of the frequency-domain resources allocated by the network device, such as the frequency point, frequency offset, and frequency bandwidth of each frequency-domain resource.

[0157] For example, in the example shown in Figure 7, the network device indicates the allocated resources through two R2D trigger messages. R2D trigger message 1 indicates 4 frequency domain resources and 2 time domain resources, for a total of 8 resources. R2D trigger message 2 indicates 3 frequency domain resources and 2 time domain resources, for a total of 6 resources.

[0158] The A-IoT device randomly selects the second R2D trigger message to perform random access. When the A-IoT device receives the first R2D trigger message, it confirms that the message was not selected by itself and will not perform random access. Upon receiving the second R2D trigger message, the A-IoT device confirms that it selected the message, parses it to obtain the resource configuration information, and randomly selects one frequency domain location and one time domain location from the resources indicated by this information as the time-frequency resource locations for random access. For example, the A-IoT device randomly selects the third frequency domain resource and the second time domain resource, i.e., resource #5 indicated by the second R2D trigger message, as the random access resource.

[0159] In one exemplary embodiment, the A-IoT device can maintain a counter to record the number of received second messages. Each time the A-IoT device receives a second message, it triggers the counter to update its count value until the count value matches the selected number of second messages. This counter can be a positive counter or a negative counter; this application does not limit its use.

[0160] Taking a countdown counter as an example, if the A-IoT device randomly selects the second second message to perform random access, the initial value of the counter is 2. After a second message is received, the counter is decremented by 1. When the counter is 0, the access opportunity is determined. That is, the A-IoT device can perform random access according to the resources in the second message, and further randomly select an access opportunity according to the resource information allocated in the second message.

[0161] S205, the A-IoT device sends a reply message on the time-frequency resource determined based on the time-frequency resource location.

[0162] The A-IoT device sends a reply message to the paging message on the resource corresponding to the time-frequency resource location determined in S204, which is Msg1 of the random access procedure.

[0163] The communication method provided in this embodiment involves the network device indicating the number of second messages sent in this paging process via a first message. The A-IoT device randomly selects a time-domain access opportunity based on the number of second messages, and further determines the corresponding time-frequency resources for random access based on the second messages corresponding to the time-domain access opportunity. Finally, the A-IoT device sends a reply message to the network device using these resources.

[0164] (2) The first message includes the total number of time-domain resources.

[0165] In this scenario, the A-IoT device can randomly select one of the total number of time-domain resources indicated by the first message to determine the time-domain access opportunity, and further determine the resources that match the time-domain access opportunity based on the second message.

[0166] Please refer to Figure 8, which shows a flowchart of another communication method provided in an embodiment of this application. In this embodiment, the first message indicates time-domain related information, such as the total number of time-domain resources. As shown in Figure 8, the method may include the following steps:

[0167] S301, the network device sends a first message, which includes the total number of time-domain resources. Correspondingly, the A-IoT device receives the first message.

[0168] S302, the A-IoT device determines the timing of random access based on the total number of time-domain resources in the first message.

[0169] Based on the total number of time-domain resources in the first message, the A-IoT device randomly selects one time-domain resource as the time-domain access opportunity. For example, if the first message indicates that the total number of time-domain resources is 4, the A-IoT device randomly selects the 3rd time-domain resource as the time-domain access opportunity.

[0170] For example, the time-domain resources allocated by the network device to the A-IoT device can be numbered in a forward (earliest to latest) order. The network device and the A-IoT device can agree on the encoding method of the resources in advance to ensure that the time-domain resources determined by the network device and the A-IoT device based on the same number are the same.

[0171] S303, the network device sends at least one second message. Correspondingly, the A-IoT device receives at least one second message.

[0172] S304, the A-IoT device determines whether the currently received second message is a second message that matches the timing of the time domain access; if so, it executes S305; if not, it continues to execute S304 after receiving the next second message.

[0173] Upon receiving a second message, the A-IoT device determines whether the received second message matches the timing of the time-domain access. The A-IoT device can determine whether the second message contains the time-domain resource it selected based on the time-domain resource information within the message. If it does, the second message is determined to match the time-domain access timing; otherwise, it is determined not to match the time-domain access timing.

[0174] For example, a paging message indicates that the network device has allocated four time-domain resources. An A-IoT device can randomly select one of these four time-domain resources as its access resource. Assume the A-IoT device selects the third time-domain resource for access. As shown in Figure 7, the network device uses two R2D trigger messages to indicate the allocated resources. The first R2D trigger message includes two time-domain resources, and the second R2D trigger message also includes two time-domain resources. When the A-IoT device receives the first R2D trigger message, it determines that the message includes two time-domain resources, which is less than the sequence number of the randomly selected time-domain resource, and therefore does not execute the random access procedure. When the A-IoT device receives the second R2D trigger message, it determines that the message includes two time-domain resources, and identifies the first time-domain resource in the R2D trigger message as the access opportunity, thus confirming random access based on the resource indicated by the second R2D trigger message.

[0175] In one exemplary embodiment, the A-IoT device may maintain a counter to record the cumulative number of time-domain resources indicated by all received second messages. When the A-IoT device receives a second message and determines the number of indicated time-domain resources, it triggers the counter to update its count value until the count value matches the selected time-domain resource sequence number. This counter may be a positive counter or a negative counter; this application does not limit its use.

[0176] Taking a countdown timer as an example, if an A-IoT device randomly selects the third time domain resource for random access, the initial value of the counter is 3. As the A-IoT device determines each time domain in the forward order according to the received second message, the counter is decremented by 1. When the counter is 0, the time domain is determined to be the access time domain of the A-IoT device.

[0177] S305, the A-IoT device determines the time domain resource location that matches the time domain access timing based on the time domain resource information in the second message, and determines the frequency domain resource location based on the frequency domain resource information in the second message.

[0178] The A-IoT device determines the time domain resource location of the time domain access opportunity based on the time domain resource information in the second message that matches the time domain access opportunity, and further randomly selects a frequency domain resource location from the second message.

[0179] For example, as shown in Figure 7, the A-IoT device determines the first time-domain resource in the second R2D trigger message as the time-domain access opportunity, and then randomly selects one of the three frequency-domain resources indicated by the R2D trigger message (such as the second frequency-domain resource) as the frequency-domain resource for random access. Furthermore, based on the time-domain resource location and the frequency-domain resource location, it determines that resource #1 indicated by the second R2D trigger message is the random access resource.

[0180] S306, A-IoT devices send reply messages for resources determined based on time-domain resource location and frequency-domain resource location.

[0181] A-IoT devices determine random access resources based on time-domain and frequency-domain resource locations, and send a response message on that resource, which is Msg1 of the random access process.

[0182] (3) The first message includes the number of second messages and the total number of time-domain resources.

[0183] In this scenario, the A-IoT device can determine the timing of time-domain access based on the number of second messages or the total number of time-domain resources. The specific determination process is the same as that described in methods (1) and (2) above, and will not be repeated here. Further, a frequency domain resource is randomly selected for random access based on the second message corresponding to the timing of time-domain access.

[0184] The communication method provided in this embodiment involves a network device indicating the total number of allocated time-domain resources via a first message. The A-IoT device randomly selects a time-domain resource as the access opportunity based on this total number of resources. Further, it determines the location of the time-domain resource corresponding to the access opportunity based on the time-domain resource information in a second message, and determines the location of the randomly accessed frequency-domain resource based on the frequency-domain resource information in the second message. Finally, it determines the randomly accessed resource based on both the time-domain and frequency-domain resource locations. A reply message is then sent to the network device using the randomly accessed resource.

[0185] (4) The first message includes the number of frequency domain resources indicated by each second message.

[0186] This indication method is applicable to scenarios where the number of frequency domain resources indicated by each second message is the same (i.e., the number of frequency domain resources indicated by each second message sent after the first message is the same). In this scenario, the A-IoT device randomly selects one as the frequency domain access opportunity based on the number of frequency domain resources indicated by the first message, and further determines the frequency domain resources that match the frequency domain access opportunity based on the second message. This scheme can be applied to scenarios where a second message is sent after the first message.

[0187] As shown in Figure 9, the communication method in this scenario may include the following steps:

[0188] S401, the network device sends a first message, which includes the number of frequency domain resources indicated by each second message. Correspondingly, the A-IoT device receives the first message.

[0189] The network device allocates all frequency domain resources to randomly accessed A-IoT devices, which are then evenly distributed among the second messages for indication. The first message only indicates the number of frequency domain resources indicated by one of the second messages. As shown in Figure 10(1), the number of frequency domain resources indicated by R2D trigger message 1 and R2D trigger message 2 are both 4, so the number of frequency domain resources in the first message is 4.

[0190] Furthermore, as shown in Figure 10(2), the four frequency domain resource locations indicated by R2D trigger message 1 and R2D trigger message 2 may be different, but the number of frequency domain resources indicated by the two messages is the same. Moreover, there is no restriction on the number of time domain resources indicated by each R2D trigger message.

[0191] S402, the A-IoT device determines the timing of random access to the frequency domain based on the number of frequency domain resources in the first message.

[0192] A-IoT devices can randomly select a frequency domain resource to determine the frequency domain access timing.

[0193] For example, as shown in Figure 10(1), taking the example of a network device indicating random access resources through two R2D trigger messages, R2D trigger message 1 indicates 4 frequency domain resources and 2 time domain resources, for a total of 8 resources. R2D trigger message 2 indicates 4 frequency domain resources and 1 time domain resource, for a total of 4 resources. The A-IoT device can randomly select one of these 4 frequency domain resources as the frequency domain access opportunity. For example, the A-IoT device randomly selects the 3rd frequency domain resource as the frequency domain access opportunity.

[0194] Of course, this method can also be applied to scenarios where only a second message is sent after the first message. The A-IoT device determines which frequency domain to access through the first message and randomly selects a time domain for access through the second message.

[0195] S403, the network device sends at least one second message. Correspondingly, the A-IoT device receives at least one second message.

[0196] S404, the A-IoT device determines the location of the frequency domain resource corresponding to the frequency domain access timing based on the frequency domain information in the first second message received, and randomly selects a time domain resource from the first second message.

[0197] The number of frequency domain resources indicated by each second message sent by the network device is the same, and in this scenario, the A-IoT device does not know how many second messages the network device will send. Therefore, the A-IoT device can default to selecting the first second message to determine the random access resource. Furthermore, the A-IoT device can randomly select a time domain resource for access based on the time domain resource information in the R2D trigger message.

[0198] For example, in the example shown in (1) of Figure 10, the A-IoT device randomly selects the third frequency domain resource as the frequency domain access opportunity. In this example, the A-IoT device can also randomly select the first R2D trigger message to perform random access.

[0199] For example, an A-IoT device can maintain a counter to record the number of frequency domain resources indicated by the current second message. After receiving the first second message, the A-IoT device updates the counter value as each frequency domain resource is determined in a frequency domain-down (or frequency domain-up) order, until the counter value matches the selected frequency domain resource number. This counter can use either positive or negative counting. The frequency domain-down (or frequency domain-up) numbering rule only applies to the numbering of frequency domain resources indicated by the same second message.

[0200] For example, taking a countdown as an example, if an A-IoT device randomly selects the third frequency domain resource as the access opportunity, the initial value of the counter is 3. When the count value of the counter is 0, the frequency domain resource is determined to be the access frequency domain of the A-IoT device.

[0201] S405, the A-IoT device sends a reply message on the time-frequency resources determined based on the frequency domain resource location and the time domain resource location.

[0202] The communication method provided in this embodiment involves a network device indicating the number of frequency domain resources allocated for this paging via a first message. The A-IoT device randomly selects a frequency domain resource as the access opportunity based on this number, further randomly selects a second message, and then randomly selects a time domain resource from the time domain resource information in the second message. A reply message is then sent to the network device using both the frequency domain resource and the time domain resource.

[0203] (5) The first message includes the number of second messages and the number of frequency domain resources included in each second message.

[0204] This indication method can be applied to scenarios where one or more second messages follow the first message. In this scenario, the A-IoT device can determine the frequency domain resources for random access based on the number of frequency domain resources in each second message, and further determine the time domain resources for random access based on the number of second messages. As shown in Figure 11, the communication method in this scenario may include the following steps:

[0205] In step S501, the network device sends a first message, which includes the quantity of frequency domain resources and the quantity of second-order resources. Correspondingly, the A-IoT device receives the first message.

[0206] S502, the A-IoT device determines the frequency domain access timing based on the quantity of frequency domain resources, and determines the time domain access timing based on the quantity of the second message.

[0207] After parsing the first message to obtain the number of frequency domain resources and the number of second messages, the A-IoT device can randomly select a frequency domain as the frequency domain access opportunity based on the number of frequency domain resources, and randomly select a second message as the time domain access opportunity based on the number of second messages.

[0208] For example, the first message indicates that this paging sends two R2D trigger messages, each R2D trigger message indicating four frequency domain resources. The A-IoT device selects the third frequency domain resource to perform random access, and the A-IoT device randomly selects the first R2D trigger message to perform random access.

[0209] S503, the network device sends at least one second message. Correspondingly, the A-IoT device receives at least one second message.

[0210] S504, the A-IoT device determines whether the currently received second message matches the timing of the time domain access; if yes, it executes S505; if no, it continues to execute S504 after receiving the next second message.

[0211] Each time an A-IoT device receives a second message, it determines whether the second message is a randomly accessed second message. For example, if the first message indicates that two R2D trigger messages are sent for this paging, and the A-IoT device randomly selects the first second message for random access, after the A-IoT device receives the first R2D trigger message, it determines that the R2D trigger message is the message corresponding to the time-domain access timing, and then executes subsequent steps.

[0212] S505, the A-IoT device determines the frequency domain resource location corresponding to the frequency domain access timing based on the frequency domain resource information in the second message, and randomly selects a time domain resource location based on the time domain resource information.

[0213] For example, as shown in Figure 10, the R2D trigger message indicates four frequency domain resources, and the third frequency domain resource is selected as the frequency domain access opportunity, while the second R2D trigger message is selected as the time domain access opportunity. After receiving the second R2D trigger message, the A-IoT device determines that the third frequency domain resource indicated by the frequency domain resource information is the frequency domain resource location, and randomly selects a time domain resource as the time domain resource location based on the time domain resource information.

[0214] For example, an A-IoT device can maintain two counters, where the first counter is used to record the number of second messages received. The operation of this counter is the same as that of the counter in the embodiment shown in Figure 6, and will not be described again here.

[0215] The second counter is used to record the number of frequency domain resources determined according to the second message. The working process of this counter is the same as that in the embodiment shown in Figure 9, and will not be described again here.

[0216] If the A-IoT device randomly selects the third frequency domain resource as the frequency domain access opportunity, and selects the second R2Dtrigger message as the time domain access opportunity at any time, then the initial value of the first counter is 3, and the initial value of the second counter is 2. When the first counter is 0 and the second counter is also 0, it is determined that the time and frequency resource is a randomly accessed resource.

[0217] S506, A-IoT devices send reply messages on resources determined based on frequency domain resource location and time domain resource location.

[0218] The communication method provided in this embodiment involves a network device indicating the number of frequency domain resources allocated for this paging and the number of second messages to be sent via a first message. The A-IoT device randomly selects a frequency domain resource based on the number of frequency domain resources, randomly selects a second message based on the number of second messages, and randomly selects a time domain resource from the time domain resource information in the second message. The A-IoT device then sends a reply message to the network device based on the frequency domain resources and the time domain resources.

[0219] (6) The first message includes the total number of frequency domain resources.

[0220] The difference from the embodiment described in Figure 9 above is that the first message in this embodiment indicates the total number of frequency domain resources included in all the second messages. For example, as shown in (2) of Figure 10, the total number of frequency domain resources in the first message is 5.

[0221] In this embodiment, the A-IoT device can randomly select one frequency domain access opportunity based on the total number of frequency domain resources indicated by the first message, and further determine the time domain access opportunity based on the second message containing the frequency domain access opportunity, and finally determine the randomly accessed time and frequency resources.

[0222] As shown in Figure 12, the communication method of this embodiment may include the following steps:

[0223] In step S510, the network device sends a first message, which includes the total number of frequency domain resources, i.e., the total number of all frequency domain resources indicated by all subsequent second messages. Correspondingly, the A-IoT device receives the first message.

[0224] S520: The A-IoT device determines the timing of random access to the frequency domain based on the total number of frequency domain resources in the first message.

[0225] A-IoT devices can randomly select one frequency domain resource as the access opportunity based on the total number of frequency domain resources indicated in the first message.

[0226] S530, the network device sends at least one second message. Correspondingly, the A-IoT device receives at least one second message.

[0227] S540, the A-IoT device determines whether the currently received second message contains a frequency domain access opportunity. If so, it executes S550; otherwise, it receives the next second message and continues to execute S540.

[0228] The A-IoT device determines whether the frequency domain resources indicated by the currently received second message include a randomly selected frequency domain access opportunity. Specifically, the A-IoT device determines whether the cumulative number of frequency domain resources indicated by all second messages received after receiving the first message has reached the selected frequency domain resource sequence number.

[0229] For example, an A-IoT device can maintain a counter to record the total number of frequency domain resources indicated by all received second messages. Each time the A-IoT device receives a second message, it determines the indicated frequency domain resources one by one in a frequency domain-down (or frequency domain-up) order. Each time a frequency domain resource is determined, the counter is updated until the counter's count matches the selected frequency domain resource's sequence number. This counter can use either forward or backward counting. The frequency domain-down (or frequency domain-up) numbering rule only applies to the numbering of frequency domain resources indicated by the same second message.

[0230] For example, the first message indicates that a total of 6 frequency domain resources have been allocated. The A-IoT device randomly selects the 5th frequency domain resource for access. The initial value of the counter is 5. After receiving the first second message, the A-IoT device determines the indicated frequency domain resources in a downward (or upward) order according to the frequency domain resource information it carries. The counter is decremented by 1 for each frequency domain resource determined. If the first second message only contains 3 time domain resources, the device continues to receive the second second message and updates the counter in the same way until the 3rd frequency domain resource in the second second message is determined. When the count value is 0, the frequency domain resource is determined to be the frequency domain resource corresponding to the frequency domain access time.

[0231] S550: The A-IoT device randomly selects a time-domain resource location based on the time-domain resource information in the second message.

[0232] After determining the frequency domain resources for random access, a time domain resource is randomly selected from the time domain resources in the second message used to determine the frequency domain resources for random access.

[0233] S560, A-IoT devices send response messages on time-frequency resources determined based on frequency domain resource location and time domain resource location.

[0234] (7) The first message includes the total number of frequency domain resources and the number of the second message.

[0235] In this scenario, the A-IoT device can determine the access timing based on either the total number of frequency domain resources or the number of second messages, and further determine the specific access resources based on the second message containing the access timing.

[0236] In this process, the A-IoT device can determine the frequency domain access timing for random access based on the total number of frequency domain resources, and further determine the time domain resources for random access based on the second message containing the frequency domain access timing. This process is the same as the implementation process in (6) above, and will not be repeated here.

[0237] Alternatively, the A-IoT device can determine the time-domain access timing for random access based on the number of second messages, and further determine the frequency-domain resources for random access based on the second message containing the time-domain access timing. This process is the same as the first implementation process described above (1), and will not be repeated here.

[0238] (8) The first message includes the total number of time and frequency resources.

[0239] In this scenario, the A-IoT device randomly selects one of the time-frequency resources as a random access resource based on the total number of time-frequency resources indicated by the first message, and further determines the time-frequency location of the resource based on the second message. The first message can directly include the total number of time-frequency resources, or it can include both the number of time-domain resources and the number of frequency-domain resources. The A-IoT device can then calculate the total number of video resources based on the product of the time-domain resources and the frequency-domain resources.

[0240] As shown in Figure 13, the communication method in this scenario may include the following steps:

[0241] S601, the network device sends a first message, which includes the total number of time-frequency resources. Correspondingly, the A-IoT device receives the first message.

[0242] In one possible implementation, the first message directly includes the total number of time-domain resources. For example, in the example shown in Figure 13, the network device indicates a total of 14 resources through two R2D trigger messages, so the total number of time-frequency resources in the first message is 14.

[0243] In another possible implementation, the resources indicated by multiple second messages are equally distributed, meaning each second message indicates the same number of time-frequency resources. In this scenario, the total number of time-frequency resources in the first message can be the number of second messages and the number of resources indicated by each second message. The A-IoT device can obtain the total number of time-frequency resources allocated to the network device based on the number of second messages and the number of resources indicated by each message. For example, the network device indicates a total of 16 resources through two R2D trigger messages, with each R2D trigger message indicating 4 frequency domain resources and 2 time domain resources, for a total of 8 resources.

[0244] S602, A-IoT devices determine the timing of random access based on the total number of time-frequency resources.

[0245] Based on the total number of time-frequency resources indicated in the first message, the A-IoT device randomly selects one time-frequency resource to perform random access.

[0246] In one exemplary embodiment, multiple time-frequency resources allocated to a network device can be numbered according to a preset numbering rule. The network device and the A-IoT device use the same preset encoding rule, thereby ensuring that the network device and the A-IoT device can map the same number to the same resource.

[0247] For example, the preset numbering rule could be to first proceed from top to bottom in the frequency domain, and then from earliest to latest in the time domain (i.e., frequency domain downwards, time domain forwards), as shown in Figure 14. R2D trigger message 1 indicates 8 resources, including two time domains #0 and #1, and four frequency domains #0 to #3. Therefore, the four frequency domain resources in time domain #0 are first encoded as resources #0 to #3; then the four frequency domain resources in time domain #1 are encoded as #4 to #7. Similarly, the 6 resources indicated by R2D trigger message 2 are encoded according to the same encoding rule. The three frequency domain resources in time domain #2 are encoded as #8 to #10, and the three frequency domain resources in time domain #3 are encoded as #11 to #13.

[0248] S603, the network device sends at least one second message. Correspondingly, the A-IoT device receives at least one second message.

[0249] S604, the A-IoT device determines whether the currently received second message matches the time-frequency access timing; if yes, it executes S605; if no, it continues to execute S604 after receiving the next second message.

[0250] After receiving an R2D trigger message, the A-IoT device determines whether the number of resources indicated by the R2D trigger message is greater than the resource number corresponding to the randomly selected time-frequency access opportunity. If so, it determines that the R2D trigger message matches the time-frequency access opportunity; otherwise, it determines that the R2D trigger message does not match the time-frequency access opportunity.

[0251] For example, as shown in Figure 14, the A-IoT device selects the 5th time-frequency resource (i.e., resource #4) to perform random access. When the A-IoT device receives the 1st R2D trigger message, it determines that the message includes 8 time-frequency resources based on the time-domain resource information and frequency-domain resource information, which is greater than the selected 5th sequence number. It then determines that the R2D trigger message is a message that matches the time-frequency access timing.

[0252] For example, the A-IoT device maintains a counter to record the cumulative number of time-frequency resources determined based on all received second messages. Upon receiving a second message, the A-IoT device determines the time-frequency resource indicated by the second message in a frequency-domain-down, time-domain-forward order. Each time a time-frequency resource is determined, the counter is updated, and the count stops when it matches the sequence number of the time-frequency resource selected by the A-IoT device. This counter can be either a forward or backward count.

[0253] Taking the countdown as an example, if the A-IoT device selects the 5th time-frequency resource to access, the initial value of the counter is 5. The counter is decremented by 1 after each time-frequency resource is determined. When the counter is 0, the time-frequency resource is determined to be a randomly accessed resource.

[0254] S605, the A-IoT device determines the time-domain resource location and frequency-domain resource location corresponding to the time-frequency access timing based on the time-domain resource information and frequency-domain resource information in the second message.

[0255] According to preset coding rules, A-IoT devices determine the time-domain resource location and frequency-domain resource location corresponding to the selected time-frequency access opportunity based on the time-domain resource information and frequency-domain resource information of the second message.

[0256] For example, taking the example of an A-IoT device selecting the 5th time-frequency resource to perform random access, after receiving the 1st R2D trigger message, the A-IoT device determines the time-domain resource location and frequency-domain resource location corresponding to the 5th time-frequency resource based on the time-domain resource information and frequency-domain resource information in the message and according to the preset coding rules.

[0257] S606, A-IoT devices send reply messages on resources determined based on frequency domain resource location and time domain resource location.

[0258] (9) The first message may include the number of second messages and the total number of time and frequency resources.

[0259] In this scenario, the A-IoT device determines the timing of time-domain access based on the number of second messages or the total number of time-frequency resources, and further determines the resources for random access based on the second messages received subsequently.

[0260] For example, the A-IoT device randomly selects one as the time-domain access opportunity based on the number of second messages, further determines the time-domain resources of the time-domain access opportunity based on the time-domain resource information in the second message, and determines the frequency-domain resources of the random access based on the frequency-domain resource information. This process is the same as the first method (1) above, and will not be repeated here.

[0261] Alternatively, the A-IoT device can determine the random access time and frequency timing based on the total number of time and frequency resources, and further determine the time and frequency resources corresponding to the access time and frequency timing based on the second message received subsequently. This process is the same as the method (8) above, and will not be repeated here.

[0262] The communication method provided in this embodiment involves a network device indicating the total number of time-frequency resources allocated for this paging process via a first message. The A-IoT device randomly selects a time-frequency access opportunity based on the total number of time-frequency resources, and determines the location of the time-frequency resource corresponding to that access opportunity based on the time-domain resource information and frequency-domain resource information in a second message that matches the access opportunity. Finally, a reply message is sent on the resource determined based on the time-frequency resource location.

[0263] Figure 15 is a schematic diagram of a communication device provided in an embodiment of this application. The communication device may be a terminal device, a device in a terminal device (such as a chip), or a device that can be used in conjunction with a terminal device; or the communication device may be a network device, a device in a network device (such as a chip), or a device that can be used in conjunction with a network device.

[0264] As shown in Figure 15, the communication device may include a transceiver module 101 and a processing module 102. Specifically, the processing module 102 is used to process data, which may be data received by the transceiver module 101, and the processed data may also be sent by the transceiver module 101.

[0265] The processing module 102 is used to execute the processing flow of the terminal device or network device in the above-described communication method embodiments. For other possible implementations of the communication device, please refer to the aforementioned descriptions of the terminal device or network device functions, which will not be repeated here.

[0266] Figure 16 is a schematic diagram of the structure of a terminal device provided in an embodiment of this application.

[0267] As shown in Figure 16, the terminal device may include a processor, an external memory interface, internal memory, a universal serial bus (USB) interface, a charging management module, a power management module, a battery, a first antenna, a second antenna, a mobile communication module, a wireless communication module, an audio module, a speaker, a receiver, a microphone, a headphone jack, a sensor module, buttons, a motor, an indicator, a camera, a display screen, and a subscriber identification module (SIM) card interface, etc. The sensor module may include pressure sensors, gyroscope sensors, barometric pressure sensors, magnetic sensors, accelerometers, proximity sensors, proximity sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc.

[0268] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the terminal device. In other embodiments, the terminal device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0269] A processor may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0270] The wireless communication function of a terminal device can be implemented through a first antenna, a second antenna, a mobile communication module, a wireless communication module, a modem processor, and a baseband processor.

[0271] The first and second antennas are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal device can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

[0272] Mobile communication modules can provide solutions for wireless communication applications, including 2G / 3G / 4G / 5G / 6G, on terminal devices.

[0273] A modem processor may include a modulator and a demodulator. The modulator modulates a low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to a baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to an application processor. The application processor outputs sound signals through an audio device (not limited to a speaker, receiver, etc.) or displays images or videos on a display screen. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor and housed within the same device as a mobile communication module or other functional modules.

[0274] In this embodiment of the application, the baseband processor can execute the process steps executed on the terminal device side in the above communication method embodiment.

[0275] Wireless communication modules can provide solutions for wireless communication applications on terminal devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies.

[0276] In some embodiments, the first antenna of the terminal device is coupled to the mobile communication module, and the second antenna is coupled to the wireless communication module, enabling the terminal device to communicate with the network and other devices through wireless communication technology.

[0277] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments. The aforementioned storage medium includes various media capable of storing program code, such as flash memory, portable hard disk, read-only memory, random access memory, magnetic disk, or optical disk.

[0278] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope 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 executed by an A-IoT device, characterized in that, include: Receive a first message, the first message being used to indicate relevant information about access resources, the relevant information including at least one of indication information and quantity information of access resources, the indication information including first indication information or second indication information, the first indication information being used to indicate whether the first message includes access resources, the second indication information being used to indicate whether the first message includes access resources and a first identifier; Select access resources based on the first message.

2. The method according to claim 1, characterized in that, The first identifier includes a paging type identifier or a device identifier for an A-IoT device.

3. The method according to claim 1 or 2, characterized in that, If the first message includes the first identifier, the first message includes access resources, which are used for the A-IoT device corresponding to the first identifier to send a reply message.

4. The method according to any one of claims 1-3, characterized in that, The first indication information includes one information bit, which is a first value indicating that the first message does not include access resources, or a second value indicating that the first message includes access resources but does not include the first identifier.

5. The method according to any one of claims 1-3, characterized in that, The second indication information includes two information bits: a third value indicating that the first message does not include access resources, a fourth value indicating that the first message includes access resources but does not include the first identifier, or a fifth value indicating that the first message includes access resources and the first identifier.

6. The method according to any one of claims 1-5, characterized in that, If the first indication information or the second indication information indicates that the first message does not include access resources, the first message includes third indication information, which is used to indicate whether the first message includes a first identifier.

7. The method according to any one of claims 1-5, characterized in that, If the first indication information or the second indication information indicates that the first message does not include access resources, the first message includes the quantity information of the access resources.

8. The method according to any one of claims 1-4, characterized in that, When the first indication information indicates that the first message includes access resources, the quantity information of the access resources in the first message indicates that the quantity of the second message is 0. The access resources are used for A-IoT devices to send reply messages, wherein the second message is a resource allocation message used to indicate the access resources.

9. The method according to claim 8, characterized in that, The first message also includes fourth indication information for indicating that the first message includes the first identifier.

10. The method according to any one of claims 1-3, characterized in that, If the second indication information indicates that the first message includes access resources and a first identifier, the quantity information of access resources in the first message or the fifth indication information used to indicate whether the first message contains the first identifier is a preset reserved value; or, the first message does not include the quantity information of access resources or the fifth indication information.

11. The method according to any one of claims 1-3 and 10, characterized in that, The second indication information is the first identifier, or the second indication information is used to determine non-contention random access, or the second indication information is used to determine that the number of second messages is 0, wherein the second message is a resource allocation message used to indicate access resources.

12. The method according to any one of claims 1-11, characterized in that, The quantity information of the access resources includes at least one of the following: the quantity of time-domain resources, the quantity of frequency-domain resources, the total quantity of time-frequency resources, and the quantity of the second message, wherein the second message is a resource allocation message used to indicate the access resources.

13. The method according to any one of claims 1, 2, 4-7, 12, characterized in that, If the first indication information or the second indication information indicates that the first message does not include access resources, the method further includes: Receive at least one second message, the second message including time-frequency location information of the access resource; The target time-frequency resource for random access is determined according to the second target message, wherein the second target message includes the access resource selected based on the quantity information of the access resource.

14. The method according to any one of claims 1, 2, 4-7, 12, and 13, characterized in that, The message type of the second message is different from that of the first message; or, The message type of the second message is the same as that of the first message, and the second message includes access resources but does not include the first identifier.

15. The method according to claim 13, characterized in that, The first message includes the number of the second messages, wherein selecting access resources based on the first message includes: Randomly select a target second message based on the quantity of the second message; The step of selecting access resources based on the target second message includes: Randomly select a time-frequency domain resource from the target second message, wherein the target second message includes at least one time-frequency domain resource.

16. The method according to claim 13, characterized in that, The first message includes the total number of time-domain resources, wherein selecting an access resource according to the first message includes: randomly selecting a time-domain access resource according to the total number of time-domain resources; The step of determining the target time-frequency resources for random access based on the target second message includes: Based on the time-domain resource information of the target second message, the time-domain location of the time-domain access resource is determined, wherein the target second message includes the time-domain access resource; Randomly select a frequency domain location from the frequency domain resource information of the target second message.

17. The method according to claim 16, characterized in that, Determining the time-domain location of the time-domain access resource based on the time-domain resource information of the target second message includes: Determine the cumulative number of each time-domain resource indicated by the currently received second message. The cumulative number is obtained by accumulating and counting the time-domain resources indicated by all second messages received after the first message is received, according to a preset time-domain order. The time-domain location where the cumulative quantity matches the randomly selected time-domain access resource is determined as the time-domain location of the time-domain access resource.

18. The method according to claim 13, characterized in that, The first message includes the number of frequency domain resources, wherein selecting an access resource according to the first message includes: randomly selecting a frequency domain access resource according to the number of frequency domain resources; The step of determining the target time-frequency resources for random access based on the target second message includes: The frequency domain location corresponding to the frequency domain access resource is determined based on the frequency domain resource information in the target second message, and a time domain location is randomly selected from the time domain resource information in the target second message.

19. The method according to claim 13, characterized in that, The first message includes the number of frequency domain resources and the number of the second message, wherein selecting access resources based on the first message includes: Based on the quantity of the second message, a target second message is randomly selected, and based on the quantity of the frequency domain resources, a frequency domain access resource is randomly selected. The step of determining the target time-frequency resources for random access based on the target second message includes: Based on the temporal resource information in the target second message, a temporal location is randomly selected; Based on the frequency domain resource information in the target second message, the frequency domain location corresponding to the frequency domain access resource is determined.

20. The method according to claim 13, characterized in that, The first message includes the total number of frequency domain resources, which is the total number of frequency domain resources indicated by the at least one second message. Selecting an access resource according to the first message includes: randomly selecting a frequency domain access resource based on the total number of frequency domain resources. The step of determining the target time-frequency resources for random access based on the target second message includes: Based on the frequency domain resource information in the target second message, the frequency domain location corresponding to the frequency domain access resource is determined, and the target second message includes the frequency domain access resource; Randomly select a time domain location from the time domain resource information of the target second message.

21. The method according to claim 20, characterized in that, Based on the frequency domain resource information in the target second message, determine the frequency domain location corresponding to the frequency domain access resource, including: Based on the frequency domain resource information in the currently received second message, determine the cumulative number corresponding to each frequency domain resource indicated by the currently received second message. The cumulative number is obtained by accumulating and counting the frequency domain resources indicated by each second message received after the first message according to a preset frequency domain order. The frequency domain location where the cumulative quantity matches the frequency domain access resource is determined as the frequency domain location of the frequency domain access resource.

22. The method according to claim 13, characterized in that, The first message includes the total number of time-frequency resources, wherein selecting an access resource according to the first message includes: randomly selecting a time-frequency access resource based on the total number of time-frequency resources; The step of determining the target time-frequency resources for random access based on the target second message includes: Based on the frequency domain resource information and time domain resource information in the second target message, the time-frequency location corresponding to the time-frequency access resource is determined, and the second target message includes the time-frequency access resource.

23. The method according to claim 22, characterized in that, The step of determining the time-domain location and frequency-domain location corresponding to the time-frequency access resource based on the frequency-domain resource information and time-domain resource information in the target second message includes: Determine the cumulative number of each time-frequency resource indicated by the currently received second message. The cumulative number is obtained by accumulating and counting the time-frequency resources indicated by all second messages received after the first message is received, according to a preset time-frequency order. The time-frequency position that matches the cumulative quantity of the time-frequency access resource is determined as the time-frequency position of the time-frequency access resource.

24. A communication method, executed by a network device, characterized in that, include: Send a first message, which is used to indicate relevant information about access resources. The relevant information includes at least one of indication information and quantity information of access resources. The indication information includes first indication information or second indication information. The first indication information is used to indicate whether the first message includes access resources, and the second indication information is used to indicate whether the first message includes access resources and a first identifier.

25. The method according to claim 24, characterized in that, The first identifier includes a paging type identifier or a device identifier for an A-IoT device.

26. The method according to claim 24 or 25, characterized in that, If the first message includes the first identifier, the first message includes access resources, which are used for the A-IoT device corresponding to the first identifier to send a reply message.

27. The method according to any one of claims 24-26, characterized in that, The first indication information includes one information bit, which is either a first value indicating that the first message does not include access resources, or a second value indicating that the first message includes access resources but does not include the first identifier.

28. The method according to any one of claims 24-26, characterized in that, The second indication information includes two information bits: a third value indicating that the first message does not include access resources, a fourth value indicating that the first message includes access resources but does not include the first identifier, or a fifth value indicating that the first message includes access resources and the first identifier.

29. The method according to any one of claims 24-28, characterized in that, If the first indication information or the second indication information indicates that the first message does not include access resources, the first message includes third indication information, which is used to indicate whether the first message includes the first identifier.

30. The method according to any one of claims 24-28, characterized in that, If the first indication information or the second indication information indicates that the first message does not include access resources, the first message includes the quantity information of the access resources.

31. The method according to any one of claims 24-27, characterized in that, When the first indication information indicates that the first message includes access resources, the quantity information of the access resources in the first message indicates that the quantity of the second message is 0. The access resources are used for A-IoT devices to send reply messages, wherein the second message is a resource allocation message used to indicate the access resources.

32. The method according to claim 31, characterized in that, The first message also includes fourth indication information for indicating that the first message includes the first identifier.

33. The method according to any one of claims 24-26, characterized in that, If the second indication information indicates that the first message includes access resources and a first identifier, the quantity information of access resources in the first message or the fifth indication information used to indicate whether the first message contains the first identifier is a preset reserved value; or, the first message does not include the quantity information of access resources or the fifth indication information.

34. The method according to any one of claims 24-26 and 33, characterized in that, The second indication information is the first identifier, or the second indication information is used to determine non-contention random access, or the second indication information is used to determine that the number of second messages is 0, wherein the second message is a resource allocation message used to indicate access resources.

35. The method according to any one of claims 24-34, characterized in that, The quantity information of the access resources includes at least one of the following: the quantity of time-domain resources, the quantity of frequency-domain resources, the total quantity of time-frequency resources, and the quantity of the second message, wherein the second message is a resource allocation message used to indicate the access resources.

36. The method according to any one of claims 24, 25, 27-30, and 35, characterized in that, If the first indication information or the second indication information indicates that the first message does not include access resources, the method further includes: Send at least one second message, the second message including the time-frequency location information of the access resource; Receive a reply message sent by an A-IoT device through the access resource determined by the at least one second message.

37. The method according to any one of claims 24, 25, 27-30, 35, and 36, characterized in that, The message type of the second message is different from that of the first message; or, The message type of the second message is the same as that of the first message, and the second message includes access resources but does not include the first identifier.

38. An electronic device, characterized in that, The electronic device includes: one or more processors, a memory, and a touch screen; the memory is used to store program code; the processor is used to run the program code, causing the electronic device to implement the communication method as described in any one of claims 1 to 37.