Communication method and apparatus, device, and readable storage medium

By using identifiers such as random numbers, access identifiers, and preambles in communication between IoT devices and readers, communication conflicts between IoT devices are resolved, transmission efficiency and information indication flexibility are improved, and data transmission overhead is reduced.

WO2026153003A1PCT designated stage Publication Date: 2026-07-23HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2025-12-16
Publication Date
2026-07-23

AI Technical Summary

Technical Problem

In the communication process between IoT devices and readers, how to effectively allocate access identifiers for IoT devices to resolve conflicts and improve transmission efficiency?

Method used

Communication efficiency is improved by sending a first access identifier in different messages and communicating based on the first access identifier, including random numbers, access identifiers, preambles, and preamble identifiers.

Benefits of technology

It resolves the conflict issues that arise during communication between multiple IoT devices, improves IoT transmission efficiency and the flexibility of information indication methods, and reduces data transmission overhead.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025143006_23072026_PF_FP_ABST
    Figure CN2025143006_23072026_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a communication method and apparatus, a device, and a readable storage medium. The method is applied to a first device, and comprises: receiving a message sent by a second device and used for triggering access; in response to the message used for triggering access, sending a first message to the second device, the first message being used for the first device to request access to the second device; receiving a second message sent by the second device; determining a target access identifier on the basis of first information, the target access identifier being a first random number or a first access identifier; and communicating with the second device on the basis of the target access identifier. In the solution, a first access identifier can be issued in different messages, and communication can be performed on the basis of the first access identifier, so as to improve communication efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method, apparatus, device and readable storage medium

[0001] The present application claims priority from the Chinese patent application No. 202510084607.0 filed on January 17, 2025, and entitled "Communication method, apparatus, device and readable storage medium", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present application relates to the field of communication, in particular to a communication method, apparatus, device, readable storage medium and program product. BACKGROUND

[0003] In ambient internet of things (Ambient IOT), an internet of things device collects energy in the environment, and sends a signal to a reader by backscattering or low-power radio frequency, to realize data transmission in a low-power consumption scenario.

[0004] In the related art, when an internet of things device and a reader communicate, the internet of things device communicates with the reader by relying on an access identifier (AS ID).

[0005] Therefore, how to allocate the AS ID corresponding to the internet of things device becomes a technical problem to be solved. SUMMARY

[0006] The present application provides a communication method, apparatus, device and readable storage medium, which allocates a first access identifier in different messages, and communicates based on the first access identifier, to improve communication efficiency.

[0007] In a first aspect, a communication method is provided, the method being applied to a first device, and the method includes: receiving a message for triggering access sent by a second device; in response to the message for triggering access, sending a first message to the second device, the first message being used for the first device to request access to the second device; receiving a second message sent by the second device, the second message including first information; determining a target access identifier based on the first information, the target access identifier being a first random number or a first access identifier; and communicating with the second device based on the target access identifier. The first information includes one of the following: the first random number; or the first access identifier; or the first random number and the first access identifier; or a first preamble and the first access identifier; or a first preamble identifier and the first access identifier.

[0008] In the technical solutions of the embodiments of the present application, the second message is received in the process of the first device accessing the second device, the target access identifier is determined according to the data content in the second message, and the communication with the second device is performed based on the target access identifier. On the one hand, the conflict problem in the communication process between the multiple first devices and the second device is solved by obtaining the first access identifier, and on the other hand, the transmission efficiency of the Internet of Things can be improved by using the target access identifier for subsequent communication transmission.

[0009] With reference to the first aspect, in some implementations of the first aspect, the first indication information is used for indicating the first information. Through the above method, the allocation path of the multiple first access identifiers is provided based on the first indication information, and the acquisition requirement of the first access identifier in different data transmission scenarios can be met.

[0010] With reference to the first aspect, in some implementations of the first aspect, the second message is carried in a control part or a data part of a physical reader device channel (PRDCH), and the first indication information is carried in the control part or the data part of the PRDCH. Through the above method, the first indication information in the second message is carried in different channel parts, different data transmission requirements can be met, the flexibility of the information indication method is improved, and the communication transmission efficiency is improved.

[0011] With reference to the first aspect, in some implementations of the first aspect, in the case where the first indication information is carried in the control part of the PRDCH, the first information in the second message is carried in the control part or the data part of the PRDCH; and in the case where the first indication information is carried in the data part of the PRDCH, the first information is carried in the data part of the PRDCH. Through the above method, multiple cases of the message carrying method are realized, the diversity of the message carrying method can be improved, different transmission scenario requirements can be met, and the communication efficiency and the communication performance are improved.

[0012] With reference to the first aspect, in some implementations of the first aspect, the first indication information is carried in the control part of the PRDCH, the value of the first indication information includes a first value and a second value; in the case where the value of the first indication information is the first value, the first indication information is used for indicating that the first information includes a first random number; and in the case where the value of the first indication information is the second value, the first indication information is used for indicating that the first information includes any one of the following messages: the first access identifier; or the first random number and the first access identifier; or the first preamble and the first access identifier; or the first preamble identifier and the first access identifier. Through the above method, the diversity of the indication content can be improved based on the way that the indication information corresponds to different values, so that the flexibility of the indication method is improved.

[0013] In some implementations of the first aspect, the first indication information is carried in a control part of the PRDCH, and the first indication information has a third value, a fourth value, a fifth value, and a sixth value. When the first indication information has the third value, the first indication information indicates that the first information includes the first random number. When the first indication information has the fourth value, the first indication information indicates that the first information includes the first access identifier. When the first indication information has the fifth value, the first indication information indicates that the second message includes the first random number and the first access identifier. When the first indication information has the sixth value, the first indication information indicates that the first information includes the first preamble and the first access identifier. Alternatively, the first indication information indicates that the first information includes the first preamble identifier and the first access identifier. Through the above method, the diversity of the indication content can be improved based on the different values of the indication information, thereby improving the flexibility of the indication method.

[0014] In some implementations of the first aspect, when the first indication information is carried in a data part of the PRDCH, the first indication information is a medium access control element (MAC CE).

[0015] In some implementations of the first aspect, the second message includes response messages corresponding to a plurality of first messages, the plurality of first messages are respectively sent by a plurality of first devices to the second device, the MAC CE further includes second indication information, the second indication information includes a plurality of bits, and the plurality of bits respectively correspond to a plurality of random access resources. The method further includes determining a first bit corresponding to the first device based on a sending resource of the first message and a correspondence between the plurality of bits and the plurality of random access resources. When the first bit has a seventh value, the first bit indicates that the first information includes the first indication information. Through the above method, the corresponding first bit can be determined based on the sending resource of the first device and the correspondence between the plurality of bits and the plurality of random access resources in the second indication information. Whether the first indication information is included in the second message can be determined based on the value of the first bit, thereby improving the flexibility of the content indication method and further improving the communication efficiency.

[0016] In some implementations of the first aspect, the second message includes response messages corresponding to the plurality of first messages, the plurality of first messages are respectively sent by the plurality of first devices to the second device, the control part includes a plurality of first indication information, and the plurality of first indication information respectively corresponds to the plurality of response messages. In the above method, in the case that the second message includes response messages corresponding to the plurality of first messages, the plurality of first indication information is included in the second message, which corresponds to the plurality of response messages. The first access identifier is allocated to the plurality of first devices through a single second message, the data transmission overhead is reduced, and the communication efficiency is improved.

[0017] In some implementations of the first aspect, the second message includes response messages corresponding to the plurality of first messages, the plurality of first messages are respectively sent by the plurality of first devices to the second device, the control part includes a plurality of first indication information, and the plurality of first indication information respectively corresponds to the plurality of random access resources. The first indication information includes a first bit part. In the case that the first bit part in the first indication information is the eighth value, the first indication information further includes a second bit part. The second bit part is used to indicate that the first information includes any one of the following: the first access identifier; the first random number and the first access identifier; or, the first preamble and the first access identifier; or, the first preamble identifier and the first access identifier. In the above method, in the case that the first access identifier is assigned to the plurality of first devices through a single second message, the corresponding first indication information is determined from the second message according to the access condition of the first device based on the correspondence between the first indication information and the random access resource, and the accuracy of information indication is improved.

[0018] In some implementations of the first aspect, the method further includes converting the first random number into the first access identifier. In the above method, the data transmission amount of the second message is reduced by converting the first random number into the first access identifier, the communication overhead is further reduced, and the communication efficiency is improved.

[0019] In some implementations of the first aspect, the first message includes a second random number, the first indication information is used to indicate that the first information includes the first random number and the first access identifier, and the first random number is converted into the target access identifier in the case that the first random number matches the second random number. In the above method, in the case that the first random number matches the second random number, the first random number is directly converted into the target access identifier, which can reduce the data amount of the information carried in the first information, reduce the data transmission overhead, and improve the communication efficiency.

[0020] With reference to the first aspect, in some implementations of the first aspect, the first message includes a second random number, and the first indication information is used to indicate that the first information includes the first random number and the first access identifier; the method further includes: in a case where the first random number matches the second random number, taking the first access identifier as the target access identifier. Through the above method, whether the first information is the message sent to the first device is determined by judging whether the random number in the first information issued matches the random number in the first message, thereby improving the communication accuracy.

[0021] With reference to the first aspect, in some implementations of the first aspect, the first message includes a second preamble, and the first indication information is used to indicate that the first information includes the first preamble and the first access identifier; the method further includes: in a case where the first preamble matches the second preamble, taking the first access identifier as the target access identifier. Through the above method, whether the first information is the message sent to the first device is determined by judging whether the preamble in the first information issued matches the preamble in the first message, thereby improving the communication accuracy.

[0022] The second aspect provides a communication method, the method is applied to a first device, and the method includes: receiving a message for triggering access sent by a second device; in response to the message for triggering access, sending a first message to the second device, the first message being used for the first device to request to access the second device; and receiving a second message sent by the second device, the second message including second information, the second information including third indication information, the third indication information being used to indicate whether the second information includes a target access identifier of the first device, the target access identifier being used for the first device to communicate with the second device.

[0023] It should be understood that the technical effects of the technical solutions of the second aspect can be referred to the related description of the first aspect, and will not be described again.

[0024] With reference to the second aspect, in some implementations of the second aspect, the second message is carried in a control part or a data part of the PRDCH, and the third indication information is carried in the control part or the data part of the PRDCH.

[0025] With reference to the second aspect, in some implementations of the second aspect, the third indication information is carried in a control part of the PRDCH, and values of the third indication information include a ninth value and a tenth value; in a case where the third indication information has the ninth value, the third indication information is used to indicate that the target access identity of the first device is not included in the second information; in a case where the third indication information has the tenth value, the third indication information is used to indicate that the second information includes one of the following: the first random number; or the first access identity; or the first random number and the first access identity; or the first preamble and the first access identity; or the first preamble identifier and the first access identity, wherein the target access identity is the first random number or the first access identity.

[0026] With reference to the second aspect, in some implementations of the second aspect, the third indication information is carried in a control part of the PRDCH, and values of the third indication information include an eleventh value, a twelfth value, a thirteenth value and a fourteenth value; in a case where the third indication information has the eleventh value, the third indication information is used to indicate that the target access identity corresponding to the first device is not included in the second information, and the target access identity is the first random number or the first access identity; in a case where the third indication information has the twelfth value, the third indication information is used to indicate that the second information includes the first random number; in a case where the third indication information has the thirteenth value, the third indication information is used to indicate that the second information includes the first access identity; and in a case where the first indication information has the thirteenth value, the first indication information is used to indicate that the second information includes one of the following: the first random number and the first access identity; or the first preamble and the first access identity; or the first preamble identifier and the first access identity.

[0027] With reference to the second aspect, in some implementations of the second aspect, in a case where the third indication information is carried in a data part of the PRDCH, the third indication information is a MAC CE.

[0028] With reference to the second aspect, in some implementations of the second aspect, the second message includes a response message in response to a plurality of first messages, the plurality of first messages are respectively sent by a plurality of first devices to the second device, the plurality of first devices includes an i th first device, the MAC CE further includes third indication information, the second indication information includes a plurality of bits, the plurality of bits respectively correspond to a plurality of random access resources, i is a positive integer; the method further includes: determining a second bit corresponding to the i th first device based on a sending resource of the first message of the i th first device and a correspondence between the plurality of bits and the plurality of random access resources; wherein, in a case where a value of the second bit is a fifteenth value, the second bit is used to indicate that the response message of the i th first device is not included in the second message; in a case where the value of the second bit is a sixteenth value, the second bit is used to indicate that the second message includes the third indication information, and the third indication information is used to indicate that the second information includes a target access identifier corresponding to the i th first device.

[0029] With reference to the second aspect, in some implementations of the second aspect, the second message includes a response message in response to at least one first target message in a plurality of first messages, the plurality of first messages are respectively sent by a plurality of first devices to the second device, the plurality of first devices includes an n th first device, the control part includes a plurality of third indication information, the plurality of third indication information respectively correspond to a plurality of random access resources, the first indication information includes a third bit part, n is a positive integer.

[0030] In a case where the third bit part in the third indication information is a seventeenth value, the third indication information is used to indicate that the response message of the i th first device is not included in the second message; in a case where the third bit part in the third indication information is an eighteenth value, the third indication information further includes a fourth bit part, and the fourth bit part is used to indicate that the second information includes any one of the following: the first access identifier; the first random number and the first access identifier; or, the first preamble and the first access identifier, or, the first preamble identifier and the first access identifier.

[0031] The third aspect provides a communication method, the method is applied to a second device; the method includes: sending a message for triggering access to a first device; receiving a first message sent by the first device, the first message is used for the first device to request to access the second device; sending a second message to the first device, the second message includes first information, the first device is used to determine a target access identifier based on the first information, the target access identifier is a first random number or a first access identifier; and communicating with the first device based on the first access identifier; wherein, the first information includes one of the following: the first random number; or, the first access identifier; or, the first random number and the first access identifier; or, the first preamble and the first access indicator, or, the first preamble identifier and the first access identifier.

[0032] It should be understood that the technical effects of the technical solutions of the third aspect can be referred to the related description of the first aspect, and will not be repeated.

[0033] With reference to the third aspect, in some implementations of the second aspect, the first indication information is included in the second message, and the first indication information is used to indicate the first information.

[0034] With reference to the third aspect, in some implementations of the second aspect, the second message is carried in a control part or a data part of the PRDCH, and the first indication information is carried in the control part or the data part of the PRDCH.

[0035] With reference to the third aspect, in some implementations of the second aspect, when the first indication information is carried in the control part of the PRDCH, the first information in the second message is carried in the control part or the data part of the PRDCH; and when the first indication information is carried in the data part of the PRDCH, the first information is carried in the data part of the PRDCH.

[0036] With reference to the third aspect, in some implementations of the second aspect, the first indication information is carried in the control part of the PRDCH, and the value of the first indication information includes a first value and a second value; when the value of the first indication information is the first value, the first indication information is used to indicate that the first information includes the first random number; and when the value of the first indication information is the second value, the first indication information is used to indicate that the first information includes any one of the following messages: the first access identifier; or the first random number and the first access identifier; or the first preamble and the first access identifier.

[0037] With reference to the third aspect, in some implementations of the second aspect, the first indication information is carried in the control part of the PRDCH, and the value of the first indication information includes a third value, a fourth value, a fifth value and a sixth value; when the value of the first indication information is the third value, the first indication information is used to indicate that the first information includes the first random number; when the value of the first indication information is the fourth value, the first indication information is used to indicate that the first information includes the first access identifier; when the value of the first indication information is the fifth value, the first indication information is used to indicate that the first information includes the first random number and the first access identifier; when the value of the first indication information is the sixth value, the first indication information is used to indicate that the first information includes the first preamble and the first access identifier; or the first indication information is used to indicate that the first information includes the first preamble identifier and the first access identifier.

[0038] With reference to the third aspect, in some implementations of the second aspect, when the first indication information is carried in the data part of the PRDCH, the first indication information is a MAC CE.

[0039] With reference to the second aspect, in some implementations of the second aspect, the second message includes response messages corresponding to the plurality of first messages respectively, the plurality of first messages are respectively transmitted by the plurality of first devices to the second device, and the MAC CE includes the second indication information, the second indication information includes a plurality of bits, and the plurality of bits correspond to the plurality of random access resources respectively; the first device is further configured to determine a first bit corresponding to the first device based on a transmission resource of the first message and a correspondence between the plurality of bits and the plurality of random access resources, wherein, in a case where a value of the first bit is a seventh value, the first bit is used to indicate that the first information includes the first indication information.

[0040] With reference to the third aspect, in some implementations of the second aspect, the second message includes response messages corresponding to the plurality of first messages respectively, the plurality of first messages are respectively transmitted by the plurality of first devices to the second device, and the control part includes a plurality of first indication information, and the plurality of first indication information correspond to the plurality of response messages respectively.

[0041] With reference to the third aspect, in some implementations of the second aspect, the plurality of first indication information correspond to the plurality of random access resources respectively; and the method further includes determining first indication information corresponding to the first device based on a transmission resource of the first message and a correspondence between the plurality of first indication information and the plurality of random access resources.

[0042] With reference to the third aspect, in some implementations of the second aspect, the second message includes response messages corresponding to the plurality of first messages respectively, the plurality of first messages are respectively transmitted by the plurality of first devices to the second device, and the control part includes a plurality of first indication information, and the plurality of first indication information correspond to the plurality of random access resources respectively, and the first indication information includes a first bit part; in a case where the first bit part in the first indication information is an eighth value, the first indication information further includes a second bit part, and the second bit part is used to indicate that the first information includes any one of the following: a first access identifier; a first random number and the first access identifier; or a first preamble and the first access identifier.

[0043] With reference to the third aspect, in some implementations of the second aspect, the first device is further configured to convert the first random number into the first access identifier.

[0044] With reference to the third aspect, in some implementations of the second aspect, the first message includes a second random number, and the first indication information is used to indicate that the second message includes the first random number and the first access identifier; and the first device is further configured to convert the first random number into a target access identifier in a case where the first random number matches the second random number.

[0045] In conjunction with the third aspect, in some implementations of the second aspect, the first message includes a second random number, and the first indication information is used to indicate that the first message includes a first random number and a first access identifier; the first device is also used to communicate with the second device based on the target access identifier when the first random number matches the second random number.

[0046] In conjunction with the second aspect, in some implementations of the second aspect, the first message includes a second preamble, and the first indication information is used to indicate that the first message includes the first preamble and the first access identifier; the first device is also used to communicate with the second device based on the target access identifier when the first preamble matches the second preamble.

[0047] Fourthly, a communication device is provided, comprising a unit consisting of software and / or hardware for performing any one of the methods of the first or second aspect.

[0048] Fifthly, a communication device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it is able to implement any one of the methods of the first aspect or the second aspect.

[0049] Optionally, when the communication device is used to implement any of the methods of the first aspect, the communication device may be an Internet of Things (IoT) device; when the communication device is used to implement any of the methods of the second aspect, the communication device may be a reader.

[0050] In a sixth aspect, a chip is provided, including a processor for reading and executing a computer program stored in a memory, wherein the computer program, when executed by the processor, is capable of implementing either the first or second aspect.

[0051] Optionally, the chip also includes a memory electrically connected to the processor.

[0052] Optionally, the chip may also include a communication interface.

[0053] In a seventh aspect, a computer-readable storage medium is provided that stores a computer program that, when executed by a processor, can implement any one of the methods of the first or second aspect.

[0054] Eighthly, a computer program product is provided, comprising a computer program that, when executed by a processor, can implement any one of the methods of the first or second aspect. Attached Figure Description

[0055] Figure 1 is a schematic diagram of an Internet of Things (IoT) communication system according to an embodiment of this application.

[0056] Figure 2 is a schematic diagram of an Internet of Things (IoT) communication system according to an embodiment of this application.

[0057] Figure 3 is a schematic diagram of an RFID device access process according to an embodiment of this application.

[0058] Figure 4 is a flowchart of a random access process in a CFRA scenario according to an embodiment of this application.

[0059] Figure 5 is a flowchart of a random access process in a CBRA scenario according to an embodiment of this application.

[0060] Figures 6A to 6D are schematic diagrams of a message transmission process according to an embodiment of this application.

[0061] Figure 7 is a flowchart of a communication method according to an embodiment of this application.

[0062] Figure 8 is a schematic diagram of a first instruction information according to an embodiment of this application.

[0063] Figure 9 is a schematic diagram of the first instruction information instruction content according to an embodiment of this application.

[0064] Figure 10 is a schematic diagram of a second instruction information according to an embodiment of this application.

[0065] Figure 11 is a schematic diagram of a first instruction information according to an embodiment of this application.

[0066] Figure 12 is a schematic diagram of a first instruction information according to an embodiment of this application.

[0067] Figure 13 is a schematic diagram of the hardware structure of a communication device according to an embodiment of this application. Detailed Implementation

[0068] The solutions of the embodiments of this application are described below with reference to the accompanying drawings. The communication method provided by this application can be applied to various wireless communication systems.

[0069] First, the relevant terms and technologies in this application will be explained.

[0070] • 16-bit random number (RN16):

[0071] A random number is a unique identifier randomly generated by an IoT device, used to indicate the device identifier corresponding to the IoT device. Random numbers are commonly used in IoT communication processes such as key generation, collision prevention, and data encryption.

[0072] In key generation scenarios, RN16 can be used as a component of the key, combined with other parameters and processed by relevant algorithms to generate the key. The key is used to encrypt and decrypt communication data, ensuring the confidentiality and integrity of the data.

[0073] In the conflict prevention scenario, each IoT device generates a unique RN16 during initialization. After the reader sends a trigger access command, the IoT device can return its corresponding RN16, thereby identifying and distinguishing different devices.

[0074] In the data encryption scenario, the reader can use RN16 as the encryption parameter to encrypt the data to be transmitted.

[0075] • Access identifier (AS ID):

[0076] AS ID is a unique access identifier used to identify and distinguish different IoT devices, and is typically used in scenarios such as device identification, communication management, and device management.

[0077] In device identification scenarios, the AS ID is used to identify IoT devices within an IoT system. Readers distinguish between different IoT devices by recognizing their unique AS IDs.

[0078] In communication management scenarios, the AS ID can be used as part of the device address, enabling IoT devices and readers to transmit data correctly.

[0079] In device management scenarios, IoT platforms use AS IDs to remotely manage and configure IoT devices. This includes updating device firmware, adjusting device parameters, or monitoring device status.

[0080] • Preamble:

[0081] A preamble is typically located at the beginning of the data and consists of multiple bits or signals. When an IoT device sends a message to a reader, the preamble is sent at the beginning of the message.

[0082] In an IoT communication system, if the reader cannot decode the random number in the message sent by the IoT device, it can decode the preamble in the message sent by the IoT device to identify and distinguish the IoT device.

[0083] • Reader:

[0084] In an Internet of Things (IoT) system, a reader is a device that performs read and write operations on IoT devices.

[0085] First, the IoT communication system of this application will be introduced. Schematic, please refer to Figures 1 and 2, which illustrate an exemplary embodiment of the IoT communication system provided by this application. As shown in Figure 1, the IoT device 101 and the base station 102 can directly send and receive data (including uplink and downlink data). In this case, the base station 102 acts as a reader.

[0086] As shown in Figure 2, IoT device 201 and base station 202 can indirectly send and receive data (including uplink and downlink data). Intermediate node 203 can perform data forwarding between IoT device 201 and base station 202. It should be noted that the above are only two exemplary access methods and do not constitute a limitation on the access methods of IoT devices. Specifically, when intermediate node 203 is present, intermediate node 203 acts as a reader. Optionally, intermediate node 203 can be a terminal device or a base station. If intermediate node 203 is a base station, intermediate node 203 and base station 202 belong to different base stations.

[0087] In the embodiments of this application, the Internet of Things (IoT) devices include, for example, at least one of the following: sensors (such as temperature sensors, humidity sensors, light sensors, pressure sensors, etc.), actuators (such as motors, valve actuators, etc.), radio frequency identification (RFID) tags, smart home devices (such as smart sockets, smart light bulbs, smart door locks, smart cameras, etc.), smart wearable devices (such as smartwatches, smart bracelets, smart glasses, etc.), smart city devices (such as smart traffic lights, smart parking systems, smart trash cans, etc.), industrial IoT devices (such as industrial sensors, smart warehousing equipment, smart surveillance cameras, etc.), agricultural IoT devices (such as soil moisture detectors, meteorological monitoring equipment, smart irrigation systems, etc.), smart vehicle devices (such as smart cars, vehicle-mounted sensors, etc.), and medical IoT devices (such as telemedicine devices, smart health monitors, etc.).

[0088] In the embodiments of this application, the reader may include an access network (AN) device, a radio access network (RAN) device, or a terminal device. The access network device, such as a base station (e.g., an access point), can refer to a device in the access network that communicates with wireless user equipment via one or more cells over the air interface. For example, it can be an evolved Node B (NodeB, eNB, or e-NodeB), or it may include a next-generation node B (gNB) or a next-generation evolved node B (ng-eNB), en-gNB (enhanced next-generation node B, gNB) in a 5G system: an enhanced next-generation base station, or a sixth-generation network base station or a base station of a subsequently evolved wireless communication system; it may also include centralized units (CU) and distributed units (DU) in a cloud radio access network (Cloud RAN) system, etc., and will not be listed individually. The user equipment can also be referred to as a terminal device, which can be a computer, mobile phone, smartwatch, tablet computer, laptop computer, XR terminal, vehicle terminal, etc. XR terminals can also include virtual reality (VR) terminals, augmented reality (AR) terminals, and mixed reality (MR) terminals.

[0089] In related technologies, the access process between a reader and IoT devices in an IoT system can refer to the access process of an RFID device. For illustration, please refer to Figure 3, which shows a schematic diagram of an RFID device access process provided in an exemplary embodiment of this application. As shown in Figure 3, the reader selects three IoT devices for activation and access, namely device 1, device 2, and device 3. The reader sets four slots as an inventory cycle, where an inventory cycle is a period initiated by an inquiry command and ended by a subsequent inquiry command or selection command. The inventory cycle is used to inventory the devices to identify those within a specific reading range and obtain relevant information about these devices.

[0090] The reader sets the number of time slots, time slot length, and start time of each time slot during the access process. First, the reader sends a query command to activate the three devices within the reading range. After receiving the query, the devices choose whether to respond. If a response is required, they select the corresponding time slot to respond. For example, device 1 selects time slot 0 to respond, while devices 2 and 3 both select time slot 2.

[0091] Taking device 1 as an example, during the process of device 1 responding to the reader, device 1 first sends a random number 301 to the reader in time slot 0. After receiving the random number 301, the reader decodes it. If the decoded result is the same random number, the reader sends the same random number back to device 1 as a response 302 to random number 301. After receiving response 302, device 1 sends a device identifier, such as an electronic product code (EPC) 303, to the reader, representing the designated identifier corresponding to device 1, used to ensure the accuracy of subsequent data transmission. After receiving the EPC 303, the reader completes the access to device 1. At this time, it continues to query and reply in time slot 0. If no new random number is found at the end of time slot 0, it means that only device 1 has successfully accessed in the current time slot 0.

[0092] In one instance, no random number was received from the device in time slot 1. In time slot 2, both device 2 and device 3 sent RN16 to the reader. At this time, the reader could not decode the multiple RN16 received. In other words, the reader could not identify the access requests corresponding to device 2 and device 3 respectively through the multiple RN16, and therefore could not access device 2 and device 3. In this case, there is an access conflict between device 2 and device 3.

[0093] In related technologies, the access process for RFID devices can only be for a single device, that is, the time-division multiple access (TDMA) time-slot access method divides time domain resources into multiple time slots and implements the access process for a single device in a single time slot. Furthermore, for IoT devices, IoT devices do not have electronic product codes and therefore cannot actively send electronic product codes to the reader. Therefore, how to allocate and indicate the unique identifier corresponding to IoT devices is also a technical problem that this application needs to solve.

[0094] Therefore, the method provided in this application, compared with related technologies, can divide frequency domain resources in the same time slot to realize frequency division multiple access (FDMA), thereby enabling multiple IoT devices to access the same time domain resources. Furthermore, the reader sends the access identifier AS ID to the IoT devices through different types of messages, enabling the IoT devices to communicate with the reader based on the AS ID after access is completed.

[0095] The following section introduces the random access process in related technologies, which includes two access methods: contention-free random access (CFRA) and contention-based random access (CBRA).

[0096] For illustrative purposes, please refer to Figure 4, which shows a flowchart of the random access procedure in a CFRA scenario provided by an exemplary embodiment of this application. As shown in Figure 4, the method includes the following steps.

[0097] Step 401: The reader sends an initial message to the IoT device.

[0098] Indicatively, the reader sends an initial message, also known as message0 (msg0), to the IoT device to trigger a random access process. The initial message used to trigger random access can be a paging message, or it can be a message that triggers the start of an access slot, or it can be a message that triggers the start of a round of access, etc. This application embodiment does not limit this.

[0099] Among them, paging message indicates that the reader has signaling or data that needs to be sent to the IoT device; access slot refers to the time slot in which the IoT device can access the reader; triggering a round of access means triggering a new random access process. During the access process, the reader will allocate one or more time slots to the IoT device for the IoT device to access the reader.

[0100] Step 402: The IoT device sends message 1 (msg1) to the reader.

[0101] To illustrate, after receiving the initial message, the IoT device sends a message 1 to the reader, which carries a random number 1 corresponding to the IoT device.

[0102] Step 403: The reader sends message 2 (msg2) to the IoT device.

[0103] To illustrate, after receiving message 1, the reader decodes the random number 1 in message 1. If the decoded random number 1 is obtained, the reader can send random number 2 to the IoT device as a response to message 1. That is, message 2 includes random number 2. In this case, random number 2 is the same as random number 1.

[0104] In another scenario, random number 1 and random number 2 may be different, in which case the IoT device will fail to connect to the reader based on message 2.

[0105] Step 404: The IoT device sends message 3 (msg3) to the reader.

[0106] To illustrate, after receiving random number 2, if random number 1 and random number 2 are the same, it means that the reader has successfully decoded the data. At this time, the IoT device sends message 3 to the reader. Message 3 includes the electronic product code corresponding to the IoT device. At this point, the random access process between the reader and the IoT device is completed.

[0107] For illustrative purposes, please refer to Figure 5, which shows a flowchart of a random access procedure in a CBRA scenario provided by an exemplary embodiment of this application. As shown in Figure 5, the method includes the following steps.

[0108] Step 501: The reader sends message 0 (msg0) to the IoT device.

[0109] As an illustration, the reader sends a message 0 to the IoT device to trigger the IoT device to access the reader.

[0110] Optionally, message 0 can be a paging message, or the initial message can be a message that triggers the start of an access slot, or the initial message can be a message that triggers the start of a round of access, etc., without restriction.

[0111] Step 502: The IoT device sends message 1 (msg1) to the reader.

[0112] To illustrate, when an IoT device receives message 0, it proactively sends message 1, i.e., msg1, containing a random number 1 and an electronic product code, to the reader.

[0113] The random number 1 is randomly generated by the IoT device, and the electronic product code is used to uniquely identify the IoT device.

[0114] Step 503: The reader sends message 2 (msg2) to the IoT device.

[0115] As an illustration, after receiving msg1, the reader decodes msg1. If the decoding is successful, it obtains the random number 1 and electronic product code corresponding to the IoT device. At this time, the reader sends message 2 to the IoT device to indicate the response to message 1 sent by the IoT device, indicating that the current IoT device has successfully connected to the reader.

[0116] Optionally, message 2 may include random number 2 (in which case, random number 2 is equal to random number 1); or message 2 may include other information to indicate to the IoT device that the access was successful.

[0117] As shown in Figures 4 and 5 above, when an IoT device sends msg1 to the reader, the reader decodes msg1. If it obtains the random number corresponding to the IoT device in msg1, it stores the Electronic Product Code (EPC) sent by the IoT device in msg2 or msg3. The EPC is used for resource scheduling during subsequent data transmission between the IoT device and the reader. In other words, the reader carries the EPC in the data it transmits to the IoT device to indicate the object to which the current data is to be sent.

[0118] However, since Electronic Product Codes (EPCs) are typically 128 bits long, scheduling data transmission between a successfully connected reader and an IoT device based on the EPC can lead to excessive data overhead. In this embodiment, by redefining an AS ID for the IoT device and having the reader assign an AS ID to the IoT device during the connection request process, subsequent successful connections can use the AS ID instead of the device identifier (EPC) as the identifier for scheduling data transmission, thus significantly improving transmission efficiency.

[0119] The following section provides a detailed description of the data transmission scenario between msg1 and msg2.

[0120] For illustration, please refer to Figures 6A to 6D, which show a schematic diagram of a message transmission process provided by an exemplary embodiment of this application.

[0121] First, the process of a reader sending data to an IoT device is called reader to device (R2D), and the process of an IoT device sending data to a reader is called device to reader (D2R).

[0122] The first scenario, as shown in Figure 6A, involves one msg2 corresponding to one msg1. In the D2R phase, device A and device B send msg1 to the reader on different frequency domain resources. For example, device A sends msg1 on frequency f1, and device B sends msg1 on frequency f2. Because the devices are different, the content of the msg1 sent by device A and device B is also different. When the reader receives two msg1s from different frequency domains, it generates two msg2s: one corresponding to the msg1 sent by device A, and another corresponding to the msg1 sent by device B. In this embodiment, msg1 includes access occasion (AO) resources. An AO includes one or more time-frequency resources (time-domain resources and frequency-domain resources). Within an access occasion resource, the reader sends msg2 corresponding to device A and msg2 corresponding to device B to device A and device B respectively on different time-domain resources. For example, the reader sends the corresponding msg2 to device A at the maximum time in the first time slot and sends the corresponding msg2 to device B at the maximum time in the second time slot. That is, in the current scenario, one msg1 corresponds to one msg2.

[0123] The second scenario, as shown in Figure 6B, involves one msg2 corresponding to one msg1. In the D2R phase, device A and device B send msg1 to the reader on different time-domain resources. That is, the time-domain resource corresponding to msg1 sent by device A is earlier than the time-domain resource corresponding to msg1 sent by device B. Since the devices are different, the content of msg1 sent by device A and device B is also different. In the R2D phase, after the reader receives two msg1s from different time domains, it generates two msg2s: one corresponding msg2 for the msg1 sent by device A, and another corresponding msg2 for the msg1 sent by device B. In this embodiment, within an access timing resource, the reader sends the msg2 corresponding to device A and the msg2 corresponding to device B to device A and device B respectively on different time domain resources. For example, taking an access resource that includes a first time slot and a second time slot as an example, the reader sends the corresponding msg2 to device A at the maximum D2R time in the first time slot, and sends the corresponding msg2 to device B at the maximum D2R time in the second time slot. That is, in the current scenario, one msg1 corresponds to one msg2.

[0124] The third scenario, as shown in Figure 6C, involves one msg2 corresponding to two msg1 messages. In the D2R phase, device A and device B send msg1 to the reader on different frequency domain resources; that is, device A sends msg1 on resource f1, and device B sends msg1 on resource f2. Since the devices are different, the content of the msg1 messages sent by device A and device B is also different. In the R2D phase, after the reader receives two msg1 messages from different frequency domains, it generates one msg2 message. This msg2 message contains both the response message generated for the msg1 message sent by device A and the response message generated for the msg1 message sent by device B. In this embodiment, within one access timing resource, the reader sends msg2 to the IoT device during the maximum D2R time. msg2 includes both the response message for device A and the response message for device B. In other words, the reader sends the same msg2 to both device A and device B. Device A reads the portion of msg2 that corresponds to its own msg1, and device B reads the portion of msg2 that corresponds to its own msg1. Therefore, in this scenario, two msg1s correspond to one msg2.

[0125] The fourth scenario, as shown in Figure 6D, involves one msg2 corresponding to two msg1 messages. In the D2R phase, device A and device B send msg1 to the reader on different time-domain resources. That is, the time-domain resource corresponding to device A sending msg1 to the reader is earlier than the time-domain resource corresponding to device B sending msg1 to the reader. Since the devices are different, the content of the msg1 sent by device A and device B is also different. In the R2D phase, after the reader receives two msg1 messages from different frequency domains, it generates one msg2 message. This msg2 message contains both the msg2 message generated for the msg1 message sent by device A and the msg2 message generated for the msg1 message sent by device B. In this embodiment, within one access timing resource, the reader sends msg2 to the IoT device within the maximum D2R time. msg2 includes a response message for device A and a response message for device B. In other words, the reader sends the same msg2 to both device A and device B. Device A reads the portion of msg2 that corresponds to its own msg1, and device B reads the portion of msg2 that corresponds to its own msg1. Therefore, in this scenario, two msg1s correspond to one msg2.

[0126] Therefore, referring to Figures 6A to 6D, it can be seen that the scenarios corresponding to the embodiments of this application include two situations:

[0127] The first type is where one msg1 corresponds to one msg2;

[0128] The second type is where multiple msg1s correspond to one msg2.

[0129] In the second scenario, multiple IoT devices can exist within the network coverage area of ​​the IoT system. Therefore, the IoT system needs to consider supporting command and control of multiple IoT devices. To support command and control of multiple IoT devices, it is necessary to consider the allocation of uplink resources for multiple IoT devices in order to reduce or avoid resource conflicts between multiple IoT devices.

[0130] Resource conflicts can occur in the following two scenarios:

[0131] The first scenario: When multiple IoT devices use the same random number on different access time resources (frequency domain resources or time domain resources), the reader needs to assign a new AS ID to at least one IoT device (at this time, the reader can decode the random number corresponding to the IoT device).

[0132] The second scenario involves multiple IoT devices sending msg1 to the reader using the same or different random numbers on the same resource (frequency domain resource or time domain resource). In this case, the reader needs to assign a new AS ID to at least one IoT device (at this time, the reader cannot decode the random number corresponding to the IoT device, but it can decode the preamble in msg1).

[0133] The communication method provided in this application will be described in detail below with reference to the accompanying drawings.

[0134] For illustrative purposes, please refer to Figure 7, which shows an interactive flowchart of a communication method provided in an exemplary embodiment of this application. As shown in Figure 7, the method is executed by a first device and a second device, and the method includes the following steps.

[0135] Step 710: The second device sends a message to the first device to trigger access.

[0136] In illustrative terms, the first device is implemented as an Internet of Things (IoT) device and the second device is implemented as a reader. In another case, the first device may also be a reader and the second device may be an IoT device. This application does not limit this to any particular device.

[0137] The illustrative message used to trigger access can also be called the initial message or message 0 (msg0).

[0138] Optionally, the initial message can be a paging message, or the initial message can be a message that triggers the start of an access slot, or the initial message can be a message that triggers the start of a round of access, etc., without restriction.

[0139] The initial message is used to trigger the first device to access the second device. That is, when the first device receives the initial message, it sends an access request to the second device (i.e., the first message below).

[0140] Step 720: In response to the trigger message, the first device sends a first message to the second device.

[0141] The first message is used by the first device to request access to the second device.

[0142] In some embodiments, the first message includes a random number (i.e., a second random number), which can be implemented as RN16 to indicate that the current first message is sent by the first device. Therefore, when multiple first devices send the first message to the second device, each first device can carry RN16 in the first message so that the second device can classify the multiple first messages and avoid message conflicts.

[0143] As an illustration, different first devices send different RN16 values. For example, when device a sends message 1 to the second device, message 1 carries RN16 value 57. When device b sends message 2 to the second device, message 2 carries RN16 value 38. Therefore, the second device can distinguish which device sent the message by using the different RN16 values.

[0144] Optionally, taking an IoT device as an example, IoT devices can be divided into two types based on power consumption: Type 1 and Type 2. Type 1 IoT devices typically have a power consumption of 1 μW, while Type 2 IoT devices typically have a power consumption of less than several hundred μW. Type 1 IoT devices can be further divided into Type 2a and Type 2b. That is, Type 1 and Type 2a IoT devices rely on backscattering for uplink transmission (Type 1 IoT devices do not have independent signal amplification, but Type 2a IoT devices do). Type 2b IoT devices, on the other hand, have independent signal amplification, and the uplink data can be generated internally.

[0145] Indicatively, the first message is used to instruct the first device to request access from the second device.

[0146] Optionally, the first message may include one or more of the following:

[0147] The first method is to generate a random number, that is, the first device automatically generates an RN16 as a random number;

[0148] The second type is the preamble, which means that the first device sets a preamble at the beginning of the first message;

[0149] The third type is the preamble identifier, which is used to indicate the preamble in the first message. Different preamble identifiers are used to distinguish different preambles.

[0150] In this embodiment, the random number sent by the first device in the first message is used as the second random number, the preamble sent by the first device in the first message is set as the second preamble, and the preamble identifier sent by the first device in the first message is used as the second preamble identifier.

[0151] Step 730: The first device receives the second message sent by the second device.

[0152] The second message includes the first information, which includes the following:

[0153] A first random number; or a first access identifier; or a first random number and a first access identifier; or a first preamble and a first access identifier; or a first preamble identifier and a first access identifier.

[0154] Indicatively, the first random number is used to determine the recipient of the second message. For example, if device a sends the random number 58 to a second device, and the second message includes the random number 58, it means that the second message is sent to device a.

[0155] It is worth noting that the content carried by the "first information" in this application is equivalent to the content carried by the "second message," and subsequent embodiments will not be described in detail.

[0156] In some embodiments, the second message includes a response message in response to the first message; or, the second message is a message received after the first device accesses the second device.

[0157] Optionally, the second message includes at least one of the following message types:

[0158] In the first scenario, the second message is implemented as msg2. That is, taking the first message as msg1 as an example, the second message is used to respond to the first message.

[0159] The second method is to implement the second message as msg4. That is, after the first device successfully connects to the second device, the second device sends a second message to the first device. Here, msg4 refers to the R2D message after msg3 during the random access process.

[0160] It is worth noting that the above-mentioned message types for the second message are merely illustrative examples, and the embodiments of this application do not limit them.

[0161] For illustrative purposes, the first random number refers to the random number sent by the second device. Therefore, the first random number may be the same as the second random number, or the first random number may be different from the second random number.

[0162] Optionally, the second message may include any one of the following information contents:

[0163] The first type, the first random number;

[0164] The second type is the first access identifier, which is the newly assigned AS ID;

[0165] The third type is the first random number and the first access identifier;

[0166] The fourth type is the first preamble and the first access identifier;

[0167] The fifth type is the first preamble identity (Preamble ID) and the first access identifier.

[0168] It is worth noting that the information content regarding the second type mentioned above is merely an illustrative example, and the embodiments of this application do not limit it.

[0169] The first preamble identifier is used to indicate the first preamble. Different first devices send different first preambles, therefore, the first preamble identifiers corresponding to different first preambles are also different.

[0170] In some embodiments, the second message includes a response message corresponding to a plurality of first messages, the plurality of first messages being sent by a plurality of first devices to a second device, and the control part including a plurality of first indication information, the plurality of first indication information corresponding to a plurality of response messages.

[0171] Alternatively, if the second message is msg2, the following cases apply:

[0172] The first type, the second message, is a response message to the first message sent by a first device.

[0173] That is, in this case, the five situations mentioned above contained in the second message refer to the same first device.

[0174] The second type includes response messages to the first messages sent by multiple first devices.

[0175] That is, in this case, taking the second message including a first random number as an example, the second message includes multiple first random numbers, each corresponding to a different first device. For example, the second message includes 58 and 38, where 58 is a random number for device A and 38 is a random number for device B. Or, taking the second message including a first access identifier as an example, the second message includes multiple first access identifiers, each corresponding to a different first device.

[0176] In some embodiments, the second message includes first indication information, which indicates that the first information includes one of the following: a first random number; or, a first access identifier; or, a first random number and a first access identifier; or, a first preamble and a first access identifier; or, a first preamble identifier and a first access identifier.

[0177] In some embodiments, the second message is carried in the control portion or data portion of the PRDCH, and the first indication information is carried in the control portion or data portion of the PRDCH.

[0178] In this embodiment, the PRDCH includes a control section or a data section. Therefore, when the second message is sent to the first device through the PRDCH, the second message can be sent to the first device through the control section; or, the second message can be sent to the first device through the data section.

[0179] In this embodiment, the first instruction information is sent to the first device through the control section, or the first instruction information is sent to the first device through the data section.

[0180] In some embodiments, when the first indication information is carried in the control portion of the PRDCH, the first information is carried in either the control portion or the data portion of the PRDCH; when the first indication information is carried in the data portion of the PRDCH, the first information is carried in the data portion of the PRDCH.

[0181] In this embodiment, in one case, when the first indication information is carried in the control part of the PRDCH, the first information is carried in the control part of the PRDCH. At this time, both the first information and the first indication information are carried in the control part, and the information content includes a first random number; or a first access identifier; or a first random number and a first access identifier; or a first preamble and a first access identifier; or a first preamble identifier and a first access identifier.

[0182] In this embodiment, in another case, when the first indication information is carried in the control part of the PRDCH, the first information is carried in the data part of the PRDCH. In this case, the first indication information and the first information in the second message are carried in different parts of the PRDCH.

[0183] In this embodiment, there is another case where, when the first indication information is carried in the data portion of the PRDCH, the first information is carried in the data portion of the PRDCH. In this case, both the first information and the first indication information in the second message are carried in the data portion.

[0184] In some embodiments, where the first indication information is carried in the data portion of the PRDCH, the first indication information is the Media Access Control Unit (MAC CE).

[0185] In this embodiment, if the first indication information is carried in the data portion of the PRDCH, the first indication information is represented by MAC CE.

[0186] Indicatively, when the first instruction information is carried in the control section, the first instruction information is implemented with different values ​​to indicate that the second message contains different information content.

[0187] In some embodiments, the first indication information is carried in the control portion of the PRDCH, and the value of the first indication information includes a first value and a second value; when the value of the first indication information is the first value, the first indication information is used to indicate that the first information includes a first random number; when the value of the first indication information is the second value, the first indication information is used to indicate that the first information includes any one of the following messages: a first access identifier; or, a first random number and a first access identifier; or, a first preamble and a first access identifier; or, a first preamble identifier and a first access identifier.

[0188] To illustrate, taking a single bit as the first indication information, a bit can be either 0 or 1. Therefore, the first value can be either 0 or 1, and the second value can also be either 0 or 1. Specifically, when the first value is 0, the second value is 1, and when the first value is 1, the second value is 0.

[0189] In one example, we will use a first value of 0 and a second value of 1 as an illustration, including any of the following cases:

[0190] The first type: when the first indication information is 0, it means that the first information includes the first random number; when the first indication information is 1, it means that the first information includes the first access identifier.

[0191] The second type: when the first indication information is 0, it means that the first information includes the first random number; when the second indication information is 1, it means that the first information includes the first random number and the first access identifier.

[0192] The third type: when the first indication information is 0, it means that the first information includes the first random number; when the second indication information is 1, it means that the first information includes the first preamble and the first access identifier.

[0193] The fourth type: When the first indication information is 0, it means that the first information includes the first random number; when the second indication information is 1, it means that the first information includes the first preamble identifier and the first access identifier.

[0194] It is worth noting that the first indication information mentioned above, which uses one bit as an example, is only an illustrative example. In this application, the first value and the second value can also be multiple bits, for example, the first value is 00 and the second value is 11. This embodiment does not limit this.

[0195] In some embodiments, the first indication information is carried in the control portion of the PRDCH, and the value of the first indication information includes a third value, a fourth value, a fifth value, and a sixth value; when the value of the first indication information is the third value, the first indication information is used to indicate that the first information includes a first random number; when the value of the first indication information is the fourth value, the first indication information is used to indicate that the first information includes a first access identifier; when the value of the first indication information is the fifth value, the first indication information is used to indicate that the first information includes both a first random number and a first access identifier; when the value of the first indication information is the sixth value, the first indication information is used to indicate that the first information includes both a first preamble and a first access identifier, or the first indication information is used to indicate that the first information includes both a first preamble identifier and a first access identifier.

[0196] For illustrative purposes, taking the first indication information as multiple bits as an example, such as 2 bits, if each bit contains two states of 0 or 1, then the first indication information can be one of four states: 00, 01, 10, and 11. Therefore, the third, fourth, fifth, and sixth values ​​can be implemented as different combinations of the above four states, for example: the third value is 00, the fourth value is 01, the fifth value is 10, and the sixth value is 11, or the third value is 00, the fourth value is 10, the fifth value is 11, and the sixth value is 01. This embodiment does not limit this.

[0197] In one example, using the values ​​00 for the third value, 01 for the fourth value, 10 for the fifth value, and 11 for the sixth value, let's illustrate the content contained in the second message:

[0198] 1. When the first indication information is 00, it means that the first information includes the first random number;

[0199] 2. When the first indication information is 01, it indicates that the first information includes the first access identifier;

[0200] 3. When the first indication information is 10, it means that the first information includes the first random number and the first access identifier;

[0201] 4. When the first indication information is 11, it means that the first information includes the first preamble and the first access identifier; or, it means that the first information includes the first preamble identifier and the first access identifier.

[0202] In illustrative terms, in addition to the above-mentioned indication methods, if the indication information is carried in the control part of the PRDCH when the second message includes multiple response messages, the indication information can also be implemented in the following representation. For the sake of distinction, the indication information is taken as the third indication information, and the second message includes the second information as an example for explanation.

[0203] The third indication information is implemented as one bit.

[0204] Optionally, the ninth value is 0 and the tenth value is 1. In another case, the ninth value is 1 and the tenth value is 0. In this embodiment, the ninth value is 0 and the tenth value is 1 as an example, including any of the following cases:

[0205] The first method: When the third indication information is 0, it means that there is no response message corresponding to the first device in the second message. When the third indication information is 1, it means that the second message includes the first random number. For example, the second message includes message a and message b, where message a corresponds to device a. When message a is 0, it means that there is no response message for device a in the current second message, that is, device a cannot obtain the target access identifier from the current second message. When message a is 1, it means that the current second message includes the first random number, and device a can determine the target access identifier based on the first random number (detailed explanation in subsequent embodiments).

[0206] The second type: When the third indication information is 0 (corresponding to the ninth value, the same applies below), it means that the second information in the second message does not have a response message corresponding to the first device. When the third indication information is 1 (corresponding to the tenth value, the same applies below), it means that the second message includes the first random access identifier. When the third indication information is 1, it means that the second information includes the first random number and the first access identifier.

[0207] The third type: When the third indication information is 0, it means that there is no response message corresponding to the first device in the second message, so there is no second information in the second message. When the third indication information is 1, it means that the second message includes the second information, and the second information includes the first random number and the first access identifier.

[0208] The fourth type: When the third indication information is 0, it means that there is no response message corresponding to the first device in the second information; when the third indication information is 1, it means that the second message includes the second information, and the second information includes the first preamble and the first access identifier.

[0209] Fifth: When the third indication information is 0, it means that there is no response message corresponding to the first device in the second information. When the third indication information is 1, it means that the second message includes the second information, and the second information includes the first preamble identifier and the first access identifier.

[0210] • The third indication information is implemented as multiple bits:

[0211] For illustrative purposes, taking the third indication information as multiple bits as an example, such as 2 bits, if each bit contains two cases of 0 or 1, then the third indication information can be four cases: 00, 01, 10, and 11. Therefore, the eleventh, twelfth, thirteenth, and fourteenth values ​​can be implemented as different combinations of the above four cases. For example, the eleventh value is 00, the twelfth value is 01, the thirteenth value is 10, and the fourteenth value is 11. Or, for example, the eleventh value is 00, the twelfth value is 10, the thirteenth value is 11, and the fourteenth value is 01. This embodiment does not limit this.

[0212] In one example, using the eleventh value of 00, the twelfth value of 01, the thirteenth value of 10, and the fourteenth value of 11 as examples, the content contained in the second message is explained as follows:

[0213] 1. When the third indication information is 00 (an eleven-value), it indicates that the second message does not include the response message from the first device;

[0214] 2. When the first indication information is 01 (a value of 12), it indicates that the second message includes the second information, and the second information includes the first random number;

[0215] 3. When the first indication information is 10 (a value of thirteen), it indicates that the second message includes the second information, and the second information includes the first access identifier;

[0216] 4. When the first indication information is 11 (a value of fourteen), it indicates that the second message includes the second information, and the second information includes the first random number and the first access identifier; or, it indicates that the second information includes the first preamble and the first access identifier; or, it indicates that the second message includes the first preamble identifier and the first access identifier.

[0217] Step 740: Determine the target access identifier based on the first information.

[0218] Indicatively, the target access identifier is used to schedule subsequent data transmission when the IoT device and the second device successfully access the network. In other words, when the second device transmits data, it can transmit the content in the access identifier as part of the data, so that the first device can determine whether the data is related to the first device based on the content in the access identifier after receiving the data.

[0219] In some embodiments, the first random number is converted into a target access identifier.

[0220] In this embodiment, taking the inclusion of a second random number in the first message as an example, after receiving the first random number, the first device uses the first random number as the target access identifier corresponding to the first device.

[0221] In some embodiments, the first message includes a second random number, and the first indication information is used to indicate that the first message includes a first random number; if the first random number matches the second random number, the first random number is converted into a target access identifier.

[0222] In this embodiment, the first message sent by the first device to the second device includes a second random number, and the first indication information indicates that the first information includes a first random number. The first device determines whether the first random number and the second random number match. If the first random number and the second random number match, the first random number in the second message is used as the target access identifier. The device communicates with the second device based on the target access identifier. For example, the PRDCH includes a cyclic redundancy check (CRC) part. The CRC is used to check whether the first random number and the second random number are equal. If the first random number is equal to the second random number, the first random number is converted into its own target access identifier.

[0223] In some embodiments, the first indication information is used to indicate that the second message includes a first access identifier, and the first access identifier is used as the target access identifier.

[0224] In this embodiment, when the second message is a response message in response to the first device, the first access identifier contained in the second message is used as the target access identifier of the first device.

[0225] In some embodiments, the first message includes a second random number, and the first indication information is used to indicate that the first message includes a first random number and a first access identifier; the first access identifier is used as the target access identifier.

[0226] In this embodiment, the first message sent by the first device to the second device includes a second random number, and the first indication information indicates that the first information includes a first random number and a first access identifier. The first device determines whether the first random number and the second random number match. If the first random number and the second random number match, the first access identifier in the first information is used as the target access identifier.

[0227] In some embodiments, the first message includes a second preamble, and the first indication information is used to indicate that the first message includes a first preamble and a first access identifier; if the first preamble and the second preamble match, the first access identifier is used as the target access identifier.

[0228] In this embodiment, the first message sent by the first device to the second device includes a second preamble, and the first indication information indicates that the second message includes a first preamble and a first access identifier. The first device determines whether the first preamble and the second preamble match. If the first preamble and the second preamble match, the first access identifier in the first information is used as the target access identifier.

[0229] In some embodiments, the first message includes a second preamble identifier, and the first indication information is used to indicate that the second message includes a first preamble identifier and a first access identifier; if the first preamble identifier and the second preamble identifier match, the first access identifier is used as the target access identifier.

[0230] In this embodiment, the first message sent by the first device to the second device includes a second preamble identifier, which is used to indicate the second preamble in the first message. The second message received by the first device includes first indication information, which is used to indicate that the second message includes a first preamble identifier and a first access identifier. If the first device determines that the first preamble identifier and the second preamble identifier match (e.g., they are equal), then the first access identifier is used as the target access identifier corresponding to the first device.

[0231] Step 750: The first device communicates with the second device based on the target access identifier.

[0232] To illustrate, after the first device determines the corresponding target access identifier, and when the first device successfully accesses the second device, the target access identifier is carried in the message sent to the second device during the communication process with the second device, and the target access identifier is also carried in the message sent by the second device to the first device.

[0233] In one example, the message sent by the second device to the first device carries an access identifier. After receiving the message, the first device first decodes the access identifier. If it is determined that the access identifier is the target access identifier corresponding to the first device, it reads the instruction content in the message and returns the result, thus completing a data transmission process.

[0234] The communication methods corresponding to the application embodiments are described in detail below according to different scenarios.

[0235] The second message includes a response message corresponding to the first device; that is, one msg2 corresponds to one msg1.

[0236] The first type includes a first random number in the first piece of information.

[0237] In this embodiment, the second message only includes the first random number, which is directly used as the target access identifier corresponding to the first device. For example, if the second message includes RN16 with a value of 58, 58 is directly used as the AS ID corresponding to the first device.

[0238] In one scenario, if the second device only receives the first message sent by the first device and also only sends the second message to the first device, then the first random number can be directly used as the target access identifier.

[0239] Optionally, the second message is carried in the control section or the data section of the PRDCH. Therefore, the first random number can be carried in the control section or the data section.

[0240] The second type includes a first indication information in the second message, which is used to indicate that the first message includes a first random number or a first access identifier.

[0241] Indicatively, the second message is carried in the data or control portion of the PRDCH.

[0242] Indicatively, the second message includes first indication information. If the first indication information is carried in the control section, then the first random number or the first access identifier in the second message is carried in the data section or the control section.

[0243] When the first random number or the first access identifier is carried in the control part, the first indication information uses different values ​​to express the content contained in the first information.

[0244] Schematic illustration: If the first indication information is carried in the data portion, then the first random number or the first access identifier is also carried in the data portion. In this case, the first indication information is used only to indicate the first random number, or the first indication information is used only to indicate the first access identifier. In this embodiment, when the first indication information is carried in the data portion, the first indication information is MAC CE.

[0245] Schematic, please refer to FIG8, which shows a schematic diagram of a first instruction information provided in an exemplary embodiment of the present application. As shown in FIG8(a), the first instruction information 801 is carried in the control part of the PRDCH. The first instruction information 801 is used to instruct a second message carried in the data part, wherein the second message includes a first random number.

[0246] As shown in Figure 8(b), the first indication information 802 is carried in the control part of the PRDCH. The first indication information 802 is used to indicate that the second message is carried in the data part, wherein the second message includes the first access identifier AS ID.

[0247] As shown in Figure 8(c), the first indication information 803 is carried in the data part of the PRDCH, and the information content contained in the second message is also carried in the data part. The data structure corresponding to the first indication information 803 includes structure 810 and structure 820. In structure 810, the first indication information 803 (abbreviated as 803 in the figure) is used to indicate that the data part includes a first random number. In structure 820, the first indication information 803 (abbreviated as 803 in the figure) is used to indicate that the data part includes a first access identifier. In this structure, taking the first indication information indicating the first random number as an example, the first random number can be located after the first indication information.

[0248] In this embodiment, when the first indication information is carried in the control part, if the first indication information is 0 (that is, corresponding to the first value), it means that the first information includes the first random number. If the first indication information is 1 (that is, corresponding to the second value), it means that the first information includes the first access identifier. At this time, the first information can be carried in the data part or in the control part.

[0249] The third type is where the second message includes first indication information, which is used to indicate that the first information includes a first random number or a first random number and a first access identifier.

[0250] Indicatively, the second message includes first indication information. If the first indication information is carried in the control section, then the first random number in the second message is carried in the data section or the control section. Alternatively, the first random number and the first access identifier in the second message are carried in the data section or the control section.

[0251] Wherein, when the first random number, or the first random number and the first access identifier are carried in the control part, the first indication information uses different values ​​to express the information content contained in the second message.

[0252] Schematic illustration: If the first indication information is carried in the data portion, then the first random number, or the first random number and the first access identifier, are also carried in the data portion. In this case, the first indication information is used only to indicate the first random number, or the first indication information is used only to indicate the first random number and the first access identifier. Taking the example where the first indication information is used to indicate the first random number and the first access identifier, the first random number and the first access identifier may be located after the first indication information in the data portion. In this embodiment, when the first indication information is carried in the data portion, the first indication information is MAC CE.

[0253] In this embodiment, when the first indication information is carried in the control part, if the first indication information is 0 (that is, corresponding to the first value), it means that the first information includes the first random number. If the first indication information is 1 (that is, corresponding to the second value), it means that the first information includes the first random number and the first access identifier.

[0254] The fourth type is where the second message includes first indication information, which indicates that the first message includes a first random number or a first preamble and a first access identifier.

[0255] Indicatively, the second message includes first indication information. If the first indication information is carried in the control section, then the first random number in the second message is carried in the data section or the control section. Alternatively, the first preamble and the first access identifier in the second message are carried in the data section or the control section.

[0256] Wherein, when the first random number, or the first preamble and the first access identifier are carried in the control part, the first indication information uses different values ​​to express the first information.

[0257] Schematic illustration: If the first indication information is carried in the data portion, then the first random number, or the first preamble and the first access identifier are also carried in the data portion. In this case, the first indication information is only used to indicate the first random number, or the first indication information is only used to indicate the first preamble and the first access identifier. In this embodiment, when the first indication information is carried in the data portion, the first indication information is MAC CE.

[0258] In the example where the first indication information is used to indicate the first preamble and the first access identifier, the first preamble and the first access identifier may be located after the first indication information in the data section.

[0259] In this embodiment, when the first indication information is carried in the control part, if the first indication information is 0 (that is, corresponding to the first value), it means that the second message includes the first random number; if the first indication information is 1 (that is, corresponding to the second value), it means that the second message includes the first preamble and the first access identifier.

[0260] Fifth, the second message includes first indication information, which is used to indicate that the first message includes a first random number or a first preamble identifier and a first access identifier.

[0261] Indicatively, the second message includes first indication information. If the first indication information is carried in the control section, then the first random number in the second message is carried in the data section or the control section. Alternatively, the first preamble identifier and the first access identifier in the second message are carried in the data section or the control section.

[0262] Schematic illustration: If the first indication information is carried in the data portion, then the first random number, or the first preamble and the first access identifier are also carried in the data portion. In this case, the first indication information is only used to indicate the first random number, or the first indication information is only used to indicate the first preamble identifier and the first access identifier. In this embodiment, when the first indication information is carried in the data portion, the first indication information is MAC CE.

[0263] Wherein, when the first random number, or the first preamble identifier and the first access identifier are carried in the control part, the first indication information uses different values ​​to express the information content contained in the second message.

[0264] In this case, the first indication information is used to indicate the first preamble identifier and the first access identifier. The first preamble identifier and the first access identifier may be located after the first indication information in the data part.

[0265] In this embodiment, when the first indication information is carried in the control part, if the first indication information is 0 (that is, corresponding to the first value), it means that the second message includes the first random number; if the first indication information is 1 (that is, corresponding to the second value), it means that the second message includes the first preamble identifier and the first access identifier.

[0266] The sixth type is that the second message includes first indication information, which is used to indicate that the first information includes a first random number, or a first random number, or a first random number and a first access identifier, or a first preamble and a first access identifier, or a first preamble identifier and a first access identifier.

[0267] Since the first indication information in the second to sixth types is all one bit (1 bit), that is, the first indication information is either 0 or 1, the first indication information can only correspond to two values. If the length of the first indication information is increased, occupying multiple bits in the control part or data part, more types of cases can be represented.

[0268] Schematic, the second message includes first indication information. If the first indication information is carried in the control section, then the first random number in the second message is carried in the data section or the control section; or, the first random number in the second message is carried in the data section or the control section; or, the first random number and the first access identifier in the second message are carried in the data section or the control section; or, the first preamble and the first access identifier in the second message; or, the first preamble identifier and the first access identifier in the second message are carried in the data section or the control section.

[0269] Wherein, when the first random number, or the first access identifier, or the first random number and the first access identifier, or the first preamble and the first access identifier, or the first preamble identifier and the first access identifier are carried in the control part, the first indication information adopts different values ​​to express the information content contained in the first information.

[0270] Schematic illustration: If the first indication information is carried in the data portion, and the first random number, or the first access identifier, or the first random number and the first access identifier, or the first preamble and the first access identifier are also carried in the data portion, then the first indication information is used only to indicate the first random number, or the first indication information is used only to indicate the first access identifier, or the first indication information is used only to indicate the first random number and the first access identifier, or the first indication information is used only to indicate the first preamble and the first access identifier, or the first indication information is used only to indicate the first preamble identifier and the first access identifier. Taking the example of the first indication information indicating the first preamble and the first access identifier, the first preamble and the first access identifier can be located after the first indication information in the data portion. In this embodiment, when the first indication information is carried in the data portion, the first indication information is MAC CE.

[0271] In this embodiment, if the first indication information is 00 (that is, corresponding to the third value), it means that the first information includes the first random number; if the first indication information is 01 (that is, corresponding to the fourth value), it means that the first information includes the first access identifier; if the first indication information is 10 (that is, corresponding to the fifth value), it means that the first information includes the first random number and the first access identifier; if the first indication information is 11 (that is, corresponding to the sixth value), it means that the first information includes the first preamble and the first access identifier, or it means that the first information includes the first preamble identifier and the first access identifier.

[0272] For illustrative purposes, please refer to Tables 1 and 2 below for the instructions corresponding to the first instruction information.

[0273] Table 1

[0274] Table 2

[0275] The seventh type is where the second message includes third indication information, which is used to indicate whether the second message contains a response message from the first device.

[0276] Optionally, if the third indication information is located in the control section of the PRDCH, and the second information is located in the control section or the data section of the PRDCH, then the second information is determined according to the different values ​​of the third indication information.

[0277] To illustrate, for device a, although the second message is a response message to a single first device, the second message can be a response message to device a or a response message to device b.

[0278] If the second message is a response message to b, then for device a, the second message does not contain a response message for device a, therefore, there is no first random number corresponding to device a; or, the first access identifier corresponding to device a; or, the first random number and the first access identifier corresponding to device a; or, the first preamble and the first access identifier corresponding to device a; or, the first preamble identifier and the first access identifier corresponding to device a.

[0279] Therefore, for the specified first device, based on the third instruction information, it is determined whether the second message includes the response message corresponding to the first device.

[0280] Taking device 1 as an example, if the third indication information is one bit (1 bit), the third indication information can be 0 or 1. When the third indication information is 0 (corresponding to the ninth value), it means that the second message does not contain the response message corresponding to device 1. When the third indication information is 1 (corresponding to the tenth value), the second information can include any one of the following: the first random number corresponding to device 1, or the first access identifier corresponding to device 1, or the first random number and the first access identifier corresponding to device 1, or the first preamble and the first access identifier corresponding to device 1, or the first preamble identifier and the first access identifier corresponding to device 1.

[0281] Taking device 1 as an example, if the third indication information consists of multiple bits (2 bits for illustration), the third indication information can be 00, 01, 10, or 11. When the third indication information is 00 (corresponding to the eleventh value), it indicates that the second message does not contain the response message corresponding to device 1; when the third indication information is 01 (corresponding to the twelfth value), it indicates that the second information includes the first random number corresponding to device 1; when the third indication information is 10 (corresponding to the thirteenth value), it indicates that the second information includes the first access identifier corresponding to device 1; when the first information is 11 (corresponding to the fourteenth value), the second information includes any one of the following: the first random number and the first access identifier, or the first preamble and the first access identifier; or the first preamble identifier and the first access identifier; or a reserved state (in this state, the third indication information is not used to indicate the content contained in the second message).

[0282] Optionally, if the third indication information is located in the data portion of the PRDCH, and the second information is also located in the data portion of the PRDCH, then the second message is located before or after the third indication information in the data portion. In this embodiment, when the third indication information is located in the data portion of the PRDCH, the third indication information is MAC CE.

[0283] The second message includes multiple response messages corresponding to the first device; that is, one msg2 corresponds to one msg1.

[0284] In illustrative terms, a response message refers to a response message to a first message sent by a first device. When a second device receives first messages from multiple first devices, it sends response messages to all of them. In this case, the second message includes response messages to all first messages. Alternatively, a response message may be sent to one or some of the multiple first devices. That is, the second message contains response messages to some of the first messages sent by the first devices. For example, devices a, b, and c all send first messages to the second device, but the second message sent by the second device includes response messages to devices b and c, but does not include the response message to device a.

[0285] The first type, the second message includes the first random number.

[0286] Indicatively, the second message includes multiple different first random numbers. After receiving the second message, the first device determines the first random number corresponding to the first device and converts the first random number into a target access identifier corresponding to the first device.

[0287] In this embodiment, the first device sends a first message to the second device requesting access to the second device. The first message includes a second random number. When the first device receives the second message, it matches multiple second random numbers in the second message with the first random number. If there is a second random number that matches the first random number, the first random number is converted into a target access identifier corresponding to the first device.

[0288] The second type, where the first instruction is MAC CE.

[0289] Schematic, the second message is carried in the control section or data section of the PRDCH. When the first indication information is carried in the data section, the content of the second message is carried in the control section of the PRDCH. In this case, the first indication information is MAC CE. When the first indication information is carried in the data section, the content of the second message is carried in the data section of the PRDCH.

[0290] In this embodiment, the example is taken where the second message includes multiple first indication messages.

[0291] Indicatively, the first indication information is used to indicate the first information, including a first random number, or the first random number and a first access identifier, or the first preamble and the first access identifier, or the first preamble identifier and the first access identifier.

[0292] Optionally, the content types indicated by different first indication information in the second message are the same. For example, the second message includes indication information a and indication information b. Indication information a is used to indicate that the first information includes random number 1, and indication information b is used to indicate that the first information includes random number b. Although random number a and random number b are different random numbers, both indication information a and indication information b are used to indicate that the second message contains content of the random number type.

[0293] Optionally, the content types indicated by different first indication information in the second message are different. For example, the second message includes indication information a and indication information b. Indication information a is used to indicate that the first information includes random number 3, and indication information b is used to indicate that the first information includes access identifier a. Therefore, random number 3 and access identifier a belong to different content types.

[0294] Indicatively, the multiple first instruction messages in the second message are instruction messages for different first devices.

[0295] The following is a detailed explanation of the various instruction contents of the first instruction information.

[0296] (1) The first instruction information includes the first random number

[0297] Taking device a as an example, device a sends a random number 1 to the first device as a first message. When device a receives the second message, it reads the second message, which includes multiple first indication information. If there is indication information a indicating that the first information in the second message includes a random number 2, and the random number 2 matches the random number 1, then device a determines that the random number 2 indicated by the indication information a is the random number sent by the second device to device a, and device a converts the random number 1 into a target access identifier.

[0298] (2) The first indication information includes a first random number and a first access identifier.

[0299] Taking device a as an example, device a sends a random number 1 to the first device as a first message. When device a receives the second message, it reads the second message, which includes multiple first indication information. If there is indication information b indicating that the first information includes a random number 2 and an access identifier a, and the random number 2 matches the random number 1, then device a determines that the random number 2 indicated by the indication information b is the random number sent by the second device to device a, and uses the access identifier a as the target access identifier.

[0300] (3) The first indication information includes the first preamble and the first access identifier.

[0301] Taking device a as an example, the first message sent by device a to the first device includes preamble 1. When device a receives the second message, it reads the second message, which includes multiple first indication information. If there is indication information c indicating that the first information includes preamble 2 and access identifier b, and preamble 2 matches preamble 1, then device a determines that the preamble 2 indicated by indication information b is the preamble sent by the second device to device a, and uses access identifier b as the target access identifier.

[0302] (4) The first indication information includes the first preamble identifier and the first access identifier.

[0303] Taking device a as an example, the first message sent by device a to the first device includes a preamble identifier 1. When device a receives the second message, it reads the second message, which includes multiple first indication information. If there is indication information d indicating that the first information includes a preamble identifier 2 and an access identifier c, and the preamble identifier 2 matches the preamble identifier 1, then device a determines that the preamble identifier 2 indicated by the indication information d is the preamble identifier sent by the second device to device a, and takes the access identifier c as the target access identifier.

[0304] In the above situation, since the second device receives multiple first messages, the second messages also include response messages to these multiple first messages. Each response message includes a first random number, or a first random number and a first access identifier, or a first preamble and a first access identifier, or a first preamble identifier and a first access identifier. In this case, the second device needs to first determine whether it has a response message targeting itself, and this determination is made using the first random number, the first preamble, or the first preamble identifier. In this scenario, the second device cannot use only one first access identifier sent to the first device as the target access identifier.

[0305] For illustrative purposes, please refer to Figure 9, which shows a schematic diagram of the first instruction information provided in an exemplary embodiment of this application. As shown in Figure 9(a), there are two first instruction information, including instruction information 910 and instruction information 920. Instruction information 910 is used to indicate that the first information contains a random number 1, and instruction information 920 is used to indicate that the first information includes a random number 2 and a first access identifier. The random number 1 and the random number 2 are not equal.

[0306] In Figure 9(b), there are two first indication messages, namely indication message 930 and indication message 940. Indication message 930 is used to indicate that the second message contains a random number 3, and indication message 940 is used to indicate that the second message contains a preamble 1 and a first access identifier.

[0307] It is worth noting that when indication information 920 and indication information 930 are indication information for different devices, the first access identifier in indication information 920 and the first access identifier in indication information 930 are different access identifiers; or, if indication information 920 and indication information 930 are different indication methods for the same device, the first access identifier in indication information 920 and the first access identifier in indication information 930 can be the same access identifier.

[0308] The third method is to use bitmaps to indicate resources in MAC CE.

[0309] In some embodiments, the second message includes a response message in response to a plurality of first messages, which are sent by a plurality of first devices to the second device respectively. The MAC CE also includes second indication information, which includes a plurality of bits, each corresponding to a plurality of random access resources. Based on the sending resources of the first messages and the correspondence between the plurality of bits and the plurality of random access resources, a first bit corresponding to the first device is determined. Wherein, when the value of the first bit is a seventh value, the first bit is used to indicate that the first information includes the first indication information, wherein the first indication information includes a first random number; or, a first access identifier; or, a first random number and a first access identifier; or, a first preamble and a first access identifier; or, a first preamble identifier and a first access identifier.

[0310] It is worth noting that, in the above situation, if only one device uses a random access resource, then when the random access resource has a corresponding first bit and the first bit is the seventh value, it can be indicated that the first indication information corresponding to the first bit is for the first device. In this case, the first device can directly use the first access identifier as the target access identifier.

[0311] Schematic, the MAC CE includes a second indication information, which can be implemented as a bitmap. The second indication information includes multiple bits, each bit corresponding to a random access resource.

[0312] Random access resources include at least one of sending timing or access timing.

[0313] Schematic, after receiving the second message, the first device determines the first bit corresponding to the first device from multiple bits according to the transmission resources corresponding to the first message and the correspondence between bits and random access resources. If the value of the first bit is the seventh value (e.g., 1), the first bit indicates that the first information includes the first indication information corresponding to the first device, and the first indication information indicates that the first information includes the first random number corresponding to the first device; or, the first random number and the first access identifier; or, the first preamble and the first access identifier; or, the first preamble identifier and the first access identifier.

[0314] In illustrative terms, in addition to the indication method using the first indication information described above, the embodiment of this application may also use the indication method using the third indication information. That is, the second message also includes the third indication information, which includes multiple bits, each of which corresponds to a multiple random access resource. The third indication information is used to indicate whether the second message contains the second information corresponding to the first device. The second information may include any one of the following: a first random number; or a first access identifier; or a first random number and a first access identifier; or a first preamble and a first access identifier; or a first preamble identifier and a first access identifier.

[0315] In some embodiments, a second bit corresponding to the i-th first device is determined based on the transmission resources of the first message of the i-th first device and the correspondence between multiple bits and multiple random access resources; wherein, when the value of the second bit is the fifteenth value, the second bit is used to indicate that the second message does not contain the response message of the i-th first device; when the value of the second bit is the sixteenth value, the second bit is used to indicate that the second message contains third indication information, and the third indication information is used to indicate that the second message includes the target access identifier corresponding to the i-th first device.

[0316] To illustrate, taking the i-th first device as an example, based on the transmission resources used by the i-th device to send the first message, the correspondence between multiple bits and multiple random access resources is determined to be the second bit corresponding to the i-th device. If the second bit is the fifteenth value, it indicates that the second message does not contain the third indication information. The third indication information is used to indicate that the second message includes the second information corresponding to the i-th first device.

[0317] Schematic illustration: If the second bit is 0 (corresponding to the fifteenth value), the second bit indicates that the second message does not contain the third indication information corresponding to the i-th first device. If the second bit is 1 (corresponding to the sixteenth value), the second bit indicates that the second message contains the third indication information corresponding to the i-th first device. The third indication information is used to indicate that the second message includes: a first random number corresponding to the i-th first device; or a first access identifier; or a first random number and a first access identifier; or a first preamble and a first access identifier; or a first preamble identifier and a first access identifier.

[0318] In one example, if the first device sends a first message using access timing 1, after receiving the second message, it first determines access timing 1 from multiple access timings, and then determines bit 1 corresponding to access timing 1 from multiple bits. If bit 1 is 1, it means that the second message includes the third indication information corresponding to the first device. If bit 1 is 0, it means that the second message does not include the third indication information of the first device.

[0319] For illustrative purposes, please refer to Figure 10, which illustrates a schematic diagram of the second indication information provided in an exemplary embodiment of this application. As shown in Figure 10, the resource list 1010 corresponding to the first message and the second message structure are currently displayed. The resource list 1010 includes multiple access opportunities. The second message structure includes a first bit 1020, which includes multiple bits. There is a mapping relationship between the access opportunity and the bits. For example, access opportunity 1 corresponds to bit 1, and access opportunity 2 corresponds to bit 2. Therefore, taking access opportunity 2 as an example, if the first device selects access opportunity 2 to send the first message, when the second message is received, bit 2 corresponding to access opportunity 2 is obtained from the second message. If bit 2 is 1, it indicates that access opportunity 2 has third indication information corresponding to the first device. At this time, the indication information 1001 corresponding to bit 2 is obtained, and the content corresponding to indication information 1001 is read, including the first preamble and the first access identifier. If bit 2 is 0, the second message does not contain the third indication information corresponding to the first device.

[0320] The fourth type is where the first instruction information is carried in the control section of the PRDCH.

[0321] In some embodiments, the second message includes a response message corresponding to a plurality of first messages, the plurality of first messages being sent by a plurality of first devices to a second device, and the control part including a plurality of first indication information, the plurality of first indication information corresponding to a plurality of response messages.

[0322] Indicatively, the second message is carried in the control section or data section of the PRDCH. When the first instruction information is carried in the control section, the content of the second message is carried in the data section of the PRDCH.

[0323] In this embodiment, the example is taken where the second message includes multiple first indication messages.

[0324] Indicatively, the first indication information is used to indicate the content contained in the first information, wherein the content includes a first random number, or a first random number and a first access identifier, or a first preamble and a first access identifier, or a first preamble identifier and a first access identifier.

[0325] Optionally, the content types indicated by different first indication information in the second message are the same. For example, the second message includes indication information a and indication information b. Indication information a is used to indicate that the first information includes the random number 1, and indication information b is used to indicate that the second message includes the random number b. Although the random number a and the random number b are different random numbers, both indication information a and indication information b are used to indicate that the first information contains content of the random number type.

[0326] Optionally, the content types indicated by different first indication information in the second message are different. For example, the second message includes indication information a and indication information b. Indication information a is used to indicate that the first information includes random number 3, and indication information b is used to indicate that the first information includes access identifier a. Therefore, random number 3 and access identifier a belong to different content types.

[0327] Indicatively, the multiple first instruction messages in the second message are instruction messages for different first devices.

[0328] Optionally, the first indication information can be one bit or multiple bits, which will be described below.

[0329] The first indication information is one bit:

[0330] (1) The first indication information includes a first random number, or includes a first random number and a first access identifier.

[0331] In this embodiment, if the second message includes the first indication information corresponding to the first device, when the first indication information is 0 (corresponding to the first value), it means that the first indication information is used to indicate that the first information includes the first random number corresponding to the first device, and when the first indication information is 1 (corresponding to the second value), it means that the first indication information is used to indicate that the first information includes the first random number and the first access identifier corresponding to the first device.

[0332] The first indication information is used to indicate that when the second message includes the first random number corresponding to the first device, taking the first message sent by the first device to the second device as an example, if the second random number and the first random number match, the first random number is converted into the target access identifier corresponding to the first device.

[0333] The first indication information is used to indicate that when the second message includes the first random number and the first access identifier corresponding to the first device, taking the first message sent by the first device to the second device as an example, if the second random number and the first random number match, the first access identifier is used as the target access identifier corresponding to the first device.

[0334] (2) The first indication information includes a first random number, or includes a first preamble and a first access identifier.

[0335] In this embodiment, if the second message includes the first indication information corresponding to the first device, when the first indication information is 0 (corresponding to the first value), it means that the first indication information is used to indicate that the second message includes the first random number corresponding to the first device, and when the first indication information is 1 (corresponding to the second value), it means that the first indication information is used to indicate that the first information includes the first preamble and the first access identifier corresponding to the first device.

[0336] The first indication information is used to indicate that when the second message includes the first random number corresponding to the first device, taking the first message sent by the first device to the second device as an example, if the second random number and the first random number match, the first random number is converted into the target access identifier corresponding to the first device.

[0337] The first indication information is used to indicate that when the second message includes the first preamble and the first access identifier corresponding to the first device, taking the first message sent by the first device to the second device including the second preamble as an example, if the second preamble and the first preamble match, the first access identifier is used as the target access identifier corresponding to the first device.

[0338] (3) The first indication information includes the first preamble identifier and the first access identifier.

[0339] In this embodiment, if the second message includes the first indication information corresponding to the first device, when the first indication information is 0 (corresponding to the first value), it means that the first indication information is used to indicate that the second message includes the first random number corresponding to the first device, and when the first indication information is 1 (corresponding to the second value), it means that the first indication information is used to indicate that the first information includes the first preamble identifier and the first access identifier corresponding to the first device.

[0340] The first indication information is used to indicate that when the second message includes the first random number corresponding to the first device, taking the first message sent by the first device to the second device as an example, if the second random number and the first random number match, the first random number is converted into the target access identifier corresponding to the first device.

[0341] The first indication information is used to indicate that when the second message includes the first preamble identifier and the first access identifier corresponding to the first device, taking the first message sent by the first device to the second device including the second preamble identifier as an example, if the second preamble identifier and the first preamble identifier match, then the first access identifier is taken as the target access identifier corresponding to the first device.

[0342] • The first indication information consists of multiple bits:

[0343] Optionally, the first indication information can be two bits, three bits, or even more bits. In this embodiment, two bits are used as an example. Each bit can have two values: 0 and 1. Therefore, there are four possibilities for the first indication information: 00, 01, 10, and 11. Combining these four possibilities with the indication content of the first indication information, there are many different indication methods. The following will illustrate some of these possibilities.

[0344] If the first indication information is 00 (that is, the third value), it means that the first information includes the first random number. If the first indication information is 10 (that is, the fifth value), it means that the first information includes the first random number and the first access identifier. If the first indication information is 11 (that is, the sixth value), it means that the first information includes the first preamble and the first access identifier.

[0345] For illustrative purposes, please refer to Table 3 below for the instructions for the first instruction.

[0346] Table 3

[0347] If the first indication information is 00 (that is, the third value), it means that the first information includes the first random number. If the first indication information is 10 (that is, the fifth value), it means that the first information includes the first random number and the first access identifier. If the first indication information is 11 (that is, the sixth value), it means that the first information includes the first preamble identifier and the first access identifier.

[0348] For illustrative purposes, please refer to Table 4 below for the instructions for the first instruction.

[0349] Table 4

[0350] If the first indication information is 00 (that is, the third value), it means that the first information includes the first random number. If the first indication information is 01 (that is, the third value), it means that the first information includes the first random number and the first access identifier. If the first indication information is 10 (that is, the fifth value), it means that the first information includes the first preamble and the first access identifier. If the first indication information is 11 (that is, the sixth value), it means that the first information includes the first preamble identifier and the first access identifier.

[0351] Please refer to Figure 11 for illustrative purposes. Figure 11 illustrates a schematic diagram of a first indication information indication method provided in an exemplary embodiment of this application. As shown in Figure 11, the second message is carried in a PRDCH, which includes a control section and a data section. The control section includes multiple first indication information 1110, each in bits. For example, indication information 1 corresponds to bit 1, and indication information 2 corresponds to bit 2. Each first indication information consists of one or more bits. Taking bit 1 as an example, when the first device receives the second message, it determines the indication information 1 (i.e., bit 1) corresponding to the first device. If indication information 1 exists, and it corresponds to one bit, and the bit is 0, it indicates that the data section contains a random number 1 corresponding to the first device.

[0352] In illustrative terms, in addition to the above-mentioned indication method using the first indication information, the embodiment of this application may also use the indication method using the third indication information. That is, the second message includes multiple third indication information, which are used to indicate whether the second message includes the response message corresponding to the first device.

[0353] Taking device 1 as an example, if the third indication information is one bit, the third indication information can be 0 or 1. When the third indication information is 0, it means that the second message does not contain the response message corresponding to device 1. When the third indication information is 1, the first information can include any one of the following: the first random number corresponding to device 1, or the first access identifier corresponding to device 1, or the first random number and the first access identifier corresponding to device 1, or the first preamble and the first access identifier corresponding to device 1, or the first preamble identifier and the first access identifier corresponding to device 1.

[0354] Taking device 1 as an example, if the third indication information consists of multiple bits (2 bits), the third indication information can be 00, 01, 10, or 11. When the third indication information is 00, it indicates that the second message does not contain the response message corresponding to device 1; when the third indication information is 01, it indicates that the first information includes the first random number corresponding to device 1; when the third indication information is 10, it indicates that the first information includes the first access identifier corresponding to device 1; when the first information is 11, the first information includes any one of the following: the first random number and the first access identifier, or the first preamble and the first access identifier; or the first preamble identifier and the first access identifier; or a reserved state (in this state, the third indication information is not used to indicate the content contained in the second message).

[0355] The fifth type is where the first indication information is located in the control section of the PRDCH and is a single bit, which is used in conjunction with random access resources for indication.

[0356] In some embodiments, the second message includes a response message in response to a plurality of first messages, the plurality of first messages being sent by a plurality of first devices to a second device respectively, and the plurality of first indication information corresponding to a plurality of random access resources respectively; based on the sending resources of the first messages and the correspondence between the plurality of first indication information and the plurality of random access resources, a first indication information corresponding to a first device is determined, wherein the first indication information includes a first random number; or, a first access identifier; or, a first random number and a first access identifier; or, a first preamble and a first access identifier; or, a first preamble and a first access identifier.

[0357] It is worth noting that, in the above situation, if only one device uses a random access resource, then when the random access resource has corresponding first indication information, it can be indicated that the first indication information corresponding to the first bit is for the first device. In this case, the first device can directly use the first access identifier as the target access identifier.

[0358] Indicatively, the control section includes first indication information, each first indication information corresponding to a random access resource.

[0359] Random access resources include at least one of sending timing or access timing.

[0360] Schematic, after receiving the second message, the first device determines the first indication information corresponding to the first device from multiple first indication information based on the transmission resource corresponding to the first message and the correspondence between the first indication information and the random access resource. If the value of the first indication information is the seventh value (e.g., 1), the first indication information is the first indication information corresponding to the first device. Furthermore, the first indication information indicates that the first information includes the first random number corresponding to the first device; or, the first access identifier; or, the first random number and the first access identifier; or, the first preamble and the first access identifier; or, the first preamble identifier and the first access identifier.

[0361] In illustrative terms, in addition to the above-mentioned indication method using the first indication information, the embodiment of this application may also use the indication method using the third indication information. That is, the second message includes multiple third indication information, which are used to indicate whether the second message includes the response message corresponding to the first device.

[0362] Taking device 1 as an example, if the third indication information is one bit, the third indication information can be 0 or 1. When the third indication information is 0, it means that the second message does not contain the response message corresponding to device 1. When the third indication information is 1, the second message includes the first information, which can include any one of the following: the first random number corresponding to device 1, or the first access identifier corresponding to device 1, or the first random number and the first access identifier corresponding to device 1, or the first preamble and the first access identifier corresponding to device 1, or the first preamble identifier and the first access identifier corresponding to device 1.

[0363] In one example, if the first device sends a first message using access timing 1, after receiving the second message, it first determines access timing 1 from multiple access timings, and then determines the first indication information 1 corresponding to access timing 1 from multiple first indication information. If the first indication information 1 is 1, it indicates that it is the third indication information corresponding to the first device. If the third indication information is 0, it indicates that the second message does not include the response message of the first device.

[0364] For illustrative purposes, please refer to Figure 12, which illustrates a schematic diagram of the first indication information provided in an exemplary embodiment of this application. As shown in Figure 12, the resource list 1200 corresponding to the first message and the second message structure are currently displayed. The resource list 1200 includes multiple access opportunities, and the second message structure includes multiple third indication information. There is a mapping relationship between the access opportunities and the third indication information. For example, access opportunity 1 corresponds to bit 1, and access opportunity 2 corresponds to bit 2. Therefore, taking access opportunity 2 as an example, if the first device selects access opportunity 2 to send the first message, when the second message is received, bit 2 corresponding to access opportunity 2 is obtained from the second message. If bit 2 is 1, it indicates that there is a response message corresponding to the first device at access opportunity 2. The response message includes first information. At this time, the first information corresponding to the first device is obtained, including the random number 1. If bit 2 is 0, the second message does not contain the response message corresponding to the first device.

[0365] The sixth type is where the first indication information is located in the control section of the PRDCH and consists of multiple bits, which are used in conjunction with random access resources for indication.

[0366] In some embodiments, multiple first indication information correspond to multiple random access resources respectively; based on the sending resource of the first message, the correspondence between the multiple first indication information and the multiple random access resources, the first indication information corresponding to the first device is determined.

[0367] It is worth noting that, in the above situation, if only one device uses a random access resource, then when the random access resource has corresponding first indication information, it can be indicated that the first indication information corresponding to the first bit is for the first device. In this case, the first device can directly use the first access identifier as the target access identifier.

[0368] Schematic, a MAC CE includes multiple first indication messages, each corresponding to a random access resource.

[0369] Random access resources include at least one of sending timing or access timing.

[0370] Indicatively, after receiving the second message, the first device determines the first indication information corresponding to the first device from multiple first indication information based on the sending resources corresponding to the first message and the correspondence between the first indication information and the random access resources, and determines the different contents of the second message containing the first device based on the bit values ​​in the first indication information.

[0371] In one example, if the first indication information is 00 (that is, the third value), it means that the first information includes the first random number; if the first indication information is 10 (that is, the fifth value), it means that the first information includes the first random number and the first access identifier; if the first indication information is 11 (that is, the sixth value), it means that the first information includes the first preamble and the first access identifier.

[0372] In one example, if the first indication information is 00 (that is, the third value), it means that the first information includes the first random number; if the first indication information is 10 (that is, the fifth value), it means that the first information includes the first random number and the first access identifier; if the first indication information is 11 (that is, the sixth value), it means that the first information includes the first preamble identifier and the first access identifier.

[0373] In one example, if the first indication information is 00 (that is, the third value), it means that the first information includes the first random number; if the first indication information is 01 (that is, the third value), it means that the first information includes the first random number and the first access identifier; if the first indication information is 10 (that is, the fifth value), it means that the first information includes the first preamble and the first access identifier; if the first indication information is 11 (that is, the sixth value), it means that the first information includes the first preamble identifier and the first access identifier.

[0374] In illustrative terms, in addition to the indication method using the first indication information as described above, the indication method using the third indication information can also be used in the embodiments of this application. That is, the second message includes multiple third indication information, the multiple third indication information corresponds to multiple random access resources, each third indication information includes multiple bits, and the second message includes a response message corresponding to the first device is determined according to the different values ​​of the multiple bits, wherein the response message includes the second information.

[0375] In one example, if the first device sends a first message using access timing 1, after receiving the second message, it first determines access timing 1 from multiple access timings, then determines the third indication information 1 corresponding to access timing 1 from multiple third indication information, and determines whether the second message includes the response message of the first device based on the value of the third indication information 1.

[0376] Taking device 1 as an example, if the third indication information consists of multiple bits (2 bits), the third indication information can be 00, 01, 10, or 11. When the third indication information is 00, it indicates that the second message does not contain the response message corresponding to device 1; when the third indication information is 01, it indicates that the second message includes the second information, and the second information includes the first random number corresponding to device 1; when the third indication information is 10, it indicates that the second information includes the first access identifier corresponding to device 1; when the first information is 11, the second information includes any one of the following: the first random number and the first access identifier, or the first preamble and the first access identifier; or the first preamble identifier and the first access identifier; or a reserved state (in this state, the third indication information is not used to indicate the content contained in the second message).

[0377] For specific examples, please refer to Tables 5 to 8 below.

[0378] Table 5

[0379] Table 6

[0380] Table 7

[0381] Table 8

[0382] The seventh type is where the first indication information is located in the control section of the PRDCH and contains at least one bit portion, and is indicated in conjunction with random access resources.

[0383] In some embodiments, the second message includes a response message in response to a plurality of first messages, which are sent by a plurality of first devices to a second device respectively. The control portion includes a plurality of first indication information, which correspond to a plurality of random access resources respectively. The first indication information includes a first bit portion. When the first bit portion in the first indication information is an eighth value, the first indication information also includes a second bit portion, which is used to indicate that the second message includes any one of the following.

[0384] Indicatively, multiple first indication information is carried in the control part of the PRDCH. The first indication information includes a first bit portion. If the first bit portion is an eighth value (e.g., 1), the first indication information also includes a second bit portion. Different values ​​corresponding to the second bit portion can represent different contents in the second information indicated by the first indication information, such as: a first access identifier; or, a first random number and a first access identifier; or, a first preamble and a first access identifier.

[0385] In one example, if the first bit portion is 1 and the first indication information includes a second bit portion, which can be 0 or 1, then the first indication information can be 11 or 10. Here, 10 indicates that the first indication information indicates that the second message includes the first random number corresponding to the first device, and 11 indicates that the first indication information indicates that the second information includes the first access identifier, or the first random number and the first access identifier, or the first preamble and the first access identifier, or the first preamble identifier and the first access identifier.

[0386] In illustrative terms, in addition to the indication method using the first indication information as described above, the embodiment of this application may also use the indication method using the third indication information. That is, the second message includes multiple third indication information, the multiple third indication information corresponds to multiple random access resources, and each third indication information includes a third bit portion used to indicate whether the second message includes a response message corresponding to the first device, and the response message includes the second information of the first device.

[0387] In some embodiments, the second message includes a response message in response to at least one first target message among a plurality of first messages, the plurality of first messages being sent by a plurality of first devices to the second device, the plurality of first devices including an nth first device, the control portion including a plurality of third indication information, the plurality of third indication information corresponding to a plurality of random access resources, the first indication information including a third bit portion, where n is a positive integer; when the third bit portion of the third indication information is the seventeenth value, the third indication information is used to indicate that the second message does not contain a response message from the i-th first device; when the third bit portion of the third indication information is the eighteenth value, the third indication information further includes a fourth bit portion, the fourth bit portion being used to indicate that the second information in the second message includes any one of the following: a first access identifier; a first random number and a first access identifier; or a first preamble and a first access identifier.

[0388] In one example, taking device a as an example, if device a sends a first message to the second device using access timing 1, upon receiving the second message, it determines access timing 1 from multiple random access resources, and determines the corresponding indication information 1 based on access timing 1. The indication information 1 includes a third bit portion. If the third bit portion is 0, it indicates that the second message does not contain the response message corresponding to the first device. If the third bit portion is 1, the indication information 1 also includes a fourth bit portion. The fourth bit portion can be one bit or multiple bits, used to determine the different contents contained in the second information.

[0389] Taking the fourth bit as an example, if the fourth bit is 0, the third indication information is used to indicate that the second message includes the first random number corresponding to device a. If the fourth bit is 1, the third indication information is used to indicate that the second information in the second message includes any one of the following corresponding to device a: the first access identifier; or, the first random number and the first access identifier; or, the first preamble and the first access identifier; or, the first preamble identifier and the first access identifier.

[0390] • Transmitted in msg4 or R2D messages:

[0391] In this scenario, the second message contains only one message corresponding to the first device.

[0392] In illustrative terms, the second message can be a message sent from the second device to the first device after the first device connects to the second device. It can be message 4 or an R2D message sent from the second device to the first device.

[0393] Optionally, the second message may contain a first random number. In this case, after receiving the first random number, the first device converts the first random number into a target access identifier corresponding to the first device.

[0394] Optionally, the second message includes first indication information, wherein the indication method of the first indication information can refer to the embodiment content corresponding to method 2 to method 6 in the scenario where the second message includes a single response message in the above embodiments.

[0395] Optionally, the second message includes third indication information, wherein the indication method of the third indication information can refer to the embodiment content corresponding to method 7 in the scenario where the second message includes a single response message in the above embodiments.

[0396] Figure 13 is a schematic diagram of the hardware structure of a communication device according to an embodiment of this application. As shown in Figure 13, the communication device 4000 includes: at least one processor 4001 (only one is shown in Figure 13), a memory 4002, and a computer program 4003 stored in the memory 4002 and executable on at least one processor 4001. When the processor 4001 executes the computer program 4003, it implements the steps in any of the above methods.

[0397] In one implementation, the communication device 4000 is a user equipment used to perform the steps executed by the user equipment in the above method.

[0398] In another implementation, the communication device 4000 is a network device used to perform the steps executed by the network device in the above method.

[0399] Those skilled in the art will understand that Figure 13 is merely an example of a communication device and does not constitute a limitation on the communication device. In practice, a communication device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input / output devices, network access devices, etc.

[0400] Processor 4001 can be a central processing unit (CPU), 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, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0401] In some embodiments, memory 4002 may be an internal storage unit of the communication device 4000, such as a hard disk or memory of the communication device 4000. In other embodiments, memory 4002 may be an external storage device of the communication device 4000, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the communication device 4000. Optionally, memory 4002 may include both internal and external storage units of the communication device 4000. Memory 4002 is used to store operating systems, applications, boot loaders, data, and other programs, such as program code for computer programs. Memory 4002 may also be used to temporarily store data that has been output or will be output.

[0402] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0403] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0404] This application also provides a communication device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor. When the processor executes the computer program, it implements the steps in any of the above method embodiments.

[0405] The communication device can be a user equipment, used to execute the steps performed by the user equipment; the communication device can also be a network device, used to execute the steps performed by the network device.

[0406] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.

[0407] This application also provides a chip including a processor, which is used to read and execute a computer program stored in a memory, and when the computer program is executed by the processor, it can implement the steps in the above-described method embodiments.

[0408] Optionally, the chip also includes a memory electrically connected to the processor.

[0409] Optionally, the chip may also include a communication interface.

[0410] This application also provides a computer program product that, when executed by a processor, can implement the steps in the various method embodiments described above.

[0411] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or some intermediate form. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a photographic device / user equipment, a recording medium, a computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0412] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0413] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software 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.

[0414] In the embodiments provided in this application, it should be understood that the disclosed apparatus / communication devices and methods can be implemented in other ways. For example, the apparatus / communication device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0415] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0416] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0417] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0418] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0419] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

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

[0421] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A communication method, characterized in that, The method is applied to a first device, and the method includes: Receive the message sent by the second device to trigger access; In response to the message for triggering access, a first message is sent to the second device, the first message being used by the first device to request access to the second device; Receive a second message sent by a second device, the second message including the first information; Based on the first information, a target access identifier is determined, wherein the target access identifier is a first random number or a first access identifier; Communicate with the second device based on the target access identifier; The first information includes one of the following: The first random number; or, The first access identifier; or, The first random number and the first access identifier; or, The first preamble and the first access identifier; or, The first preamble identifier and the first access identifier.

2. The method according to claim 1, characterized in that, The second message includes a first indication message, which is used to indicate the first message.

3. The method according to claim 2, characterized in that, The second message is carried in the control portion or the data portion of the Physical Reader Device Channel (PRDCH), and the first indication information is carried in the control portion or the data portion of the PRDCH.

4. The method according to claim 3, characterized in that, When the first indication information is carried in the control portion of the PRDCH, the first information in the second message is carried in the control portion or the data portion of the PRDCH; When the first indication information is carried in the data portion of the PRDCH, the first information is carried in the data portion of the PRDCH.

5. The method according to claim 3, characterized in that, The first indication information is carried in the control section of the PRDCH, and the value of the first indication information includes a first value and a second value; When the value of the first indication information is the first value, the first indication information is used to indicate that the second message includes the first random number; When the value of the first indication information is the second value, the first indication information is used to indicate that the first message includes any one of the following messages: The first access identifier; or, The first random number and the first access identifier; or, The first preamble and the first access identifier; or, The first preamble identifier and the first access identifier.

6. The method according to claim 3, characterized in that, The first indication information is carried in the control section of the PRDCH, and the value of the first indication information includes a third value, a fourth value, a fifth value, and a sixth value; When the value of the first indication information is the third value, the first indication information is used to indicate that the first information includes the first random number; When the value of the first indication information is the fourth value, the first indication information is used to indicate that the first information includes the first access identifier; When the value of the first indication information is the fifth value, the first indication information is used to indicate that the first information includes the first random number and the first access identifier; When the value of the first indication information is the sixth value, the first indication information is used to indicate that the first information includes the first preamble and the first access identifier; or, the first indication information is used to indicate that the first information includes the first preamble identifier and the first access identifier.

7. The method according to claim 3, characterized in that, When the first indication information is carried in the data portion of the PRDCH, the first indication information is the Media Access Control Unit (MAC CE).

8. The method according to claim 7, characterized in that, The second message includes a response message in response to a plurality of first messages, which are sent by a plurality of first devices to the second device respectively. The MAC CE also includes second indication information, which includes a plurality of bits, each of which corresponds to a plurality of random access resources. The method further includes: Based on the sending resources of the first message and the correspondence between the plurality of bits and the plurality of random access resources, the first bit corresponding to the first device is determined; Wherein, when the value of the first bit is the seventh value, the first bit is used to indicate that the first information includes the first indication information.

9. The method according to claim 5 or 6, characterized in that, The second message includes response messages corresponding to a plurality of first messages, which are sent by a plurality of first devices to the second device. The control part includes a plurality of first indication messages, which correspond to a plurality of response messages.

10. The method according to claim 9, characterized in that, The plurality of first indication information correspond to a plurality of random access resources respectively; The method further includes: Based on the sending resources of the first message, the correspondence between the plurality of first indication information and the plurality of random access resources, the first indication information corresponding to the first device is determined.

11. The method according to claim 3, characterized in that, The second message includes a response message in response to a plurality of first messages, which are sent by a plurality of first devices to the second device respectively. The control part includes a plurality of first indication information, which correspond to the plurality of random access resources respectively. The first indication information includes a first bit portion. When the first bit portion of the first indication information is an eighth value, the first indication information further includes a second bit portion, which is used to indicate that the first information includes any of the following: The first access identifier; The first random number and the first access identifier; or, The first preamble and the first access identifier; or, The first preamble identifier and the first access identifier.

12. The method according to any one of claims 1 to 11, characterized in that, The step of determining the target access identifier based on the first information includes: The first random number is converted into the target access identifier.

13. The method according to claim 12, characterized in that, The first message includes a second random number, and the first indication information is used to indicate that the first message includes the first random number and the first access identifier; The step of converting the first random number into the target access identifier includes: If the first random number matches the second random number, the first random number is converted into the target access identifier.

14. The method according to any one of claims 1 to 11, characterized in that, The first message includes a second random number, and the first indication information is used to indicate that the second message includes the first random number and the first access identifier; The step of determining the target access identifier based on the first information includes: If the first random number matches the second random number, the first access identifier is used as the target access identifier.

15. The method according to any one of claims 1 to 11, characterized in that, The first message includes a second preamble, and the first indication information is used to indicate that the second message includes the first preamble and the first access identifier; The step of determining the target access identifier based on the first information includes: If the first preamble matches the second preamble, the first access identifier is used as the target access identifier.

16. The method according to any one of claims 1 to 7, characterized in that, The second message includes a response message in response to the first message; or, The second message is the message received after the first device connects to the second device.

17. A communication method, characterized in that, The method is applied to a second device, and the method includes: Send a message to the first device to trigger access; Receive a first message sent by the first device, the first message being used by the first device to request access to the second device; Send a second message to the first device, the second message including first information, the first device being used to determine a target access identifier based on the first information, the target access identifier being a first random number or a first access identifier; Communicate with the first device based on the first access identifier; The first information includes one of the following: The first random number; or, The first access identifier; or, The first random number and the first access identifier; or, The first preamble and the first access identifier; or, The first preamble identifier and the first access identifier.

18. The method according to claim 17, characterized in that, The second message includes a first indication message, which is used to indicate the first message.

19. The method according to claim 15, characterized in that, The second message is carried in the control portion or the data portion of the PRDCH, and the first indication information is carried in the control portion or the data portion of the PRDCH.

20. The method according to claim 19, characterized in that, When the first indication information is carried in the control portion of the PRDCH, the first information in the second message is carried in the control portion or the data portion of the PRDCH; When the first indication information is carried in the data portion of the PRDCH, the first information is carried in the data portion of the PRDCH.

21. The method according to claim 19, characterized in that, The first indication information is carried in the control section of the PRDCH, and the value of the first indication information includes a first value and a second value; When the value of the first indication information is the first value, the first indication information is used to indicate that the first information includes the first random number; When the value of the first indication information is the second value, the first indication information is used to indicate that the first information includes any one of the following messages: The first access identifier; or, The first random number and the first access identifier; or, The first preamble and the first access identifier; or, The first preamble identifier and the first access identifier.

22. The method according to claim 19, characterized in that, The first indication information is carried in the control section of the PRDCH, and the value of the first indication information includes a third value, a fourth value, a fifth value, and a sixth value; When the value of the first indication information is the third value, the first indication information is used to indicate that the first information includes the first random number; When the value of the first indication information is the fourth value, the first indication information is used to indicate that the first information includes the first access identifier; When the value of the first indication information is the fifth value, the first indication information is used to indicate that the first information includes the first random number and the first access identifier; When the value of the first indication information is the sixth value, the first indication information is used to indicate that the first information includes the first preamble and the first access identifier; or, the first indication information is used to indicate that the second message includes the first preamble identifier and the first access identifier.

23. The method according to claim 19, characterized in that, When the first indication information is carried in the data portion of the PRDCH, the first indication information is MAC CE.

24. The method according to claim 23, characterized in that, The second message includes a response message in response to a plurality of first messages, which are sent by a plurality of first devices to the second device respectively. The MAC CE also includes second indication information, which includes a plurality of bits, each of which corresponds to a plurality of random access resources. The first device is further configured to determine the first bit corresponding to the first device based on the sending resources of the first message and the correspondence between the plurality of bits and the plurality of random access resources; Wherein, when the value of the first bit is the seventh value, the first bit is used to indicate that the first information includes the first indication information.

25. The method according to claim 21 or 22, characterized in that, The second message includes response messages corresponding to a plurality of first messages, which are sent by a plurality of first devices to the second device. The control part includes a plurality of first indication messages, which correspond to a plurality of response messages.

26. The method according to claim 25, characterized in that, The plurality of first indication information correspond to a plurality of random access resources respectively; The method further includes: Based on the sending resources of the first message, the correspondence between the plurality of first indication information and the plurality of random access resources, the first indication information corresponding to the first device is determined.

27. The method according to claim 19, characterized in that, The second message includes a response message in response to a plurality of first messages, which are sent by a plurality of first devices to the second device respectively. The control part includes a plurality of first indication information, which correspond to the plurality of random access resources respectively. The first indication information includes a first bit portion. When the first bit portion of the first indication information is an eighth value, the first indication information further includes a second bit portion, which is used to indicate that the first information includes any of the following: The first access identifier; The first random number and the first access identifier; or, The first preamble and the first access identifier; or, The first preamble identifier and the first access identifier.

28. The method according to any one of claims 17 to 27, characterized in that, The first device is further configured to convert the first random number into the first access identifier.

29. The method according to claim 28, characterized in that, The first message includes a second random number, and the first indication information is used to indicate that the first message includes the first random number and the first access identifier; The first device is further configured to convert the first random number into the target access identifier if the first random number matches the second random number.

30. The method according to any one of claims 17 to 27, characterized in that, The first message includes a second random number, and the first indication information is used to indicate that the first message includes the first random number and the first access identifier; The first device is further configured to use the first access identifier as the target access identifier when the first random number matches the second random number.

31. The method according to any one of claims 17 to 27, characterized in that, The first message includes a second preamble, and the first indication information is used to indicate that the first message includes the first preamble and the first access identifier; The first device is further configured to use the first access identifier as the target access identifier when the first preamble matches the second preamble.

32. The method according to any one of claims 17 to 23, characterized in that, The second message includes a response message in response to the first message; or, The second message is the message received after the first device connects to the second device.

33. A communication device, characterized in that, The communication device is a first device, comprising: The receiving unit is used to receive a message sent by the second device to trigger access; A sending unit is configured to send a first message to a second device in response to the message for triggering access, wherein the first message is used by the first device to request access to the second device; The receiving unit is further configured to receive a second message sent by the second device, the second message including the first information; A determining unit is configured to determine a target access identifier based on the first information, wherein the target access identifier is a first random number or a first access identifier; A communication unit is configured to communicate with the second device based on the target access identifier; wherein the first information includes one of the following: the first random number; or, the first access identifier; or, the first random number and the first access identifier; or, the first preamble and the first access identifier.

34. A communication device, characterized in that, The communication device is a second device, comprising: The sending unit is used to send a message to the first device to trigger access; The receiving unit is configured to receive a first message sent by the first device, wherein the first message is used by the first device to request access to the second device; The sending unit is further configured to send a second message to the first device, the second message including first information, and the first device is configured to determine a target access identifier based on the first information, wherein the target access identifier is a first random number or a first access identifier; A communication unit is configured to communicate with the first device based on the first access identifier; wherein the first information includes one of the following: the first random number; or, the first access identifier; or, the first random number and the first access identifier; or, the first preamble and the first access identifier.

35. A communication device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 16.

36. A communication device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 17 to 32.

37. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as claimed in any one of claims 1 to 16, or any one of claims 17 to 32.