Communication method and apparatus

WO2026200816A1PCT designated stage Publication Date: 2026-10-01HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/085295
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-03-28
Filing Date
2026-03-23
Publication Date
2026-10-01

Smart Images

  • Figure CN2026085295_01102026_PF_FP_ABST
    Figure CN2026085295_01102026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of communications. Provided are a communication method and apparatus. The method comprises: receiving first information and second information, wherein the first information comprises N random identifiers and M access stratum identifiers (AS IDs), the second information indicates correspondences between the N random identifiers and the M AS IDs, the N random identifiers include a first random identifier, the first random identifier corresponds to a first apparatus, the M AS IDs include a first AS ID, and M and N are positive integers. on the basis of the first information and the second information, determining an AS ID of the first apparatus, wherein the AS ID of the first apparatus is the first AS ID or the first random identifier. The method can realize correct parsing of an AS ID.
Need to check novelty before this filing date? Find Prior Art

Description

A communication method and apparatus

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

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

[0003] In a communication system, the access stratum identifier (AS ID) is identification information visible to the access stratum. The AS ID can be a reused random identifier or assigned by the network device and is indicated to the terminal device that successfully resolves the access / contention issue via message (Msg)2 during the random access process. For example, the network device is a reader, and the terminal device is an ambient internet of things (A-IoT) device. Summary of the Invention

[0004] However, when the same message Msg2 corresponds to multiple terminal devices (such as A-IoT devices), some of these devices may be assigned an Access Layer Identifier (AS ID). Accordingly, Msg2 includes at least one random identifier and at least one AS ID. For the terminal devices, they cannot know whether Msg2 carries their own AS ID, affecting AS ID resolution.

[0005] To address the aforementioned technical problems, this application provides a communication method and apparatus that enables the correct parsing of AS IDs. To achieve the above objective, this application adopts the following technical solution:

[0006] Firstly, a communication method is provided. This method can be executed by a first device. The first device can be a terminal device, such as an A-IoT device, a component within the terminal device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the terminal device's functions. The following description uses the first device as the executing entity. The method includes:

[0007] Receive first information and second information. The first information includes N random identifiers and M access layer identifiers (AS IDs). The second information indicates the correspondence between the N random identifiers and the M AS IDs. The N random identifiers include a first random identifier, which corresponds to the first device. The M AS IDs include a first AS ID. M and N are positive integers.

[0008] Based on the first information and the second information, the AS ID of the first device is determined, wherein the AS ID of the first device is either the first AS ID or the first random identifier.

[0009] The correspondence between the N random identifiers and the M AS IDs can be understood as follows:

[0010] When M = N, the N random identifiers correspond one-to-one with the M AS IDs.

[0011] When M < N, among the N random identifiers, M random identifiers correspond one-to-one with the M AS IDs, and (NM) random identifiers do not correspond to any of the M AS IDs.

[0012] Here, a random identifier corresponds to an AS ID, which can be understood as: the random identifier and the AS ID correspond to the same device (such as an A-IoT device). For example, the random identifier is generated and sent by the device, and the AS ID is the AS ID assigned to the device. "Assigned" can be understood as being reassigned.

[0013] Based on the above technical solution, the second information indicates the correspondence between the N random identifiers and the M AS IDs. Therefore, based on the first random identifier, the first information, and the second information, the first device can determine whether its own AS ID is included among the M AS IDs. For example, when the first device's AS ID is assigned, the first device's AS ID is included in the M AS IDs, such as the first device's AS ID being the first AS ID, thus achieving correct AS ID resolution. Furthermore, when the first device's AS ID reuses the first random identifier (i.e., no AS ID is assigned), the first device's AS ID is the first random identifier, thus achieving correct AS ID resolution.

[0014] In one possible design, N is greater than M.

[0015] In one possible design, the second information includes a first bitmap, which comprises N bits; if the Nth bit... iWhen the first bit is the first value, it indicates the Nth random identifier among the N random identifiers. i Each random identifier corresponds to one of the M AS IDs; if the Nth bit in the N bits... i When a bit is the second value, it indicates the Nth random identifier among the N random identifiers. i Each random identifier does not correspond to any one of the M AS IDs; N i It is a positive integer less than or equal to N.

[0016] In other words, the bit values ​​of the first bitmap indicate the correspondence between the N random identifiers and the M AS IDs.

[0017] In one possible design, the method further includes receiving third information indicating the length of the first bitmap.

[0018] In contention-based random access processes, the number of devices that successfully resolve random access contention is uncertain (or variable or dynamic). Correspondingly, the number of random identifiers in the first information is uncertain. However, in this application, the third information indicates the length of the first bitmap, and the first device, based on this third information, determines the number of random identifiers in the first information. The first device determines the starting positions of the M AS IDs in the first information based on the number and length of the random identifiers, thereby facilitating the correct parsing of the AS IDs.

[0019] In one possible design, the second information includes M first indices, wherein the Mth first index is... i The first index indicates the Mth AS ID among the M AS IDs. i Each AS ID corresponds to one of the N random identifiers, M i It is a positive integer less than or equal to M.

[0020] In other words, the M first indices indicate the correspondence between the N random identifiers and the M AS IDs.

[0021] In one possible design, the second information indicates the correspondence between the N random identifiers and the M AS IDs, including: the second information indicates the correspondence between the K access opportunity AOs and the M AS IDs, wherein the random identifiers transmitted on the K AOs include the N random identifiers, and K is a positive integer.

[0022] The correspondence between the K AOs and the M AS IDs can be understood as follows:

[0023] When K = M, the K AOs correspond one-to-one with the M AS IDs.

[0024] When M < K, among the K AOs, M AOs correspond one-to-one with the M AS IDs, and (KM) AOs do not correspond to any of the M AS IDs.

[0025] One AO ​​corresponds to one AS ID, which can be understood as: the AO and the AS ID correspond to the same device (such as an A-IoT device). For example, the AO is selected by the device and used to send random identifiers, and the AS ID is the AS ID assigned to the device.

[0026] In other words, the random identifiers transmitted on the K AOs include the N random identifiers, so there is a correspondence between the K AOs and the N random identifiers. Based on this, the second information indicates the correspondence between the K AOs and the M AS IDs, and based on the correspondence between the K AOs and the N random identifiers, the correspondence between the N random identifiers and the M AS IDs can be determined.

[0027] In one possible design, the second information includes a second bitmap, which comprises K bits.

[0028] If the Kth bit in the K bits j When the third bit is the third value, it indicates the Kth bit in the K AOs. j Each AO corresponds to the Mth AS ID among the M AS IDs. i The Kth AS ID; j The random identifier transmitted on each AO is included in the N random identifiers, and the Kth random identifier is... j The random identifier transmitted on the Mth AO corresponds to the Mth AO. i AS ID.

[0029] If the Kth bit in the K bits j When the fourth bit is the fourth value, it indicates the Kth bit among the K AOs. j The Kth AO does not correspond to any of the M AS IDs; j The random identifier transmitted on each AO is included in the N random identifiers, and the Kth random identifier is... j The random identifier transmitted on each AO does not correspond to any of the M AS IDs.

[0030] Where K is a positive integer, K j M is a positive integer less than or equal to K. i It is a positive integer less than or equal to M.

[0031] In other words, the second bitmap indicates the correspondence between the K AOs and the M AS IDs.

[0032] In one possible design, the second information includes M second indices, wherein the Mth second index is... i The second index indicates the Mth AS ID among the M AS IDs. i Each AS ID corresponds to the Kth AO in the K AOs. j The Kth AO; j The random identifier transmitted on each AO is included in the N random identifiers, and the Kth random identifier is... j The random identifier transmitted on the Mth AO corresponds to the Mth AO. i There are 12 AS IDs. Where K is a positive integer. j M is a positive integer less than or equal to K. i It is a positive integer less than or equal to M.

[0033] In other words, the M second indices indicate the correspondence between the K AOs and the M AS IDs.

[0034] In one possible design, the method further includes receiving fourth information, the fourth information indicating the value of M.

[0035] In devices where access contention is successfully resolved, the number of devices assigned AS IDs is uncertain (or variable or dynamic). Correspondingly, the number of AS IDs in the first information is uncertain. However, in this application, by indicating the value of M through the fourth information, the first device can determine the number of AS IDs in the first information based on the fourth information, thereby facilitating the correct parsing of AS IDs.

[0036] In one possible design, the method further includes: receiving fifth information indicating a correspondence between K AOs and N random identifiers, wherein the K AOs include a first AO used by the first device to send the first random identifier, and K is a positive integer.

[0037] The correspondence between the K AOs and the N random identifiers can be understood as follows:

[0038] When K = N, the K AOs correspond one-to-one with the N random identifiers.

[0039] When N < K

[0040] Of the K AOs, N AOs correspond one-to-one with the N random identifiers, and (KN) AOs do not correspond to any of the N random identifiers; or,

[0041] At least one of the N random identifiers corresponds to at least two of the K AOs. Optionally, at least one of the K AOs does not correspond to any of the N random identifiers. The statement that at least one of the N random identifiers corresponds to at least two of the K AOs can be understood as follows: taking one of the N random identifiers as an example, one random identifier corresponds to at least two of the K AOs (for example, the same random identifier is transmitted on at least two of the K AOs), and the number of random identifiers satisfying this correspondence among the N random identifiers is at least one.

[0042] One AO ​​corresponds to one random identifier, which can be understood as: the random identifier is transmitted on the AO.

[0043] In other words, the fifth information distinguishes random identifiers through different AOs. Even if different devices send the same random identifier on different AOs, since different devices occupy different AOs, the first device can also determine whether the random identifier it sends is included in the first information based on the AO it occupies and the correspondence between the K AOs and the N random identifiers indicated by the fifth information.

[0044] In one possible design, the fifth information includes a third bitmap, which comprises K bits; if the Kth bit of the K bits... i When the fifth bit is the value of the Kth bit, it indicates the Kth bit among the K AOs. i Each AO corresponds to one of the N random identifiers; if the Kth bit in the K bits... i When the sixth bit is the value of the sixth bit, it indicates the Kth bit among the K AOs. i Each AO does not correspond to any of the N random identifiers; K i It is a positive integer less than or equal to K.

[0045] In other words, the third bitmap indicates the correspondence between the K AOs and the N random identifiers.

[0046] In one possible design, the fifth information includes N third indices, wherein the Nth third index is... i The third index indicates the Nth random identifier among the N random identifiers. i Each random identifier corresponds to one of the K AOs, and N i It is a positive integer less than or equal to N.

[0047] In other words, the N third indices indicate the correspondence between the K AOs and the N random identifiers.

[0048] In one possible design, the method further includes receiving sixth information, the sixth information indicating the value of N.

[0049] In contention-based random access processes, the number of devices that successfully resolve random access contention is uncertain (or variable or dynamic). Correspondingly, the number of random identifiers in the first information is uncertain. However, in this application, by indicating the value of N through the sixth information, the first device can determine the number of random identifiers in the first information based on the sixth information. The first device determines the starting position of the AS ID in the first information based on the number and length of the random identifiers, thereby facilitating the correct parsing of the AS ID.

[0050] In one possible design, the method further includes: receiving seventh information indicating a first length, the first length being used to determine the length of at least one AS ID among the M AS IDs.

[0051] In cases where this application supports variable-length AS IDs, the first device determines the length of at least one AS ID among the M AS IDs based on the first length indicated by the seventh information, and then parses the AS ID of the first device from the first information based on the length of at least one AS ID among the M AS IDs, thereby achieving correct AS ID parsing.

[0052] In one possible design, the first information and the second information are included in the same message, such as message Msg2, or a feedback message, or downlink data.

[0053] In one possible design, the second information is carried in the Media Intervention Control (MAC) subheader.

[0054] Secondly, a communication method is provided. This method can be executed by a second device. The second device can be a network device, such as a reader, or a component within the network device (e.g., a processor, chip, or chip system), or it can be a logic module or software capable of implementing all or part of the functions of the network device. The following description uses the second device as the executing entity. The method includes:

[0055] Send first information, which includes N random identifiers and M access layer identifiers (AS IDs), where M and N are positive integers.

[0056] Send a second message indicating the correspondence between the N random identifiers and the M AS IDs.

[0057] In one possible design, N is greater than M.

[0058] In one possible design, the second information includes a first bitmap, which comprises N bits; if the Nth bit... i When the first bit is the first value, it indicates the Nth random identifier among the N random identifiers. i Each random identifier corresponds to one of the M AS IDs; if the Nth bit in the N bits... i When a bit is the second value, it indicates the Nth random identifier among the N random identifiers. i Each random identifier does not correspond to any one of the M AS IDs; N i It is a positive integer less than or equal to N.

[0059] In one possible design, the method further includes sending a third message indicating the length of the first bitmap.

[0060] In one possible design, the second information includes M first indices, wherein the Mth first index is... i The first index indicates the Mth AS ID among the M AS IDs. i Each AS ID corresponds to one of the N random identifiers, M i It is a positive integer less than or equal to M.

[0061] In one possible design, the second information indicates the correspondence between the N random identifiers and the M AS IDs, including: the second information indicates the correspondence between the K access opportunity AOs and the M AS IDs, wherein the random identifiers transmitted on the K AOs include the N random identifiers, and K is a positive integer.

[0062] In one possible design, the second information includes a second bitmap, which comprises K bits.

[0063] If the Kth bit in the K bits j When the third bit is the third value, it indicates the Kth bit in the K AOs. j Each AO corresponds to the Mth AS ID among the M AS IDs. i The Kth AS ID; j The random identifier transmitted on each AO is included in the N random identifiers, and the Kth random identifier is... j The random identifier transmitted on the Mth AO corresponds to the Mth AO. i AS ID.

[0064] If the Kth bit in the K bits j When the fourth bit is the fourth value, it indicates the Kth bit among the K AOs. jThe Kth AO does not correspond to any of the M AS IDs; j The random identifier transmitted on each AO is included in the N random identifiers, and the Kth random identifier is... j The random identifier transmitted on each AO does not correspond to any of the M AS IDs.

[0065] Where K is a positive integer, K j M is a positive integer less than or equal to K. i It is a positive integer less than or equal to M.

[0066] In one possible design, the second information includes M second indices, wherein the Mth second index is... i The second index indicates the Mth AS ID among the M AS IDs. i Each AS ID corresponds to the Kth AO in the K AOs. j The Kth AO; j The random identifier transmitted on each AO is included in the N random identifiers, and the Kth random identifier is... j The random identifier transmitted on the Mth AO corresponds to the Mth AO. i There are 12 AS IDs. Where K is a positive integer. j M is a positive integer less than or equal to K. i It is a positive integer less than or equal to M.

[0067] In one possible design, the method further includes sending a fourth message indicating the value of M.

[0068] In one possible design, the method further includes: sending fifth information indicating a correspondence between K AOs and N random identifiers, wherein the K AOs include a first AO used by the first device to send the first random identifier, and K is a positive integer.

[0069] In one possible design, the fifth information includes a third bitmap, which comprises K bits; if the Kth bit of the K bits... i When the fifth bit is the value of the Kth bit, it indicates the Kth bit among the K AOs. i Each AO corresponds to one of the N random identifiers; if the Kth bit in the K bits... i When the sixth bit is the value of the sixth bit, it indicates the Kth bit among the K AOs. i Each AO does not correspond to any of the N random identifiers; K i It is a positive integer less than or equal to K.

[0070] In one possible design, the fifth information includes N third indices, wherein the Nth third index is... i The third index indicates the Nth random identifier among the N random identifiers. i Each random identifier corresponds to one of the K AOs, and N i It is a positive integer less than or equal to N.

[0071] In one possible design, the method further includes sending a sixth message indicating the value of N.

[0072] In one possible design, the method further includes: sending a seventh message indicating a first length, the first length being used to determine the length of at least one of the M AS IDs.

[0073] In one possible design, the first information and the second information are included in the same message, such as message Msg2, or a feedback message, or downlink data.

[0074] In one possible design, the second information is carried in the Media Intervention Control (MAC) subheader.

[0075] The technical effects of the second aspect and any of the design methods in the second aspect can be found in the first aspect and the technical effects of different design methods in the first aspect, and will not be repeated here.

[0076] Thirdly, a communication method is provided. This method can be executed by a first device. The first device can be a terminal device, such as an A-IoT device, a component within the terminal device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the terminal device's functions. The following description uses the first device as the executing entity. The method includes:

[0077] The system receives an eighth piece of information, which includes N random identifiers and N access layer identifiers (AS IDs). Each of the N random identifiers corresponds one-to-one with one of the N AS IDs. The N random identifiers include a first random identifier, which corresponds to the first device. The N AS IDs include a first AS ID, where N is a positive integer. Based on the eighth piece of information, the system determines the AS ID of the first device, which is the first AS ID and corresponds to the first random identifier.

[0078] Based on the above technical solution, the number of random identifiers and AS IDs in the eighth information is the same and they correspond one-to-one. Therefore, the first device can obtain its own AS ID from the N AS IDs based on the first random identifier and the eighth information, thereby correctly resolving the AS ID.

[0079] In one possible design, the first AS ID is the same as the first random identifier.

[0080] In other words, the first AS ID reuses the first random identifier, and the first AS ID is carried in the eighth information, so that the number of random identifiers and AS IDs in the eighth information is the same.

[0081] Fourthly, a communication method is provided. This method can be executed by a second device. The second device can be a network device, such as a reader, or a component within the network device (e.g., a processor, chip, or chip system), or it can be a logic module or software capable of implementing all or part of the functions of the network device. The following description uses the second device as the executing entity. The method includes:

[0082] Determine the eighth piece of information, which includes N random identifiers and N access layer identifiers (AS IDs), where each of the N random identifiers corresponds one-to-one with one of the N AS IDs, and N is a positive integer. Send the eighth piece of information.

[0083] In one possible design, the N random identifiers include a first random identifier that corresponds to a first device, and the N AS IDs include a first AS ID that corresponds to the first random identifier, and the first AS ID is the same as the first random identifier.

[0084] The technical effects of the fourth aspect and any of the design methods in the fourth aspect can be found in the technical effects of the different design methods in the third aspect, and will not be repeated here.

[0085] Fifthly, a communication method is provided. This method can be executed by a first device. The first device can be a terminal device, a component within the terminal device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the terminal device's functions. The following description uses the first device as the executing entity.

[0086] The method includes:

[0087] A random identifier is generated. Upon generation of the random identifier, the Access Layer Identifier (AS ID) is released, or the random identifier replaces the AS ID. The AS ID is stored in the first device.

[0088] In other words, during a new random access, the random identifier is generated, and the AS ID is released / reset / discarded / saved to avoid the phenomenon of the same AS ID being stored indefinitely, thereby saving storage overhead and reducing the conflict or error response problems caused by the same AS ID being stored indefinitely.

[0089] Alternatively, during a new random access, the random identifier is generated and replaced with the saved AS ID to update the saved AS ID, thereby improving storage resource utilization and reducing conflicts or error responses caused by the same AS ID being saved continuously.

[0090] Sixthly, a communication device is provided for implementing the various methods described above. The communication device includes modules, units, or means corresponding to the methods, which can be implemented in hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the functions.

[0091] In one possible design, the communication device may include a processing module and a transceiver module. The processing module can be used to implement the processing functions performed by the communication device in any of the above aspects and any possible implementations thereof. The transceiver module, also referred to as a transceiver unit, is used to implement the sending and / or receiving functions performed by the communication device in any of the above aspects and any possible implementations thereof. The transceiver module may consist of transceiver circuitry, a transceiver, a transceiver unit, or a communication interface.

[0092] In one possible design, the transceiver module includes a transmitting module and / or a receiving module, which are used to implement the transmitting or receiving functions performed by the communication device in any of the above aspects and any possible implementations thereof.

[0093] In a seventh aspect, a communication device is provided for implementing the method performed by the communication device in any of the above aspects or any possible design of any of the above aspects.

[0094] Eighthly, a communication device is provided, comprising: a processor; the processor being configured to execute a computer program or instructions to cause the communication device to perform the method described in any one aspect or the method performed by the communication device in any possible design of any one aspect.

[0095] Optionally, the communication device further includes a memory, which may be coupled to the processor, or the memory may exist independently of the processor; for example, the memory and the processor may be two separate modules. The memory may be located outside or inside the communication device.

[0096] Ninthly, a computer-readable storage medium is provided. This computer-readable storage medium stores a computer program or instructions that, when executed, cause the methods described in any of the preceding aspects or the methods executed by a communication device in any possible design of any of the preceding aspects to be implemented.

[0097] In a tenth aspect, a computer program product containing instructions is provided, which, when run, causes the method described in any of the foregoing aspects or the method executed by a communication device in any possible design of any of the foregoing aspects to be implemented.

[0098] The communication device provided in any one of the sixth to tenth aspects may be the first device of the first, third, or fifth aspect, or a component included in the first device, such as a chip or chip system. Alternatively, it may be the second device of the second or fourth aspect, or a component included in the second device, such as a chip or chip system. When the device is a chip system, it may be composed of chips or may include chips and other discrete devices.

[0099] It is understandable that when the communication device provided in any of the sixth to tenth aspects is a chip, the sending action / function of the communication device can be understood as outputting information, and the receiving action / function of the communication device can be understood as inputting information.

[0100] The technical effects of any of the design methods in aspects six through ten can be found in the technical effects of any of the design methods in aspects one through five, and will not be repeated here. Attached Figure Description

[0101] Figure 1 is a schematic diagram of the architecture of a communication system provided in an embodiment of this application;

[0102] Figure 2 is a schematic diagram of the architecture of another communication system provided in an embodiment of this application;

[0103] Figure 3 is a schematic diagram of the architecture of another communication system provided in an embodiment of this application;

[0104] Figure 4 is a schematic diagram of the architecture of another communication system provided in an embodiment of this application;

[0105] Figure 5 is a schematic diagram of the architecture of another communication system provided in an embodiment of this application;

[0106] Figure 6 is a schematic diagram of the architecture of another communication system provided in an embodiment of this application;

[0107] Figure 7 is a schematic diagram of the architecture of another communication system provided in an embodiment of this application;

[0108] Figure 8a is a schematic diagram of an access layer process provided in an embodiment of this application;

[0109] Figure 8b is a schematic diagram of the structure of message 2 provided in an embodiment of this application;

[0110] Figure 8c is a schematic diagram of the structure of a media access control subheader provided in an embodiment of this application;

[0111] Figure 8d is a schematic diagram of another media access control subheading provided in an embodiment of this application;

[0112] Figure 9 is a schematic diagram of another message 2 provided in an embodiment of this application;

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

[0114] Figure 11 is a schematic diagram of the structure of another message 2 provided in an embodiment of this application;

[0115] Figure 12 is a schematic diagram of the structure of another message 2 provided in an embodiment of this application;

[0116] Figure 13 is a schematic diagram of the structure of another message 2 provided in an embodiment of this application;

[0117] Figure 14 is a schematic diagram of the structure of another message 2 provided in an embodiment of this application;

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

[0119] Figure 16 is a schematic diagram of the structure of another message 2 provided in an embodiment of this application;

[0120] Figure 17 is a schematic diagram of the structure of a device provided in an embodiment of this application;

[0121] Figure 18 is a schematic diagram of another device provided in an embodiment of this application;

[0122] Figure 19 is a schematic diagram of another device provided in an embodiment of this application. Detailed Implementation

[0123] The technical solutions in this application will now be described with reference to the accompanying drawings.

[0124] The technical solution of this application can be applied to various wireless communication systems, including but not limited to fourth-generation mobile communication technology (the 4G).th The fifth generation (4G) system (also known as the Long Term Evolution (LTE) system), is a mobile communication technology. th The technology can be applied to 5G (also known as New Radio, NR) systems, ambient internet of things (A-IoT) systems or their evolutions, or it can also be applied to future mobile communication systems, etc., without any specific restrictions.

[0125] The technical solutions provided in this application can also be applied to: device-to-device (D2D) scenarios, such as NR-D2D scenarios, or vehicle-to-everything (V2X) scenarios, such as NR-V2X scenarios. The technical solutions provided in this application can also be applied to factory manufacturing scenarios, terrestrial cellular communication, non-terrestrial networks (NTN), satellite communication, high altitude platform station (HAPS) communication, integrated access and backhaul (IAB) communication, and reconfigurable intelligent surface (RIS) communication, etc.

[0126] In the embodiments of this application, a terminal device refers to a device that provides voice and / or data connectivity to a user. A terminal device may be called a terminal apparatus, user equipment (UE), terminal, mobile station (MS), mobile terminal (MT), etc. For example, it may be a handheld device with wireless connectivity or an in-vehicle device. Currently, examples of terminal devices include: mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in vehicle-to-everything (V2X) communication, wireless terminals in self-driving cars, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and machine-to-machine / machine-type communications (M2M / MTC) terminal devices, etc. In addition, terminal equipment can also be vehicle equipment, vehicle modules, vehicles, on-board units (OBU), roadside units (RSU), vehicle infotainment systems (or on-board transmitters) (telematics boxes, T-box), chips or systems on chips (SOC), etc. The above-mentioned chips or SOCs can be installed in vehicles, OBUs, RSUs or T-boxes.Terminal equipment can also be V2X communication terminal devices, such as smart cars, digital cars, unmanned cars, driverless cars, pilotless cars, autonomous cars, pure electric vehicles, hybrid electric vehicles (HEVs), range-extended electric vehicles (REEVs), plug-in hybrid electric vehicles (PHEVs), and new energy vehicles. Terminal equipment can also be D2D communication terminal devices, such as electricity meters and water meters.

[0127] In addition, in this embodiment, the terminal device can also be a device in A-IoT, such as an A-IoT device, an A-IoT terminal device, or a tag. For ease of description, this application uses an A-IoT device as an example. An A-IoT device can be implemented by a terminal device in a cellular network, such as an ultra-low power, ultra-low complexity IoT terminal device. The network device and the A-IoT device can perform contactless data communication, thereby reading information from the A-IoT device and / or writing information that needs to be stored into the A-IoT device.

[0128] Terminal devices can include passive terminal devices, semi-passive terminal devices, and active terminal devices. Passive terminal devices require an excitation signal from the network device; some energy is used for internal processing such as encoding / decoding and modulation / demodulation. This excitation signal can also serve as a carrier wave for reflecting uplink information from the terminal device. Semi-passive terminal devices contain a battery, and internal processing such as encoding / decoding and modulation / demodulation can be performed using the battery, but they still require the network device to send an excitation signal as a reflected carrier. Active terminal devices contain a battery and perform encoding / decoding and modulation / demodulation. Active terminal devices include a radio transmitter and can actively send data to other devices.

[0129] In one implementation, terminal devices in A-IoT can be divided into three categories:

[0130] One type of device (which can be referred to as Device A): This device has neither downlink (DL) amplification nor uplink (UL) amplification; the device's UL transmission is backscattered on an externally provided carrier. Optionally, this type of device has energy storage. Optionally, this type of device is similar to a passive A-IoT device.

[0131] Another type of device (which may be referred to as Device B): This device has DL amplification and / or UL amplification capabilities. The device's UL transmission is backscattered on an externally provided carrier. Optionally, this type of device has energy storage. Optionally, this type of device is similar to a semi-passive A-IoT device.

[0132] Another type of device (which can be referred to as Device C): This device has DL amplification and / or UL amplification capabilities. The UL transmission of the device is generated internally. Optionally, this type of device has energy storage. Optionally, this type of device is similar to an active A-IoT device.

[0133] It should be noted that the embodiments of this application do not limit the communication system used by the terminal device, nor the type of terminal device.

[0134] In the embodiments of this application, the network device can be a device in a wireless network, and can also be referred to as a network apparatus or a wireless access network device. For example, the network device can be a radio access network (RAN) node that connects terminal devices to the wireless network, and can also be referred to as an access network (AN) device. Network equipment includes, but is not limited to: base stations (BS), evolved NodeBs (eNodeBs), transmission reception points (TRPs), next-generation NodeBs (gNBs) in 5G systems, access network equipment in open radio access networks (O-RAN or ORAN), base stations in future mobile communication systems or access points (APs) in wireless fidelity (WiFi) systems, radio network controllers (RNCs), base station controllers (BSCs), base transceiver stations (BTSs), home base stations (e.g., home evolved NodeBs or home Node Bs, HNBs), base band units (BBUs), etc.; or it can be a module or unit that performs some of the functions of a base station, such as a central unit (CU), a distributed unit (DU), a central unit control plane (CU-CP) module, or a central unit user plane (CU-UP) module. Network equipment can be macro base stations, micro base stations, indoor stations, relay nodes, or donor nodes, etc.

[0135] In addition, in the embodiments of this application, the network device can also be a reader or interrogator in A-IoT. For ease of description, this application uses a reader as an example. This application does not limit the specific technology or device form used by the network device.

[0136] In some implementations, network devices may include CUs and DUs. This includes RAN devices with CUs and DUs that separate the protocol layers of the gNB in ​​the NR system. Some protocol layer functions are centrally controlled by the CU, while the remaining partial or complete protocol layer functions are distributed in the DU, which is centrally controlled by the CU. For example, the CU is responsible for handling non-real-time protocols and services, implementing the functions of the radio resource control (RRC) layer. The DU is responsible for handling physical layer protocols and real-time services, implementing the functions of the radio link control (RLC), media access control (MAC), and physical (PHY) layers. Furthermore, the CU can be divided into a control plane (CU-CP) and a user plane (CU-UP). The CU-CP is responsible for control plane functions, mainly including RRC and the corresponding packet data convergence protocol (PDCP) (i.e., control plane part of PDCP, PDCP-C)). CU-UP is responsible for user plane functions, mainly including the Service Data Adaptation Protocol (SDAP) and the user plane corresponding PDCP (i.e., user plane part of PDCP, PDCP-U). CU-CP and CU-UP are connected via the E1 interface. CU-CP represents the gNB connecting to the core network through the next-generation (NG) interface, and to the DU through the F1 interface control plane (i.e., F1-C). CU-UP connects to the DU through the F1 interface user plane (i.e., F1-U). Alternatively, PDCP-C may also be located within CU-UP.

[0137] It is understood that CU (including CU-CP or CU-UP) or DU may have different names in different systems, but those skilled in the art will understand their meaning. For example, in an O-RAN system, CU can also be called an open CU (O-CU), DU can also be called an open DU (O-DU), CU-CP can also be called O-CU-CP, and CU-UP can also be called O-CU-UP. For ease of description, this application uses CU, CU-CP, CU-UP, and DU as examples. Network devices may also include active antenna units (AAU).

[0138] Optionally, this application embodiment also involves core network (CN) equipment. Core network equipment is a collective term for various functional entities on the network side that manage users, data transmission, and base station configuration, including access and mobility management function (AMF), user plane function (UPF), session management function (SMF), tag management function (TMF), ambient IoT management function (AIoTMF), ambient IoT function (AIoTF), and application function (AF), etc.

[0139] Figure 1 shows a schematic diagram of a network architecture for a communication system. As shown in Figure 1, the network devices are access network devices, which include CU and / or DU.

[0140] In some examples, the CU is a logical node carrying the RRC, SDAP, PDCP, and other control functions of the access network equipment. The CU connects to network nodes such as the core network through interfaces including the E2 interface. Optionally, the CU may have some core network functions. The CU (e.g., PDCP layer and higher layers) connects to the DU (e.g., RLC layer and lower layers) through interfaces including the F1 interface. In some examples, these interfaces (e.g., the F1 interface) can provide control plane (C-Plane) and user plane (U-Plane) functions (e.g., interface management, system information management, UE context management, RRC message transmission, etc.). F1AP is the application protocol for the F1 interface, defining the F1 signaling procedures in some examples. The F1 interface supports control plane F1-C and user plane F1-U.

[0141] In some examples, the CU can be split, such as including CU-CP and CU-UP. CU-CP is a logical node carrying the RRC and PDCP-C layers, used to implement the CU's control plane functions. CU-CP can interact with network elements in the core network used to implement control plane functions. These network elements in the core network can be Access and Mobility Function (AMF) network elements, such as the AMF network element in a 5G system. The AMF network element 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. CU-UP is a logical node carrying the SDAP and PDCP-U layers, used to implement the CU's user plane functions. CU-UP can interact with network elements in the core network used to implement user plane functions. These network elements in the core network, such as the UPF network element in a 5G system, are responsible for data forwarding and receiving in terminal devices. The above CU and DU configurations are merely examples; the functions of CU and DU can be configured as needed.

[0142] In some examples, the DU is a logical node that carries the RLC layer, MAC layer, PHY layer, and other functions. In some examples, the DU can control at least one radio unit (RU). The DU connects to the RU through interfaces, which may be fronthaul interfaces.

[0143] In some examples, the RU is a logical node that carries both lower physical layer (PHY) and radio frequency (RF) processing. In some examples, the RU may be a 3rd Generation Partnership Project (3GPP) node. rd The TRP or remote radio head (RRH) or other similar entity in the Generation Partnership Project (3GPP).

[0144] The DU and RU can be co-located or not. The DU and RU exchange control plane and user plane information via a lower-layer split-control, user, and synchronization (LLS-CUS) interface through a fronthaul link. LLS-CUS may include LLS-C and LLS-U interfaces that provide the control plane (C-Plane) and user plane (U-Plane), respectively. In some examples, the control plane (C-Plane) refers to real-time control between the DU and RU. The DU and RU exchange management information via an LLS-M interface on the fronthaul link; the management plane (M-Plane) refers to non-real-time management operations between the DU and RU.

[0145] DUs and RUs can work together to implement the functions of the PHY layer. A DU can be connected to one or more RUs. The functions of DUs and RUs 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. Alternatively, 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 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.

[0146] In some examples, network devices also include RAN intelligent controllers (RICs). RICs include near-real-time RICs (near-RT RICs) and non-real-time RICs (non-RT RICs).

[0147] Optionally, near real-time RIC and non-real-time RIC can be set up as separate network elements, or they can be part of other devices. For example, near real-time RIC can be set up in access network devices, while non-real-time RIC can be set up in operation administration and maintenance (OAM) network elements, cloud servers, core network devices, or other devices.

[0148] Optionally, the network device can be a single RAN node or include multiple RAN nodes, such as CU and DU. The CU and / or DU can also be configured with one or more artificial intelligence (AI) modules. In some examples, the CU can also be split into CU-CP and CU-UP. One or more AI models are configured in the CU-CP and / or CU-UP.

[0149] Figure 2 illustrates a network architecture diagram of an O-RAN system. As shown in Figure 2, access network devices (e.g., eNBs, gNBs, or next-generation access network devices) communicate with core network devices via backhaul links and with terminal devices via air interfaces. It can be understood that an O-RAN system may include components other than those shown in the figure.

[0150] To facilitate understanding of the embodiments of this application, a communication system applicable to the embodiments of this application will be described in detail. This communication system includes at least two devices, such as a network device and a terminal device, or two terminal devices.

[0151] As shown in Figure 3, the communication system includes network devices and terminal devices. The network devices can communicate bidirectionally with the terminal devices. Specifically, the network devices can send excitation signals to the terminal devices via the forward link to provide power. The terminal devices receive the excitation signals sent by the network devices and send reflected signals back to the network devices via the reverse link. In this way, the network devices can identify the terminal devices' identifiers (IDs) and perform read and write operations on the terminal devices. Uplink and downlink data / signaling exist between the network devices and the terminal devices.

[0152] As shown in Figure 4, the communication system includes network devices, intermediate nodes, and terminal devices. Two-way information exchange is possible between the network devices and intermediate nodes, and between the intermediate nodes and terminal devices. Specifically, the network devices can send signaling to the intermediate nodes via the fronthaul downlink. The intermediate nodes receive the signaling and, based on it, send an excitation signal to the terminal devices via the fronthaul link. The terminal devices send reflected signals via the reverse link; correspondingly, the intermediate nodes can receive the reflected signals from the terminal devices via the reverse link and send them back to the network devices. Furthermore, the network devices and intermediate nodes can exchange other signaling on the fronthaul uplink and fronthaul downlink, such as resource configuration signaling, which will not be detailed here.

[0153] Optionally, the intermediate node can be a repeater, an IAB node, or a UE, etc., and this application does not limit this. The intermediate node transmits data and / or signaling between network devices and terminal devices.

[0154] As shown in Figure 5 or Figure 6, the communication system includes network devices, assisting nodes, and terminal devices. While the network devices and terminal devices exchange information bidirectionally, the network devices can also exchange information bidirectionally with assisting nodes, and the assisting nodes can also exchange information bidirectionally with terminal devices. For example, a terminal device sends signaling to a network device and also sends signaling to an assisting node; the assisting node then sends the same signaling back to the network device to assist the terminal device in sending data and enhance the network device's reception. The same logic applies when the network device sends signaling to the terminal device, which will not be elaborated further. In some implementations, the assisting node and the network device can communicate via the Uu interface.

[0155] Optionally, the auxiliary node can be a repeater, IAB, UE, etc., and this application does not limit this. The terminal device sends data / signaling to the network device and receives data / signaling from the auxiliary node; or the network device sends data / signaling to the terminal device and receives data / signaling from the auxiliary node.

[0156] Optionally, the network devices in Figures 3-6 above may be base stations or readers, or any of the network devices involved in this application described above. The terminal devices may be A-IoT devices, or any of the terminal devices involved in this application described above, but this application does not limit them.

[0157] Furthermore, the communication link between the network device and the terminal device can include a device-to-reader (DR or D2R) link and a reader-to-device (RD or R2D) link. The communication data between the network device and the terminal device can include D2R data and R2D data.

[0158] As shown in Figure 7, terminal device 1 and terminal device 2 can perform bidirectional information interaction. In one possible implementation, the communication between terminal device 1 and terminal device 2 adopts 5G NR technology or 5G sidelink technology.

[0159] Optionally, terminal device 1 in Figure 7 above can be a UE, and terminal device 2 can be an A-IoT terminal device. Alternatively, terminal device 2 can be a UE, and terminal device 1 can be an A-IoT terminal device. Terminal device 1 and terminal device 2 can also be any of the terminal devices involved in this application described above, but this application does not limit them.

[0160] It should be understood that the number of network devices, terminal devices, intermediate nodes, and auxiliary nodes in the above communication system example may be more or less, and this application does not limit this.

[0161] The network architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0162] The names or processes in the embodiments of this application will be explained below to facilitate understanding by those skilled in the art.

[0163] 1. A-IoT

[0164] A-IoT is an important component of future information technology development. Its main technical feature is connecting objects to networks via communication technology, thereby realizing an intelligent network that enables human-machine interaction and machine-to-machine interaction. A-IoT can realize business functions such as inventory, positioning, sensing, and operation commands. Typical application scenarios include logistics, warehousing, industrial manufacturing, identity recognition, and environmental monitoring.

[0165] For example, the inventory management service utilizes a reader (which can be a base station / terminal device) to access A-IoT devices within the coverage area. Successfully connected A-IoT devices need to send their unique identifier to the reader. This unique identifier can be a device ID.

[0166] For example, the location service uses location signals to locate the position of A-IoT devices.

[0167] For example, sensing services involve A-IoT devices reporting sensing data to a reader (which could be a base station), such as temperature data.

[0168] For example, command operations can implement write or lock processes.

[0169] The write process includes: the reader (which can be a base station) sends a downlink command and data, instructing the A-IoT device to write the data into its own memory. The lock process includes: the reader (which can be a base station) sends a downlink command, instructing the A-IoT device to lock the location at a specified address in the memory, making the contents of that memory area unchangeable and / or unreadable.

[0170] 2. Air Interface / Access Layer (AS) Process in A-IoT

[0171] In this embodiment, taking an A-IoT device and a reader as examples, the AS process is described. As shown in Figure 8a, it includes the following steps:

[0172] Step A: A-IoT paging.

[0173] The reader sends an A-IoT paging message to the A-IoT device based on the service request. The A-IoT device then receives the A-IoT paging message from the reader.

[0174] Among them, the A-IoT paging message indicates the device that needs to respond.

[0175] Additionally, the A-IoT paging message can be replaced with an initial trigger message. For simplicity, no restrictions are imposed.

[0176] In addition, A-IoT paging messages can also be described in other ways, such as paging message.

[0177] Understandably, at the AS layer, A-IoT paging messages indicate which devices need to respond.

[0178] For A-IoT paging messages, an identifier is used to identify the device / group of devices indicated or associated in this triggering message (e.g., a single device, a group of devices, or all devices). Examples include the following:

[0179] Scenario 1: A-IoT paging messages can contain a single A-IoT device ID;

[0180] Scenario 2: The A-IoT paging message contains a group ID mapped to multiple A-IoT devices;

[0181] Scenario 3: The A-IoT paging message does not contain any identifier, indicating that all A-IoT devices capable of receiving the A-IoT paging message need to respond;

[0182] Case 4: The A-IoT paging message contains multiple A-IoT device identifiers.

[0183] Optionally, for A-IoT paging messages, it can also indicate that the device can determine the resources (such as time-domain and / or frequency-domain resources) for D2R response messages based on this information.

[0184] Optionally, the paging function of A-IoT devices can be understood as not supporting traditional paging messages, traditional paging timing, and traditional discontinuous reception (DRX) from NR. It can be assumed that the A-IoT device has sufficient power to receive A-IoT paging messages.

[0185] Step B: D2R data transmission.

[0186] The triggered A-IoT device performs device ID transmission either through the A-IoT random access procedure or without using the A-IoT random access procedure (e.g., contention-free resolution).

[0187] Step C: Data transmission.

[0188] The triggered A-IoT device and the reader may exchange data. For example, step C includes steps C1 and / or C2:

[0189] Step C1: Possible R2D data transmission (e.g., for sending commands, such as read, write, lock, deactivate, sensor, etc.).

[0190] Step C2: Possible D2R data transfer (e.g., responses to commands, such as data read by a read command, success / failure feedback for a write command, etc.).

[0191] Then, the above process can support inventory and command scenarios in the following ways:

[0192] For inventory-only scenarios, the baseline solution includes steps A and B.

[0193] For inventory and command scenarios, the baseline scheme includes steps A, B, C1, and C2.

[0194] For command-only scenarios:

[0195] It can also be supported by a baseline scheme having steps A, B, C1, and C2.

[0196] Alternatively, another candidate solution supporting this scenario is as follows:

[0197] Step A': A-IoT Paging. The reader sends an A-IoT paging message containing commands based on the service request, instructing the device to process / respond to the commands.

[0198] Step C2: Perform possible D2R data transmission (e.g., device ID or response to a command) with or without the A-IoT random access procedure.

[0199] 3. A-IoT random access

[0200] The A-IoT random access procedure is used for A-IoT devices to access the network for data transmission.

[0201] A-IoT random access is triggered by the reader, including access triggered by a single A-IoT device, a group of A-IoT devices, or all A-IoT devices under the reader's coverage.

[0202] Slotted-ALOHA is the baseline for the A-IoT random access process.

[0203] When an A-IoT device responds to an A-IoT paging message, the A-IoT device performs the following process:

[0204] Step 1, Random access type and access timing / resource determination:

[0205] If the random access is contention-free random access (CFRA):

[0206] The selected D2R opportunity / resource can be chosen, for example, from the resources indicated in the paging message; or, a specified resource can be selected. For instance, the reader indicates one or more access occasions (AOs), each AO corresponding to (or mapping to) an A-IoT device. If each AO corresponds to an A-IoT device identifier, the A-IoT device selects the AO corresponding to its own identifier. An AO includes access time resources and / or access frequency domain resources. The A-IoT device identifier includes one of the following: device ID, access stratum identifier (AS ID), or temp ID, etc.

[0207] Skip the race resolution in step 2 and proceed to step 3 to perform data transmission.

[0208] If it is contention-based random access (CBRA):

[0209] Determining / selecting the timing / resources for access, such as randomly selecting from resources indicated by the paging message;

[0210] Step 2 of the competition resolution procedure.

[0211] Step 2, Contention-based random access contention resolution:

[0212] Regarding the contention solution, two candidate solutions are shown below:

[0213] Option 1: A-IoT Message (mmessage, Msg) 1 No data

[0214] A-IoT Msg1: When an A-IoT device recognizes that its AO has started, it sends A-IoT Msg1 to the reader.

[0215] The A-IoT Msg1 includes a random identifier. This random identifier can be randomly generated by the A-IoT device or based on the device ID. The size of the random identifier is also not limited, for example, it can be a 16-bit random number.

[0216] A-IoT Msg2: A random identifier indicating successful reception by the reader.

[0217] For example, the reader sends A-IoT Msg2 to the A-IoT device. The A-IoT device then receives A-IoT Msg2 from the reader. If the A-IoT device receives A-IoT Msg2 containing a random identifier, and this random identifier is the same as the one previously sent in A-IoT Msg1, then the race condition is considered successfully resolved.

[0218] It is understandable that A-IoT Msg2 is used for contention resolution because it is assumed that the size of the random identifier in A-IoT Msg1 should be sufficient for contention resolution purposes. The probability that A-IoT devices with the same AO will send the same random identifier in A-IoT Msg1 is sufficiently low, and the range of values ​​for the random identifier can be considered sufficiently large.

[0219] Option 2: A-IoT Msg1 has data

[0220] A-IoT Msg1: When an A-IoT device recognizes that its AO has started, it sends A-IoT Msg1 to the reader.

[0221] In this context, A-IoT Msg1 includes upper-layer data. This upper-layer data may include the device ID and / or any other upper-layer data. Optionally, in Scheme Two, A-IoT Msg1 may or may not include a random identifier.

[0222] A-IoT Msg2: The reader can respond with at least one of the following: a successfully received random identifier, or a device ID (partial or complete), or an acknowledgment (ACK). Of course, the reader may also choose not to respond.

[0223] If the A-IoT device does not receive a signal indicating failure, reconnection, or retransmission, it is considered that the access was successful, the data transmission was successful, or the service was successful.

[0224] Alternatively, if the A-IoT device receives A-IoT Msg2, and A-IoT Msg2 contains at least one of the following: a random identifier, or a device ID (partial or complete), or an ACK. That is, the information in A-IoT Msg2 is part of the information previously sent in A-IoT Msg1 or generated based on A-IoT Msg1 (e.g., by hashing A-IoT Msg1), then the A-IoT device considers the race condition resolved successfully.

[0225] It can be understood that A-IoT Msg1 is Msg1 in A-IoT, and can also be written as Msg1. A-IoT Msg2 is Msg2 in A-IoT, and can also be written as Msg2.

[0226] It should be noted that, in this application, the format of Msg2 is described as follows:

[0227] Msg2 can be carried at the MAC layer, such as a Media Access Control Protocol Data Unit (MAC PDU). A MAC PDU includes at least one MAC subPDU, as shown in Figure 8b.

[0228] Typically, a MAC subPDU includes a MAC subheader and a media access control element (MAC CE).

[0229] The MAC subheader includes the message type, which is located in the most significant bit string of the message, as shown in Figure 8c or Figure 8d. Optionally, the MAC subheader also includes at least one of the following: reserved (R) bits, length (L) information, etc. The length information indicates the length of the MAC CE in its own message, and occupies 1 or 2 bytes.

[0230] The length of the MAC CE can be fixed, such as a fixed-size MAC CE. Alternatively, the length of the MAC CE can be variable, such as a variable-size MAC CE, as shown in Figure 8b.

[0231] Optionally, among the multiple MAC subPDUs, at least one MAC subPDU includes a MAC subheader and a media access control service data unit (MAC SDU), as shown in Figure 8b.

[0232] Optionally, among multiple MAC subPDUs, one MAC subPDU is used for padding. This can be understood as a MAC subPDU including padding, as shown in Figure 8b.

[0233] It should be added that when a MAC PDU includes a MAC subPDU, it can be understood that Msg2 includes a MAC subheader and a MAC CE, or Msg2 includes a MAC header and a MAC CE. In this case, the MAC subPDU can also be called a MAC PDU.

[0234] It should be added that when a MAC PDU includes multiple MAC subPDUs, it can be understood that Msg2 includes multiple MAC subheaders and multiple MAC CEs, and the multiple MAC subheaders correspond one-to-one with the multiple MAC CEs. Please refer to the introduction of MAC subPDUs.

[0235] It is understood that with the evolution of communication technology, the above names (such as MAC PDU, MAC subPDU, MAC subheader, or MAC CE) may also have other descriptions. This application only uses the above names as examples for introduction and should not be construed as limiting this application.

[0236] For example, the MAC subheader can also have other descriptions, such as subheader, MAC header, or message header, etc.

[0237] For example, MAC CE can also be described in other ways, such as element, signaling element, or MAC signaling element.

[0238] Step 3, Data Transmission:

[0239] If contention-based random access is used, or if contention-free random access is used, upper-layer data transmission with the reader is performed after the A-IoT device considers the contention to be resolved successfully. The upper-layer data transmission may be the device ID and / or any other upper-layer data (if any).

[0240] In step 3, it can be understood that subsequent R2D transmissions after a D2R transmission do not always need to be sent. The use / existence of subsequent R2D transmissions requires further research; for example, handling retransmissions or reconnections after a D2R transmission failure could be considered (due to various reasons).

[0241] 4. AS ID

[0242] AS ID can be understood as identification information visible to the access stratum (AS), such as A-IoT devices and readers. The AS ID can reuse a random identifier or be assigned by the reader and indicated to the A-IoT device that successfully resolves the access / contention issue via Msg2, downlink data (such as downlink data after Msg3), or paging messages.

[0243] To ensure correct AS ID resolution, this application provides a communication method. This method can be applied to the systems shown in Figures 1-7. The method includes:

[0244] The system receives first information and second information. The first information includes N random identifiers and M AS IDs. The second information indicates the correspondence between the N random identifiers and the M AS IDs. The N random identifiers include a first random identifier, which corresponds to a first device. The M AS IDs include a first AS ID, where M and N are positive integers. Based on the first and second information, the AS ID of the first device is determined. The AS ID of the first device is either the first AS ID or the first random identifier.

[0245] The first and second information can be included in the same message (such as Msg2) or in different messages.

[0246] The correspondence between the N random identifiers and the M AS IDs can be understood as follows:

[0247] When M=N, there is a one-to-one correspondence between the N random identifiers and the M AS IDs.

[0248] When M < N, among the N random identifiers, M random identifiers correspond one-to-one with M AS IDs, and (NM) random identifiers do not correspond to any of the M AS IDs.

[0249] One random identifier corresponds to one AS ID. This can be understood as follows: the random identifier and the AS ID correspond to the same device (such as an A-IoT device or a chip in an A-IoT device). The random identifier is generated and sent by the device, and the AS ID is the AS ID assigned to the device.

[0250] In this context, "being allocated" can be understood as being redistributed.

[0251] Based on the above technical solution, the second information indicates the correspondence between N random identifiers and M AS IDs. Therefore, based on the first random identifier, the first information, and the second information, the first device can determine whether its own AS ID is included among the M AS IDs. For example, when the first device's AS ID is assigned, the first device's AS ID is included in the M AS IDs, such as the first device's AS ID being the first AS ID, thus achieving correct AS ID resolution. Furthermore, when the first device's AS ID reuses the first random identifier (i.e., when no AS ID is assigned), the first device's AS ID is the first random identifier, thus achieving correct AS ID resolution.

[0252] Without referring to the second piece of information, the AS ID cannot be correctly parsed, as detailed below:

[0253] The AS ID can be indicated to the device that successfully resolves the access / contention issue (such as an A-IoT device or a chip within an A-IoT device) via Msg2. When the same Msg2 corresponds to multiple devices, some of these devices may be assigned an AS ID. Accordingly, Msg2 includes at least one random identifier and at least one AS ID. The number of random identifiers and AS IDs may be the same or different. Even if the number of random identifiers and AS IDs is the same, the order of the random identifiers may differ from the order of the AS IDs. For the receiving device, it cannot know whether its own AS ID is carried in Msg2, affecting AS ID resolution.

[0254] For example, taking A-IoT devices as an example, each of the seven A-IoT devices (e.g., A-IoT devices 1 / 2 / 3 / 4 / 5 / 6 / 7) generates a random identifier and sends Msg1 to the same reader. Each Msg1 includes a random identifier. Specifically, A-IoT device 1 sends Msg1 on AO1 containing random identifier 'a', A-IoT device 2 sends Msg1 on AO2 containing random identifier 'b', and so on for the other A-IoT devices. In this application, AO1 refers to AO numbered 1. AO2 refers to AO numbered 2. Other AOs follow the same pattern. Among the seven A-IoT devices (e.g., A-IoT devices 1 / 2 / 3 / 4 / 5 / 6 / 7), four A-IoT devices (e.g., A-IoT devices 1 / 3 / 5 / 7) successfully resolve the random access contention, while three A-IoT devices (e.g., A-IoT devices 2 / 4 / 6) fail to resolve the random access contention. Of the four A-IoT devices that successfully resolved the random access contention (e.g., A-IoT devices 1 / 3 / 5 / 7), three A-IoT devices (e.g., A-IoT devices 1 / 3 / 5) were assigned an AS ID, while one A-IoT device (e.g., A-IoT device 7) was not assigned an AS ID. Accordingly, Msg2 includes four random identifiers (e.g., random identifiers a / c / e / g) to indicate that the corresponding A-IoT device successfully resolved the random access contention, and Msg2 also includes three AS IDs (e.g., AS ID a / c / e) to indicate that the corresponding A-IoT device was assigned an AS ID, as shown in Figure 9.

[0255] However, on the A-IoT device side, after receiving Msg2, the A-IoT device cannot know whether its own AS ID is included among the above three AS IDs, that is, the A-IoT device cannot correctly parse the AS ID.

[0256] In this application, the second information indicates the correspondence between N random identifiers and M AS IDs, so that the first device can determine whether its own AS ID is included among the M AS IDs based on the first random identifier, the first information and the second information, thereby determining its own AS ID and achieving correct AS ID parsing.

[0257] The communication method proposed in this application embodiment will now be described in detail with reference to Figure 10. The communication method 1000 proposed in this application embodiment includes the following operations:

[0258] S1001, the second device determines the first information and the second information.

[0259] The second device can be a network device, such as a reader, or a terminal device, such as an A-IoT device, or a chip within the aforementioned devices (such as network devices or terminal devices). The network device and terminal device are illustrated in Figures 1-7 and will not be described further. In this application, a reader is used as an example for the description of the second device.

[0260] The first information includes N random identifiers and M AS IDs, where M and N are positive integers. Each of the N random identifiers corresponds to a device (such as an A-IoT device or a chip within an A-IoT device), and the random access contention for that device has been successfully resolved. Each of the M AS IDs corresponds to a device (such as an A-IoT device or a chip within an A-IoT device), and the random access contention for that device has been successfully resolved and an AS ID has been assigned to it. Optionally, N is greater than or equal to M.

[0261] Based on the above examples, as shown in Figure 11, the N random identifiers include 4 random identifiers (such as random identifiers a / c / e / g) to indicate that the random access contention of the corresponding A-IoT device has been successfully resolved, and the M AS IDs include 3 AS IDs (such as AS ID a / c / e) to indicate that the corresponding A-IoT device has been assigned an AS ID.

[0262] It should be added that, in this application, the N random identifiers are arranged in a certain order, for example, according to the order of the AOs occupied by the devices (such as A-IoT devices). Similarly, the M AS IDs are arranged in a certain order, for example, according to the order of the AOs occupied by the devices (such as A-IoT devices).

[0263] It should be added that, in this application, the order of AO can be understood as: arranged in the order of access time resources from front to back, and / or arranged in the order of access frequency domain resources from low to high.

[0264] For example, X (e.g., X=4) access time resources are allocated, with earlier access time resources having smaller sequence numbers. Optionally, Y (e.g., Y=8) access frequency domain resources are also allocated. The order of the access frequency domain resources can be determined according to the indicated order or the order specified by the protocol; for example, the earlier the access frequency domain resource, the smaller its sequence number.

[0265] In this context, the AO sequence number corresponds to the access time resource sequence number and / or access frequency domain resource sequence number. For example, there are a total of 4 access time resources and 8 access frequency domain resources, with each access time resource corresponding to 8 access frequency domain resources, for a total of 4*8=32 AOs. For a device (such as an A-IoT device), the device corresponds to access time resource sequence number 4 and access frequency domain resource sequence number 3, so the AO sequence number can be 27, i.e., (4-1)*8+3=27. This AO is the 3rd access frequency domain resource in the 4th access time resource.

[0266] Based on the examples above, AO1 refers to the AO with sequence number or index 1, which is the first frequency domain resource in the first access time resource. AO2 refers to the AO with sequence number or index 2, which is the second frequency domain resource in the first access time resource. Other AOs follow the same pattern.

[0267] Referring to the examples above, as shown in Figure 11, in the first information, the four random identifiers are arranged in ascending order of the AO number occupied by the device. The three AS IDs are also arranged in ascending order of the AO number occupied by the device.

[0268] Optionally, the N random identifiers include a first random identifier, which corresponds to the first device. For example, the first random identifier is the random identifier of the first device. Taking Figures 11-14 as an example, the first random identifier is random identifier a.

[0269] Optionally, the M AS IDs include the first AS ID. Taking Figures 11-14 as an example, the first AS ID is AS ID a.

[0270] The second piece of information indicates the correspondence between N random identifiers and M AS IDs.

[0271] Optionally, the second information includes the following (options 1-4 below):

[0272] Option 1:

[0273] In option 1, as a first example, the second information includes a first bit diagram, which consists of N bits. If the Nth bit... i When the first bit is the first value, it indicates the Nth random identifier among N random identifiers. i Each random identifier corresponds to one of the M AS IDs. If the Nth bit... i When the last bit is the second value, it indicates the Nth random identifier among the N random identifiers. i Each random identifier does not correspond to any one of the M AS IDs. i It is a positive integer less than or equal to N, for example, N iThis iterates over positive integers from 1 to N. For example, the first value is 1 and the second value is 0. Or, the first value is 0 and the second value is 1.

[0274] Referring to the examples above, as shown in Figure 11, the first bit diagram consists of 4 bits, each corresponding to one of 4 random identifiers (e.g., random identifiers a / c / e / g). The first bit diagram is explained as follows: When the first bit is 1, it indicates that the first random identifier (e.g., random identifier a) among the 4 random identifiers (e.g., random identifier a / c / e / g) corresponds to an AS ID, such as the first AS ID out of 3 AS IDs (e.g., AS ID a); the other bits follow the same logic. When the fourth bit is 0, it indicates that the fourth random identifier (e.g., random identifier g) among the 4 random identifiers (e.g., random identifier a / c / e / g) does not correspond to any of the M AS IDs.

[0275] In other words, in the first example of option 1, the correspondence between N random identifiers and M AS IDs is indicated by the bit value of the first bit diagram.

[0276] Optionally, taking the first bit as an example: the first bit of the first bit diagram corresponds to the first random identifier. If the first bit is a first value, it indicates that the first random identifier corresponds to one of the M AS IDs, such as the first AS ID. If the first bit is a second value, it indicates that the first random identifier does not correspond to any of the M AS IDs. For example, the first bit is the 1st bit of the first bit diagram, the first value is 1, the first random identifier is random identifier a, and the first AS ID is AS ID a, as shown in bold in Figure 11. Alternatively, the first bit is the 4th bit of the first bit diagram, the second value is 0, and the first random identifier is random identifier g.

[0277] It should be noted that in this application, if the Nth bit of N bits... i When the first bit is the first value, it indicates the Nth random identifier among N random identifiers. i Each random identifier corresponds to one of the M AS IDs, which can be replaced with:

[0278] The first type, if the Nth bit in the N bits i When each bit is the first value, it indicates that a device has successfully accessed the network, corresponding to one of the M AS IDs. The device sends the Nth bit... i A random identifier.

[0279] The second type, if the Nth bit in the N bits i When the first bit is the first value, it indicates that one of the M AS IDs is the AS ID of a device that has successfully accessed the network. The device sends the Nth bit... iA random identifier.

[0280] Taking the first bit as an example: The first bit of the first bit diagram corresponds to the first random identifier. If the first bit is a first value, it indicates that a device that has successfully accessed the network corresponds to one of the M AS IDs, such as the first AS ID. In this case, the device sends the first random identifier. Alternatively, if the first bit is a first value, it indicates that one of the M AS IDs is the AS ID of a device that has successfully accessed the network. In this case, the device sends the first random identifier.

[0281] It should be noted that in this application, if the Nth bit of N bits... i When the last bit is the second value, it indicates the Nth random identifier among the N random identifiers. i The random identifier does not correspond to any one of the M AS IDs, and can be replaced with:

[0282] The first type, if the Nth bit in the N bits i When each bit is the second value, it indicates or represents the Nth random identifier among N random identifiers. i A random identifier is used as the AS ID.

[0283] The second type, if the Nth bit in the N bits i When each bit is the second value, it indicates or represents the Nth random identifier among N random identifiers. i The AS ID of the device corresponding to each random identifier is not included in the M AS IDs (or the first information).

[0284] Taking the first bit as an example: The first bit of the first bit diagram corresponds to the first random identifier. If the first bit is the second value, it indicates or represents that the first random identifier is an AS ID. Alternatively, if the first bit is the second value, it indicates or represents that the AS ID of the first device corresponding to the first random identifier is not included in the M AS IDs (or the first information).

[0285] Optionally, the length of the first bit diagram is indicated by third information, as shown in Figure 11. In some embodiments, the third information is included in Msg2, such as in the MAC (sub) header of Msg2.

[0286] In option 1, as a second example, the second information includes M first indices, and the Mth first index among the M first indices... i The first index indicates: the Mth AS ID among the M AS IDs i Each AS ID corresponds to one of N random identifiers, M i It is a positive integer less than or equal to M, for example, M iThe function iterates over positive integers from 1 to M. Optionally, the M first indices refer to the indices of the M random identifiers, and the M random identifiers are included in the N random identifiers. In this application, the index of a random identifier indicates its sequence number / number among the N random identifiers.

[0287] Referring to the examples above, among the four random identifiers (such as random identifiers a / c / e / g), the index of each random identifier indicates its sequence number / serial number among the four random identifiers (such as random identifiers a / c / e / g). For example, the index of random identifier a is 1, the index of random identifier c is 2, the index of random identifier e is 3, and the index of random identifier g is 4.

[0288] Referring to the examples above, as shown in Figure 11, the M first indices include three: 1, 2, and 3, which represent the indices of random identifier 1, random identifier 2, and random identifier 3, respectively. Based on these M first indices, it can be understood that random identifier 1 corresponds to one of the three AS IDs, such as AS ID a; random identifier 3 corresponds to one of the three AS IDs, such as AS ID c; and random identifier 5 corresponds to one of the three AS IDs, such as AS ID e.

[0289] In other words, in the second example of option 1, the correspondence between N random identifiers and M AS IDs is indicated by M first indices.

[0290] Optionally, taking M first indices including a fourth index, and the fourth index corresponding to a first random identifier as an example: the fourth index is the index of the first random identifier, and the fourth index indicates that the first random identifier corresponds to a first AS ID. For example, the fourth index is 1, the first random identifier is random identifier a, and the first AS ID is AS ID a, as shown in bold in Figure 11.

[0291] It should be noted that, in this application, the Mth index among the M first indices... i The first index indicates: the Mth AS ID among the M AS IDs i Each AS ID corresponds to one of N random identifiers, which can be replaced with:

[0292] The first type, the Mth index among the M first indices. i The first index indicates that a device that has successfully accessed the system corresponds to the Mth AS ID among the M AS IDs. i The AS ID. Among them, the Mth... i The first index is an index with a random identifier, and the random identifier is sent by the device.

[0293] The second type is the Mth index among the M first indices. iThe first index indicates: the Mth AS ID among the M AS IDs i Each AS ID is the AS ID of a device that has successfully accessed the network. Among them, the Mth... i The first index is an index with a random identifier, and the random identifier is sent by the device.

[0294] Taking the fourth index as an example: the fourth index corresponds to the first random identifier. Specifically, the fourth index indicates that the first device (with successful random access) corresponds to the first AS ID; or, the fourth index indicates that the first AS ID is the AS ID of the first device (with successful random access). The first device sends the first random identifier.

[0295] Optionally, the value of M is indicated by a fourth piece of information. In other words, the fourth piece of information indicates the number of first indices, or the number of assigned AS IDs, or the number of AS IDs carried in Msg2. In some embodiments, the fourth piece of information is included in Msg2, such as in the MAC (sub) header of Msg2.

[0296] Optionally, the value of N is indicated by the sixth information. In other words, the number of random identifiers is indicated by the sixth information, or the number of random identifiers carried in Msg2 is indicated by the sixth information, as shown in Figure 11. In some embodiments, the sixth information is included in Msg2, such as in the MAC (sub) header of Msg2.

[0297] Option 2:

[0298] First, the following explanation is provided:

[0299] The second information indicates the correspondence between N random identifiers and M AS IDs, including: the second information indicates the correspondence between K access opportunity AOs and M AS IDs, where the random identifiers transmitted on the K AOs include N random identifiers, and K is a positive integer.

[0300] The correspondence between the K AOs and the M AS IDs can be understood as follows:

[0301] When K = M, there is a one-to-one correspondence between K AOs and M AS IDs.

[0302] When M < K, among the K AOs, M AOs correspond one-to-one with M AS IDs, and (KM) AOs do not correspond to any of the M AS IDs.

[0303] One AO ​​corresponds to one AS ID, which can be understood as: the AO and the AS ID correspond to the same device (such as an A-IoT device). For example, the AO is selected by the device and used to send random identifiers, and the AS ID is the AS ID assigned to the device.

[0304] In other words, the random identifiers transmitted on the K AOs include N random identifiers, so there is a correspondence between the K AOs and the N random identifiers. Based on this, the second information indicates the correspondence between the K AOs and the M AS IDs. Then, based on the correspondence between the K AOs and the N random identifiers, the correspondence between the N random identifiers and the M AS IDs can be determined.

[0305] Next, let's introduce the second piece of information:

[0306] In option 2, as a first example, the second information includes a second bitmap, which consists of K bits.

[0307] If the Kth bit in the K bits j When the third bit is the third value, it indicates the Kth bit in the K AOs. j Each AO corresponds to the Mth AS ID. i AS ID. Kth j The random identifier transmitted on each AO is included in N random identifiers, and the Kth random identifier is... j The random identifier transmitted on the Mth AO corresponds to the i AS ID.

[0308] Conversely, if the Kth bit in the K bits j When the fourth bit is the fourth value, it indicates the Kth bit in the K AOs. j Each AO does not correspond to any one of the M AS IDs. The Kth... j The random identifier transmitted on each AO is included in N random identifiers, and the Kth random identifier is... j The random identifier transmitted on each AO does not correspond to any of the M AS IDs.

[0309] Where K is a positive integer, K j A positive integer less than or equal to K, such as K j M is a list of positive integers from 1 to K. i It is a positive integer less than or equal to M.

[0310] For example, the third value is 1 and the fourth value is 0. Or, the third value is 0 and the fourth value is 1.

[0311] Based on the above examples, as shown in Figure 12, the second bitmap includes 7 bits, and these 7 bits are combined with 7 AOs (such as AOs). 1 / 2 / 3 / 4 / 5 / 6 / 7One-to-one correspondence. The second bitmap is described below:

[0312] The first bit corresponds to 7 AOs (e.g., AO) 1 / 2 / 3 / 4 / 5 / 6 / 7 The first AO (e.g., AO1) in the system transmits a random identifier, including random identifier a. When the first bit is 1, it indicates that the AO (e.g., AO1) corresponds to an AS ID, such as the first AS ID among three AS IDs (e.g., AS ID a).

[0313] The second bit corresponds to 7 AOs (e.g., AO). 1 / 2 / 3 / 4 / 5 / 6 / 7 The second AO (e.g., AO2) in the sequence contains a random identifier b. When the value of the second bit is 0, it indicates that the AO (e.g., AO2) does not correspond to any of the three AS IDs.

[0314] The third bit corresponds to 7 AOs (e.g., AO). 1 / 2 / 3 / 4 / 5 / 6 / 7 The third AO (e.g., AO3) in the sequence, transmits a random identifier including random identifier c. When the value of the third bit is 1, it indicates that the AO (e.g., AO3) corresponds to an AS ID, such as the second AS ID out of three (e.g., AS ID c).

[0315] The same applies to the other bits.

[0316] In other words, in the first example of option 2, the correspondence between K AOs and M AS IDs is indicated by a second bitmap.

[0317] Optionally, taking the second bit as an example: the second bit of the second bitmap corresponds to the first AO. If the second bit is a third value, it indicates that the first AO corresponds to one of the M AS IDs, such as the first AS ID. If the second bit is a fourth value, it indicates that the first AO does not correspond to any of the M AS IDs. The random identifier transmitted on the first AO includes the first random identifier. For example, the second bit is the first bit of the second bitmap, the first random identifier includes random identifier a, the random identifier transmitted on the first AO includes random identifier a, and the first AS ID is AS ID a, as shown in bold in Figure 12. Alternatively, the second bit is the seventh bit of the second bitmap, the second value is 0, the first random identifier is random identifier g, and the random identifier transmitted on the first AO includes random identifier g.

[0318] Understandably, in the first example of option 2, the first device knows the number of AOs. For example, the paging message indicates the aforementioned K AOs, and the first device learns the number of AOs through the paging message. Accordingly, the first device also learns the length of the second bitmap.

[0319] It should be noted that in this application, if the Kth bit among the K bits... j When the third bit is the third value, it indicates the Kth bit in the K AOs. j Each AO corresponds to the Mth AS ID. i Each AS ID can be replaced with:

[0320] The first type, if the Kth bit in the K bits j When a bit is the third value, it indicates that a device has successfully accessed the system via random access, corresponding to one of the M AS IDs. Specifically, this device corresponds to the Kth AS ID among the K AOs. j A random identifier is sent on each AO, and this random identifier is included in N random identifiers.

[0321] The second type is if the Kth bit in the K bits j When a bit is the third value, it indicates that one of the M AS IDs is the AS ID of a device that has successfully accessed the system via random access. This device is the Kth AS ID among the K AOs. j A random identifier is sent on each AO, and this random identifier is included in N random identifiers.

[0322] Taking the second bit as an example: The second bit of the second bitmap corresponds to the first AO. If the second bit is a third value, it indicates that the first device (with successful random access) corresponds to one of the M AS IDs, such as the first AS ID. Alternatively, if the second bit is a third value, it indicates that one of the M AS IDs (such as the first AS ID) is the AS ID of the first device (with successful random access). The first device sends a first random identifier on the first AO.

[0323] It should be noted that if the Kth bit in the K bits j When the fourth bit is the fourth value, it indicates the Kth bit in the K AOs. j The fact that each AO does not correspond to any one of the M AS IDs can be understood as:

[0324] The first type, if the Kth bit in the K bits j When the fourth bit is a value, it indicates or represents the Nth random identifier among N random identifiers. i The Nth random identifier is used as the AS ID. i The random identifier is at the Kth... j Transmitted on each AO.

[0325] The second type is if the Kth bit in the K bits j When the fourth bit is a value, it indicates or represents the Nth random identifier among N random identifiers. i The AS ID corresponding to each random identifier is not included in the M AS IDs (or the first information). Among them, the Nth... iThe random identifier is at the Kth... j Transmitted on each AO.

[0326] Taking the second bit as an example: the second bit of the second bitmap corresponds to the first AO. If the second bit is the fourth value, it indicates or represents that the first random identifier is the first AS ID. Alternatively, if the second bit is the fourth value, it indicates or represents that the AS ID of the first device corresponding to the first random identifier is not included in the M AS IDs (or the first information).

[0327] In option 2, as a second example, the second information includes M second indices, where the Mth index is the most significant among the M second indices. i The second index indicates: the Mth AS ID among the M AS IDs i Each AS ID corresponds to the Kth AO in the K AOs. j AO. The Kth j The random identifier transmitted on each AO is included in N random identifiers, and the Kth random identifier is... j The random identifier transmitted on the Mth AO corresponds to the i There are 12 AS IDs. Where K is a positive integer. j M is a positive integer less than or equal to K. i A positive integer less than or equal to M, such as M i The function iterates over positive integers from 1 to M. Optionally, the M second indices refer to the indices of the M AOs, and the M AOs are included in the K AOs. In this application, the index of an AO indicates its sequence number / number within the K AOs.

[0328] Based on the examples above, in the above 7 AOs (such as AO) 1 / 2 / 3 / 4 / 5 / 6 / 7 In the context of AO, the index of each AO indicates that the AO is one of the seven AOs mentioned above (e.g., AO...). 1 / 2 / 3 / 4 / 5 / 6 / 7 The index is the sequence number / number in the sequence. For example, the index of AO1 is 1, the index of AO2 is 2, and so on.

[0329] Referring to the examples above, as shown in Figure 12, the M second indices include three: 1, 3, and 5, namely the indices of AO1, AO3, and AO5. Based on the M second indices, it can be understood that AO1 corresponds to one of the three AS IDs, such as AS ID a; AO3 corresponds to one of the three AS IDs, such as AS ID c; and AO5 corresponds to one of the three AS IDs, such as AS ID e.

[0330] In other words, in the second example of option 2, the correspondence between K AOs and M AS IDs is indicated by M second indices.

[0331] Optionally, taking M second indices including a fifth index, and the fifth index corresponding to a first AO as an example: the fifth index is the index of the first AO, and the fifth index indicates that the first AO corresponds to a first AS ID. The random identifier transmitted on the first AO includes a first random identifier. The fifth index is 1, the first random identifier is random identifier a, the random identifier transmitted on the first AO includes random identifier a, and the first AS ID is AS ID a, as shown in bold in Figure 12.

[0332] It should be noted that, in this application, the Mth index among the M second indices... i The second index indicates: the Mth AS ID among the M AS IDs i Each AS ID corresponds to the Kth AO in the K AOs. j Each AO can be replaced with:

[0333] The first type, the Mth index among the M second indices. i The second index indicates that a device that has successfully accessed the system corresponds to the Mth AS ID among the M AS IDs. i The AS ID is K. Among them, the Kth AO is the device. j A random identifier is sent on each AO, and the random identifier is included in N random identifiers.

[0334] The second type is the Mth index among the M second indices. i The second index indicates: the Mth AS ID among the M AS IDs i Each AS ID represents the AS ID of a device that has successfully accessed the network randomly. This device is the Kth AS ID among the K AOs. j A random identifier is sent on each AO, and the random identifier is included in N random identifiers.

[0335] Taking the fifth index as an example: the fifth index corresponds to the first AO. Specifically, the fifth index indicates that the first device (with successful random access) corresponds to the first AS ID; or, the fifth index indicates that the first AS ID is the AS ID of the first device. The first device sends a first random identifier on the first AO.

[0336] Optionally, the value of M is indicated by the fourth information. In option 2, it can also be understood that the number of the second index is indicated by the fourth information.

[0337] Option 3:

[0338] Option 3 uses the AO set as an example. This can be understood as replacing AO in Option 2 with the AO set.

[0339] First, the following explanation is provided:

[0340] The second information indicates the correspondence between N random identifiers and M AS IDs, including: the second information indicates the correspondence between K AO sets and M AS IDs, where the random identifiers transmitted on the K AO sets include N random identifiers, and K is a positive integer.

[0341] In the K AO sets, each AO set includes at least one access time resource and / or at least one access frequency domain resource.

[0342] Optionally, an AO set can be triggered by an R2D trigger message. Triggering can be understood as initiating random access on that AO set.

[0343] The correspondence between the K AO sets and the M AS IDs can be understood as follows:

[0344] When K = M, there is a one-to-one correspondence between the K AO sets and the M AS IDs.

[0345] When M < K, among the K AO sets, M AO sets correspond one-to-one with M AS IDs, and (KM) AO sets do not correspond to any of the M AS IDs.

[0346] In this context, an AO set corresponds to an AS ID, which can be understood as the AO set and the AS ID corresponding to the same device (such as an A-IoT device). For example, the AO set is selected by the device and used for sending random identifiers, and the AS ID is the AS ID assigned to the device.

[0347] In other words, the random identifiers transmitted on the K AO sets include N random identifiers, so there is a correspondence between the K AO sets and the N random identifiers. Based on this, the second information indicates the correspondence between the K AO sets and the M AS IDs. Then, based on the correspondence between the K AO sets and the N random identifiers, the correspondence between the N random identifiers and the M AS IDs can be determined.

[0348] Next, let's introduce the second piece of information:

[0349] In option 3, as a first example, the second information includes a fourth bitmap, which consists of K bits.

[0350] If the Kth bit in the K bits j When the 9th bit is the ninth value, it indicates the Kth bit in the K AO sets. j Each AO set corresponds to the Mth AS ID. i AS ID. Kth j The random identifiers transmitted on the AO sets are included in N random identifiers, and the Kth random identifier is... jThe random identifier transmitted on the Mth AO set corresponds to the Mth AO set. i AS ID.

[0351] Conversely, if the Kth bit in the K bits j When the 10th bit is the value of the 10th bit, it indicates the Kth bit in the K AO sets. j The Kth AO set does not correspond to any one of the M AS IDs. j The random identifiers transmitted on the AO sets are included in N random identifiers, and the Kth random identifier is... j The random identifier transmitted on each AO set does not correspond to any of the M AS IDs.

[0352] Where K is a positive integer, K j A positive integer less than or equal to K, such as K j M is a list of positive integers from 1 to K. i It is a positive integer less than or equal to M.

[0353] For example, the ninth value is 1 and the tenth value is 0. Or, the ninth value is 0 and the tenth value is 1.

[0354] In other words, in the first example of option 3, the correspondence between the K AO sets and the M AS IDs is indicated by the fourth bitmap.

[0355] Optionally, taking the fourth bit as an example: the fourth bit of the fourth bitmap corresponds to the first AO set. If the fourth bit is the ninth value, it indicates that the first AO set corresponds to one of the M AS IDs, such as the first AS ID. If the fourth bit is the tenth value, it indicates that the first AO set does not correspond to any of the M AS IDs. The random identifier transmitted on the first AO set includes the first random identifier.

[0356] Understandably, in the first example of option 3, the first device knows the number of AO sets. For example, the paging message indicates the aforementioned K AO sets, and the first device learns the number of AO sets through the paging message. Accordingly, the first device also learns the length of the fourth bitmap.

[0357] It should be noted that in this application, if the Kth bit among the K bits... j When the 9th bit is the ninth value, it indicates the Kth bit in the K AO sets. j Each AO set corresponds to the Mth AS ID. i Each AS ID can be replaced with:

[0358] The first type, if the Kth bit in the K bits jWhen a bit is the ninth value, it indicates that a device that has successfully accessed the system corresponds to one of the M AS IDs. This device is located in the Kth AO set. j A random identifier is sent on an AO set, and the random identifier is included in N random identifiers.

[0359] The second type is if the Kth bit in the K bits j When a bit is the ninth value, it indicates that one of the M AS IDs is the AS ID of a device that has successfully accessed the system. This device is the Kth AS ID in the K AO sets. j A random identifier is sent on an AO set, and the random identifier is included in N random identifiers.

[0360] Taking the fourth bit as an example: The fourth bit of the fourth bitmap corresponds to the first AO set. If the fourth bit is the ninth value, it indicates that the first device (with successful random access) corresponds to one of the M AS IDs, such as the first AS ID. Alternatively, if the fourth bit is the ninth value, it indicates that one of the M AS IDs (such as the first AS ID) is the AS ID of the first device (with successful random access). The first device sends a first random identifier on the first AO set.

[0361] It should be noted that if the Kth bit in the K bits j When the 10th bit is the value of the 10th bit, it indicates the Kth bit in the K AO sets. j The fact that each AO set does not correspond to any of the M AS IDs can be understood as follows:

[0362] The first type, if the Kth bit in the K bits j When the 10th bit is the value, it indicates or represents the Nth random identifier among N random identifiers. i The Nth random identifier is used as the AS ID. i The random identifier is at the Kth... j Transmitted on a set of AOs.

[0363] The second type is if the Kth bit in the K bits j When the 10th bit is the value, it indicates or represents the Nth random identifier among N random identifiers. i The AS ID corresponding to each random identifier is not included in the M AS IDs (or the first information). Among them, the Nth... i The random identifier is at the Kth... j Transmitted on a set of AOs.

[0364] Taking the fourth bit as an example: The fourth bit of the fourth bitmap corresponds to the first AO set. If the fourth bit is the tenth value, it indicates or represents that the first random identifier is the first AS ID. Alternatively, if the second bit is the tenth value, it indicates or represents that the AS ID of the first device corresponding to the first random identifier is not included in the M AS IDs (or the first information).

[0365] In option 3, as a second example, the second information includes M seventh indices, where the Mth seventh index is... i The seventh index indicates: the Mth AS ID among the M AS IDs. i Each AS ID corresponds to the Kth AO set in the Kth AO set. j There are AO sets. The Kth... j The random identifiers transmitted on the AO sets are included in N random identifiers, and the Kth random identifier is... j The random identifier transmitted on the Mth AO set corresponds to the Mth AO set. i There are 12 AS IDs. Where K is a positive integer. j M is a positive integer less than or equal to K. i A positive integer less than or equal to M, such as M i The function iterates over positive integers from 1 to M. Optionally, the M seventh indices refer to the indices of the M AO sets, and the M AO sets are included in the K AO sets. In this application, the index of an AO set indicates its ordinal number / number within the K AO sets.

[0366] In other words, in the second example of option 3, the correspondence between the K AO sets and the M AS IDs is indicated by the M seventh indices.

[0367] Optionally, taking M seventh indices including an eighth index, and the eighth index corresponding to a first AO set as an example: the eighth index is an index of the first AO set, and the eighth index indicates that the first AO set corresponds to a first AS ID. The random identifier transmitted on the first AO set includes a first random identifier.

[0368] It should be noted that, in this application, the Mth seventh index is... i The seventh index indicates: the Mth AS ID among the M AS IDs. i Each AS ID corresponds to the Kth AO set in the Kth AO set. j The AO set can be replaced with:

[0369] The first type, the Mth index among the M seventh indices. i The seventh index indicates that a device that has successfully accessed the system corresponds to the Mth AS ID among the M AS IDs. i There are K AS IDs. The device is the Kth AO in the K sets. jA random identifier is sent on an AO set, and the random identifier is included in N random identifiers.

[0370] The second type is the Mth index among the M seventh indices. i The seventh index indicates: the Mth AS ID among the M AS IDs. i Each AS ID represents the AS ID of a device that has successfully gained random access. This device is located in the K sets of AOs. j A random identifier is sent on an AO set, and the random identifier is included in N random identifiers.

[0371] Taking the eighth index as an example: the eighth index corresponds to the first AO set. Specifically, the eighth index indicates that the first device (with successful random access) corresponds to the first AS ID; or, the eighth index indicates that the first AS ID is the AS ID of the first device. The first device sends a first random identifier on the first AO set.

[0372] Optionally, the value of M is indicated by the fourth information. In option 3, it can also be understood that the number of the seventh index is indicated by the fourth information.

[0373] Optionally, in Options 1, 2, and 3, when the first and second information are included in the same message, this message is referred to as the first message. The first message also includes a padding portion to achieve byte alignment, as shown in Figure 11 or Figure 12. For example, the length of the first bitmap, second bitmap, or fourth bitmap is 5 bits, and correspondingly, the padding portion is 3 bits to achieve byte alignment. It should be noted that in this application, each byte includes 8 bits. Exemplarily, the first message can be Msg2, a feedback message, or downlink data, such as R2D data.

[0374] Optionally, in options 1, 2, and 3, as a possible example, the first information is included in the MAC CE of Msg2, as shown in Figures 11-13. This can be understood as the first information not being in the MAC (sub) header. The second information is included in the MAC (sub) header of Msg2, as shown in Figures 11-13. That is, Msg2 includes a MAC CE and a MAC (sub) header. Alternatively, Msg2 includes only a MAC CE and a MAC (sub) header.

[0375] Option 4:

[0376] In option 4, the second information includes N indication messages. If the Nth indication message... i When the indication information is the seventh value, it indicates the Nth random identifier among N random identifiers. iEach random identifier corresponds to one of M AS IDs. If the Nth instruction message... i When the indication information is the eighth value, it indicates the Nth random identifier among N random identifiers. i Each random identifier does not correspond to any one of the M AS IDs. i It is a positive integer less than or equal to N, for example, N i This iterates over positive integers from 1 to N. For example, one indication message occupies 1 bit. The seventh value is 1, and the eighth value is 0. Alternatively, the seventh value is 0, and the eighth value is 1.

[0377] Referring to the above example, as shown in Figure 13, the second information includes four indication messages, each corresponding one-to-one with one of four random identifiers (e.g., random identifiers a / c / e / g). When the value of the first indication message is 1, it indicates that the first random identifier (e.g., random identifier a) corresponds to an AS ID, such as the first AS ID out of three AS IDs (e.g., AS ID a); the other indication messages follow the same pattern. When the value of the fourth indication message is 0, it indicates that the fourth random identifier (e.g., random identifier g) does not correspond to any of the M AS IDs.

[0378] It is understood that in option 4, for each instruction, the instruction, the corresponding random identifier, and the AS ID are arranged sequentially from the highest bit to the lowest bit, as shown in Figure 13, or arranged sequentially from the lowest bit to the highest bit, without limitation.

[0379] It should be noted that, in this application, the highest bit refers to the highest bit of the signaling (or MAC message or MAC layer content), such as the leftmost / topmost position of the signaling. The highest bit can be described in other ways, such as most significant bit (MSB), most significant byte (MSB), or highest (or most significant or most significant or leftmost or first) bit / byte / bit string / string / byte string / position. Here, position refers to the location of one or more bits / bytes.

[0380] It should be noted that, in this application, the least significant bit refers to the least significant bit of the signaling, MAC message, or MAC layer content, such as the rightmost / bottommost position in signaling. The least significant bit can be described in other ways, such as least significant bit (LSB), least significant byte (LSB), least (or most significant or least significant or rightmost) bit / byte / bit string / string / byte string / position. Here, position refers to the location of one or more bits / bytes.

[0381] Optionally, in option 4, the random identifier and AS ID are included in the MAC CE of Msg2, such as in MAC CE1. This can be understood as the random identifier and AS ID not being in the MAC (sub) header. Indication information is included in the MAC (sub) header of Msg2 (or located in the MAC), etc. That is, Msg2 includes multiple MAC CEs and multiple MAC (sub) headers, as shown in Figure 14.

[0382] In other words, in option 4, the random identifier is indicated by a notification message to determine whether it corresponds to an AS ID.

[0383] Optionally, taking the first indication information as an example: the first indication information corresponds to the first random identifier. If the first indication information is the seventh value, it indicates that the first random identifier corresponds to one of the M AS IDs, such as the first AS ID. If the first indication information is the eighth value, it indicates that the first random identifier does not correspond to any of the M AS IDs. Taking Figure 14 as an example, the first indication information is the first indication information, the first random identifier is random identifier a, and the first AS ID is AS ID a. Alternatively, the first indication information is the fourth indication information, and the first random identifier is random identifier g.

[0384] It should be noted that in this application, if the Nth instruction message is... i When the indication information is the seventh value, it indicates the Nth random identifier among N random identifiers. i Each random identifier corresponds to one of the M AS IDs, which can be replaced with:

[0385] The first type, if the Nth instruction message is... i When the indication message is the seventh value, it indicates that a device that has successfully accessed the network corresponds to one of the M AS IDs. Specifically, the device sends the Nth random identifier from among the N random identifiers. i A random identifier.

[0386] The second type is if the Nth instruction message is... iWhen the indication information is the seventh value, it indicates that one of the M AS IDs is the AS ID of a device that has successfully accessed the network. Specifically, the device sends the Nth random identifier out of N random identifiers. i A random identifier.

[0387] Taking the first indication information as an example: the first indication information corresponds to the first random identifier. If the first indication information is the seventh value, it indicates that the first device (which has successfully accessed the network) corresponds to one of the M AS IDs, such as the first AS ID. Alternatively, if the first indication information is the seventh value, it indicates that one of the M AS IDs (such as the first AS ID) is the AS ID of the first device (which has successfully accessed the network). The first device sends the first random identifier.

[0388] It should be noted that if the Nth instruction message is... i When the indication information is the eighth value, it indicates that the Ni-th random identifier among the N random identifiers does not correspond to any of the M AS IDs. This can be understood as:

[0389] The first type, if the Nth instruction message is... i When the indication information is the eighth value, it indicates or represents the Nth random identifier among N random identifiers. i A random identifier is used as the AS ID.

[0390] The second type is if the Nth instruction message is... i When the indication information is the eighth value, it indicates or represents the Nth random identifier among N random identifiers. i The AS ID corresponding to each random identifier is contained in M ​​AS IDs (or first information).

[0391] Taking the first indication information as an example: the first indication information corresponds to the first random identifier. If the first indication information is the eighth value, it indicates or represents that the first random identifier is the first AS ID. Alternatively, if the first indication information is the eighth value, it indicates or represents that the AS ID of the first device corresponding to the first random identifier is not included in the M AS IDs (or the first information).

[0392] Optionally, this application supports AS IDs of default length or AS IDs of variable length. If AS IDs of variable length are supported, the first length is indicated by the seventh information, wherein the first length is used to determine the length of at least one AS ID among the M AS IDs.

[0393] For example, if M AS IDs have the same length, then the first length is the length of any one of the M AS IDs.

[0394] For example, at least two of the M AS IDs have different lengths. In this case, the first length indicates the length of at least one of the M AS IDs, such as the length of any one AS ID.

[0395] It is understood that in this application, M=0 means that the second device has not been assigned an AS ID. In this case, the first length is zero, or the seventh information does not exist.

[0396] In some embodiments, devices (such as A-IoT devices or chips within A-IoT devices) 1 and 2 may send the same random identifier on different AOs. In this case, if the random identifier corresponds to an AS ID, devices 1 and 2 cannot know whether they have been assigned an AS ID. Based on this, to further distinguish the random identifiers, in this application, the correspondence between K AOs and N random identifiers is indicated by fifth information, where K is a positive integer.

[0397] The correspondence between the K AOs and N random identifiers can be understood as follows:

[0398] When K = N, there is a one-to-one correspondence between K AOs and N random identifiers.

[0399] When N < K

[0400] In the K AOs, N AOs correspond one-to-one with N random identifiers, and (KN) AOs do not correspond to any of the N random identifiers; or...

[0401] At least one of the N random identifiers corresponds to at least two of the K AOs. Optionally, at least one of the K AOs does not correspond to any of the N random identifiers. The statement that at least one of the N random identifiers corresponds to at least two of the K AOs can be understood as follows: taking one random identifier from the N random identifiers as an example, that random identifier corresponds to at least two of the K AOs (for example, at least two of the K AOs transmit the same random identifier), and the number of random identifiers satisfying this correspondence among the N random identifiers is at least one.

[0402] One AO ​​corresponds to one random identifier, which can be understood as: the random identifier is transmitted on the AO.

[0403] Based on the examples above, K AOs include 7 AOs (such as AO ). 1 / 2 / 3 / 4 / 5 / 6 / 7 N random identifiers include 4 random identifiers (e.g., random identifiers a / c / e / g). The fifth information indicates 7 AOs (e.g., AO...). 1 / 2 / 3 / 4 / 5 / 6 / 7The correspondence between AO1 and 4 random identifiers (such as random identifiers a / c / e / g) is as follows: the random identifier transmitted on AO1 includes random identifier a; the random identifier transmitted on AO2 does not include any of the 4 random identifiers (such as random identifiers a / c / e / g); the random identifier transmitted on AO3 includes random identifier c; the random identifier transmitted on AO4 does not include any of the 4 random identifiers (such as random identifiers a / c / e / g); the random identifier transmitted on AO5 includes random identifier e; the random identifier transmitted on AO6 does not include any of the 4 random identifiers (such as random identifiers a / c / e / g); and the random identifier transmitted on AO7 includes random identifier g.

[0404] In other words, the fifth information uses AOs to distinguish random identifiers. Based on this, even if the same random identifier is transmitted on different AOs, the random identifier can be distinguished by the correspondence between the K AOs and N random identifiers indicated by the fifth information.

[0405] Optionally, the K AOs include a first AO, which is the resource for the first device to send the first random identifier. This can be understood as the first AO corresponding to the first random identifier. Referring to the example above, the first AO is AO1, and the first random identifier is random identifier a.

[0406] Optionally, the fifth piece of information includes the following cases (cases 1-2 below):

[0407] Case 1: The fifth piece of information includes a third bitmap, which consists of K bits. If the Kth bit... i When the fifth bit is the value, it indicates the Kth bit in the K AOs. i Each AO corresponds to one of N random identifiers. If the Kth bit in the K bits... i When the 6th bit is the sixth value, it indicates the Kth AO among the K AOs. i Each AO does not correspond to any one of the N random identifiers. K i It is a positive integer less than or equal to K, for example, K i Iterate over positive integers from 1 to K.

[0408] Based on the above examples, as shown in Figure 14, the third bitmap includes 7 bits, 7 bits and 7 AOs (such as AO). 1 / 2 / 3 / 4 / 5 / 6 / 7 One-to-one correspondence. The third bitmap is described below:

[0409] The first bit corresponds to 7 AOs (e.g., AO) 1 / 2 / 3 / 4 / 5 / 6 / 7 In the first AO (e.g., AO1), when the value of the first bit is 1, it indicates that the AO (e.g., AO1) corresponds to a random identifier, such as the first random identifier among four random identifiers (e.g., random identifier a).

[0410] The second bit corresponds to 7 AOs (e.g., AO). 1 / 2 / 3 / 4 / 5 / 6 / 7 In the second AO (e.g., AO2), when the value of the second bit is 0, it indicates that the AO (e.g., AO2) does not correspond to any of the four random identifiers.

[0411] The third bit corresponds to 7 AOs (e.g., AO). 1 / 2 / 3 / 4 / 5 / 6 / 7 In the third AO (e.g., AO3), when the value of the third bit is 1, it indicates that the AO (e.g., AO3) corresponds to a random identifier, such as the second random identifier among four random identifiers (e.g., random identifier 3).

[0412] The same applies to the other bits.

[0413] In other words, in case 1, the third bitmap indicates the correspondence between the K AOs and the N random identifiers, or whether the random identifiers transmitted by the K AOs are carried in the first information.

[0414] Optionally, taking the third bit as an example: the third bit of the third bitmap corresponds to the first AO. If the third bit is the fifth value, it indicates that the first AO corresponds to one of the N random identifiers, such as the first random identifier. If the third bit is the sixth value, it indicates that the first AO does not correspond to any of the N random identifiers. Taking Figure 14 as an example, the third bit is the first bit of the third bitmap, the first random identifier includes random identifier a, the random identifier transmitted on the first AO includes random identifier a, and the first random identifier is random identifier 1.

[0415] It is understandable that in Case 1, the first device knows the number of AOs. For example, if a paging message indicates the aforementioned K AOs, the first device learns the number of AOs through the paging message. Accordingly, the first device also learns the length of the third bitmap.

[0416] Case 2: The fifth piece of information includes N third indices, and the Nth third index is... i The third index indicates the Nth random identifier among N random identifiers. i Each random identifier corresponds to one of the K AOs, and N i It is a positive integer less than or equal to N, such as N i The function iterates over positive integers from 1 to N. Optionally, the N third indices refer to the indices of the N AOs, and the N AOs are included in the K AOs. In this application, the index of an AO indicates its sequence number / number within the K AOs.

[0417] Based on the examples above, in the above 7 AOs (such as AO) 1 / 2 / 3 / 4 / 5 / 6 / 7 In the context of AO, the index of each AO indicates that the AO is one of the seven AOs mentioned above (e.g., AO...). 1 / 2 / 3 / 4 / 5 / 6 / 7The index is the sequence number / number in the sequence. For example, the index of AO1 is 1, the index of AO2 is 2, and so on.

[0418] Referring to the examples above, as shown in Figure 14, the N third indices include four: 000 / 010 / 100 / 110. That is, the index of AO1 is 000, the index of AO3 is 010, the index of AO5 is 100, and the index of AO7 is 110. Based on these N third indices, it can be understood that AO... 1 / 3 / 5 / 7 Each of the four random identifiers corresponds one-to-one with one of the four random identifiers (e.g., random identifiers a / c / e / g). For example, AO1 corresponds to random identifier a, AO3 corresponds to random identifier c, AO5 corresponds to random identifier e, and AO7 corresponds to random identifier g.

[0419] In other words, in case 2, the correspondence between K AOs and N random identifiers is indicated by N third indices. Alternatively, the index indicating whether an AO is carried is used to indicate whether the random identifier transmitted by that AO is carried in the first information.

[0420] Optionally, taking N third indices including a sixth index, and the sixth index corresponding to a first AO as an example: the sixth index is the index of the first AO, and the sixth index indicates that the first AO corresponds to a first random identifier. Taking Figure 14 as an example, the sixth index is 000, the first random identifier is random identifier a, and the random identifiers transmitted on the first AO include random identifier a.

[0421] It is understandable that the aforementioned AO can be replaced with AO sets. The AO sets are explained in option 3 and will not be repeated here. For example, the fifth piece of information indicates the correspondence between K AO sets and N random identifiers.

[0422] Accordingly, the fifth piece of information includes a third bitmap, which consists of K bits. If the Kth bit... i When the fifth bit is the value, it indicates the Kth bit in the K AO sets. i Each AO set corresponds to one of N random identifiers. If the Kth bit in the K bits... i When the 6th bit is the sixth value, it indicates the Kth AO set. i Each AO set does not correspond to any one of the N random identifiers. i It is a positive integer less than or equal to K, for example, K i Iterate over positive integers from 1 to K.

[0423] Accordingly, the fifth piece of information includes N third indices, and the Nth third index among the N third indices... i The third index indicates the Nth random identifier among N random identifiers. i Each random identifier corresponds to one of the K AO sets, and N... iIt is a positive integer less than or equal to N, such as N i The function iterates over positive integers from 1 to N. Optionally, the N third indices refer to the indices of the N AO sets, and the N AO sets are included in the K AO sets. In this application, the index of an AO set indicates its ordinal number / number within the K AO sets.

[0424] Alternatively, when the value of N is indicated by the sixth information, it can also be understood as indicating the number of the third index by the sixth information.

[0425] For the second device, after determining the first information, the second device sends the first information, and after determining the second information, the second device sends the second information. The second device may send the first information first and then the second information, or send both information simultaneously, or send the second information first and then the first information; there is no limitation on this. For example, after executing S1001, the second device executes S1002:

[0426] S1002, the second device sends first information and second information. Correspondingly, the first device receives the first information and second information from the second device.

[0427] The second device can be found in the description of S1001, and will not be repeated here.

[0428] The first device can be a network device, such as a reader, or a terminal device, such as an A-IoT device, or a chip within the aforementioned devices (such as network devices or terminal devices). The network device and terminal device are illustrated in Figures 1-7 and will not be described further. In this application, an A-IoT device is used as an example for illustration.

[0429] The first and second information can be found in the description of S1001, and will not be repeated here.

[0430] Optionally, the first and second information can be included in the same message.

[0431] For example, the first and second information are included in Msg2, which can be found in the description of S1001, and will not be repeated here.

[0432] For example, the first and second information are included in the feedback message.

[0433] For example, the first and second information are included in the downlink data.

[0434] Optionally, the first information and the second information may be included in different messages, such as the first information being included in Msg2 and the second information being included in other messages besides Msg2.

[0435] For the first device, after receiving the first information and the second information, it executes S1003:

[0436] S1003. The first device determines the AS ID of the first device based on the first information and the second information.

[0437] The AS ID of the first device is either the first AS ID or the first random identifier.

[0438] For example, when the AS ID of the first device is assigned, the AS ID of the first device is included in M ​​AS IDs, such as the AS ID of the first device being the first AS ID. The correspondence indicated by the second information includes: the first random identifier corresponds to the first AS ID, which can be seen in the description of the second information, the first bit, the fourth index, the second bit, the fifth index, the fourth bit, the eighth index, or the first indication information, and will not be repeated here. The first device determines the AS ID of the first device as the first AS ID based on the first random identifier in the first information and the correspondence between the first random identifier and the first AS ID, thereby achieving correct AS ID resolution.

[0439] For example, when the AS ID of the first device reuses the first random identifier, the AS ID of the first device is the first random identifier. The correspondence indicated by the second information includes: the first random identifier does not correspond to any one of the M AS IDs, which can be seen in the description of the second information, the first bit, the second bit, the fourth bit, or the first indication information, and will not be repeated here. Based on the first random identifier in the first information and the second information, the first device determines that the AS ID of the first device is the first random identifier, thereby achieving correct AS ID resolution.

[0440] Based on the above technical solution, the behavior of the first device can be understood as follows:

[0441] First, the first device sends Msg1. Msg1 includes a first random identifier, which is associated with an index of an AO, the AO that sent Msg1.

[0442] Second, the first device receives Msg2.

[0443] Third, if the value included in Msg2 (such as the first random identifier) ​​is the same as the value included in Msg1 sent by the first device (such as the first random identifier), then the first device completes random access.

[0444] Fourth, if the fourth index included in Msg2 is the same as the index of the first random identifier, then the AS ID of the first device is the AS ID corresponding to the fourth index. Alternatively, if the fourth index included in Msg2 is the same as the index of the first random identifier, then the AS ID of the first device is the AS ID corresponding to the fourth index.

[0445] Based on the above technical solution, from a signaling perspective, it can be understood as follows:

[0446] Msg2 includes at least one index associated with at least one random identifier, meaning that at least one AS ID is assigned. The random identifier included in the at least one index is a random identifier sent by a device. One of the at least one AS IDs is included in Msg2, and this AS ID corresponds to a random identifier indicated by an index in Msg2.

[0447] In some embodiments, the second device sends third information to the first device. Correspondingly, the first device receives the third information from the second device. The third information indicates the length of the first bit diagram. The first bit diagram can be found in the description of Option 1 in S1001, and will not be repeated here. Accordingly, S1003 includes: the first device determining the AS ID of the first device based on the first information, the second information, and the third information.

[0448] For example, third information is included in Msg2, such as in the MAC (sub) header of Msg2.

[0449] In contention-based random access procedures, the number of devices that successfully resolve the random access contention is uncertain. Correspondingly, the number of random identifiers in the first information is uncertain. In other words, the number of random identifiers carried by Msg2 is uncertain. However, in this application, by indicating the length of the first bit diagram through the third information, the first device can determine the number of random identifiers in the first information based on the third information. The first device determines the starting positions of the M AS IDs in the first information based on the number and length of the random identifiers, thereby facilitating the correct parsing of the AS IDs.

[0450] It is understood that in this application, the number of devices that successfully resolve random access contention is uncertain, or it can be understood that the number of devices that successfully resolve random access contention is not fixed, or that the number of devices that successfully resolve random access contention is dynamic. The above three descriptions have the same meaning and can be used interchangeably.

[0451] In some embodiments, the second device sends fourth information to the first device. Correspondingly, the first device receives the fourth information from the second device. The fourth information indicates the value of M. The value of M can be found in the description of S1001 and will not be repeated here. Accordingly, S1003 includes: the first device determining the AS ID of the first device based on the first information, the second information, and the fourth information.

[0452] For example, the fourth information is included in Msg2, such as in the MAC (sub) header of Msg2.

[0453] In the device that successfully resolves the access contention, the number of devices assigned AS IDs is uncertain. Correspondingly, the number of AS IDs in the first information is uncertain (or the number of first or second indices in the second information is uncertain). In other words, the number of AS IDs carried by Msg2 is uncertain. However, in this application, by indicating the value of M through the fourth information, the first device can determine the number of AS IDs in the first information (or the number of first or second indices in the second information) based on the fourth information, thereby facilitating the correct resolution of AS IDs.

[0454] It is understood that in this application, the number of AS IDs in the first information is uncertain, or it can be understood that the number of AS IDs in the first information is not fixed, or that the number of AS IDs in the first information is dynamic. The above three descriptions have the same meaning and can be used interchangeably.

[0455] In some embodiments, devices (such as an A-IoT device or a chip in an A-IoT device) 1 and device 2 may send the same random identifier on different AOs. In this case, the application further includes: the second device sending fifth information to the first device. Accordingly, the first device receives the fifth information from the second device. The fifth information indicates the correspondence between K AOs and N random identifiers, as described in the description of S1001, and will not be repeated here. Accordingly, S1003 includes: the first device determining the AS ID of the first device based on the first information, the second information, and the fifth information.

[0456] For example, the fifth piece of information is included in Msg2, such as in the MAC (sub) header of Msg2.

[0457] In other words, the fifth information distinguishes random identifiers through different AOs. Even if different devices send the same random identifier on different AOs, since different devices occupy different AOs, the first device can also determine whether the random identifier it sent is included in the first information based on the AO it occupies and the correspondence between the K AOs and N random identifiers indicated by the fifth information.

[0458] In some embodiments, the second device sends sixth information to the first device. Correspondingly, the first device receives the sixth information from the second device. The sixth information indicates the value of N. The value of N can be found in the description of option 1 in S1001, and will not be repeated here. Accordingly, S1003 includes: the first device determining the AS ID of the first device based on the first information, the second information, and the sixth information.

[0459] For example, the sixth information is included in Msg2, such as in the MAC (sub) header of Msg2.

[0460] In contention-based random access procedures, the number of devices that successfully resolve the random access contention is uncertain. Correspondingly, the number of random identifiers in the first information is uncertain (or, the number of third indices is uncertain, or, the number of random identifiers carried by Msg2 is uncertain). However, in this application, by indicating the value of N through the sixth information, the first device can determine the number of random identifiers in the first information (or, the number of third indices, or, the number of random identifiers carried by Msg2) based on the sixth information. The first device determines the starting position of the AS ID in the first information based on the number and length of the random identifiers, thereby facilitating the correct parsing of the AS ID.

[0461] It is understood that in this application, the number of random identifiers in the first information is uncertain, or it can be understood that the number of random identifiers in the first information is not fixed, or that the number of random identifiers in the first information is dynamic. The above three descriptions have the same meaning and can be used interchangeably.

[0462] In some embodiments, the second device sends seventh information to the first device. Correspondingly, the first device receives the seventh information from the second device. The seventh information indicates a first length, which is used to determine the length of at least one AS ID among the M AS IDs; see the description of S1001 for details, which will not be repeated here. Accordingly, S1003 includes: the first device determining its AS ID based on the first information, the second information, and the seventh information.

[0463] For example, the seventh information is included in Msg2, such as in the MAC (sub) header of Msg2.

[0464] For example, the seventh piece of information is included in the paging message. The first length is the length of any one of the M AS IDs. This can be understood as the AS ID length being uniform and indicated through the paging message.

[0465] For example, the seventh piece of information is included in the downlink data. The downlink data includes commands.

[0466] In the case where this application supports variable-length AS IDs, the first device determines the length of at least one AS ID among the M AS IDs based on the first length indicated by the seventh information, and then parses the AS ID of the first device from the first information based on the length of at least one AS ID among the M AS IDs, thereby achieving correct AS ID parsing.

[0467] To ensure correct AS ID resolution, this application provides another communication method. This method can be applied to the systems shown in Figures 1-7. The method includes:

[0468] The system receives an eighth message, which includes N random identifiers and N AS IDs. Each of the N random identifiers and N AS IDs corresponds one-to-one. The N random identifiers include a first random identifier, which corresponds to the first device. The N AS IDs include the first AS ID, where N is a positive integer. Based on the eighth message, the system determines the AS ID of the first device, which is the first AS ID, and the first AS ID corresponds to the first random identifier.

[0469] Based on the above technical solution, the number of random identifiers and AS IDs in the eighth information are the same and correspond one-to-one. Therefore, the first device can obtain its own AS ID from N AS IDs based on the first random identifier and the eighth information, and thus correctly parse the AS ID.

[0470] The communication method proposed in this application embodiment will now be described in detail with reference to Figure 15. The communication method 1500 proposed in this application embodiment includes the following operations:

[0471] S1501, The second device determines the eighth information.

[0472] The second device can be found in the description of S1001, and will not be repeated here.

[0473] The eighth piece of information includes N random identifiers and N AS IDs, with a one-to-one correspondence between the N random identifiers and the N AS IDs. N is a positive integer. Each of the N random identifiers corresponds to a device (such as an A-IoT device or a chip within an A-IoT device), and the random access contention for that device has been successfully resolved. Each of the N AS IDs corresponds to a device (such as an A-IoT device or a chip within an A-IoT device), and the device may or may not be assigned an AS ID. When the device is not assigned an AS ID, the AS ID is the same as the random identifier of the device.

[0474] Referring to the above example, as shown in Figure 16, the N random identifiers include 4 random identifiers (such as random identifiers a / c / e / g) to indicate that the random access contention of the corresponding A-IoT device has been successfully resolved. The N AS IDs include 4 AS IDs (such as AS ID a / c / e / g). Among them, 3 AS IDs (such as AS ID a / c / e) are assigned, and 1 AS ID (such as AS ID g) reuses the random identifiers, such as reused random identifier g.

[0475] It should be added that, in this application, the N random identifiers are arranged in a certain order, for example, according to the order of the access points (AOs) occupied by the device (such as an A-IoT device). Similarly, in this application, the N AS IDs are arranged in a certain order, for example, according to the order of the access points (AOs) occupied by the device (such as an A-IoT device). The order of the AOs can be found in the description of communication method 1000, and will not be repeated here.

[0476] Referring to the examples above, as shown in Figure 16, in the eighth information, the four random identifiers are arranged in ascending order of the AO number occupied by the device. The four AS IDs are also arranged in ascending order of the AO number occupied by the device.

[0477] Optionally, the N random identifiers include a first random identifier, which corresponds to the first device, and the N AS IDs include the first AS ID. Taking Figure 16 as an example, the first random identifier is random identifier a, and the first AS ID is AS ID a.

[0478] Optionally, the first random identifier may be the same as or different from the first AS ID. Taking Figure 16 as an example, the first random identifier is random identifier a, and the first AS ID is AS ID a, which are different. Alternatively, the first random identifier is random identifier g, and the first AS ID is AS ID g, which are the same.

[0479] Optionally, the eighth information is included in the MAC CE of Msg2, as shown in Figure 16. This can be understood as the eighth information not being in the MAC (sub) header.

[0480] For the second device, after determining the eighth information, it executes S1502:

[0481] S1502, the second device sends the eighth message. Correspondingly, the first device receives the eighth message from the second device.

[0482] The first device can be found in the description of S1002, and will not be repeated here.

[0483] The eighth piece of information can be found in the description of S1501, and will not be repeated here.

[0484] Optionally, the eighth message may be included in different messages, specifically:

[0485] For example, the eighth message is included in Msg2, such as MAC CE of Msg2.

[0486] For example, the eighth piece of information is included in the feedback message.

[0487] For example, the eighth piece of information is included in the downlink data, such as R2D data.

[0488] For the first device, after receiving the eighth information, it executes S1503:

[0489] S1503. The first device determines the AS ID of the first device based on the eighth information.

[0490] Wherein, the AS ID of the first device is the first AS ID, and the first AS ID corresponds to the first random identifier.

[0491] Since the number of random identifiers and AS IDs is the same, the AS ID of the first device is included in the N AS IDs, such as the first device's AS ID being the first AS ID. Because there is a one-to-one correspondence between the N random identifiers and the N AS IDs, the first random identifier corresponds to the first AS ID. Based on the first random identifier in the eighth information and the correspondence between the first random identifier and the first AS ID, the first device determines its AS ID as the first AS ID, thus achieving correct AS ID resolution.

[0492] For example, when the AS ID of the first device is assigned, the first AS ID is different from the first random identifier.

[0493] For example, when the AS ID of the first device is not assigned, the first AS ID is the same as the first random identifier.

[0494] In addition, in the eighth information, the N random identifiers and N AS IDs are in one-to-one correspondence. No additional information is needed to indicate the correspondence between the N random identifiers and N AS IDs, ensuring the uniformity of the message format and minimizing the impact on the protocol.

[0495] It is understandable that the message containing the eighth information also includes a padding part to achieve byte alignment, as shown in Figure 16.

[0496] In some embodiments, this application further includes: the second device sending fifth information to the first device. Accordingly, the first device receives the fifth information from the second device. The fifth information indicates the correspondence between K AOs and N random identifiers, as described in the description of S1001, and will not be repeated here. Accordingly, S1503 includes: the first device determining the AS ID of the first device based on the eighth information and the fifth information.

[0497] In related technologies, the AS ID is identification information visible to both the first and second devices. The AS ID can be a reused random identifier or assigned by the second device and indicated to the first device that successfully resolves the access / contention issue via Msg2. The first device's inability to continuously store the AS ID leads to high storage overhead, conflicts between the stored AS ID and a new AS ID causing erroneous responses, or conflicts between the stored AS ID and a new random identifier causing erroneous responses.

[0498] In view of this, this application provides a communication method. This method can be applied to the systems shown in Figures 1-7. The method includes:

[0499] A random identifier is generated. If a random identifier is generated, the AS ID is released, or the random identifier replaces the AS ID. The AS ID is stored in the first device. The AS ID stored in the first device can be a reused random identifier or it can be assigned by the second device.

[0500] In other words, during a new random access, a random identifier is generated, and the AS ID is released / reset / discarded / saved to avoid the phenomenon of the same AS ID being stored indefinitely, thereby saving storage overhead and reducing conflicts or error response problems caused by the same AS ID being stored indefinitely.

[0501] Alternatively, during a new random access, a random identifier can be generated and used to replace the saved AS ID, thereby updating the saved AS ID. This can improve storage resource utilization and reduce conflicts or error response issues caused by the same AS ID being saved continuously.

[0502] It is understood that the names mentioned in this application may also be described in other ways, such as:

[0503] First, R2D data (or R2D information, or R2D messages) or D2R data (or D2R information, or D2R messages) can be carried on the MAC layer, such as MAC CE, MAC SDU (service data unit), or MAC PDU (protocol data unit). The MAC layer can also be replaced by the A-IoT AS layer.

[0504] Second, in this application, the terms signaling / information / message / information element / field are generally not distinguished, and the names can be used interchangeably.

[0505] Third, paging messages:

[0506] Paging can be used to instruct A-IoT devices to connect to the reader, for example:

[0507] When the reader is a base station / access network device, Paging can be used to indicate that the device is connected to the network;

[0508] When the reader is a terminal device, Paging can be used to instruct the device to connect to the terminal device. Optionally, the device can connect to the network through the terminal device.

[0509] Paging can also be used to trigger / instruct a device to send uplink data, or to trigger / instruct / request a device to perform a first service. The first service can include at least one of the following: paging service, inventory service, command service (such as read, write, deactivate, lock, etc.), location service, and sensing service.

[0510] Paging, also known as the (initial) DL trigger message or indication, can be triggered by core network elements (such as AMF elements, AIoTMF elements, AIoTF elements, etc.).

[0511] Optionally, paging may include data related to the primary business, such as commands (the contents of read, write, etc.).

[0512] Optionally, in some implementations, paging and access round indication, or paging and random access trigger (RA trigger) are sent together.

[0513] Fourth, Access round indication:

[0514] Access round indication, also known as access resource / occasion configuration or access round trigger / query, is used to trigger / indicate at least one access opportunity (or a set of access opportunities), or to trigger / indicate the next round of access (e.g., for re-access). Optionally, access round indication can directly or indirectly indicate the total number of access opportunities (or access time-domain and / or frequency-domain resources) in the (next round), or it can be used to trigger the first access opportunity (or set). Optionally, paging can be used for access round indication, such as triggering the next round of access.

[0515] Optionally, paging can carry downlink data.

[0516] Optionally, an access process triggered by paging may include one or more rounds of access.

[0517] One implementation method is to achieve access round indication through paging retransmission or paging carrying different content. Optionally, paging triggers / indicates the next round of access.

[0518] Fifth, RA trigger

[0519] An RA trigger, which may also have other names such as (next) access occasion indication / trigger / QueyRep, is used to trigger / indicate the next (or multiple, or the next group of) access occasions (or a set of access occasions). It can also be understood as indicating / associating with the boundary (start or end) of an access occasion.

[0520] The aforementioned access opportunities can also be described as access resources, access opportunities, access time slots, access time domain resources, access time resources, random access opportunities, etc. Each access opportunity can allow a device to send an access (request), and / or contention resolution, and / or data transmission, etc.

[0521] Sixth, Msg1

[0522] Msg1, with no specific name, may include (or be replaced with) a random identifier (random ID), a random access identifier (random access ID), a random number, etc. In one implementation, Msg1 may include at least one of the following: a random identifier, uplink data (such as a device ID, a response to a command). Msg1 is used for contention during random access, or to distinguish different terminal devices during random access / contention resolution. Optionally, the random identifier may be 16 bits or 8 bits, without limitation.

[0523] Seventh, Msg2

[0524] Msg2, whose name is not limited, can also be called Access ID response, access response, or UE / device Contention Resolution Identity. Msg2 is used for contention resolution, specifically indicating which Msg1 (or devices) have successfully contented (resolved) / sent successfully / accessed successfully.

[0525] Optionally, Msg2 carries a random ID or identification information derived from the random ID. This can be understood as a contention resolution identification information. For example, if random ID#1 is successfully accessed / the contention is resolved, Msg2 can carry random ID#1.

[0526] Optionally, Msg2 may carry one or more random IDs, indicating one or more Msg1 contention resolutions.

[0527] Optionally, Msg2 may carry access resource (or opportunity) related identifiers (such as the index of access time domain and / or frequency domain resources) to indicate which access opportunity (or access resource) the device that sent Msg1, or through a bitmap indication, such as 000100 indicating which devices / Msg1 / random IDs were successfully accessed on the 4th access opportunity (resource) indicated by Msg2.

[0528] Optionally, Msg2 may carry an AS ID, which indicates the AS ID assigned to the device that successfully resolves access / contention.

[0529] If Msg2 carries the random ID (or a value derived from the random ID, such as through a hash function) sent by the device in Msg1, it indicates that the device has successfully resolved contention / accessed the network. Optionally, in addition to the above conditions, Msg2 must also be associated with the access opportunity / resource that the device sent Msg1 to; that is, if Msg2 indicates the identifier of the access opportunity / resource that the device is accessing and carries a matching random ID, then it is successful.

[0530] If Msg2 does not carry the random ID (or a value derived from the random ID, such as through a hash function) sent by the device in Msg1, it indicates that the device has failed to resolve contention / access. Optionally, in addition to the above conditions, Msg2 must also be associated with the access opportunity / resource that the device sent Msg1 to; that is, if Msg2 indicates the identifier of the access opportunity / resource that the device is trying to access but does not carry a matching random ID, it fails.

[0531] If the access is successful, continue the process (e.g., send Msg3); if the access fails, a re-access can be performed.

[0532] In this application, Access Round Indication, RA Trigger, and Msg2 can be carried by access layer information (such as MAC CE and MAC cells). Paging and Msg1 can include access layer information (such as MAC CE and MAC cells) or data from upper access layers. For example, in addition to control information and resource configuration information in MAC cells, paging can also include information from upper access layers (such as identification information, device ID, and group ID). In this application, uplink data and downlink data refer to data above the access layer.

[0533] Eighth, Msg3

[0534] Msg3, whose name is not limited and can also be called D2R data, can include at least one of the following: random identifier, device ID, and upper-layer data.

[0535] Ninth, Downlink Data

[0536] Downlink data: also known as R2D data.

[0537] Optionally, downlink data can come from the core network, such as from AIoTF network elements / AMF network elements / AF network elements, etc.

[0538] For example, downlink data may include commands such as at least one of read, write, sensing, locking, deactivation, and location.

[0539] Tenth, Uplink Data

[0540] Uplink data: also known as D2R data.

[0541] Optionally, uplink data can be sent to the core network, such as AIoTF network elements / AMF network elements / AF network elements, etc.

[0542] For example, uplink data can be a response to downlink data, such as a response to a command, such as a response to at least one of the commands read, write, sense, lock, deactivate, or locate.

[0543] The uplink or downlink data can refer to data from an upper layer, such as NAS layer data, application layer data, or A-IoT layer data. In this application, the names of these data can be replaced, such as referring to them as upper-layer data, where "upper layer" refers to the layer above the access layer. For example, if the access layer only has a MAC layer, then it refers to the layer above the MAC layer.

[0544] Eleventh, Feedback

[0545] Feedback, used for responding to uplink data / Msg3.

[0546] Alternatively, as feedback to Msg3, it can be called Msg4.

[0547] Optionally, feedback can be provided for multiple devices or multiple uplink data / Msg3s.

[0548] Optionally, feedback can indicate success or failure by default.

[0549] Optionally, feedback can explicitly indicate success or failure, such as indicating success with a value of 1 and failure with a value of 0.

[0550] Optionally, feedback can be associated with a device. For example, the feedback may carry the device's identification information, or the feedback may be scrambled (descrambled) or CRC masked (demasked) using the device's identification information. The device's identification information can be at least one of AS ID, random ID, and device ID, or a part of AS ID, random ID, and device ID, or derived from AS ID, random ID, and device ID (e.g., through hash operations).

[0551] If feedback is associated with a device, the device can determine whether the uplink data / Msg3 sent before receiving the feedback was successfully transmitted based on the feedback.

[0552] Twelfth, in the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can mean A or B. "And / or" in this application is merely a description of the relationship between the related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. A and B can be singular or plural.

[0553] Thirteenth, in the description of this application, unless otherwise stated, "multiple" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0554] Fourteenth, in the embodiments of this application, the terms "first," "second," etc., distinguish between identical or similar items that have substantially the same function and effect. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or execution order, and that the terms "first," "second," etc., are not necessarily different.

[0555] In the embodiments of this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner to facilitate understanding.

[0556] Fifteenth, the term "embodiment" as used in this application means that a specific feature, structure, or characteristic related to an embodiment is included in at least one embodiment of this application. Therefore, various embodiments throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It is understood that in the various embodiments of this application, the sequence number of each process does not imply the order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0557] Sixteenth, in this application, "...when" and "if" both refer to the corresponding processing that will be carried out under certain objective circumstances, and are not limited to a specific time, nor do they require a judgment action to be performed during implementation, nor do they imply any other limitations.

[0558] It is understood that, in the above embodiments, the methods and / or steps implemented by the first device can also be implemented by components (e.g., processors, chips, chip systems, circuits, logic modules, or software) that can be used in the first device; similarly, the methods and / or steps implemented by the second device can also be implemented by components (e.g., processors, chips, chip systems, circuits, logic modules, or software) that can be used in the second device. The chip system can be composed of chips, or it can include chips and other discrete devices.

[0559] It is understood that, in order to achieve the above-mentioned functions, the device (such as the first device, the second device) includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

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

[0561] Figure 17 shows a schematic diagram of the structure of a device 1700. The device 1700 includes a processing module 1701 and a transceiver module 1702. The device 1700 can be used to implement the functions of the first device or the second device described above.

[0562] In some embodiments, the device 1700 further includes a storage module (not shown in FIG17) for storing program instructions and data.

[0563] In some embodiments, the transceiver module 1702, also referred to as a transceiver unit, is used to implement sending and / or receiving functions. The transceiver module 1702 may consist of a transceiver circuit, a transceiver, a transceiver unit, or a communication interface.

[0564] In some embodiments, the transceiver module 1702 may include a receiving module and a sending module, respectively configured to perform receiving and sending steps performed by the first device (or the second device) in the above method embodiments, and / or other processes to support the technology described herein; the processing module 1701 may be configured to perform processing steps (e.g., determination) performed by the first device (or the second device) in the above method embodiments, and / or other processes to support the technology described herein.

[0565] In one possible design, taking device 1700 as the first device in the above method embodiment as an example:

[0566] The transceiver module 1702 is used to receive first information and second information. The first information includes N random identifiers and M access layer identifiers (AS IDs). The second information indicates the correspondence between the N random identifiers and the M AS IDs. The N random identifiers include a first random identifier, which corresponds to the first device. The M AS IDs include a first AS ID. M and N are positive integers.

[0567] The processing module 1701 is used to determine the AS ID of the first device based on the first information and the second information, wherein the AS ID of the first device is either the first AS ID or the first random identifier.

[0568] In one possible design, taking device 1700 as the second device in the above method embodiment as an example:

[0569] The processing module 1701 is used to determine the first information and the second information. The first information includes N random identifiers and M access layer identifiers (AS IDs). The second information indicates the correspondence between the N random identifiers and the M AS IDs, where M and N are positive integers.

[0570] The transceiver module 1702 is used to send the first information and the second information.

[0571] In one possible design, taking device 1700 as the first device in the above method embodiment as an example:

[0572] The transceiver module 1702 is used to receive the eighth information, which includes N random identifiers and N access layer identifiers (AS IDs). The N random identifiers correspond one-to-one with the N AS IDs. The N random identifiers include a first random identifier, which corresponds to the first device. The N AS IDs include the first AS ID, where N is a positive integer.

[0573] The processing module 1701 is used to determine the AS ID of the first device based on the eighth information. The AS ID of the first device is the first AS ID, and the first AS ID corresponds to the first random identifier.

[0574] In one possible design, taking device 1700 as the second device in the above method embodiment as an example:

[0575] The processing module 1701 is used to determine the eighth information, which includes N random identifiers and N access layer identifiers (AS IDs). The N random identifiers correspond one-to-one with the N AS IDs, and N is a positive integer.

[0576] The transceiver module 1702 is used to send the eighth message.

[0577] In one possible design, taking device 2700 as the first device in the above method embodiment as an example:

[0578] The processing module 2701 is used to generate random identifiers.

[0579] The processing module 2701 is further configured to, in the event of the random identifier generation, release the access layer identifier (AS ID) or replace the AS ID with the random identifier. The AS ID is stored in the first device.

[0580] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0581] Optionally, in this application, the transceiver module receiving / sending information can also be understood as the processing module receiving / sending information through the transceiver module. The processing module receiving / sending information through the transceiver module can also be understood as the processing module controlling the transceiver module to receive / send information. Alternatively, the processing module sending information through the transceiver module can be understood as the processing module outputting information to the transceiver module, which then sends that information; the processing module receiving information through the transceiver module can be understood as the transceiver module receiving information and inputting that information into the processing module.

[0582] In this application, the device 1700 can be presented in an integrated manner, divided into various functional modules. Here, "module" can refer to an application-specific integrated circuit (ASIC), a circuit, a processor and memory that executes one or more software or firmware programs, integrated logic circuits, and / or other devices that can provide the above functions.

[0583] In some embodiments, when the device 1700 in FIG17 is a chip or chip system, the function / implementation process of the transceiver module 1702 can be implemented through the input / output interface (or communication interface) of the chip or chip system, and the function / implementation process of the processing module 1701 can be implemented through the processor (or processing circuit) of the chip or chip system.

[0584] Since the device 1700 provided in this embodiment can perform the above method, the technical effects it can achieve can be referred to the above method embodiment, and will not be repeated here.

[0585] As a possible product form, the first or second device described in the embodiments of this application can also be implemented using one or more field programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits capable of performing the various functions described throughout this application.

[0586] As another possible product form, the first or second device described in this application embodiment can be implemented using a general bus architecture. For ease of explanation, refer to FIG18, which is a schematic diagram of the structure of device 1800 provided in this application embodiment. Device 1800 includes a processor 1801 and a transceiver 1802. Device 1800 can be the first device, or a chip or chip system therein; or, device 1800 can be the second device, or a chip or chip system therein. FIG18 only shows the main components of device 1800. In addition to the processor 1801 and transceiver 1802, device 1800 may further include a memory 1803 and input / output devices (not shown in the figure).

[0587] Optionally, the processor 1801 is mainly used to process communication protocols and communication data, control the entire device, execute software programs, and process the data of the software programs. The memory 1803 is mainly used to store software programs and data. The transceiver 1802 may include radio frequency (RF) circuitry and an antenna. The RF circuitry is mainly used for converting baseband signals to RF signals and processing RF signals. The antenna is mainly used for transmitting and receiving RF signals in the form of electromagnetic waves. Input / output devices, such as touchscreens, displays, and keyboards, are mainly used to receive user input data and output data to the user.

[0588] Optionally, the processor 1801, transceiver 1802, and memory 1803 can be connected via a communication bus.

[0589] It should be noted that the memory 1803 can exist independently of the processor 1801, or it can be integrated with the processor 1801. The memory 1803 can be located inside or outside the device 1800, without limitation.

[0590] When the device is powered on, the processor 1801 can read the software program in the memory 1803, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be transmitted wirelessly, the processor 1801 performs baseband processing on the data to be transmitted and outputs the baseband signal to the radio frequency (RF) circuit. The RF circuit processes the baseband signal and transmits the RF signal outward in the form of electromagnetic waves through the antenna. When data is sent to the device, the RF circuit receives the RF signal through the antenna, converts the RF signal into a baseband signal, and outputs the baseband signal to the processor 1801. The processor 1801 converts the baseband signal into data and processes the data.

[0591] In another implementation, the radio frequency circuitry and antenna can be set up independently of the processor performing baseband processing. For example, in a distributed scenario, the radio frequency circuitry and antenna can be arranged remotely, independent of the device.

[0592] In some embodiments, those skilled in the art will recognize that the above-described device 1700 can be implemented in the form of the device 1800 shown in FIG18.

[0593] As an example, the function / implementation of the processing module 1701 in Figure 17 can be achieved by the processor 1801 in the device 1800 shown in Figure 18 calling computer execution instructions stored in the memory 1803. The function / implementation of the transceiver module 1702 in Figure 17 can be achieved by the transceiver 1802 in the device 1800 shown in Figure 18.

[0594] As another possible product form, the first or second device in this application may adopt the composition structure shown in FIG19, or include the components shown in FIG19. FIG19 is a schematic diagram of the composition of a device 1900 provided in this application.

[0595] As shown in Figure 19, the device 1900 includes at least one processor 1901. Optionally, the device also includes a communication interface 1902.

[0596] When the relevant program instructions are executed in the at least one processor 1901, the device 1900 may implement the methods provided in any of the foregoing embodiments and any of the possible designs therein. Alternatively, the processor 1901 may implement the methods provided in any of the foregoing embodiments and any of the possible designs therein through logic circuits or executable code instructions.

[0597] The communication interface 1902 can be used to receive program instructions and transmit them to the processor, or the communication interface 1902 can be used for device 1900 to communicate and interact with other communication devices, such as exchanging control signaling and / or service data. For example, the communication interface 1902 can be used to receive signals from other devices besides device 1900 and transmit them to the processor 1901, or to send signals from the processor 1901 to other devices besides device 1900.

[0598] Optionally, the communication interface 1902 can be a code and / or data read / write interface circuit, or the communication interface 1902 can be a signal transmission interface circuit between a communication processor and a transceiver, or a pin of a chip.

[0599] Optionally, the device 1900 may also include at least one memory 1903, which may be used to store the required program instructions and / or data.

[0600] It should be noted that the memory 1903 can exist independently of the processor 1901, or it can be integrated with the processor 1901. The memory 1903 can be located inside or outside the device 1900, without limitation.

[0601] Optionally, the device 1900 may further include a power supply circuit 1904, which can be used to power the processor 1901. The power supply circuit 1904 may be located in the same chip as the processor 1901, or in a separate chip outside the chip where the processor 1901 is located.

[0602] Optionally, the device 1900 also includes a bus 1905, through which the various parts of the device 1900 can be interconnected.

[0603] In some embodiments, those skilled in the art will recognize that the device 1700 shown in FIG17 can be implemented in the form of the device 1900 shown in FIG19.

[0604] As an example, the function / implementation of the processing module 1701 in Figure 17 can be achieved by the processor 1901 in the device 1900 shown in Figure 19 calling computer execution instructions stored in the memory 1903. The function / implementation of the transceiver module 1702 in Figure 17 can be achieved by the communication interface 1902 in the device 1900 shown in Figure 19.

[0605] It should be noted that the structure shown in Figure 19 does not constitute a specific limitation on the first or second device. For example, in other embodiments of this application, the first or second device may include more or fewer components than shown, or combine some components, or split some components, or have different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0606] Optionally, the processor in this application can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor, or it can be any conventional processor.

[0607] Optionally, the memory in this application can be volatile memory or non-volatile memory, or it can 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 random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced synchronous DRAM (ESDRAM), synchronous linked DRAM (SLDRAM), or direct rambus RAM (DR RAM).

[0608] Optionally, the power supply circuit described in the embodiments of this application includes, but is not limited to, at least one of the following: a power supply line for an electronic system, a power management chip, a power management processor, or a power management control circuit.

[0609] In some embodiments, this application also provides an apparatus including a processor for implementing the methods in any of the above method embodiments.

[0610] As one possible implementation, the device also includes a memory. This memory stores necessary computer programs and data. The computer program may include instructions, which the processor can invoke to instruct the device to execute the methods in any of the above method embodiments. Alternatively, the memory may not be present in the device.

[0611] As another possible implementation, the device also includes an interface circuit, which is a code / data read / write interface circuit, used to receive computer execution instructions (which are stored in memory and may be read directly from memory or may pass through other devices) and transmit them to the processor.

[0612] As another possible implementation, the device also includes a communication interface for communicating with modules outside the device.

[0613] It is understood that the device can be a chip or a chip system. When the device is a chip system, it can be composed of chips or may include chips and other discrete devices. This application does not specifically limit this.

[0614] This application also provides a computer-readable storage medium having a computer program or instructions stored thereon, which, when executed by a computer, implements the functions of any of the above-described method embodiments.

[0615] This application also provides a computer program product that, when executed by a computer, implements the functions of any of the above method embodiments.

[0616] Those skilled in the art will 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.

[0617] It is understood that the systems, apparatuses, and methods described in this application can also 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 shown or discussed mutual couplings or direct couplings or communication connections may be through some interfaces, or indirect couplings or communication connections between devices or units, which may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network units. The components shown as units may or may not be physical units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs. Additionally, the functional units in the various embodiments of this application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. In the above embodiments, they can be implemented entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software programs, it can be implemented entirely or partially in the form of a computer program product. This computer program product includes one or more computer instructions. When the computer program 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 website, computer, server, or data center 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 that a computer can access or a data storage device including one or more servers, data centers, etc., that can be integrated with the medium. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive (SSD)). In the embodiments of this application, the computer may include the aforementioned devices. Although this application has been described herein in conjunction with various embodiments, other variations of the disclosed embodiments can be understood and implemented by those skilled in the art in carrying out the claimed application by reviewing the accompanying drawings, the disclosure, and the appended claims.In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple components. A single processor or other unit can implement several functions listed in the claims. Although different dependent claims may describe certain measures, this does not mean that these measures cannot be combined to produce a good effect.

Claims

1. A communication method characterized by comprising: Applied to a first device, the method includes: Receive first information and second information. The first information includes N random identifiers and M access layer identifiers (AS IDs). The second information indicates the correspondence between the N random identifiers and the M AS IDs. The N random identifiers include a first random identifier, which corresponds to the first device. The M AS IDs include a first AS ID. M and N are positive integers. Based on the first information and the second information, the AS ID of the first device is determined, wherein the AS ID of the first device is either the first AS ID or the first random identifier.

2. The method of claim 1, wherein, N is greater than M.

3. The method according to claim 1 or 2, characterized in that, The second information includes a first bitmap, and the first bitmap includes N bits; if an Nth bit in the N bits is a first value, it indicates that an Nth random identifier in the N random identifiers corresponds to one AS ID in the M AS IDs. i i ​​ If the Nth bit is among the N bits i When a bit is the second value, it indicates the Nth random identifier among the N random identifiers. i Each random identifier does not correspond to any one of the M AS IDs; N i It is a positive integer less than or equal to N.

4. The method of claim 3, wherein, The method further includes receiving third information, the third information indicating the length of the first bitmap.

5. The method according to claim 1 or 2, characterized in that, The second information includes M first indexes, an Mth i first index in the M first indexes indicates that an Mth i AS ID in the M AS IDs corresponds to one random identity in the N random identities, M i is a positive integer less than or equal to M.

6. The method according to claim 1 or 2, characterized in that, The second information indicates the correspondence between the N random identifiers and the M AS IDs, including: The second information indicates the correspondence between the K access opportunities (AOs) and the M AS IDs, where the random identifiers transmitted on the K AOs include the N random identifiers, and K is a positive integer.

7. The method according to any one of claims 1, 2 and 6, characterized by, The second information includes a second bitmap, which includes K bits; if a Kth bit in the K bits is a third value, indicating that a Kth AO in the K AOs corresponds to an Mth AS ID in the M AS IDs; j the random identifier transmitted by the Kth AO is included in the N random identifiers, and the random identifier transmitted by the Kth AO corresponds to the Mth AS ID; j i j j i ​​​​​ If the Kth bit in the K bits j When the fourth bit is the fourth value, it indicates the Kth bit among the K AOs. j The Kth AO does not correspond to any of the M AS IDs; j The random identifier transmitted on each AO is included in the N random identifiers, and the Kth random identifier is... j The random identifier transmitted on each AO does not correspond to any of the M AS IDs; wherein K is a positive integer, K j is a positive integer less than or equal to K, M i is a positive integer less than or equal to M.

8. The method of any one of claims 1, 2, and 6, wherein, The second information includes M second indexes, an Mth i second index of the M second indexes indicates that an Mth i AS ID of the M AS IDs corresponds to a Kth j AO of K AOs; a random identifier transmitted by the Kth j AO is included in the N random identifiers, and the random identifier transmitted by the Kth j AO corresponds to the Mth i AS ID; wherein K is a positive integer, K j is a positive integer less than or equal to K, M i is a positive integer less than or equal to M.

9. The method according to any one of claims 1-2, 5-6 and 8, characterized in that, The method further includes receiving fourth information, the fourth information indicating the value of M.

10. The method according to any one of claims 1-9, characterized in that, The method further includes: receiving fifth information, the fifth information indicating the correspondence between K AOs and N random identifiers, the K AOs including a first AO, the first AO being used by the first device to send the first random identifier, and K being a positive integer.

11. The method of claim 10, wherein, The fifth information includes a third bitmap, which comprises K bits; if the Kth bit in the K bits... i When the fifth bit is the value, it indicates the Kth bit among the K AOs. i Each AO corresponds to one of the N random identifiers; if the Kth bit in the K bits... i When the sixth bit is the value of the sixth bit, it indicates the Kth bit among the K AOs. i Each AO does not correspond to any of the N random identifiers; K i It is a positive integer less than or equal to K.

12. The method of claim 10, wherein, The fifth information includes N third indexes, an Nth third index of the N third indexes indicates that an Nth random identifier of the N random identifiers corresponds to one of the K AOs, N is a positive integer less than or equal to N. i i i ​​​ 13. The method of any one of claims 1-2, 5-6, 8-10, and 12, wherein, The method further includes receiving a sixth message, the sixth message indicating the value of N.

14. The method of any one of claims 1-13, wherein, The method further includes: receiving seventh information, the seventh information indicating a first length, the first length being used to determine the length of at least one AS ID among the M AS IDs.

15. The method of any one of claims 1-14, wherein, The first information and the second information are included in the same message.

16. A method of communication, comprising: include: Send first information, which includes N random identifiers and M access layer identifiers (AS IDs), where M and N are positive integers; Send a second message indicating the correspondence between the N random identifiers and the M AS IDs.

17. The method of claim 16, wherein, The second information includes a first bitmap, and the first bitmap includes N bits; if an Nth bit in the N bits is a first value, it indicates that an Nth random identifier in the N random identifiers corresponds to one AS ID in the M AS IDs. i i ​​ If the Nth bit is among the N bits i When a bit is the second value, it indicates the Nth random identifier among the N random identifiers. i Each random identifier does not correspond to any one of the M AS IDs; N i It is a positive integer less than or equal to N.

18. The method of claim 17, wherein, The method further includes sending a third message indicating the length of the first bitmap.

19. The method of claim 16, wherein, The second information includes M first indexes, an Mth i first index in the M first indexes indicates that an Mth i AS ID in the M AS IDs corresponds to one random identity in the N random identities, M i is a positive integer less than or equal to M.

20. The method according to claim 16, characterized in that, The second information indicates the correspondence between the N random identifiers and the M AS IDs, including: The second information indicates the correspondence between the K access opportunities (AOs) and the M AS IDs, where the random identifiers transmitted on the K AOs include the N random identifiers, and K is a positive integer.

21. The method of claim 16 or 20, wherein, The second information includes a second bitmap, which includes K bits; If the Kth bit in the K bits j When the third bit is the third value, it indicates the Kth bit in the K AOs. j Each AO corresponds to the Mth AS ID among the M AS IDs. i The Kth AS ID; j The random identifier transmitted on each AO is included in the N random identifiers, and the Kth random identifier is... j The random identifier transmitted on the Mth AO corresponds to the Mth AO. i One AS ID; If the Kth bit in the K bits j When the fourth bit is the fourth value, it indicates the Kth bit among the K AOs. j The Kth AO does not correspond to any of the M AS IDs; j The random identifier transmitted on each AO is included in the N random identifiers, and the Kth random identifier is... j The random identifier transmitted on each AO does not correspond to any of the M AS IDs; wherein K is a positive integer, K j is a positive integer less than or equal to K, M i is a positive integer less than or equal to M.

22. The method of claim 16 or 20, wherein, The second information includes M second indexes, an Mth i second index of the M second indexes indicates that an Mth i AS ID of the M AS IDs corresponds to a Kth j AO of K AOs; a random identifier transmitted by the Kth j AO is included in the N random identifiers, and the random identifier transmitted by the Kth j AO corresponds to the Mth i AS ID; wherein K is a positive integer, K j is a positive integer less than or equal to K, M i is a positive integer less than or equal to M.

23. The method of any one of claims 16, 19-20, and 22, wherein, The method further includes sending a fourth message, the fourth message indicating the value of M.

24. The method of any one of claims 16-23, wherein, The method further includes: sending fifth information, the fifth information indicating the correspondence between K AOs and N random identifiers, the K AOs including a first AO, the first AO being used by the first device to send the first random identifier, and K being a positive integer.

25. The method of claim 24, wherein, The fifth information includes a third bitmap, and the third bitmap includes K bits; if a Kth bit in the K bits is a fifth value, it indicates that a Kth AO in the K AOs corresponds to one of the N random identities; if a Kth bit in the K bits is a sixth value, it indicates that a Kth AO in the K AOs does not correspond to any of the N random identities; K is a positive integer less than or equal to K. i i i i i K is a positive integer less than or equal to K.​​​​ 26. The method of claim 24, wherein, The fifth information includes N third indexes, an Nth third index of the N third indexes indicates that an Nth random identifier of the N random identifiers corresponds to one of the K AOs, N is a positive integer less than or equal to N. i i i ​​​ 27. The method of any one of claims 16, 19-20, 22-24, and 26, wherein, The method further includes sending a sixth message, the sixth message indicating the value of N.

28. The method of any one of claims 16-27, wherein, The method further includes sending a seventh message indicating a first length, the first length being used to determine the length of at least one AS ID among the M AS IDs.

29. A communications device, characterized by The communication device is a first device, including a module for implementing the method as described in any one of claims 1-15.

30. The communication apparatus according to claim 29, wherein, The communication device is an environmental IoT device or a chip in an environmental IoT device.

31. A communications device, characterized by The communication device is a second device, including a module for implementing the method as described in any one of claims 16-28.

32. The communication apparatus of claim 31, wherein The communication device is a reader or a chip in a reader.

33. A computer readable storage medium, the computer readable storage medium being included in a first device, the computer readable storage medium storing a computer program or instructions, wherein, When the computer program or instructions are run, the method as described in any one of claims 1-15 is implemented.

34. A computer program product, the computer program product being embodied in a first device, characterized in that, When the computer program product is run, the method as described in any one of claims 1-15 is implemented.

35. A computer readable storage medium, the computer readable storage medium being included in a second device, the computer readable storage medium storing a computer program or instructions, wherein, When the computer program or instructions are run, the method as described in any one of claims 16-28 is implemented.

36. A computer program product, the computer program product comprising a second apparatus, characterized in that, When the computer program product is run, the method as described in any one of claims 16-28 is implemented.