Communication method, communication apparatus, and storage medium
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2026-01-15
- Publication Date
- 2026-08-13
Smart Images

Figure CN2026072884_13082026_PF_FP_ABST
Abstract
Description
Communication methods, communication devices and storage media
[0001] This application claims priority to Chinese Patent Application No. CN202510140223.6, filed on February 7, 2025, entitled "Communication Method, Communication Device and Storage Medium", 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, communication device, and storage medium. Background Technology
[0003] With the popularization of machine-type communication (MTC) and Internet of Things (IoT) communication, more and more IoT devices have been deployed in people's lives.
[0004] IoT devices and readers randomly connect by sending triggering messages: Message 1 (Msg1), Message 2 (Msg2), and Message 3 (Msg3). The Msg1 message sent by the IoT device includes a first identifier. After sending Msg1, the IoT device continuously monitors Msg2. If Msg2 contains the first identifier sent by the IoT device, the IoT device considers that the reader has received its Msg1 and determines that Msg2 is the corresponding Msg2 sent by itself. Then, the IoT device can send Msg3.
[0005] However, if an IoT device misses the trigger message and Msg2, it may cause a collision with Msg3, thus preventing it from connecting correctly. Summary of the Invention
[0006] This application provides a communication method, communication device, and storage medium for reducing the collision probability of Msg3, thereby improving the success rate of access.
[0007] This application provides a communication method, optionally executed by a first device. The first device can be a terminal device, a component or apparatus applied to the terminal device (e.g., a processor, circuit, chip, or chip system), or a logic module or software capable of implementing all or part of the terminal device's functions. In this method, the first device sends a first message at a first random access time. The first message is used for a random access request and includes a first identifier. The first device receives a second message, which includes first information and a second identifier. The first information is used to indicate a second random access time. If the first random access time is the same as the second random access time, and the first identifier is the same as the second identifier, the first device sends a third message, where the second message is a response to the first message, and the third message is a response to the second message.
[0008] Based on the first aspect of this application, by carrying first information in the second message, the first device can determine whether the second message is a response message corresponding to the first message based on the random access timing, thereby avoiding collisions of the third message (i.e., Msg3) and improving inventory efficiency.
[0009] In some possible implementations, the first information is used to indicate the second random access timing, including:
[0010] The first piece of information is used to indicate N;
[0011] The first random access opportunity is the Mth random access opportunity, and the second random access opportunity is the Nth random access opportunity;
[0012] or,
[0013] The first random access opportunity is the random access opportunity on the Mth time domain unit, and the second random access opportunity is the random access opportunity on the Nth time domain unit;
[0014] If N and M are the same, then the first random access opportunity is the same as the second random access opportunity.
[0015] In the embodiments of this application, by indicating a set of random access opportunities, the first device can determine whether the first random access opportunity is in the set of random access opportunities, thereby the first device can determine whether the second message is a response message to the first message, and then send the third message to complete the random access.
[0016] In some possible implementations, N corresponds to the number of times the trigger information is sent, and M corresponds to the number of times the trigger information is received. The trigger information is used to trigger the sending of the first message at the first random access time.
[0017] Since N corresponds to the number of times the trigger information is sent and M corresponds to the number of times the trigger information is received, the first device can determine whether the trigger information corresponding to the second message is the same trigger information used to trigger the sending of the first message at the first random access time.
[0018] In some possible implementations, the first information is used to indicate the time-frequency unit in which the first random access opportunity occurs;
[0019] If the time-frequency unit where the first random access opportunity is located is the same as the time-frequency unit where the second random access opportunity is located, then the first random access opportunity and the second random access opportunity are the same.
[0020] In some possible implementations, the first information is used to indicate the second random access timing, including:
[0021] The first information is used to indicate G, which satisfies the following formula: G = (N-1) * j + i;
[0022] The second random access opportunity is the i-th random access opportunity in the N-th group of random access opportunities, and a group of random access opportunities includes j random access opportunities.
[0023] By indicating the specific time-frequency position of the second random access opportunity, the possibility of msg3 colliding can be reduced, thereby improving the success rate of random access and thus improving inventory efficiency.
[0024] In some possible implementations, the first access opportunity is the kth random access opportunity in the Mth group of random access opportunities. If (M-1)*j+k=G, then the first random access opportunity is the same as the second random access opportunity.
[0025] By determining whether the specific time-frequency position of the first random access opportunity is the same as that of the second random access opportunity, the possibility of msg3 colliding can be reduced as much as possible, thereby improving the success rate of random access and thus improving inventory efficiency.
[0026] In some possible implementations, the first information is used to indicate the second random access timing, including:
[0027] The first piece of information is used to indicate H, which satisfies the following formula: H = (N-1) * y + x;
[0028] The second random access opportunity is located in the x-th time domain unit of the Nth group of random access opportunities, and a group of random access opportunities includes y time domain units.
[0029] By indicating the specific time-domain unit where the second random access opportunity occurs, the probability of msg3 colliding can be reduced, thereby improving the success rate of random access and thus improving inventory efficiency.
[0030] In some possible implementations, the first access opportunity is located in the z-th time domain unit of the M-th random access opportunity. If (M-1)*y+z=G, then the first random access opportunity is the same as the second random access opportunity.
[0031] By determining whether the specific time domain unit of the first random access opportunity is the same as that of the second random access opportunity, the possibility of msg3 collision can be reduced as much as possible, thereby improving the success rate of random access and thus improving inventory efficiency.
[0032] In some possible implementations, the first information is used to indicate the second random access timing, including:
[0033] The first piece of information is used to indicate I, which satisfies the following formula: I = (N-1) * q + p;
[0034] The second random access opportunity is located on the p-th frequency domain unit in the Nth group of random access opportunities, and a group of random access opportunities includes q frequency domain units.
[0035] By indicating the specific frequency domain unit where the second random access opportunity occurs, the probability of collisions with msg3 can be reduced, thereby increasing the success rate of random access and thus improving inventory efficiency.
[0036] In some possible implementations, the first access opportunity is located on the r-th frequency domain unit in the M-th group of random access opportunities. If (M-1)*q+r=I, then the first random access opportunity is the same as the second random access opportunity.
[0037] By determining whether the specific frequency domain unit of the first random access opportunity is the same as that of the second random access opportunity, the possibility of msg3 collision can be reduced as much as possible, thereby improving the success rate of random access and thus improving inventory efficiency.
[0038] A second aspect of this application provides a communication method. Optionally, the execution subject of this method may be a second device, which may be a network device, a component or device applied to the network device (e.g., a processor, circuit, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of the network device (e.g., a central unit (CU), a distributed unit (DU), or a radio unit (RU)). In this method, the second device receives a first message at a first random access opportunity. The first message is used for a random access request and includes a first identifier. The second device sends a second message, which is a response message to the first message. The second message includes first information and a second identifier, whereby the first information is used to indicate a second random access opportunity. The second device monitors a third message, which is a response message to the second message.
[0039] In some possible implementations, the first information is used to indicate the second random access timing, including:
[0040] The first piece of information is used to indicate N;
[0041] The first random access opportunity is the Mth random access opportunity, and the second random access opportunity is the Nth random access opportunity;
[0042] or,
[0043] The first random access opportunity is the random access opportunity on the Mth time domain unit, and the second random access opportunity is the random access opportunity on the Nth time domain unit;
[0044] If N and M are the same, then the first random access opportunity is the same as the second random access opportunity.
[0045] In some possible implementations, N corresponds to the number of times the trigger information is sent, and M corresponds to the number of times the trigger information is received. The trigger information is used to trigger the sending of the first message at the first random access time.
[0046] In some possible implementations, the first information is used to indicate the time-frequency unit in which the first random access opportunity occurs;
[0047] If the time-frequency unit where the first random access opportunity is located is the same as the time-frequency unit where the second random access opportunity is located, then the first random access opportunity and the second random access opportunity are the same.
[0048] In some possible implementations, the first information is used to indicate the second random access timing, including:
[0049] The first information is used to indicate G, which satisfies the following formula: G = (N-1) * j + i;
[0050] The second random access opportunity is the i-th random access opportunity in the N-th group of random access opportunities, and a group of random access opportunities includes j random access opportunities.
[0051] In some possible implementations, the first access opportunity is the kth random access opportunity in the Mth group of random access opportunities. If (M-1)*j+k=G, then the first random access opportunity is the same as the second random access opportunity.
[0052] In some possible implementations, the first information is used to indicate the second random access timing, including:
[0053] The first piece of information is used to indicate H, which satisfies the following formula: H = (N-1) * y + x;
[0054] The second random access opportunity is located in the x-th time domain unit of the Nth group of random access opportunities, and a group of random access opportunities includes y time domain units.
[0055] In some possible implementations, the first access opportunity is located in the z-th time domain unit of the M-th random access opportunity. If (M-1)*y+z=G, then the first random access opportunity is the same as the second random access opportunity.
[0056] In some possible implementations, the first information is used to indicate the second random access timing, including:
[0057] The first piece of information is used to indicate I, which satisfies the following formula: I = (N-1) * q + p;
[0058] The second random access opportunity is located on the p-th frequency domain unit in the Nth group of random access opportunities, and a group of random access opportunities includes q frequency domain units.
[0059] In some possible implementations, the second access opportunity is located on the r-th frequency domain unit in the M-th group of random access opportunities. If (M-1)*q+r=I, then the first random access opportunity is the same as the second random access opportunity.
[0060] A third aspect of this application provides a communication device, which may be the first device described above. The communication device includes modules or units for performing the methods described in the first aspect and any possible implementation thereof.
[0061] A fourth aspect of this application provides a communication device, which may be the second device described above. The communication device includes modules or units for performing the methods described in the second aspect and any possible implementation thereof.
[0062] A fifth aspect of this application provides a communication device, which may be a first device or a second device, or a component applied to the first device or the second device (e.g., a processor, circuit, chip, or chip system), or a logic module or software (e.g., CU, DU, or RU) capable of implementing all or part of the functions of the first device or the second device. The communication device includes:
[0063] A processor for executing a program that causes the communication device to perform the method as described in the first or second aspect and any possible implementation thereof.
[0064] Optionally, the communication device further includes a memory, and the processor is coupled to the memory; the memory is used to store programs.
[0065] The sixth aspect of this application provides a chip or chip system including at least one processor and a communication interface, the communication interface and at least one processor being interconnected via a line, the at least one processor being used to run computer programs or instructions to perform the communication method described in any of the possible implementations of the first or second aspect.
[0066] The communication interface in the chip can be an input / output interface, pins, or circuits.
[0067] In one possible implementation, the chip or chip system described above in this application further includes at least one memory storing instructions. The memory can be an internal storage unit of the chip, such as a register or cache, or it can be a storage unit of the chip itself, such as a read-only memory or random access memory.
[0068] The seventh aspect of this application provides a communication system, including a communication device that performs the first aspect and any possible implementation thereof, and a communication device that performs the second aspect and any possible implementation thereof.
[0069] An eighth aspect of this application provides a computer-readable storage medium including instructions that, when executed on a computer, cause the computer to perform the method described in the first aspect above, or cause the computer to perform the method described in the second aspect above.
[0070] The ninth aspect of this application provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the method described in the first aspect above, or cause the computer to perform the method described in the second aspect above. Attached Figure Description
[0071] Figures 1 to 3 are schematic diagrams of network architecture embodiments in this application;
[0072] Figures 4 to 11 are schematic diagrams of embodiments of the communication method in this application;
[0073] Figures 12 to 15 are schematic diagrams of embodiments of the communication device in this application. Detailed Implementation
[0074] First, a brief description of the network architecture on which the embodiments of this application are based:
[0075] Please refer to Figure 1, which is a possible, non-limiting system schematic diagram. As shown in Figure 1, the communication system 10 includes a radio access network (RAN) 100, a core network (CN) 200, and an Internet 300. RAN 100 includes at least one RAN node (110a and 110b in Figure 1, collectively referred to as 110) and at least one terminal (120a-120j in Figure 1, collectively referred to as 120). RAN 100 may also include other RAN nodes, such as wireless relay devices and / or wireless backhaul devices (not shown in Figure 1). Terminal 120 is wirelessly connected to RAN node 110. RAN node 110 is wirelessly or wired connected to core network 200. The core network equipment in core network 200 and RAN node 110 in RAN 100 can be different physical devices, or they can be the same physical device integrating core network logical functions and radio access network logical functions.
[0076] RAN 100 can be a cellular system related to the 3rd Generation Partnership Project (3GPP), such as a 4G, 5G, or future mobile communication system. RAN 100 can also be an open-radio access network (ORAN), a cloud-radio access network (CRAN), or a Wi-Fi system. RAN 100 can also be a communication system that integrates two or more of the above systems.
[0077] RAN node 110, sometimes also referred to as access network equipment, RAN entity, or access node, constitutes part of the communication system and is used to help terminals achieve wireless access. Multiple RAN nodes 110 in communication system 10 can be of the same type or different types. In some scenarios, the roles of RAN node 110 and terminal 120 are relative. For example, network element 120i in Figure 1 can be a helicopter or drone, which can be configured as a mobile base station. For terminals 120j accessing RAN 100 through network element 120i, network element 120i is a base station; but for base station 110a, network element 120i is a terminal. RAN node 110 and terminal 120 are sometimes both referred to as communication devices. For example, network elements 110a and 110b in Figure 1 can be understood as communication devices with base station functions, and network elements 120a-120j can be understood as communication devices with terminal functions.
[0078] In one possible scenario, access network equipment includes, but is not limited to: evolved Node B (eNodeB), radio network controller (RNC), Node B (NB), base station (BS), 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 a Wi-Fi system, macro base station, micro base station, wireless relay node, donor node, radio controller in a CRAN scenario, wireless backhaul node, transmission point (TP), or transmission and reception point (TRP), etc., and can also be access network equipment in a 5G mobile communication system. For example, a next-generation NodeB (gNB), TRP, or TP in an NR system; or one or a group of antenna panels (including multiple antenna panels) in a base station in a 5G mobile communication system; or, access network equipment can also be network nodes constituting a gNB or transmission point. Examples include centralized units (CU), distributed units (DU), centralized unit control planes (CU-CP), centralized unit user planes (CU-UP), or radio units (RU), etc. CUs and DUs can be separate or included in the same network element, such as a BBU. RUs can be included in radio equipment or radio units. For example, in remote radio units (RRU), active antenna units (AAU), or remote radio heads (RRH). Alternatively, access network equipment can also be servers, wearable devices, vehicles, or in-vehicle equipment, etc. For example, the access network equipment in V2X technology can be a roadside unit (RSU).It should be understood that the aforementioned TRP can be a device or module located on the network side of the aforementioned communication system and possessing corresponding communication functions. The TRP typically contains a communication module, circuit, or chip that performs the corresponding communication functions. The TRP can also be configured with program instructions for the corresponding communication functions.
[0079] It should be noted that CU (or CU-CP and CU-UP), DU, or RU may have different names in different systems, but those skilled in the art will understand their meaning. For example, in an open radio access network (ORAN) system, CU can also be called an open centralized unit (O-CU) or an open CU, DU can also be called an open-distributed unit (O-DU), CU-CP can also be called an open-centralized unit control plane (O-CU-CP), CU-UP can also be called an open-centralized unit user plane (O-CU-UP), and RU can also be called an open radio unit (O-RU). This application does not limit the specific names. Any of the units CU, CU-CP, CU-UP, DU, and RU in this application can be implemented through software modules, hardware modules, or a combination of software and hardware modules.
[0080] Optionally, for network elements in the ORAN system, each network element can implement the protocol layer functions shown in Table 1 below.
[0081] Table 1
[0082] It should be noted that in the ORAN system, the access network equipment in this application can be one or more network elements listed in Table 1 above.
[0083] The architecture of the CU and DU of the access network equipment is described below. An access network equipment includes at least one CU and at least one DU. Optionally, the access network equipment may also include at least one RU.
[0084] The following description uses an access network device consisting of one CU and one DU as an example. The CU has some core network functions and can include CU-CP and CU-UP. The CU and DU can be configured according to the protocol layer functions of the wireless network they implement. For example, the CU may be configured to implement the functions of the Packet Data Convergence Protocol (PDCP) layer and above (e.g., RRC and / or SDAP layers). The DU may be configured to implement the functions of protocol layers below the PDCP layer (e.g., RLC, MAC, and / or physical (PHY) layers). Alternatively, the CU may be configured to implement the functions of protocol layers above the PDCP layer (e.g., RRC and / or SDAP layers), and the DU may be configured to implement the functions of protocol layers below the PDCP layer (e.g., RLC, MAC, and / or PHY layers).
[0085] When a CU includes CU-CP and CU-UP, CU-CP is used to implement the control plane functions of the CU, and CU-UP is used to implement the user plane functions of the CU. For example, when a CU is configured to implement the functions of the PDCP layer, RRC layer, and SDAP layer, CU-CP is used to implement the RRC layer functions and the control plane functions of the PDCP layer, and CU-UP is used to implement the SDAP layer functions and the user plane functions of the PDCP layer.
[0086] The CU-CP can interact with network elements in the core network used to implement control plane functions. These network elements can be access and mobility function (AMF) network elements, such as the AMF in a 5G system. The AMF is responsible for mobility management in the mobile network, such as terminal device location updates, terminal device registration with the network, and terminal device handover.
[0087] CU-UP can interact with network elements in the core network used to implement user plane functions. These network elements, such as the user plane function (UPF) in a 5G system, are responsible for forwarding and receiving data in terminal devices.
[0088] The above CU and DU configurations are merely examples; the functions of the CU and DU can be configured as needed. For instance, the CU or DU can be configured to have more protocol layer functions, or only some protocol layer processing functions. For example, some RLC layer functions and protocol layer functions above the RLC layer can be placed in the CU, while the remaining RLC layer functions and protocol layer functions below the RLC layer can be placed in the DU. Furthermore, the functions of the CU or DU can be divided according to service type or other system requirements. For example, based on latency, functions that require low latency can be placed in the DU, while functions that do not require low latency can be placed in the CU.
[0089] DU and RU can cooperate to implement the functions of the PHY layer. A DU can be connected to one or more RUs. The functions of DU and RU can be configured in various ways depending on the design. For example, a DU can be configured to implement baseband functions, and an RU can be configured to implement mid-RF functions. Another example is that a DU can be configured to implement higher-level functions in the PHY layer, and an RU can be configured to implement lower-level functions in the PHY layer, or to implement both lower-level and RF functions. Higher-level functions in the physical layer can include a portion of the physical layer's functions that are closer to the MAC layer, while lower-level functions in the physical layer can include another portion of the physical layer's functions that are closer to the mid-RF side.
[0090] It should be noted that the access network equipment can be a device or apparatus with a chip, or a device or apparatus with integrated circuits, or a chip, chip system, module, or control unit in the aforementioned device or apparatus; this application does not impose any specific limitation. It should also be noted that in this application, the term "access network equipment" can refer to the access network equipment itself, or to the chip, functional module, or integrated circuit within the access network equipment that performs the method provided in this application; this application does not impose any specific limitation.
[0091] In another possible scenario, multiple RAN nodes collaborate to assist the terminal in achieving wireless access, with each RAN node performing a portion of the base station's functions. For example, RAN nodes can be central units (CUs), distributed units (DUs), CU-CPs, CU-UPs, or radio units (RUs). CUs and DUs can be configured separately or included in the same network element, such as a baseband unit (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).
[0092] In different systems, CU (or CU-CP and CU-UP), DU, or RU may have different names, but those skilled in the art will understand their meaning. For example, in an ORAN system, CU can also be called O-CU (open CU), DU can also be called O-DU, CU-CP can also be called O-CU-CP, CU-UP can also be called O-CU-UP, and RU can also be called O-RU. For ease of description, this application uses CU, CU-CP, CU-UP, DU, and RU as examples. Any of the units among CU (or CU-CP, CU-UP), DU, and RU in this application can be implemented through software modules, hardware modules, or a combination of software and hardware modules.
[0093] A terminal can be a device or module that accesses the aforementioned communication system and has corresponding communication functions. A terminal can also be called a terminal device, user equipment (UE), mobile station, mobile terminal, etc. Terminals can be widely used in various scenarios, such as device-to-device (D2D), vehicle-to-everything (V2X) communication, machine-type communication (MTC), Internet of Things (IoT), virtual reality, augmented reality, industrial control, autonomous driving, telemedicine, smart grids, smart homes, smart offices, smart wearables, intelligent transportation, smart cities, etc. Terminals can be mobile phones, tablets, computers with wireless transceiver capabilities, wearable devices, vehicles, drones, helicopters, airplanes, ships, robots, robotic arms, smart home devices, transportation vehicles with wireless communication capabilities, communication modules, etc. The embodiments of this application do not limit the device form of the terminal. Terminals typically contain communication modules, circuits, or chips that perform corresponding communication functions. Terminals can also be configured with program instructions for performing corresponding communication functions.
[0094] As shown in Figure 2, taking network equipment as the base station and terminal equipment as ambient IoT (A-IoT) devices as an example, A-IoT can be referred to as passive IoT devices or passive tags, without specific limitations here. A-IoT devices can harvest energy from the surrounding environment, such as solar energy and radio frequency energy, and convert it into electrical energy for the device's use. This energy harvesting method is typically characterized by low power consumption and high efficiency, enabling the device to operate stably in unattended environments or environments where power is difficult to provide.
[0095] In the architecture shown in Figure 2, A-IoT devices and base stations communicate directly. Communication between the base station and the A-IoT device includes A-IoT data and / or signaling. The base station sending signals to the A-IoT device and the base station receiving signals from the A-IoT device can be different base stations.
[0096] In the communication process, the base station can be understood as a reader that communicates with the device. Therefore, the downlink communication link between the base station and the A-IoT device can also be called a reader-to-device (R2D) link or R2D communication. The uplink communication link between the A-IoT device and the base station is called a device-to-reader (D2R) link or D2R communication.
[0097] As shown in Figure 3, taking the network device as the base station and the terminal device as the A-IoT device as an example, the A-IoT device communicates directly with the intermediate node. The intermediate node transfers the communication information between the base station and the A-IoT device. The intermediate node can be a relay node, an integrated access and backhaul (IAB) node, a terminal node, or a repeater—any node that enables A-IoT communication. When the intermediate node communicates with the base station, it can receive information from the base station and forward it to the A-IoT device; conversely, when communicating with the A-IoT device, it can receive information from the A-IoT device and forward it to the base station.
[0098] Furthermore, the embodiments of this application can also be applied to other future communication technologies. The network architecture and service scenarios described in this application are for the purpose of more clearly illustrating the technical solutions of this application, and do not constitute a limitation on the technical solutions provided in this application. As those skilled in the art will understand, with the evolution of network architecture and the emergence of new service scenarios, the technical solutions provided in this application are also applicable to similar technical problems.
[0099] The following is a brief introduction to the concepts that may be involved in this application.
[0100] In this embodiment, the IoT device and the reader / writer perform random access by sending R2D triggering messages, message 1 (Msg1), message 2 (Msg2), and message 3 (Msg3). Specifically, the reader / writer sends R2D triggering messages. After receiving the triggering messages, the IoT device decrements a counter by 1. IoT devices with a counter of 0 can perform random access based on the triggering messages. The IoT device sends Msg1, which includes a first identifier. Msg1 is the first message in the random access process, sent by the IoT device to the reader / writer. Msg1 can be used to identify the randomly accessing IoT device and to trigger the reader / writer to send Msg2. After sending Msg1, the IoT device will continuously monitor Msg2, which is the response message to Msg1. It will demodulate and decode each received Msg2. If Msg2 contains the first identifier sent by the IoT device, the IoT device will consider that the reader has received its own Msg1 and determine that the Msg2 is the corresponding Msg2 sent by itself. Then the IoT device can send Msg3.
[0101] However, an IoT device might miss its corresponding Msg2 and also miss the next set of R2D trigger messages. Therefore, when an IoT device receives Msg2, if Msg2 contains the first identifier, the IoT device might mistakenly identify it as its own Msg2, send the corresponding Msg3, and believe it has successfully connected. However, this Msg2 is actually a response message to Msg1 sent by another device, resulting in a Msg3 collision. The reader receives the collapsing Msg3 at the corresponding time-frequency location and cannot interpret the correct information, while both devices will believe they have successfully connected.
[0102] Based on this, this application provides a method. Please refer to Figure 4, which is a schematic diagram of a communication method provided in this application. The method shown in Figure 4 is executed interactively by a first device and a second device. The first device can be an IoT device, or a component or device applied to an IoT device (e.g., a processor, circuit, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of an IoT device. The second device can be a network device, or a component or device applied to a network device (e.g., a processor, circuit, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of a network device (e.g., a central unit (CU), a distributed unit (DU), or a radio unit (RU)). This method can be applied to the system architecture shown in Figure 2 or Figure 3. The method includes:
[0103] 401. The first device sends a first message to the second device during the first random access opportunity. Correspondingly, the second device receives the first message during the first random access opportunity.
[0104] The first message is used for a random access request. The first message can also be called Msg1. The naming of this message is not limited in this embodiment. The first message includes a first identifier, which can be a random number (RN) or an identifier (ID). The specific meaning is not limited here.
[0105] For example, a random number whose first identifier is 16 bits is called RN16.
[0106] It should be noted that the first device sends the first message based on trigger information. That is, when the first device receives trigger information and the counter is 0, the first device sends the first message. At this time, assuming the first device receives M trigger messages, the first device sends the first message at the Mth random access time.
[0107] In a wireless communication system, a random access opportunity is a specific time window within which a terminal device attempts to access the network. Within this window, the terminal device can send a random access request to establish a connection. During the random access process, the terminal device sends the access request within the designated random access opportunity. This request consumes certain time and frequency resources, i.e., it occupies the corresponding time-frequency unit. Therefore, this time-frequency unit can also be referred to as the time-frequency unit occupied by the random access opportunity, or the time-frequency unit corresponding to the random access opportunity.
[0108] A set of random access opportunities can occupy one or more time domain units. Alternatively, a set of random access opportunities can occupy X time domain units, where X is an integer greater than or equal to 1. This set of random access opportunities corresponds to the triggering information received by the first device.
[0109] Each time-domain unit has Y random access opportunities, occupying Y frequency-domain units, where Y is an integer greater than or equal to 1. That is, a set of random access opportunities comprises X*Y random access opportunities. For example, as shown in Figure 5, a set of random access opportunities occupies X time-domain units in the time domain and Y time-domain units in the frequency domain. Figure 5 shows the time-frequency units occupied by a set of random access opportunities when X = 1. In practical applications, X can be greater than 1; the specific value is not limited here.
[0110] In one possible implementation, the first device sending a first message to the second device during a first random access opportunity can be understood as: the first device sending the first message to the second device during one of the random access opportunities in the Mth group of random access opportunities. Alternatively, it can be said that the first device sends the first message to the second device during the Mth group of random access opportunities. Furthermore, it can be said that the first random access opportunity belongs to the Mth group of random access opportunities, or that the first random access opportunity is part of the Mth group of random access opportunities.
[0111] In another possible implementation, the first device sending a first message to the second device at the first random access opportunity can be understood as: the first device sending the first message to the second device at one of the random access opportunities in the Mth time domain unit. Alternatively, it can be said that the first device sends the first message to the second device in the Mth time domain unit. Furthermore, it can be said that the first random access opportunity is located in the Mth time domain unit.
[0112] In another possible implementation, the first device sends a first message to the second device at the first random access opportunity. This can be understood as the first device sending the first message to the second device at the k-th random access opportunity in the M-th group of random access opportunities, where the M-th group of random access opportunities includes j random access opportunities. In this embodiment, j equals X*Y, meaning the first device sends the first message to the second device at the k-th random access opportunity in the X*Y random access opportunities. Alternatively, the first random access opportunity can be described as the k-th random access opportunity in the X*Y random access opportunities.
[0113] In another possible implementation, the first device sends a first message to the second device at the first random access opportunity. This can be understood as the first device sending the first message to the second device at the z-th time domain unit in the M-th group of random access opportunities, where the M-th group of random access opportunities occupies y time domain units. In this embodiment, y equals X, meaning the first device sends the first message to the second device at one of the z-th time domain units in the X time domain units occupied by the M-th group of random access opportunities. Alternatively, it can be said that the first device sends the first message to the second device at the z-th time domain unit in the X time domain units occupied by the M-th group of random access opportunities. Furthermore, it can be said that the first random access opportunity is located at the z-th time domain unit in the X time domain units occupied by the M-th group of random access opportunities.
[0114] In another possible implementation, the first device sends a first message to the second device during the first random access opportunity. This can be understood as the first device sending first information to the second device on the r-th frequency domain unit within the M-th group of random access opportunities, where the M-th group of random access opportunities occupies q frequency domain units. In this embodiment, q equals Y, meaning the first device sends the first message to the second device during one of the r-th frequency domain units within the Y frequency domain units occupied by the M-th group of random access opportunities. Alternatively, it can be said that the first device sends the first message to the second device on the r-th frequency domain unit within the Y frequency domain units occupied by the M-th group of random access opportunities. Furthermore, it can be said that the first random access opportunity is located on the r-th frequency domain unit within the Y frequency domain units occupied by the M-th group of random access opportunities.
[0115] 402. The first device receives a second message from the second device.
[0116] For example, the first information can be a field, such as the access index, also known as access_index or access_ind. The naming of this application embodiment is not limited. The first information can also be a specific value, such as 1, 3, or 5, which is not limited here. This application embodiment uses access_index as an example for the first information. In practical applications, the first information can have other implementation methods, which are not limited here.
[0117] The first device determines whether the first random access timing and the second random access timing are the same based on the first information. If the first random access timing and the second random access timing are the same, and the first identifier and the second identifier are the same, then the second message is determined to be a response message to the first message, and the first device can then execute step 403.
[0118] In this embodiment of the application, by carrying first information in the second message, the first device can determine whether the second message is the response message corresponding to the first message according to the random access timing, thereby avoiding the collision of the third message (i.e., Msg3), improving the accuracy of random access, and thus improving inventory efficiency.
[0119] The following describes the content indicated by the first information and the manner in which the first information indicates the second random access timing.
[0120] In one possible implementation, the first information is used to indicate the Nth random access opportunity. Alternatively, the second random access opportunity indicated by the first information can be described as the Nth random access opportunity. Furthermore, the first information can be used to indicate N. For example, the first information can be represented as access_index = N.
[0121] It is understandable that if the random access timing for sending the first message is the same as the random access timing for the Nth group, then the second message is the response message corresponding to the first message.
[0122] Specifically, according to the description in step 401, the first device sends a first message to the second device at a first random access opportunity, which can be the Mth random access opportunity. That is, if M and N are equal, then the first random access opportunity is the same as the second random access opportunity, and the first device determines that the second message is a response message to the first message.
[0123] It should be noted that N is determined based on the number of times the second device sends D2R trigger information. For example, as shown in Figure 6, when the second device sends the trigger information for the third time, this trigger information is used to trigger the first device to send the first message at the third random access opportunity. When the second device sends the trigger information for the fourth time, this trigger information is used to trigger the first device to send the first message at the fourth random access opportunity. Both the third and fourth random access opportunities occupy one time-domain unit and four frequency-domain units in the time domain, i.e., X equals 1 and Y equals 4. The first device sends the first message (Msg1) at the third random access opportunity, and the third device (i.e., another IoT device different from the first device) sends the first message at the fourth random access opportunity. In other words, the first random access opportunity of the first device is the third random access opportunity, and the first random access opportunity of the third device is the fourth random access opportunity.
[0124] For example, as shown in Figure 7, both the third and fourth random access opportunities occupy 2 time-domain units and 4 frequency-domain units in the time domain, i.e., X equals 2 and Y equals 4. The first device sends the first message during the third random access opportunity, and the third device sends the first message during the fourth random access opportunity.
[0125] For example, if the second device sends three trigger messages, then N=3, meaning the second random access opportunity indicated by the first message is the third group of random access opportunities. At this time, the first device receives the second message. Since the second random access opportunity indicated by the first message is the third group of random access opportunities, and the first device's first random access opportunity is also the third group of random access opportunities, for the first device, the first and second random access opportunities belong to the same group of random access opportunities. Therefore, it can be understood that the first and second random access opportunities are the same. If the first identifier and the second identifier are also the same at this time, the first device determines that the second message is a response message to the first message sent by the first device, enabling the first device to send a third message in response to the second message.
[0126] For example, if the second device sends four trigger messages, then N = 4, meaning the second random access opportunity indicated by the first message is the fourth group of random access opportunities. When the first device receives the second message, since the second random access opportunity indicated by the first message is the fourth group of random access opportunities, while the first device's first random access opportunity is the third group of random access opportunities, the first and second random access opportunities belong to different groups of random access opportunities for the first device. This can be understood as the first and second random access opportunities being different, indicating that the first device has missed the Msg2 corresponding to it when receiving the second message. Even if the first identifier and the second identifier are the same, the first device needs to stop monitoring Msg2. In other words, if N is not equal to M, the first device stops monitoring Msg2.
[0127] In another possible implementation, the first information is used to indicate the Nth time-domain unit. Alternatively, the second random access opportunity indicated by the first information is located in the Nth time-domain unit. Furthermore, the first information can be used to indicate N. For example, in this case, the first information can be represented as access_index = N.
[0128] It is understandable that if the time domain unit where the first random access opportunity is located is the same as the Nth time domain unit, then the second message is the response message corresponding to the first message.
[0129] Specifically, according to the description in step 401, the first device sends a first message to the second device at the first random access opportunity, which can be located at the Mth time domain unit. That is, if N and M are equal, the time domain unit where the first random access opportunity is located is the same as the time domain unit where the second random access opportunity is located, and thus the first device determines that the second message is a response message to the first message.
[0130] For example, as shown in Figure 8, when the second device sends the trigger information for the third time, this trigger information is used to trigger the first device to send the first message in the third time domain unit. When the second device sends the trigger information for the fourth time, this trigger information is used to trigger the first device to send the first message in the fourth time domain unit. The random access opportunities in both the third and fourth time domain units occupy 4 frequency domain units, i.e., X equals 1 and Y equals 4. The first device sends the first message in the third time domain unit, and the third device sends the first message in the fourth time domain unit. That is, the first random access opportunity of the first device is located in the third time domain unit, and the first random access opportunity of the third device is located in the fourth time domain unit.
[0131] For example, if the second device sends three trigger messages, then N=3, meaning the second random access opportunity indicated by the first message is located in the third time domain unit. At this time, the first device receives the second message. Since the second random access opportunity indicated by the first message is located in the third time domain unit, and the first random access opportunity of the first device is also located in the third time domain unit, for the first device, the first and second random access opportunities are located in the same time domain unit, which can be understood as the first and second random access opportunities being the same. If the first identifier and the second identifier are also the same at this time, then the first device determines that the second message is a response message to the first message sent by the first device, enabling the first device to send a third message in response to the second message.
[0132] For example, if the second device sends four trigger messages, then N = 4, meaning the second random access opportunity indicated by the first message is located in the fourth time-domain unit. When the first device receives the second message, since the second random access opportunity indicated by the first message is located in the fourth time-domain unit, while the first random access opportunity of the first device is located in the third time-domain unit, the first and second random access opportunities are located in different time-domain units. This can be understood as the first and second random access opportunities being different, indicating that the first device has missed Msg2 when it receives the second message. Therefore, the first device stops monitoring Msg2. In other words, if N is not equal to M, the first device stops monitoring Msg2.
[0133] In another possible implementation, the first information is used to indicate the i-th random access opportunity in the N-th group of random access opportunities. Alternatively, the second random access opportunity indicated by the first information can be described as the i-th random access opportunity in the N-th group of random access opportunities, where a group of random access opportunities includes j random access opportunities. Here, j equals X*Y. Furthermore, the first information can be used to indicate G, which satisfies the following formula: G = (N-1)*j + i. For example, in this case, the first information can be represented as access_index = G.
[0134] It is understandable that if the random access timing for sending the first message is the same as the i-th random access timing in the N-th group of random access timings, then the second message is the response message corresponding to the first message.
[0135] Specifically, according to the description in step 401, the first device sends a first message to the second device at the first random access opportunity. The first random access opportunity can be the k-th random access opportunity in the M-th group of random access opportunities. That is, if (M-1)*j+k=G, then the first random access opportunity is the same as the second random access opportunity, and the first device determines that the second message is a response message to the first message.
[0136] It should be noted that N is determined based on the number of times the second device sends D2R trigger information. For example, as shown in Figure 6, when the second device sends the trigger information for the third time, this trigger information is used to trigger the first device to send the first message on the third random access opportunity. When the second device sends the trigger information for the fourth time, this trigger information is used to trigger the first device to send the first message on the fourth random access opportunity. Both the third and fourth random access opportunities occupy one time-domain unit and four frequency-domain units in the time domain, i.e., X equals 1 and Y equals 4. The first device sends the first message (Msg1) on the third random access opportunity, and the third device sends the first message on the fourth random access opportunity. In other words, the first random access opportunity of the first device is the third random access opportunity, and the first random access opportunity of the third device is the fourth random access opportunity.
[0137] For example, as shown in Figure 7, both the third and fourth random access opportunities occupy 2 time-domain units and 4 frequency-domain units in the time domain, i.e., X equals 2 and Y equals 4. The first device sends the first message during the third random access opportunity, and the third device sends the first message during the fourth random access opportunity.
[0138] Taking Figure 9 as an example, if the second device sends 3 trigger messages, then N=3. A set of random access opportunities occupies 2 time domain units and 4 frequency domain units, so a set of random access opportunities includes 2*4=8 random access opportunities. Assume access_index=23. At this time, the first device receives the second message. Since the first message indicates access_index=23, the first random access opportunity of the first device is the 7th random access opportunity in the 3rd set of random access opportunities. And (3-1)*8+7=23. Therefore, for the first device, the first random access opportunity and the second random access opportunity belong to the same set of random access opportunities, which can be understood as the first random access opportunity and the second random access opportunity being the same. If the first identifier and the second identifier are also the same at this time, then the first device determines that the second message is a response message to the first message sent by the first device, so that the first device can send a third message to respond to the second message.
[0139] It should be noted that the sorting method for random access opportunities in Figure 9 is only an example. In practical applications, other sorting methods may also be used. The sequence number corresponding to the random access opportunity may be predefined by the protocol or indicated by the second device; the specific method is not limited here.
[0140] For example, if the second device sends 4 trigger messages, then N = 4. Assume access_index = 32. At this time, the first device receives the second message. Since the first message indicates access_index = 32, the first random access opportunity of the first device is the 7th random access opportunity in the 3rd group of random access opportunities. And (3-1)*8+7 = 23. Therefore, for the first device, the first random access opportunity and the second random access opportunity belong to two different groups of random access opportunities. It can be understood that the first random access opportunity and the second random access opportunity are different. This means that when the first device receives the second message, it has missed Msg2 corresponding to the first device. At this time, the first device stops monitoring Msg2.
[0141] It should be noted that since the access_index and the number of random access opportunities in a set of random access opportunities are known, and N and i are both positive integers, a unique set of N and i can be obtained from the access_index. That is, if N equals M and i equals k, then the first random access opportunity is the same as the second random access opportunity. Furthermore, since a unique set of N and i can be obtained from the access_index, N and i can indicate the second random access opportunity.
[0142] In another possible implementation, the first information is used to indicate the x-th time-domain unit in the Nth group of random access opportunities. Alternatively, the second random access opportunity indicated by the first information is located at the x-th time-domain unit in the Nth group of random access opportunities, where a group of random access opportunities comprises y time-domain units, and y equals x. Furthermore, the first information can be used to indicate H, where H satisfies the following formula: H = (N-1)*y + x. For example, in this case, the first information can be represented as access_index = H.
[0143] It is understandable that if the time domain unit in which the random access opportunity of sending the first message is located is the same as the x-th time domain unit in the Nth group of random access opportunities, then the second message is the response message corresponding to the first message.
[0144] Specifically, according to the description in step 401, the first device sends a first message to the second device at the first random access timing. The first random access timing can be located in the z-th time domain unit of the M-th group of random access timings. That is, if (M-1)*y+z=H, then the first random access timing is the same as the second random access timing, and the first device determines that the second message is a response message to the first message.
[0145] It should be noted that N is determined based on the number of times the second device sends D2R trigger information. For example, as shown in Figure 6, when the second device sends the trigger information for the third time, this trigger information is used to trigger the first device to send the first message on the third random access opportunity. When the second device sends the trigger information for the fourth time, this trigger information is used to trigger the first device to send the first message on the fourth random access opportunity. Both the third and fourth random access opportunities occupy one time-domain unit and four frequency-domain units in the time domain, i.e., X equals 1 and Y equals 4. The first device sends the first message (Msg1) on the third random access opportunity, and the third device sends the first message on the fourth random access opportunity. In other words, the first random access opportunity of the first device is the third random access opportunity, and the first random access opportunity of the third device is the fourth random access opportunity.
[0146] For example, as shown in Figure 7, both the third and fourth random access opportunities occupy 2 time-domain units and 4 frequency-domain units in the time domain, i.e., X equals 2 and Y equals 4. The first device sends the first message during the third random access opportunity, and the third device sends the first message during the fourth random access opportunity.
[0147] Taking Figure 10 as an example, if the second device sends 3 trigger messages, then N=3, and a set of random access opportunities includes 2 time domain units, therefore y=2. Assume access_index=5. At this time, the first device receives the second message. Since the first message indicates access_index=5, the first random access opportunity of the first device is located on the first time domain unit in the third set of random access opportunities. And (3-1)*2+1=5, therefore for the first device, the first random access opportunity and the second random access opportunity are located on the same time domain unit, which can be understood as the first random access opportunity and the second random access opportunity being the same. If the first identifier and the second identifier are also the same at this time, then the first device determines that the second message is a response message to the first message sent by the first device, so that the first device can send a third message to respond to the second message.
[0148] For example, if the second device sends 4 trigger messages, then N = 4. Assume access_index = 8. At this time, the first device receives the second message. Since the first message indicates access_index = 8, the first random access opportunity of the first device is located in the first time domain unit of the third group of random access opportunities. And (3-1)*2+1 = 5. Therefore, for the first device, the first random access opportunity and the second random access opportunity are located in different time domain units. It can be understood that the first random access opportunity and the second random access opportunity are different. This means that when the first device receives the second message, it has missed Msg2 corresponding to the first device. At this time, the first device stops monitoring Msg2.
[0149] It should be noted that since the access_index and the number of time-domain units in a set of random access opportunities are known, and N and x are both positive integers, a unique set of N and x can be obtained from the access_index. That is, if N equals M and x equals z, then the first random access opportunity is the same as the second random access opportunity. Furthermore, since a unique set of N and x can be obtained from the access_index, N and x can indicate the time-domain unit where the second random access opportunity is located.
[0150] In another possible implementation, the first information is used to indicate the x-th time-domain unit in a set of random access opportunities. Alternatively, the second random access opportunity indicated by the first information is located at the x-th time-domain unit in a set of random access opportunities, where the set of random access opportunities includes y time-domain units, and y equals x. The first information can also be used to indicate x. For example, in this case, the first information can be represented as access_index = x.
[0151] It is understandable that if the time domain unit in which the random access timing of the first message is sent is the same as the xth time domain unit, then the second message is the response message corresponding to the first message.
[0152] Specifically, according to the description in step 401, the first device sends a first message to the second device at a first random access opportunity. The first random access opportunity can be located in the z-th time domain unit of a set of random access opportunities. That is, if x = z, then the first random access opportunity is the same as the second random access opportunity, and thus the first device determines that the second message is a response message to the first message.
[0153] Taking Figure 10 as an example, assuming access_index = 1, a set of random access opportunities includes two time-domain units. At this time, the first device receives the second message. Since the first information indicates access_index = 1, the first random access opportunity of the first device is located in the first time-domain unit of the set of random access opportunities. Since x = 1, for the first device, the first random access opportunity and the second random access opportunity are located in the same time-domain unit, which can be understood as the first random access opportunity being the same as the second random access opportunity. If the first identifier and the second identifier are the same at this time, the first device determines that the second message is a response message to the first message sent by the first device, enabling the first device to send a third message in response to the second message.
[0154] For example, suppose access_index = 2. When the first device receives the second message, since the first information indicates access_index = 8, the first random access opportunity of the first device is the first time-domain unit in a set of random access opportunities. Since x = 1, for the first device, the first random access opportunity and the second random access opportunity are located in different time-domain units. Therefore, it can be understood that the first random access opportunity and the second random access opportunity are different. At this time, the first device stops monitoring Msg2.
[0155] In another possible implementation, the first information is used to indicate the p-th frequency domain cell in the Nth group of random access opportunities. Alternatively, the second random access opportunity indicated by the first information is located on the p-th frequency domain cell in the Nth group of random access opportunities, where a group of random access opportunities includes q frequency domain cells. Here, q equals Y. Furthermore, the first information can be used to indicate I, which satisfies the following formula: I = (N-1)*q + p. For example, in this case, the first information can be represented as access_index = I.
[0156] It is understandable that if the frequency domain cell in which the random access opportunity of sending the first message is located is the same as the p-th frequency domain cell in the Nth group of random access opportunities, then the second message is the response message corresponding to the first message.
[0157] Specifically, according to the description in step 401, the first device sends a first message to the second device at the first random access opportunity, which can be located in the r-th frequency domain unit of the M-th group of random access opportunities. That is, if (M-1)*q+r=1, then the first random access opportunity is the same as the second random access opportunity, and the first device determines that the second message is a response message to the first message.
[0158] It should be noted that N is determined based on the number of times the second device sends D2R trigger information. For example, as shown in Figure 6, when the second device sends the trigger information for the third time, this trigger information is used to trigger the first device to send the first message on the third random access opportunity. When the second device sends the trigger information for the fourth time, this trigger information is used to trigger the first device to send the first message on the fourth random access opportunity. Both the third and fourth random access opportunities occupy one time-domain unit and four frequency-domain units in the time domain, i.e., X equals 1 and Y equals 4. The first device sends the first message (Msg1) on the third random access opportunity, and the third device sends the first message on the fourth random access opportunity. In other words, the first random access opportunity of the first device is the third random access opportunity, and the first random access opportunity of the third device is the fourth random access opportunity.
[0159] For example, as shown in Figure 7, both the third and fourth random access opportunities occupy 2 time-domain units and 4 frequency-domain units in the time domain, i.e., X equals 2 and Y equals 4. The first device sends the first message during the third random access opportunity, and the third device sends the first message during the fourth random access opportunity.
[0160] Taking Figure 11 as an example, if the second device sends 3 trigger messages, then N=3, and a set of random access opportunities includes 4 frequency domain units. Assume access_index=12. At this time, the first device receives the second message. Since the first message indicates access_index=12, the first random access opportunity of the first device is located on the 4th frequency domain unit in the 3rd set of random access opportunities. And (3-1)*4+4=12. Therefore, for the first device, the first random access opportunity and the second random access opportunity are located on the same frequency domain unit, which can be understood as the first random access opportunity and the second random access opportunity being the same. If the first identifier and the second identifier are also the same at this time, then the first device determines that the second message is a response message to the first message sent by the first device, so that the first device can send a third message to respond to the second message.
[0161] For example, if the second device sends 4 trigger messages, then N = 4. Assume access_index = 15. At this time, the first device receives the second message. Since the first message indicates access_index = 15, the first random access opportunity of the first device is located on the 4th frequency domain unit in the 3rd group of random access opportunities. And (3-1)*4+4 = 12. Therefore, for the first device, the first random access opportunity and the second random access opportunity are located on different frequency domain units. This can be understood as the first random access opportunity and the second random access opportunity being different. It means that when the first device receives the second message, it has missed Msg2 corresponding to the first device. At this time, the first device stops monitoring Msg2.
[0162] It should be noted that since the access_index and the number of frequency domain units in a set of random access opportunities are known, and N and p are both positive integers, a unique set of N and p can be obtained from the access_index. That is, if N equals M and p equals r, then the first random access opportunity is the same as the second random access opportunity. Furthermore, since a unique set of N and p can be obtained from the access_index, N and p can indicate the time domain unit where the second random access opportunity is located.
[0163] In another possible implementation, the first information is used to indicate the p-th time-domain unit in a set of random access opportunities. Alternatively, the second random access opportunity indicated by the first information is located at the p-th frequency-domain unit in a set of random access opportunities, where the set of random access opportunities includes q frequency-domain units, where q equals Y. The first information can also be used to indicate p. For example, in this case, the first information can be represented as access_index = p.
[0164] It is understandable that if the frequency domain cell in which the random access timing of the first message is sent is the same as the p-th frequency domain cell, then the second message is the response message corresponding to the first message.
[0165] Specifically, according to the description in step 401, the first device sends a first message to the second device at a first random access opportunity, which can be located in the r-th frequency domain unit of a set of random access opportunities. That is, if p = r, then the first random access opportunity is the same as the second random access opportunity, and thus the first device determines that the second message is a response message to the first message.
[0166] Taking Figure 11 as an example, assuming access_index = 4, a set of random access opportunities includes 4 frequency domain units. At this time, the first device receives the second message. Since the first information indicates access_index = 4, the first random access opportunity of the first device is located in the 4th frequency domain unit of the set of random access opportunities. Since p = 4, for the first device, the first random access opportunity and the second random access opportunity are located in the same frequency domain unit, which can be understood as the first random access opportunity being the same as the second random access opportunity. If the first identifier and the second identifier are the same at this time, the first device determines that the second message is a response message to the first message sent by the first device, enabling the first device to send a third message in response to the second message.
[0167] For example, suppose access_index = 3. When the first device receives the second message, since the first message indicates access_index = 3, the first random access opportunity of the first device is the 4th frequency domain unit in a set of random access opportunities. Since p = 4, for the first device, the first random access opportunity and the second random access opportunity are located in different frequency domain units, which can be understood as the first random access opportunity being different from the second random access opportunity. At this time, the first device stops monitoring Msg2.
[0168] The second message can carry one or more first pieces of information. In one possible implementation, the second message sent by the second device to different IoT devices (e.g., the first device and the third device) can carry the same first information. In this case, the first information can be used to indicate the random access timing of multiple IoT devices (e.g., multiple IoT devices send the first message at the same set of random access timings), or it can be used to indicate the random access timing of a single IoT device (in which case the second message can include multiple pieces of first information). This second message can also be referred to as common Msg2. In another possible implementation, the second message sent by the second device to different IoT devices can carry different first information, which is used to indicate the random access timing of a single IoT device. This second message can also be referred to as separate Msg2.
[0169] The embodiments of this application can be applied to both common Msg2 and separate Msg2, and are not specifically limited here.
[0170] 403. If the first random access opportunity is the same as the second random access opportunity, and the first identifier is the same as the second identifier, then the first device sends third information to the second device. Accordingly, the second device monitors the third information.
[0171] Since the first device sends a third message (i.e., Msg3) when the first random access time and the second random access time are the same, and the first identifier and the second identifier are the same, collisions of Msg3 can be avoided, thereby improving inventory efficiency.
[0172] The communication method in the embodiments of this application has been described above. The communication device in the embodiments of this application is described below. Referring to Figure 12, the communication device 1200 can be used to execute the process performed by the first device in the embodiment shown in Figure 4. For details, please refer to the relevant descriptions in the foregoing method embodiments. The communication device 1200 can be a terminal device, a component or device applied to a terminal device (e.g., a processor, circuit, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of the terminal device.
[0173] The communication device 1200 includes an interface module 1201 and a processing module 1202.
[0174] The processing module 1202 is used for data processing. The interface module 1201 can implement corresponding communication functions. The interface module 1201 can also be called a communication interface or a communication module.
[0175] Optionally, the communication device 1200 may further include a storage module, which can be used to store program code, program instructions and / or data. The processing module 1202 can read the instructions and / or data in the storage module so that the communication device 1200 can implement the aforementioned method embodiments.
[0176] The communication device 1200 can be used to perform the actions performed by the first device in the above method embodiments. For example, it can be the first device or a communication module in the first device, or a circuit or chip in the first device responsible for communication functions. The communication device 1200 can be the first device or a component configurable on the first device. The processing module 1202 is used to perform processing-related operations on the first device side in the above method embodiments. The interface module 1201 is used to perform receiving-related operations on the first device side in the above method embodiments.
[0177] Optionally, the interface module 1201 may include a sending module and a receiving module. The sending module is used to perform the sending operation in the above method embodiments. The receiving module is used to perform the receiving operation in the above method embodiments.
[0178] It should be noted that the communication device 1200 may include a transmitting module but not a receiving module. Alternatively, the communication device 1200 may include a receiving module but not a transmitting module. Specifically, it depends on whether the above-described scheme performed by the communication device 1200 includes both transmitting and receiving actions. For example, the communication device 1200 is used to perform the actions performed by the first device in the embodiment shown in Figure 4. For details, please refer to the relevant descriptions in the embodiment shown in Figure 4; these will not be elaborated upon here.
[0179] For example, the communication device 1200 is used to execute the following scheme:
[0180] Interface module 1201 is used to send a first message during the first random access event. The first message is used for a random access request and includes a first identifier.
[0181] Interface module 1201 is also used to receive a second message, the second message including first information and a second identifier, the first information being used to indicate a second random access opportunity;
[0182] The processing module 1202 is used to determine whether the first random access opportunity and the second random access opportunity are the same, and to determine whether the first identifier and the second identifier are the same;
[0183] The interface module 1201 is also used to send a third message if the first random access timing is the same as the second random access timing and the first identifier is the same as the second identifier;
[0184] The third message is a response message to the second message.
[0185] In one possible implementation, the first information is used to indicate the second random access timing, including:
[0186] The first piece of information is used to indicate N;
[0187] The first random access opportunity is the Mth random access opportunity, and the second random access opportunity is the Nth random access opportunity;
[0188] or,
[0189] The first random access opportunity is the random access opportunity on the Mth time domain unit, and the second random access opportunity is the random access opportunity on the Nth time domain unit;
[0190] If N and M are the same, then the first random access opportunity is the same as the second random access opportunity.
[0191] In another possible implementation, N corresponds to the number of times the trigger information is sent, and M corresponds to the number of times the trigger information is received. The trigger information is used to trigger the sending of the first message at the first random access time.
[0192] In another possible implementation, the first information is used to indicate the time-frequency unit where the first random access opportunity occurs;
[0193] If the time-frequency unit where the first random access opportunity is located is the same as the time-frequency unit where the second random access opportunity is located, then the first random access opportunity and the second random access opportunity are the same.
[0194] In another possible implementation, the first information is used to indicate the timing of the second random access, including:
[0195] The first piece of information is used to indicate G, where G = (N-1)*j+i;
[0196] The second random access opportunity is the i-th random access opportunity in the N-th group of random access opportunities, and a group of random access opportunities includes j random access opportunities.
[0197] In another possible implementation, the first access opportunity is the kth random access opportunity in the Mth group of random access opportunities. If (M-1)*j+k=G, then the first random access opportunity is the same as the second random access opportunity.
[0198] In another possible implementation, the first information is used to indicate the timing of the second random access, including:
[0199] The first piece of information is used to indicate H, where H = (N-1)*y + x;
[0200] The second random access opportunity is located in the x-th time domain unit of the Nth group of random access opportunities, and a group of random access opportunities includes y time domain units.
[0201] In another possible implementation, the first access opportunity is located in the z-th time domain unit of the M-th random access opportunity. If (M-1)*y+z=G, then the first random access opportunity is the same as the second random access opportunity.
[0202] In another possible implementation, the first information is used to indicate the timing of the second random access, including:
[0203] The first piece of information is used to indicate I, where I = (N-1)*q + p;
[0204] The second random access opportunity is located on the p-th frequency domain unit in the Nth group of random access opportunities, and a group of random access opportunities includes q frequency domain units.
[0205] In another possible implementation, the first access opportunity is located on the r-th frequency domain unit in the M-th group of random access opportunities. If (M-1)*q+r=I, then the first random access opportunity is the same as the second random access opportunity.
[0206] It should be understood that the specific procedures for each module to perform the above-mentioned corresponding processes have been described in detail in the above method embodiments, and will not be repeated here for the sake of brevity.
[0207] Optionally, when the communication device 1200 is a terminal device or a communication module within a terminal device, the processing module 1202 in the above embodiments can be implemented by at least one processor or processor-related circuitry. Specifically, the processor may include a modem chip, or a system-on-chip (SoC) chip containing a modem core, or a system-in-package (SIP) chip. The interface module 1201 can be implemented by a transceiver or transceiver-related circuitry. The interface module 1201 may also be referred to as a communication module or communication interface. The storage module can be implemented by at least one memory.
[0208] Optionally, when the communication device 1200 is a circuit or chip in a terminal device responsible for communication functions, such as a modem chip or a SoC chip or SIP chip containing a modem core, the function of the processing module 1202 can be implemented by a circuit system in the aforementioned chip that includes one or more processors or processing cores. The function of the interface module 1201 can be implemented by the interface circuit or data transceiver circuit on the aforementioned chip.
[0209] The following is another structural schematic diagram of the communication device according to an embodiment of this application. Referring to Figure 13, the communication device 1300 can be used to execute the process performed by the second device in the embodiment shown in Figure 4. For details, please refer to the relevant description in the foregoing method embodiments. The communication device 1300 can be a network device, or a component or device applied to a network device (e.g., a processor, circuit, chip, or chip system), or a logic module or software that can implement all or part of the functions of the network device.
[0210] The communication device 1300 includes an interface module 1301 and a processing module 1302.
[0211] The processing module 1302 is used for data processing. The interface module 1301 can implement corresponding communication functions. The interface module 1301 can also be called a communication interface or a communication module.
[0212] Optionally, the communication device 1300 may further include a storage module, which can be used to store program code, program instructions and / or data. The processing module 1302 can read the instructions and / or data in the storage module so that the communication device 1300 can implement the aforementioned method embodiments.
[0213] The communication device 1300 can be used to perform the actions performed by the second device in the above method embodiments. For example, it can be the second device, a communication module within the second device, or a circuit or chip in the second device responsible for communication functions. The communication device 1300 can be the second device or a component configurable within the second device. The processing module 1302 is used to perform processing-related operations on the second device side in the above method embodiments. The interface module 1301 is used to perform receiving-related operations on the second device side in the above method embodiments.
[0214] Optionally, interface module 1301 may include a sending module and a receiving module. The sending module is used to perform the sending operation in the above method embodiments. The receiving module is used to perform the receiving operation in the above method embodiments.
[0215] It should be noted that the communication device 1300 may include a transmitting module but not a receiving module. Alternatively, the communication device 1300 may include a receiving module but not a transmitting module. Specifically, it depends on whether the above-described scheme executed by the communication device 1300 includes both transmitting and receiving actions. For example, the communication device 1300 is used to execute the actions performed by the second device in the embodiment shown in Figure 4. For details, please refer to the relevant descriptions in the embodiment shown in Figure 4; these will not be elaborated upon here.
[0216] For example, the communication device 1300 is used to execute the following scheme:
[0217] Interface module 1301 is used to receive a first message during the first random access event. The first message is for a random access request and includes a first identifier.
[0218] The interface module 1301 is also used to send a second message, which is a response message to the first message. The second message includes first information and a second identifier. The first information is used to indicate the second random access opportunity.
[0219] The processing module 1302 is used to monitor the third message, which is a response message to the second message.
[0220] In one possible implementation, the first information is used to indicate the second random access timing, including:
[0221] The first piece of information is used to indicate N;
[0222] The first random access opportunity is the Mth random access opportunity, and the second random access opportunity is the Nth random access opportunity;
[0223] or,
[0224] The first random access opportunity is the random access opportunity on the Mth time domain unit, and the second random access opportunity is the random access opportunity on the Nth time domain unit;
[0225] If N and M are the same, then the first random access opportunity is the same as the second random access opportunity.
[0226] In another possible implementation, N corresponds to the number of times the trigger information is sent, and M corresponds to the number of times the trigger information is received. The trigger information is used to trigger the sending of the first message at the first random access time.
[0227] In another possible implementation, the first information is used to indicate the time-frequency unit where the first random access opportunity occurs;
[0228] If the time-frequency unit where the first random access opportunity is located is the same as the time-frequency unit where the second random access opportunity is located, then the first random access opportunity and the second random access opportunity are the same.
[0229] In another possible implementation, the first information is used to indicate the timing of the second random access, including:
[0230] The first piece of information is used to indicate G, where G = (N-1)*j+i;
[0231] The second random access opportunity is the i-th random access opportunity in the N-th group of random access opportunities, and a group of random access opportunities includes j random access opportunities.
[0232] In another possible implementation, the first access opportunity is the kth random access opportunity in the Mth group of random access opportunities. If (M-1)*j+k=G, then the first random access opportunity is the same as the second random access opportunity.
[0233] In another possible implementation, the first information is used to indicate the timing of the second random access, including:
[0234] The first piece of information is used to indicate H, where H = (N-1)*y + x;
[0235] The second random access opportunity is located in the x-th time domain unit of the Nth group of random access opportunities, and a group of random access opportunities includes y time domain units.
[0236] In another possible implementation, the first access opportunity is located in the z-th time domain unit of the M-th random access opportunity. If (M-1)*y+z=G, then the first random access opportunity is the same as the second random access opportunity.
[0237] In another possible implementation, the first information is used to indicate the timing of the second random access, including:
[0238] The first piece of information is used to indicate I, where I = (N-1)*q + p;
[0239] The second random access opportunity is located on the p-th frequency domain unit in the Nth group of random access opportunities, and a group of random access opportunities includes q frequency domain units.
[0240] In another possible implementation, the second access opportunity is located on the r-th frequency domain unit in the M-th group of random access opportunities. If (M-1)*q+r=I, then the first random access opportunity is the same as the second random access opportunity.
[0241] It should be understood that the specific procedures for each module to perform the above-mentioned corresponding processes have been described in detail in the above method embodiments, and will not be repeated here for the sake of brevity.
[0242] The processing module 1302 in the above embodiments can be implemented by at least one processor or processor-related circuitry. The interface module 1301 can be implemented by a transceiver or transceiver-related circuitry. The interface module 1301 can also be referred to as a communication module or communication interface. The storage module can be implemented by at least one memory.
[0243] The following describes a communication device provided in an embodiment of this application. Please refer to Figure 14, which is a schematic diagram of the structure of a communication device provided in an embodiment of this application. The communication device may be the first device or the second device in the above method embodiments, or it may be a chip, chip system, or processor that supports the first device or the second device in implementing the above methods. This communication device can be used to implement the methods described in the above method embodiments, and for details, please refer to the description in the above method embodiments.
[0244] The communication device may include one or more processors 1401, which are connected to a memory 1402, an input / output unit 1403, and a bus 1404. The processor 1401 may be a general-purpose processor or a dedicated processor, such as a baseband processor or a central processing unit (CPU). The baseband processor can be used to process communication protocols and communication data, while the CPU can be used to control the communication device (e.g., base station, baseband chip, terminal, terminal chip, DU or CU, etc.), execute software programs, and process data from the software programs.
[0245] Optionally, the communication device may include one or more memories 1402, which may store instructions that can be executed on the processor 1401, causing the communication device to perform the methods described in the above method embodiments. Optionally, the memories 1402 may also store data. The processor 1401 and the memories 1402 may be configured separately or integrated together.
[0246] Optionally, the communication device may also include a transceiver and an antenna. A transceiver, also called a transceiver unit, transceiver, or transceiver circuit, is used to implement transmission and reception functions. A transceiver may include a receiver and a transmitter; the receiver, also called a receiver circuit, is used to implement the receiving function; the transmitter, also called a transmitter or transmitting circuit, is used to implement the transmitting function.
[0247] In another possible design, the processor 1401 may include a transceiver for implementing receive and transmit functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing receive and transmit functions may be separate or integrated. The aforementioned transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or for transmitting or relaying signals.
[0248] In another possible design, the processor 1401 may optionally store instructions that, when executed, cause the communication device to perform the methods described in the above method embodiments. The instructions may be stored in the processor 1401; in this case, the processor 1401 may be implemented in hardware.
[0249] In another possible design, the communication device may include a circuit that can perform the transmitting or receiving or communication functions of the first or second device in the aforementioned method embodiments. The processor and transceiver described in this application embodiment can be implemented on integrated circuits (ICs), analog ICs, radio frequency integrated circuits (RFICs), mixed-signal ICs, application-specific integrated circuits (ASICs), printed circuit boards (PCBs), electronic devices, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductors (CMOS), n-type metal-oxide-semiconductor (NMOS), p-type metal oxide semiconductors (PMOS), bipolar junction transistors (BJTs), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
[0250] The communication device described in the above embodiments may be a first device or a second device, but the scope of the communication device described in the embodiments of this application is not limited thereto, and the structure of the communication device may not be limited to FIG. 14. The communication device may be a standalone device or part of a larger device. For example, the communication device may be:
[0251] (1) Independent integrated circuit IC, or chip, or chip system or subsystem;
[0252] (2) A collection of one or more ICs, optionally including a storage component for storing data and instructions;
[0253] (3) ASIC, such as modem;
[0254] (4) Modules that can be embedded in other devices;
[0255] (5) Receivers, terminals, smart terminals, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc.
[0256] (6) Others, etc.
[0257] For communication devices that can be chips or chip systems, please refer to the structural diagram of the chip shown in Figure 15. The chip 1500 shown in Figure 15 includes a processor 1501 and an interface 1502. Optionally, it may also include a memory 1503. The number of processors 1501 can be one or more, and the number of interfaces 1502 can be multiple.
[0258] For cases where the chip is used to implement the functions of the first or second device in the embodiments of this application:
[0259] The interface 1502 is used to receive or output signals;
[0260] The processor 1501 is used to perform data processing operations of the first device or the second device.
[0261] It should also be understood that the above naming is defined solely for the purpose of distinguishing different functions and should not constitute any limitation on this application. This application does not preclude the possibility of using other names in 5G networks and other future networks. For example, in future communication networks, some or all of the above-mentioned network elements may retain the names used in 5G, or they may adopt other names, etc.
[0262] It is understood that some optional features in the embodiments of this application can be implemented independently in certain scenarios without relying on other features, such as the current solution on which they are based, to solve the corresponding technical problems and achieve the corresponding effects. Alternatively, they can be combined with other features as needed in certain scenarios. Correspondingly, the communication device given in the embodiments of this application can also implement these features or functions, which will not be elaborated here.
[0263] It should be understood that the processor in the embodiments of this application can be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method embodiments can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor described above can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0264] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAK are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0265] This application also provides a computer-readable storage medium including instructions that, when executed on a computer, cause the computer to perform the methods described in the foregoing embodiments. The computer-readable storage medium may be a non-volatile storage medium.
[0266] This application also provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the methods described in the foregoing embodiments.
[0267] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0268] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.
[0269] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0270] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0271] 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 application, 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.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0272] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., high-density digital video discs (DVDs)), or semiconductor media (e.g., solid-state disks (SSDs)).
Claims
1. A communication method, characterized in that, The method includes: A first message is sent at the first random access time, the first message being used for a random access request, and the first message including a first identifier; Receive a second message, the second message including first information and a second identifier, the first information being used to indicate a second random access opportunity; If the first random access opportunity is the same as the second random access opportunity, and the first identifier is the same as the second identifier, then a third message is sent, and the second message is a response message to the first message; The third message is a response message to the second message.
2. The method according to claim 1, characterized in that, The first information is used to indicate the second random access timing, including: The first information is used to indicate N; The first random access opportunity is the Mth group of random access opportunities, and the second random access opportunity is the Nth group of random access opportunities; or, The first random access opportunity is the random access opportunity on the Mth time domain unit, and the second random access opportunity is the random access opportunity on the Nth time domain unit; If N and M are the same, then the first random access opportunity is the same as the second random access opportunity.
3. The method according to claim 2, characterized in that, N corresponds to the number of times the trigger information is sent, and M corresponds to the number of times the trigger information is received. The trigger information is used to trigger the sending of the first message at the first random access time.
4. The method according to any one of claims 1 to 3, characterized in that, The first information is used to indicate the time-frequency unit where the first random access opportunity is located; If the time-frequency unit where the first random access opportunity is located is the same as the time-frequency unit where the second random access opportunity is located, then the first random access opportunity and the second random access opportunity are the same.
5. The method according to any one of claims 1 to 4, characterized in that, The first information is used to indicate the second random access timing, including: The first information is used to indicate G, which satisfies the following formula: G = (N-1) * j + i; The second random access opportunity is the i-th random access opportunity in the N-th group of random access opportunities, and a group of random access opportunities includes j random access opportunities.
6. The method according to claim 5, characterized in that, The first access opportunity is the kth random access opportunity in the Mth group of random access opportunities. If (M-1)*j+k=G, then the first random access opportunity is the same as the second random access opportunity.
7. The method according to any one of claims 1 to 4, characterized in that, The first information is used to indicate the second random access timing, including: The first information is used to indicate H, which satisfies the following formula: H = (N-1) * y + x; The second random access opportunity is located on the x-th time domain unit in the Nth group of random access opportunities, and a group of random access opportunities includes y time domain units.
8. The method according to claim 7, characterized in that, The first access opportunity is located in the z-th time domain unit of the M-th random access opportunity. If (M-1)*y+z=G, then the first random access opportunity is the same as the second random access opportunity.
9. The method according to any one of claims 1 to 4, characterized in that, The first information is used to indicate the second random access timing, including: The first information is used to indicate I, which satisfies the following formula: I = (N-1) * q + p; The second random access opportunity is located on the p-th frequency domain unit in the Nth group of random access opportunities, and a group of random access opportunities includes q frequency domain units.
10. The method according to claim 9, characterized in that, The first access opportunity is located on the r-th frequency domain unit in the M-th group of random access opportunities. If (M-1)*q+r=I, then the first random access opportunity is the same as the second random access opportunity.
11. A communication method, characterized in that, The method includes: A first message is received at the first random access time, the first message being used for a random access request, and the first message including a first identifier; Send a second message, which is a response message to the first message. The second message includes first information and a second identifier. The first information is used to indicate a second random access opportunity. Monitor the third message, which is a response message to the second message.
12. The method according to claim 11, characterized in that, The first information is used to indicate the second random access timing, including: The first information is used to indicate N; The first random access opportunity is the Mth group of random access opportunities, and the second random access opportunity is the Nth group of random access opportunities; or, The first random access opportunity is the random access opportunity on the Mth time domain unit, and the second random access opportunity is the random access opportunity on the Nth time domain unit; If N and M are the same, then the first random access opportunity is the same as the second random access opportunity.
13. The method according to claim 12, characterized in that, N corresponds to the number of times the trigger information is sent, and M corresponds to the number of times the trigger information is received. The trigger information is used to trigger the sending of the first message at the first random access time.
14. The method according to any one of claims 11 to 13, characterized in that, The first information is used to indicate the time-frequency unit where the first random access opportunity is located; If the time-frequency unit where the first random access opportunity is located is the same as the time-frequency unit where the second random access opportunity is located, then the first random access opportunity and the second random access opportunity are the same.
15. The method according to any one of claims 11 to 14, characterized in that, The first information is used to indicate the second random access timing, including: The first information is used to indicate G, which satisfies the following formula: G = (N-1) * j + i; The second random access opportunity is the i-th random access opportunity in the N-th group of random access opportunities, and a group of random access opportunities includes j random access opportunities.
16. The method according to claim 15, characterized in that, The first access opportunity is the kth random access opportunity in the Mth group of random access opportunities. If (M-1)*j+k=G, then the first random access opportunity is the same as the second random access opportunity.
17. The method according to any one of claims 11 to 14, characterized in that, The first information is used to indicate the second random access timing, including: The first information is used to indicate H, which satisfies the following formula: H = (N-1) * y + x; The second random access opportunity is located on the x-th time domain unit in the Nth group of random access opportunities, and a group of random access opportunities includes y time domain units.
18. The method according to claim 17, characterized in that, The first access opportunity is located in the z-th time domain unit of the M-th random access opportunity. If (M-1)*y+z=G, then the first random access opportunity is the same as the second random access opportunity.
19. The method according to any one of claims 11 to 14, characterized in that, The first information is used to indicate the second random access timing, including: The first information is used to indicate I, which satisfies the following formula: I = (N-1) * q + p; The second random access opportunity is located on the p-th frequency domain unit in the Nth group of random access opportunities, and a group of random access opportunities includes q frequency domain units.
20. The method according to claim 19, characterized in that, The second access opportunity is located on the r-th frequency domain unit in the M-th group of random access opportunities. If (M-1)*q+r=I, then the first random access opportunity is the same as the second random access opportunity.
21. A communication device, characterized in that, Includes modules or units for performing the method as described in any one of claims 1 to 10.
22. A communication device, characterized in that, Includes modules or units for performing the method as described in any one of claims 11 to 20.
23. A communication device, characterized in that, include: A processor for executing a program that causes the communication device to perform the method as described in any one of claims 1 to 10.
24. A communication device, characterized in that, include: A processor for executing a program that causes the communication device to perform the method as described in any one of claims 11 to 20.
25. A communication system, characterized in that, include: A communication device for performing any of the methods described in steps 1 to 10, and a communication device for performing any of the methods described in claims 11 to 20.
26. A computer-readable storage medium, characterized in that, Includes instructions that, when executed on a computer, cause the computer to perform the method as claimed in any one of claims 1 to 10, or cause the computer to perform the method as claimed in any one of claims 11 to 20.
27. A computer program product containing instructions, characterized in that, When it is run on a computer, it causes the computer to perform the method as described in any one of claims 1 to 10, or causes the computer to perform the method as described in any one of claims 11 to 20.