Random access method and apparatus
By selecting an appropriate random access method and combining inventory information and signal strength thresholds, the problems of low access success rate and resource waste of A-IoT devices are solved, and efficient random access is achieved.
Patent Information
- Application Number
- PCT/CN2025/103212
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-25
- Filing Date
- 2025-06-24
- Publication Date
- 2026-01-02
AI Technical Summary
Existing random access methods are difficult to effectively achieve efficient access for environmental IoT (A-IoT) devices, especially when there are many devices or poor channel conditions, resulting in low access success rate and waste of resources.
By determining the target random access method, including random access methods based on four-step contention, two-step contention, and non-contention, and combining inventory information and signal strength thresholds, a suitable access method can be selected to reduce the probability of collisions and signaling overhead, thereby improving the access success rate.
It improves the success rate of random access for A-IoT devices, saves resources, and enhances the efficiency and reliability of the access process.
Smart Images

Figure CN2025103212_02012026_PF_FP_ABST
Abstract
Description
Random access method and device
[0001] The present application claims priority to the Chinese patent application No. 202410844281.2, filed on June 25, 2024, and entitled "Random access method and device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application relates to the field of communication technology, in particular to a random access method and device. BACKGROUND
[0003] An Ambient IoT (A-IoT) device is a new type of IoT device that can work under the driving of environmental energy collected from radio waves, light, motion, heat or other available environmental energy, and has the characteristics of low energy consumption and low cost.
[0004] As a component of a passive IoT system, an A-IoT device needs to report the device identifier to the network through a random access process. Therefore, a solution is needed to implement the random access of an A-IoT device. SUMMARY
[0005] The present application provides a random access method and device to implement the random access of an IoT device.
[0006] In a first aspect, the present application provides a random access method, comprising:
[0007] determining a target random access mode, the target random access mode being one of a four-step contention-based random access mode, a two-step contention-based random access mode, and a non-contention-based random access mode;
[0008] receiving a target random access first message, the target random access first message being used for access.
[0009] The reader determines a suitable random access mode as the target random access mode from the four-step contention-based random access mode, the two-step contention-based random access mode, and the non-contention-based random access mode, thereby implementing efficient random access of an IoT device, improving the probability of successful random access, and saving resources.
[0010] In a possible implementation, determining the target random access mode comprises:
[0011] receiving inventory information, the inventory information being used to indicate an inventory IoT device;
[0012] determining the target random access mode according to the inventory information.
[0013] In a possible implementation, the inventory information comprises at least one of the following:
[0014] quantity information of the Internet of Things devices to be inventoried, used to indicate a quantity of the Internet of Things devices to be inventoried;
[0015] random access type indication information, used to indicate a target random access mode used by the inventory service;
[0016] inventory service type information, used to indicate an inventory service type, the inventory service type comprising at least one of the following: initial inventory, special inventory, inventory of an Internet of Things device identifier, inventory of a quantity of Internet of Things devices;
[0017] device identifier information of the Internet of Things devices to be inventoried, used to indicate the Internet of Things devices to be inventoried;
[0018] service type information, used to indicate a service type.
[0019] In a possible implementation, the target random access mode is determined according to the inventory information, and the determination comprises at least one of the following:
[0020] when the quantity of the Internet of Things devices to be inventoried is greater than or equal to a first threshold, the target random access mode is determined to be a four-step contention-based random access mode;
[0021] when the quantity of the Internet of Things devices to be inventoried is less than the first threshold, the target random access mode is determined to be a two-step contention-based random access mode;
[0022] when the inventory service type is inventory of a quantity of Internet of Things devices, the target random access mode is determined to be a two-step contention-based random access mode;
[0023] when the inventory information comprises the device identifier of the Internet of Things devices to be inventoried, the target random access mode is determined to be a non-contention-based random access mode.
[0024] The reader receives the inventory information, and according to the inventory information, the number of Internet of Things devices to be inventoried, the inventory business type, whether the current inventory process is for a specific Internet of Things device, and the like can be determined, and then a suitable random access mode is determined based on the above information. When the number of Internet of Things devices to be inventoried is greater than or equal to the first threshold value, the probability of collision is relatively large, and selecting the random access mode based on four-step competition can enable the reader to detect whether a collision has occurred as soon as possible, and reduce the resource size occupied by the first message of the target random access. When the number of Internet of Things devices to be inventoried is less than the first threshold value, or the inventory business type is inventorying the number of Internet of Things devices, the random access mode based on two-step competition is selected as the target random access mode, which can reduce the signaling overhead in the random access process. When the device identifier of the Internet of Things device to be inventoried is included in the inventory information, it indicates that the inventory is for a specific Internet of Things device, and at this time, the random access mode based on non-competition is selected as the target random access mode, which can improve the efficiency of random access.
[0025] In a possible implementation, the method further includes:
[0026] sending a first A-IoT paging message, the first A-IoT paging message being used to indicate the target random access mode.
[0027] In a possible implementation, the first A-IoT paging message includes at least one of the following:
[0028] device identifier information of the Internet of Things device to be inventoried, used to identify the Internet of Things device to be inventoried;
[0029] resource allocation information, used to indicate time domain resources and / or frequency domain resources for sending the first message of the target random access, the first message of the target random access being a first message transmitted when random access is performed in the target random access mode;
[0030] random access type indication information, used to indicate the target random access mode used by the inventory business;
[0031] type indication information of the first message of the random access, used to indicate that the first message of the target random access includes a random number identifier and / or a device identifier of the Internet of Things device.
[0032] The reader sends the first A-IoT paging message, identifies the Internet of Things device to be inventoried through the device identification information, indicates the time-frequency domain resource for the Internet of Things device to send the target random access first message in the random access process through the resource allocation information, and indicates the determined target random access mode to the Internet of Things device through the random access type indication information / type indication information of the random access first message, so as to be able to instruct the Internet of Things device to be inventoried to use the target random access mode to perform random access based on the allocated time-frequency domain resource.
[0033] In a possible implementation, the device identification information includes at least one of the following:
[0034] The device identification of the Internet of Things device to be inventoried, used to identify the Internet of Things device to be inventoried;
[0035] The device identification list of the Internet of Things device to be inventoried, used to indicate the device identification of the Internet of Things device to be inventoried;
[0036] The device group identification of the Internet of Things device to be inventoried, used to indicate the Internet of Things device group to which the Internet of Things device to be inventoried belongs;
[0037] The memory information, used to indicate the storage location corresponding to the device identification of the Internet of Things device to be inventoried;
[0038] The truncated device identification corresponding to the Internet of Things device to be inventoried, used to indicate the Internet of Things device group to which the Internet of Things device to be inventoried belongs.
[0039] In a possible implementation, when the Internet of Things device initiates the active uplink service, the target random access mode is a two-step contention-based random access mode.
[0040] When the Internet of Things device initiates the active uplink service, the probability of collision of the target random access first message is small, and the two-step contention-based random access mode can be used by default, so as to reduce the resource size occupied by the target random access first message and speed up the random access process.
[0041] In a possible implementation, the method further includes:
[0042] The second A-IoT paging message is sent, and the second A-IoT paging message includes signal strength threshold information, the signal strength threshold information is used to indicate a second threshold, and the second threshold is used to determine the target random access mode.
[0043] In a possible implementation, the signal strength threshold information includes at least one of the following:
[0044] The RSSI threshold information is used to indicate an RSSI threshold;
[0045] RSRP threshold information used for indicating the RSRP threshold;
[0046] RSRQ threshold information used for indicating the RSRQ threshold;
[0047] The second threshold includes at least one of the RSSI threshold, the RSRP threshold, and the RSRQ threshold.
[0048] The reader sends the second A-IoT paging message and carries the signal strength threshold information in the second A-IoT paging message, so as to instruct the Internet of Things device to select a suitable target random access mode through measurement on the second A-IoT paging message. When the channel condition is good, the probability of successful sending of the random access request message is relatively high, and therefore, the random access mode based on two-step competition can be directly selected, and the probability of successful completion of the random access is also relatively high. When the channel condition is poor, the probability of successful sending of the random access request message is relatively low, and therefore, the random access mode based on four-step competition can be selected to improve the probability of successful random access through use of the contention conflict mode.
[0049] In a possible implementation, when the target random access mode is the random access mode based on four-step competition, the target random access first message includes a random number identifier, and the random number identifier is used for identifying the Internet of Things device. The method further includes:
[0050] sending a target random access second message, the target random access second message being used for responding to the target random access first message;
[0051] receiving a target random access third message, the target random access third message including a device identifier of the Internet of Things device.
[0052] In a possible implementation, the method further includes:
[0053] sending a target random access fourth message, the target random access fourth message being used for responding to the target random access third message.
[0054] In a possible implementation, when the target random access mode is the random access mode based on two-step competition, the target random access first message includes a device identifier of the Internet of Things device, or the target random access first message includes the device identifier of the Internet of Things device and a random number identifier, and the random number identifier is used for identifying the Internet of Things device. The method further includes:
[0055] sending a target random access second message, the target random access second message being used for responding to the target random access first message.
[0056] In a possible implementation, when the target random access mode is the non-contention-based random access mode, the device identifier of the IoT device is included in the first target random access message, or the device identifier of the IoT device and the random number identifier are included in the first target random access message, and the random number identifier is used to identify the IoT device. The method further includes:
[0057] sending a second target random access message, the second target random access message being used to respond to the first target random access message.
[0058] In summary, for the inventory business, the reader determines the target random access mode through the inventory information. When it is determined based on the inventory information that the collision probability of sending the first target random access message in the random access process is relatively large (for example, the number of the inventoried IoT devices is greater than or equal to the first threshold, the random access is triggered by the initial inventory business, and the like), the four-step contention-based random access mode is selected as the target random access mode, which can enable the reader to detect whether a collision occurs as soon as possible and reduce the resource size occupied by the first target random access message. When it is determined based on the inventory information that the collision probability of sending the first target random access message in the random access process is relatively small (for example, the number of the inventoried IoT devices is less than the first threshold, the number of the inventoried IoT devices, and the like), the two-step contention-based random access mode is selected as the target random access mode, which can reduce the signaling overhead in the random access process. When a specific IoT device is inventoried, the non-contention-based random access mode is selected as the target random access mode, which can improve the efficiency of the random access. When the IoT device initiates the active business, the two-step contention-based random access mode is selected as the target random access mode, which can reduce the signaling overhead in the random access process. The reader can select a suitable target random access mode for different scenarios, thereby improving the efficiency of the random access.
[0059] In a second aspect, the present application provides a random access method, including:
[0060] determining a target random access mode, the target random access mode being one of a four-step contention-based random access mode, a two-step contention-based random access mode, and a non-contention-based random access mode;
[0061] sending a first target random access message according to the target random access mode, the first target random access message being used for access.
[0062] The IoT device determines a suitable random access mode as the target random access mode from the four-step contention-based random access mode, the two-step contention-based random access mode, and the non-contention-based random access mode, thereby realizing efficient random access of the IoT device, improving the success probability of the random access, and saving resources.
[0063] In a possible implementation, the target random access mode is determined, comprising:
[0064] receiving a first A-IoT paging message, the first A-IoT paging message being used to indicate the target random access mode;
[0065] determining the target random access mode according to the first A-IoT paging message.
[0066] In a possible implementation, the first A-IoT paging message comprises at least one of the following:
[0067] device identification information of the Internet of Things device to be inventoried, used to identify the Internet of Things device to be inventoried;
[0068] resource allocation information, used to indicate time domain resources and / or frequency domain resources for sending a first message of target random access, the first message of target random access being a first message transmitted when random access is performed in the target random access mode;
[0069] random access type indication information, used to indicate the target random access mode used by the inventorying service;
[0070] type indication information of the first message of random access, used to indicate that the first message of target random access comprises a random number identifier and / or device identification of the Internet of Things device.
[0071] The Internet of Things device receives the first A-IoT paging message, identifies whether it is the Internet of Things device to be inventoried through the device identification information in the first A-IoT paging message, determines time-frequency domain resources for sending the first message of target random access in the random access process through the resource allocation information in the first A-IoT paging message, and determines the target random access mode through the random access type indication information in the first A-IoT paging message / type indication information of the first message of random access, so that the Internet of Things device to be inventoried can perform random access in the target random access mode based on the allocated time-frequency domain resources.
[0072] In a possible implementation, the device identification information comprises at least one of the following:
[0073] device identification of the Internet of Things device to be inventoried, used to identify the Internet of Things device to be inventoried;
[0074] a device identification list of the Internet of Things device to be inventoried, used to indicate device identification of the Internet of Things device to be inventoried;
[0075] device group identification of the Internet of Things device to be inventoried, used to indicate an Internet of Things device group to which the Internet of Things device to be inventoried belongs;
[0076] Memory information, used to indicate a storage location corresponding to a device identifier of the Internet of Things device to be inventoried;
[0077] A truncated device identifier corresponding to the Internet of Things device to be inventoried, used to indicate an Internet of Things device group to which the Internet of Things device to be inventoried belongs.
[0078] In a possible implementation, the target random access manner is determined according to the first A-IoT paging message, including:
[0079] The random access manner indicated by the random access type indication information is determined as the target random access manner.
[0080] In a possible implementation,
[0081] When the type indication information of the first random access message indicates that the random number identifier is included in the target random access first message, the target random access manner is a four-step contention-based random access manner.
[0082] When the type indication information of the first random access message indicates that the device identifier of the Internet of Things device is included in the target random access first message, or the device identifier of the Internet of Things device and the random number identifier are included, the target random access manner is a two-step contention-based random access manner.
[0083] In a possible implementation, when the Internet of Things device initiates the active uplink service, the target random access manner is a two-step contention-based random access manner.
[0084] When the Internet of Things device initiates the active uplink service, the probability of collision of the target random access first message is small, and the two-step contention-based random access manner can be used by default, so as to reduce the resource size occupied by the target random access first message, and to speed up the random access process.
[0085] In a possible implementation, the target random access manner is determined, including:
[0086] The second A-IoT paging message is received, and the second A-IoT paging message includes signal strength threshold information, which is used to indicate a second threshold.
[0087] The signal strength value of the second A-IoT paging message is measured.
[0088] The target random access manner is determined according to the signal strength value of the second A-IoT paging message and the second threshold.
[0089] In a possible implementation, the signal strength threshold information includes at least one of the following:
[0090] RSSI threshold information used for indicating an RSSI threshold value;
[0091] RSRP threshold information used for indicating an RSRP threshold value;
[0092] RSRQ threshold information used for indicating an RSRQ threshold value;
[0093] The second threshold value comprises at least one of the RSSI threshold value, the RSRP threshold value, and the RSRQ threshold value.
[0094] In a possible implementation, the target random access manner is determined according to the signal strength value of the second A-IoT paging message and the second threshold value, comprising:
[0095] When the signal strength value of the second A-IoT paging message is greater than or equal to the second threshold value, the target random access manner is determined as the random access manner based on two-step contention;
[0096] Or,
[0097] When the signal strength value of the second A-IoT paging message is less than the second threshold value, the target random access manner is determined as the random access manner based on four-step contention.
[0098] The Internet of Things device can determine the appropriate target random access manner for random access by receiving the second A-IoT paging message, measuring the measurement of the second A-IoT paging message, and according to the signal strength value obtained by the measurement and the signal strength threshold value information carried in the second A-IoT paging message. When the signal strength value of the second A-IoT paging message is greater than or equal to the second threshold value, it indicates that the channel condition is good, at this time the probability of successful sending of the random access request message is larger, therefore the random access manner based on two-step contention can be directly selected, which can save the signaling overhead in the random access process, and the probability of successful random access is also larger. When the signal strength value of the second A-IoT paging message is less than the second threshold value, it indicates that the channel condition is poor, at this time the probability of successful sending of the random access request message is lower, therefore the random access manner based on four-step contention can be selected, and the probability of successful random access is improved by using the contention conflict manner.
[0099] In a possible implementation, when the target random access manner is the random access manner based on four-step contention, the target random access first message comprises a random number identifier, and the random number identifier is used for identifying the Internet of Things device, and the method further comprises:
[0100] Receiving a target random access second message, the target random access second message is used for responding to the target random access first message;
[0101] sending a target random access third message, the target random access third message comprising the device identifier of the IoT device.
[0102] In a possible implementation, the method further comprises:
[0103] receiving a target random access fourth message, the target random access fourth message being in response to the target random access third message.
[0104] In a possible implementation, when the target random access manner is the two-step contention-based random access manner, the target random access first message comprises the device identifier of the IoT device, or the target random access first message comprises the device identifier of the IoT device and a random number identifier, the random number identifier being used to identify the IoT device, and the method further comprises:
[0105] receiving a target random access second message, the target random access second message being in response to the target random access first message.
[0106] In a possible implementation, when the target random access manner is the non-contention-based random access manner, the target random access first message comprises the device identifier of the IoT device, or the target random access first message comprises the device identifier of the IoT device and a random number identifier, the random number identifier being used to identify the IoT device, and the method further comprises:
[0107] receiving a target random access second message, the target random access second message being in response to the target random access first message.
[0108] In a possible implementation, when the target random access manner is the two-step contention-based random access manner and the random access procedure fails, the method further comprises:
[0109] performing random access using the four-step contention-based random access manner.
[0110] In summary, for the inventory business, after the reader determines the target random access manner through the inventory information, the reader indicates the target random access manner to the IoT device through the first A-IoT paging message, so that the IoT device determines the target random access manner according to the first A-IoT paging message. The IoT device can also determine the appropriate target random access manner according to the measured signal strength value and the signal strength threshold information by measuring the second A-IoT paging message sent by the reader. When the IoT device initiates the active business, the two-step contention-based random access manner is selected as the target random access manner, which can reduce the signaling overhead in the random access process. For different scenarios, the IoT device can use the appropriate target random access manner to perform random access, which improves the efficiency of the random access of the IoT device.
[0111] In a third aspect, the present application provides a random access method, comprising:
[0112] sending inventory information, the inventory information being used to indicate inventory Internet of Things devices.
[0113] In a possible implementation, the inventory information includes at least one of the following:
[0114] quantity information of the Internet of Things devices to be inventoried, used to indicate the quantity of the Internet of Things devices to be inventoried;
[0115] random access type indication information, used to indicate a target random access mode used by the inventory service;
[0116] inventory service type information, used to indicate an inventory service type, the inventory service type including at least one of the following: initial inventory, special inventory, inventory Internet of Things device identifier, inventory Internet of Things device quantity;
[0117] device identifier information of the Internet of Things devices to be inventoried, used to indicate the Internet of Things devices to be inventoried;
[0118] service type information, used to indicate a service type.
[0119] The core network device / APP function / third-party server and the like entity sends an inventory request to the reader, the inventory request including inventory information, so that the reader can determine a suitable target random access mode according to the inventory information, so that the Internet of Things devices can perform efficient random access.
[0120] In a fourth aspect, the present application provides a random access device, comprising:
[0121] a first determination module, configured to determine a target random access mode, the target random access mode being one of a four-step contention-based random access mode, a two-step contention-based random access mode, and a non-contention-based random access mode;
[0122] a first transceiver module, configured to receive a target random access first message, the target random access first message being used to perform access.
[0123] In a possible implementation, the first determination module is specifically configured to:
[0124] receive inventory information, the inventory information being used to indicate inventory Internet of Things devices;
[0125] determine the target random access mode according to the inventory information.
[0126] In a possible implementation, the inventory information includes at least one of the following:
[0127] The quantity information of the Internet of Things devices to be inventoried is used to indicate the quantity of the Internet of Things devices to be inventoried.
[0128] The random access type indication information is used to indicate a target random access mode used by the inventorying service.
[0129] The inventorying service type information is used to indicate an inventorying service type, and the inventorying service type includes at least one of the following: initial inventorying, special inventorying, inventorying Internet of Things device identifier, and inventorying Internet of Things device quantity.
[0130] The device identifier information of the Internet of Things devices to be inventoried is used to indicate the Internet of Things devices to be inventoried.
[0131] The service type information is used to indicate a service type.
[0132] In a possible implementation, the first determining module is specifically configured to perform at least one of the following:
[0133] When the quantity of the Internet of Things devices to be inventoried is greater than or equal to a first threshold value, the target random access mode is determined to be a four-step contention-based random access mode.
[0134] When the quantity of the Internet of Things devices to be inventoried is less than the first threshold value, the target random access mode is determined to be a two-step contention-based random access mode.
[0135] When the inventorying service type is inventorying Internet of Things device quantity, the target random access mode is determined to be a two-step contention-based random access mode.
[0136] When the inventorying information includes the device identifier of the Internet of Things devices to be inventoried, the target random access mode is determined to be a non-contention-based random access mode.
[0137] In a possible implementation, the first transceiver module is further configured to perform at least one of the following:
[0138] The first A-IoT paging message is used to indicate the target random access mode.
[0139] In a possible implementation, the first A-IoT paging message includes at least one of the following:
[0140] The device identifier information of the Internet of Things devices to be inventoried is used to identify the Internet of Things devices to be inventoried.
[0141] The resource allocation information is used to indicate time domain resources and / or frequency domain resources for transmitting a first message in the target random access mode.
[0142] Random access type indication information, used for indicating a target random access mode used by the inventory business;
[0143] Random access first message type indication information, used for indicating that the target random access first message includes a random number identifier and / or a device identifier of the Internet of Things device.
[0144] In a possible implementation, the device identifier information includes at least one of the following:
[0145] A device identifier of the Internet of Things device to be inventoried, used for identifying the Internet of Things device to be inventoried;
[0146] A device identifier list of the Internet of Things device to be inventoried, used for indicating the device identifier of the Internet of Things device to be inventoried;
[0147] A device group identifier of the Internet of Things device to be inventoried, used for indicating an Internet of Things device group to which the Internet of Things device to be inventoried belongs;
[0148] Memory information, used for indicating a storage location corresponding to the device identifier of the Internet of Things device to be inventoried;
[0149] A truncated device identifier corresponding to the Internet of Things device to be inventoried, used for indicating an Internet of Things device group to which the Internet of Things device to be inventoried belongs.
[0150] In a possible implementation, when the Internet of Things device initiates the active onboarding business, the target random access mode is a two-step contention-based random access mode.
[0151] In a possible implementation, the first transceiver module is further configured to:
[0152] Send a second A-IoT paging message, and the second A-IoT paging message includes signal strength threshold information, the signal strength threshold information being used for indicating a second threshold, and the second threshold being used for determining the target random access mode.
[0153] In a possible implementation, the signal strength threshold information includes at least one of the following:
[0154] RSSI threshold information, used for indicating an RSSI threshold;
[0155] RSRP threshold information, used for indicating an RSRP threshold;
[0156] RSRQ threshold information, used for indicating an RSRQ threshold;
[0157] The second threshold includes at least one of the RSSI threshold, the RSRP threshold, and the RSRQ threshold.
[0158] In a possible implementation, when the target random access mode is a four-step contention-based random access mode, the target random access first message includes a random number identifier, the random number identifier is used to identify the IoT device, and the first transceiver module is further configured to:
[0159] send a target random access second message, the target random access second message being used to respond to the target random access first message;
[0160] receive a target random access third message, the target random access third message including a device identifier of the IoT device.
[0161] In a possible implementation, the first transceiver module is further configured to:
[0162] send a target random access fourth message, the target random access fourth message being used to respond to the target random access third message.
[0163] In a possible implementation, when the target random access mode is a two-step contention-based random access mode, the target random access first message includes a device identifier of the IoT device, or the target random access first message includes the device identifier of the IoT device and a random number identifier, the random number identifier being used to identify the IoT device, and the first transceiver module is further configured to:
[0164] send a target random access second message, the target random access second message being used to respond to the target random access first message.
[0165] In a possible implementation, when the target random access mode is a non-contention-based random access mode, the target random access first message includes a device identifier of the IoT device, or the target random access first message includes the device identifier of the IoT device and a random number identifier, the random number identifier being used to identify the IoT device, and the first transceiver module is further configured to:
[0166] send a target random access second message, the target random access second message being used to respond to the target random access first message.
[0167] In a fifth aspect, the present application provides a random access device, comprising:
[0168] a second determination module configured to determine a target random access mode, the target random access mode being one of a four-step contention-based random access mode, a two-step contention-based random access mode, and a non-contention-based random access mode;
[0169] a second transceiver module configured to send a target random access first message according to the target random access mode, the target random access first message being used to perform access.
[0170] In a possible implementation, the second determining module is specifically configured to:
[0171] receive the first A-IoT paging message, the first A-IoT paging message being used to indicate the target random access manner;
[0172] determine the target random access manner according to the first A-IoT paging message.
[0173] In a possible implementation, the first A-IoT paging message includes at least one of the following:
[0174] device identification information of the to-be-inventoried IoT device, used to identify the to-be-inventoried IoT device;
[0175] resource allocation information, used to indicate time domain resources and / or frequency domain resources for sending a first message of target random access, the first message of target random access being a first message transmitted when random access is performed in the target random access manner;
[0176] random access type indication information, used to indicate the target random access manner used by the inventory service;
[0177] type indication information of the first message of random access, used to indicate that the first message of target random access includes a random number identifier and / or device identification of the IoT device.
[0178] In a possible implementation, the device identification information includes at least one of the following:
[0179] device identification of the to-be-inventoried IoT device, used to identify the to-be-inventoried IoT device;
[0180] a device identification list of the to-be-inventoried IoT device, used to indicate device identification of the to-be-inventoried IoT device;
[0181] device group identification of the to-be-inventoried IoT device, used to indicate an IoT device group to which the to-be-inventoried IoT device belongs;
[0182] memory information, used to indicate a storage location corresponding to the device identification of the to-be-inventoried IoT device;
[0183] a truncated device identification corresponding to the to-be-inventoried IoT device, used to indicate an IoT device group to which the to-be-inventoried IoT device belongs.
[0184] In a possible implementation, the second determining module is specifically configured to:
[0185] determine the random access manner indicated by the random access type indication information as the target random access manner.
[0186] In a possible implementation,
[0187] When the type indication information of the first message indicates that the random number identifier is included in the first message, the target random access manner is the random access manner based on the four-step contention.
[0188] When the type indication information of the first message indicates that the device identifier of the Internet of Things device is included in the first message, or the device identifier of the Internet of Things device and the random number identifier are included in the first message, the target random access manner is the random access manner based on the two-step contention.
[0189] In a possible implementation, when the Internet of Things device initiates the active uplink service, the target random access manner is the random access manner based on the two-step contention.
[0190] In a possible implementation, the second determining module is specifically configured to:
[0191] receive a second A-IoT paging message, and the second A-IoT paging message includes signal strength threshold information, the signal strength threshold information being used to indicate a second threshold value;
[0192] measure a signal strength value of the second A-IoT paging message;
[0193] determine the target random access manner according to the signal strength value of the second A-IoT paging message and the second threshold value.
[0194] In a possible implementation, the signal strength threshold information includes at least one of the following:
[0195] RSSI threshold information, used to indicate an RSSI threshold value;
[0196] RSRP threshold information, used to indicate an RSRP threshold value;
[0197] RSRQ threshold information, used to indicate an RSRQ threshold value.
[0198] The second threshold value includes at least one of the RSSI threshold value, the RSRP threshold value, and the RSRQ threshold value.
[0199] In a possible implementation, the second determining module is specifically configured to:
[0200] when the signal strength value of the second A-IoT paging message is greater than or equal to the second threshold value, determine that the target random access manner is the random access manner based on the two-step contention.
[0201] or,
[0202] When the signal strength value of the second A-IoT paging message is less than the second threshold value, the target random access manner is determined as the random access manner based on four-step contention.
[0203] In a possible implementation, when the target random access manner is the random access manner based on four-step contention, the random number identifier for identifying the Internet of Things device is included in the target random access first message, and the second transceiver module is further configured to:
[0204] receive a target random access second message, the target random access second message being used for responding to the target random access first message;
[0205] send a target random access third message, the target random access third message including the device identifier of the Internet of Things device.
[0206] In a possible implementation, the second transceiver module is further configured to:
[0207] receive a target random access fourth message, the target random access fourth message being used for responding to the target random access third message.
[0208] In a possible implementation, when the target random access manner is the random access manner based on two-step contention, the target random access first message includes the device identifier of the Internet of Things device, or the target random access first message includes the device identifier of the Internet of Things device and the random number identifier for identifying the Internet of Things device, and the second transceiver module is further configured to:
[0209] receive a target random access second message, the target random access second message being used for responding to the target random access first message.
[0210] In a possible implementation, when the target random access manner is the random access manner based on non-contention, the target random access first message includes the device identifier of the Internet of Things device, or the target random access first message includes the device identifier of the Internet of Things device and the random number identifier for identifying the Internet of Things device, and the second transceiver module is further configured to:
[0211] receive a target random access second message, the target random access second message being used for responding to the target random access first message.
[0212] In a possible implementation, when the target random access manner is the random access manner based on two-step contention and the random access procedure fails, the second transceiver module is further configured to:
[0213] perform random access using the random access manner based on four-step contention.
[0214] In a sixth aspect, the present application provides a random access device, comprising:
[0215] The sending module is configured to send the inventory information, and the inventory information is used to indicate the inventory Internet of Things device.
[0216] In a possible implementation, the inventory information comprises at least one of the following:
[0217] The number information of the Internet of Things device to be inventoried is used to indicate the number of the Internet of Things device to be inventoried.
[0218] The random access type indication information is used to indicate a target random access mode used by the inventory service.
[0219] The inventory service type information is used to indicate an inventory service type, and the inventory service type comprises at least one of the following: initial inventory, special inventory, inventory Internet of Things device identifier, and inventory Internet of Things device number.
[0220] The device identifier information of the Internet of Things device to be inventoried is used to indicate the Internet of Things device to be inventoried.
[0221] The service type information is used to indicate a service type.
[0222] In a seventh aspect, the present application provides a random access device, comprising a memory and a processor.
[0223] The memory stores computer execution instructions.
[0224] The processor executes the computer execution instructions stored in the memory, so that the processor executes the method of any one of the first aspect, or executes the method of any one of the second aspect, or executes the method of any one of the third aspect.
[0225] In an eighth aspect, the present application provides a computer readable storage medium, and the computer readable storage medium stores computer execution instructions, and the computer execution instructions are used to implement the method of any one of the first aspect, or the method of any one of the second aspect, or the method of any one of the third aspect when executed by a processor.
[0226] In a ninth aspect, the present application provides a computer program product, comprising a computer program, and the computer program is used to implement the method of any one of the first aspect, or the method of any one of the second aspect, or the method of any one of the third aspect when executed by a processor.
[0227] In a tenth aspect, the present application provides a chip, and the chip stores a computer program, and the computer program is used to implement the method of any one of the first aspect, or the method of any one of the second aspect, or the method of any one of the third aspect when executed by the chip.
[0228] In an eleventh aspect, an embodiment of the present application provides a chip module, and the chip module stores a computer program. When the computer program is executed by the chip module, the method of any one of the first aspect, or the method of any one of the second aspect, or the method of any one of the third aspect is implemented.
[0229] The random access method and device provided in the present application, the reader first determines a target random access mode, and then receives a target random access first message. The target random access first message is used for access, and the target random access mode is one of a four-step contention-based random access mode, a two-step contention-based random access mode, and a non-contention-based random access mode. By determining the target random access mode, the Internet of Things device can use the target random access mode for efficient random access in the four-step contention-based random access mode, the two-step contention-based random access mode, and the non-contention-based random access mode. BRIEF DESCRIPTION OF DRAWINGS
[0230] FIG. 1 is a flowchart of a contention-based random access in NR;
[0231] FIG. 2 is a flowchart of a non-contention-based random access in NR;
[0232] FIG. 3 is a flowchart of communication between a tag and a reader according to an embodiment of the present application;
[0233] FIG. 4 is a schematic diagram of a network topology structure of an environment A-IoT technology;
[0234] FIG. 5 is a schematic diagram of a network topology structure of an environment A-IoT technology;
[0235] FIG. 6 is a schematic diagram of a network topology structure of an environment A-IoT technology;
[0236] FIG. 7 is a schematic diagram of a network topology structure of an environment A-IoT technology;
[0237] FIG. 8 is a schematic diagram of a network topology structure of an environment A-IoT technology;
[0238] FIG. 9 is a flowchart of a random access method according to an embodiment of the present application;
[0239] FIG. 10 is a flowchart of determining a target random access mode according to an embodiment of the present application;
[0240] FIG. 11 is a flowchart of a four-step contention-based random access mode according to an embodiment of the present application;
[0241] FIG. 12 is a flowchart of a two-step contention-based random access mode according to an embodiment of the present application;
[0242] FIG. 13 is a flowchart of a non-contention-based random access method according to an embodiment of the present application;
[0243] FIG. 14 is a schematic diagram of a random access apparatus according to an embodiment of the present application;
[0244] FIG. 15 is a schematic diagram of a random access apparatus according to an embodiment of the present application;
[0245] FIG. 16 is a schematic diagram of a random access apparatus according to an embodiment of the present application;
[0246] FIG. 17 is a schematic diagram of a random access apparatus according to an embodiment of the present application. DETAILED DESCRIPTION
[0247] The following detailed description is presented in terms of a number of examples. These examples are presented by way of illustration of the present application only. The following description is presented for the purposes of example only and is not intended to limit the scope of the application as set forth in the claims.
[0248] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0249] In the embodiments of the present application, the terms "first", "second", and the like are used to distinguish different items or similar items having essentially the same function and role. For example, the first chip and the second chip are merely used to distinguish different chips, and do not limit the sequence thereof. Those skilled in the art can understand that the terms "first", "second", and the like do not limit the quantity and execution sequence, and the terms "first", "second", and the like do not necessarily mean different.
[0250] In the embodiments of the present application, the words "exemplary" and "for example" are used to mean serving as an example, instance, or illustration. Any implementation or design scheme described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or advantageous than other implementations or design schemes. In fact, the use of the words "exemplary" and "for example" is intended to present related concepts in a specific way.
[0251] In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. The association relationship between the associated objects is described by "and / or", which means that there can be three kinds of relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after it. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can represent a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple.
[0252] It should be noted that in the embodiments of the present application, when the size of a parameter is compared with a corresponding threshold value, and different operations are performed according to the comparison result, if operation A is performed when the parameter is greater than the threshold value, and operation B is performed when the parameter is less than the threshold value, for the case that the parameter is equal to the threshold value, operation A can be performed, or operation B can be performed. That is, operation A is performed when the parameter is greater than or equal to the threshold value, and operation B is performed when the parameter is less than the threshold value; or operation A is performed when the parameter is greater than the threshold value, and operation B is performed when the parameter is less than or equal to the threshold value. In the following embodiments, operation A is performed when the parameter is greater than or equal to the threshold value, and operation B is performed when the parameter is less than the threshold value. Those skilled in the art should understand that there is also an implementation mode that operation A is performed when the parameter is greater than the threshold value, and operation B is performed when the parameter is less than or equal to the threshold value.
[0253] In 5G new radio (NR), random access refers to the process of transmitting a random access preamble by a terminal device before establishing a basic signaling connection with a network device, and refers to the process of establishing a wireless link by the terminal device and the network device, and acquiring or restoring uplink synchronization. Random access is a key step in a mobile communication system, which makes it possible for the terminal device and the network device to establish a communication connection. The terminal device can interact with the network device through random access, and can also achieve uplink synchronization through random access.
[0254] The NR random access type includes contention-based random access (CBRA) and non-contention-based random access (CFRA), which will be introduced in combination with FIG. 1 and FIG. 2.
[0255] In contention-based random access, a terminal device randomly selects a preamble from a preamble pool shared with other terminal devices and sends a random access request. This means that the terminal device has the possibility of selecting the same preamble as another terminal device. The network device uses a contention resolution mechanism to handle this type of random access request, and in this process, the result is random and not all random accesses can be successful.
[0256] The following describes the contention-based random access procedure in NR in conjunction with FIG. 1. FIG. 1 is a flowchart of the contention-based random access procedure in NR, as shown in FIG. 1, which includes:
[0257] S11, the terminal device sends a message 1 (Msg1) to the network device.
[0258] The Msg1 can also be referred to as a random access request message, which is used to transmit a random access preamble and initiate a random access request. The random access preamble can also be referred to as a random access preamble sequence, preamble, or preamble sequence. Optionally, the terminal device can select a physical random access channel (PRACH) resource and send the selected random access preamble on the selected PRACH resource.
[0259] S12, the network device sends a message 2 (Msg2) to the terminal device.
[0260] The Msg2 can also be referred to as a random access response message, which contains the time-frequency resource determined by the network device for the terminal device to use to send a payload. After the terminal device sends the Msg1, it monitors a physical downlink control channel (PDCCH) scrambled with a random access radio network temporary identifier (RA-RNTI) within a random access response time window to receive a physical downlink shared channel (PDSCH) scheduled by the PDCCH. The PDSCH contains a random access response (RAR).
[0261] The RAR can include: a network device response to a received random access preamble identifier; a timing advance group (TAG) included in the payload of the RAR, used to adjust the uplink timing; an uplink (UL) grant: an uplink resource indication for scheduling message 3 (Msg3); a temporary cell radio network temporary identifier (TC-RNTI).
[0262] If the terminal device receives the RAR, and the random access preamble identifier in the RAR is the same as the random access preamble identifier sent by the terminal device, the response is successful, that is, the terminal device considers that the random access response is successfully received.
[0263] If the terminal device does not receive the random access response within the random access response time window, or fails to verify the response, the response fails. In this case, if the number of random access attempts is less than the upper limit value, the terminal device reattempts random access, otherwise the random access fails.
[0264] S13, the terminal device sends Msg3 to the network device.
[0265] Msg3 can also be referred to as uplink scheduling information, which is the first scheduled transmission in the random access process, and the terminal device sends the uplink scheduling information through the physical uplink shared channel (PUSCH). The signaling message and information sent by the terminal device are different in different random access scenarios.
[0266] For example, in the initial radio resource control (RRC) connection establishment scenario, an RRC connection request message can be sent, carrying a network attached storage (NAS) terminal device identifier, transmitted through a common control channel (CCCH) in a radio link control (RLC) layer transparent mode (TM), and the message is not segmented.
[0267] For example, in the RRC connection reestablishment scenario, an RRC reestablishment request message (without carrying a NAS message) can be sent, transmitted through a CCCH in an RLC layer, using a TM, and the message is not segmented.
[0268] For example, in a handover scenario, if the terminal device accesses a target cell and there is no dedicated preamble in the handover process, CBRA is triggered instead of CFRA. The RRC handover confirmation message and the cell radio network temporary identifier (C-RNTI) are transmitted through a dedicated control channel (DCCH). If necessary, a buffer status report (BSR) will also be carried.
[0269] In other scenarios, at least the C-RNTI of the terminal device is sent.
[0270] S14, the network device sends a message 4 (Msg4) to the terminal device.
[0271] Msg4 can also be referred to as a contention resolution message, which is used to indicate whether the terminal device has successfully accessed the network device. After the terminal device sends Msg3, a contention conflict resolution timer is started, and the terminal device monitors the PDCCH to receive Msg4 during the running of the contention conflict resolution timer.
[0272] The terminal device monitors the PDCCH before the contention conflict resolution timer expires, and when any of the following conditions is met, the contention resolution is considered successful and the counting is stopped:
[0273] 1. The terminal device obtains the C-RNTI through the PDCCH;
[0274] 2. The terminal device obtains the TC-RNTI through the PDCCH, and a media access control (MAC) layer protocol data unit (PDU) is successfully decoded. Specifically, the contention resolution identifier received through the PDSCH is the same as that carried in Msg3 sent by the terminal device.
[0275] If the contention conflict resolution timer expires, the contention resolution fails. In this case, if the number of attempts of random access is less than the upper limit value, the terminal device reattempts random access, otherwise the random access fails.
[0276] In the above embodiment, the four-step contention-based random access procedure in NR is introduced in combination with FIG. 1. In NR, a two-step contention-based random access procedure is also included. Specifically, the terminal device sends a message A (MsgA) to the network device, and the MsgA can include the information in the Msg1 and the Msg3 in the example of FIG. 1. After receiving the MsgA, the network device sends a message B (MsgB) to the terminal device, and the MsgB can include the information in the Msg2 and the Msg4 in the example of FIG. 1. After the terminal device successfully transmits the random access preamble through the MsgA, if an indication of contention resolution success issued by the network device is received, the random access is successful, otherwise, the random access fails, and the four-step random access procedure is returned to.
[0277] In the above embodiment, the four-step contention-based random access procedure in NR is introduced in combination with FIG. 1. In NR, a two-step contention-based random access procedure is also included. Specifically, the terminal device sends a message A (MsgA) to the network device, and the MsgA can include the information in the Msg1 and the Msg3 in the example of FIG. 1. After receiving the MsgA, the network device sends a message B (MsgB) to the terminal device, and the MsgB can include the information in the Msg2 and the Msg4 in the example of FIG. 1. After the terminal device successfully transmits the random access preamble through the MsgA, if an indication of contention resolution success issued by the network device is received, the random access is successful, otherwise, the random access fails, and the four-step random access procedure is returned to.
[0278] In the non-contention-based random access, the preamble is allocated by the network device, and this preamble is called a dedicated random access preamble. The dedicated random access preamble is provided to the terminal device through RRC signaling (the allocated preamble can be specified in the RRC message) or physical (Physical, PHY) layer signaling (downlink control information (Downlink Control Information, DCI) on the PDCCH), so there is no preamble collision. When the dedicated resource is insufficient, the network device instructs the terminal device to start the contention-based random access.
[0279] FIG. 2 is a flowchart of the non-contention-based random access in NR, as shown in FIG. 2, which includes:
[0280] S21, the network device allocates a random access preamble to the terminal device.
[0281] The network device allocates a random access preamble to the terminal device, and sends the random access preamble to the terminal device.
[0282] In the scenario where the downlink data arrives at the network device, the network device commands the terminal device to start the random access procedure through the DCI on the PDCCH, and the PDCCH carries the allocated random access preamble; in the NSA, the network device commands the terminal device to initiate the random access through the PDCCH, and the PDCCH carries the allocated random access preamble.
[0283] S22, the terminal device sends a Msg1 to the network device.
[0284] The Msg1 can also be called a random access request message. After receiving the random access preamble allocated by the network device, the terminal device initiates a random access request to the network device on the corresponding PRACH channel resource.
[0285] S23, the network device sends Msg2 to the terminal device.
[0286] Msg2 can also be referred to as a random access response message, in a handover scenario, the random access response message includes TA information and initial uplink scheduling information; in a scenario where downlink data arrives at the network device, the random access response message includes timing alignment information and a random access preamble identifier; in the NSA, when adding an NR cell, the random access response contains timing alignment information and a random access preamble identifier.
[0287] In the above embodiment, the random access process in the NR system is introduced, and the random access process in the passive Internet of Things system and the RFID system will be introduced below.
[0288] Passive Internet of Things technology refers to an Internet of Things without power supply and other energy sources. Radio frequency identification technology (RFID) as a common passive Internet of Things technology, belongs to an automatic identification technology. RFID technology performs non-contact bidirectional data communication through wireless radio frequency, and reads and writes to a recording medium (electronic tag or radio frequency card) through wireless radio frequency.
[0289] In the RFID technology, the reader and the tag communicate based on the backscatter mode. Backscatter is a communication mode that modulates the carrier signal existing in the environment or sent by the signal excitation source to transmit information. Unlike wireless communication mode, the transmitting device that transmits signals by backscatter does not need to generate a carrier signal carrying information, so it does not need amplifiers, mixers and other radio frequency circuits of traditional communication devices, thereby greatly simplifying the complexity of the radio frequency circuit.
[0290] The backscatter system will be different in composition due to different applications. An exemplary backscatter communication system may, for example, include a tag, a reader and an upper computer.
[0291] The tag is also called a backscatter tag, an electronic tag, etc. The tag is a signal reflection device in the backscatter communication system, used to receive signals sent by the excitation signal source and reflect the signals.
[0292] The reader is also called a reader or interrogator, and is one of the important components of the backscatter communication system, belonging to the excitation signal source, and can read the signals of the tag. The reader can be a separate device, or can be embedded in other systems.
[0293] The communication between the tag and the reader includes two links, which are downlink transmission and uplink transmission. In the downlink transmission, the reader first generates and broadcasts control signaling to activate the tag; then the reader continuously provides a radio frequency carrier to the tag, and the tag receives the signaling. In the uplink transmission, the tag modulates and reflects the radio frequency carrier to send its data information.
[0294] In the RFID, the communication process between the tag and the reader can refer to the example of FIG. 3.
[0295] FIG. 3 is a communication flow chart between the tag and the reader provided by the embodiment of the present application, as shown in FIG. 3, which includes:
[0296] S31, the reader sends an inventory command.
[0297] Firstly, the reader sends an inventory command to start an inventory cycle and identify the selected tag or tag group. The inventory command can be a Query command, a QueryAdjust command or a QueryRep command.
[0298] S32, the tag returns a random number identifier (RN16).
[0299] The tag has a time slot counter inside, which starts to decrease from a random value after the tag receives the inventory command. When the time slot counter of the tag is slot = 0, the tag returns a random number identifier RN16 (labeled as handle) to identify its own identity.
[0300] S33, the reader sends an acknowledge (ACK) command to the tag.
[0301] When the reader successfully receives an RN16 from the tag, the reader sends an ACK command containing the RN16 to obtain the electronic code information of the tag.
[0302] S34, the tag returns the electronic code information.
[0303] The tag returns its own Protocol Control (PC) + Electronic Product Code (EPC) + Cyclic Redundancy Check (CRC). The EPC is the electronic code information of the tag that the reader needs to obtain, the PC is an identification segment that determines the length of the EPC, and the CRC is used for checking.
[0304] S35, the reader sends a random number request (Req_RN) command.
[0305] If the read-write device successfully acquires the required EPC, the inventory process ends. If the read-write device needs to operate on other data areas of the tag, the read-write device needs to send the Req_RN command and perform identity authentication again.
[0306] S36, the tag returns a random number identifier (RN16).
[0307] When identity authentication is performed again, the tag returns a new RN16.
[0308] S37, the read-write device sends an access command.
[0309] After the read-write device receives the RN16 returned by the tag, the read-write device can continue to send an access command to implement reading / writing and other operations.
[0310] RFID technology is widely used, but also has corresponding limitations. For example, the current communication distance of RFID is only about 20 meters, the uplink and downlink path losses are superimposed, the coverage ability is limited, and interference exists between read-write devices. RFID technology belongs to the P2P mode and cannot be networked, is suitable for a large number of tags, but is not suitable for small-range coverage scenarios. Moreover, RFID cannot realize full coverage, continuous connection, and has low automatic inventory efficiency, difficulty in asset tracking and positioning, and the frequency band is easy to be interfered, and the data format is simple, mainly supports ID transmission, and it is difficult to realize multiple different purposes.
[0311] Therefore, in order to expand the application scenarios of passive IoT, and adapt to the needs of some low-power devices, a new IoT device type, A-IoT device, is defined.
[0312] A-IoT device is a new type of IoT device that can work under the driving of environmental energy collected from wireless waves, light, motion, heat, or other available environmental energy. A-IoT device does not have or only has limited power supply. According to whether A-IoT device has energy storage capability and independent signal generation capability, A-IoT device can include device 1, device 2a, and device 2b, but does not exclude subsequent addition of new A-IoT device types.
[0313] Device 1: no energy storage capability and no independent signal generation capability, signal transmission is performed through backscattering.
[0314] Device 2a: has energy storage capability and no independent signal generation capability, signal transmission is performed through backscattering, and the stored energy can be used to amplify the power of the backscattered signal.
[0315] Device 2b: has energy storage capability and has independent signal generation capability, signal transmission is performed using a radio frequency device.
[0316] The A-IoT device roots the environmental IoT on the 5G network, and is a new IoT device with better performance than RFID. The network topology structure under the environmental A-IoT technology will be introduced below in combination with the drawings.
[0317] FIG. 4 is a schematic diagram of network topology structure one of the environmental A-IoT technology. As shown in FIG. 4, the network topology structure includes a network device (which can be a base station, for example) and an A-IoT device. The A-IoT device directly communicates with the network device in both directions.
[0318] The communication between the network device and the A-IoT device includes A-IoT data and / or signaling. In the network topology structure, the network device that sends the signaling to the A-IoT device can be the same network device as the network device that receives the A-IoT data sent by the A-IoT device, or can be a different network device. The process of communication between the network device and the A-IoT device can be referred to the related introduction of FIG. 3. In the network topology structure, the network device is equivalent to a reader / writer, and the A-IoT device is equivalent to a tag.
[0319] FIG. 5 is a schematic diagram of network topology structure two of the environmental A-IoT technology. As shown in FIG. 5, the network topology structure includes a network device, an intermediate node, and an A-IoT device. The A-IoT device communicates with the network device through the intermediate node in both directions.
[0320] In the network topology structure, the intermediate node can be a relay, an integrated access and backhaul (IAB) node, a terminal device, a repeater, etc. that can implement the environmental IoT. The intermediate node transmits information between the network device and the A-IoT device.
[0321] FIG. 6 is a schematic diagram of network topology structure three of the environmental A-IoT technology. As shown in FIG. 6, the network topology structure includes a network device, an auxiliary node, and an A-IoT device. The auxiliary node can be a relay, an IAB node, a terminal device, a repeater, etc. that can implement the environmental IoT.
[0322] For downlink, the A-IoT device and the network device communicate through the auxiliary node. For uplink, the A-IoT device and the network device directly communicate in uplink.
[0323] FIG. 7 is a schematic diagram of network topology structure four of the environmental A-IoT technology. As shown in FIG. 7, the network topology structure includes a network device, an auxiliary node, and an A-IoT device. The auxiliary node can be a relay, an IAB node, a terminal device, a repeater, etc. that can implement the environmental IoT.
[0324] For downlink, the A-IoT device directly communicates with the network device. For uplink, the A-IoT device communicates with the network device through the assistant node.
[0325] Fig. 8 is a schematic diagram of a network topology of the ambient A-IoT technology. As shown in Fig. 8, the network topology includes a terminal device and an A-IoT device, and the A-IoT device directly communicates with the terminal device. The communication between the terminal device and the A-IoT device includes A-IoT data and / or signaling.
[0326] In the above embodiments, the network topology of the ambient A-IoT technology is introduced. Based on the above introduction, it can be known that the devices communicating with the A-IoT device can be different under different network topologies. For example, in the network topology shown in Fig. 4, the device communicating with the A-IoT device is the network device, and for example, in the network topology shown in Fig. 5, the device communicating with the A-IoT device is the intermediate node, and so on.
[0327] The A-IoT device needs to report the device identification through the random access process. At present, in the RFID technology, the random access process is performed through the random access mode based on two-step competition. However, the random access mode of the A-IoT device can be different from that in the RFID system. Embodiments of the present application provide a random access mode to realize the random access of the A-IoT device. The scheme of the embodiments of the present application will be introduced below in combination with Fig. 9.
[0328] It should be noted that the technical solutions of the embodiments of the present application can be applied to various communication systems, for example: global system of mobile communication (GSM) system, code division multiple access (CDMA) system, wideband code division multiple access (WCDMA) system, general packet radio service (GPRS), long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WIMAX) communication system, future fifth generation 5G system or NR, and can also be extended to similar wireless communication systems, such as wireless-fidelity (WIFI), and 3rd generation partnership project (3GPP) related cellular systems, etc. The technical solutions provided in the present application can also be applied to future communication systems, such as the sixth generation mobile communication system, etc. The present application is not limited in this regard.
[0329] In the embodiments of the present application, the network device generally has a wireless transceiving function, and the network device can have a mobile characteristic, for example, the network device can be a mobile device. Optionally, the network device can be a satellite or a balloon station. For example, the satellite can be a low earth orbit (LEO) satellite, a medium earth orbit (MEO) satellite, a geostationary earth orbit (GEO) satellite, a high elliptical orbit (HEO) satellite, or the like. Of course, the network device can also be a base station arranged at a position on land or water, for example, the network device can be a next generation NodeB (gNB) or a next generation-evolved NodeB (ng-eNB). The gNB provides a user plane function and a control plane function of NR for a UE, and the ng-eNB provides a user plane function and a control plane function of evolved universal terrestrial radio access (E-UTRA) for a UE. It should be noted that the gNB and the ng-eNB are only names, which are used to represent a base station supporting a 5G network system, and do not have a limiting meaning.
[0330] The network device can also be a base transceiver station (BTS) in a GSM or CDMA system, or a nodeB (NB) in a WCDMA system, or an evolutional node B (eNB or eNodeB) in an LTE system. Alternatively, the network device can also be a relay station, an access point, a vehicle-mounted device, a wearable device, a network device in a network after 5G, or a network device in a future evolved public land mobile network (PLMN) network, a road site unit (RSU), or the like.
[0331] The terminal device usually has a wireless transceiving function, and can be deployed on land, including indoors or outdoors, handheld, wearable, or vehicle-mounted; can also be deployed on the water surface (such as a ship, etc.); and can also be deployed in the air (such as an airplane, a balloon, and a satellite, etc.). The terminal device can be a mobile phone, a tablet computer (Pad), a computer with a wireless transceiving function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a vehicle-mounted terminal device, a wireless terminal in self driving, a wireless terminal device in remote medical treatment, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, a wireless terminal device in a smart home, a wearable terminal device, etc. The terminal device involved in the embodiments of the present application can also be referred to as a terminal, a user equipment (UE), an access terminal device, a vehicle-mounted terminal, an industrial control terminal, a UE unit, a UE station, a mobile station, a mobile station, a remote station, a remote terminal device, a mobile device, a UE terminal device, a wireless communication device, a UE agent, or a UE apparatus, etc. The terminal device can also be fixed or mobile.
[0332] It should be noted that the execution subject of each embodiment in the present application can be a chip, a chip module, a processor, a microprocessor, etc., or a device integrating the above-mentioned chip, chip module, processor, or microprocessor, etc. apparatus, such as a network device, a terminal device, or an Internet of Things device. The specific execution subject of each embodiment of the present application is not limited, and it can be selected and set according to actual needs. In the following embodiments, the execution subject is taken as a network device, a terminal device, or an Internet of Things device integrating the above-mentioned chip, chip module, processor, or microprocessor, etc. apparatus, which is used as an example for introduction, and does not constitute a limitation on the actual execution subject.
[0333] FIG. 9 is a flowchart of a random access method provided by the embodiments of the present application, which is applied to a reader. As shown in FIG. 9, the method comprises the following steps:
[0334] S91, the reader determines a target random access mode, which is one of a four-step contention-based random access mode, a two-step contention-based random access mode, and a non-contention-based random access mode.
[0335] In the embodiments of the present application, the devices involved in random access are Internet of Things devices and readers, the Internet of Things devices initiate random access, and the readers respond. Among them, the reader can be a network device (such as a base station) or a terminal device.
[0336] For example, the network topology shown in FIG. 4 is taken as an example, under the network topology, the network device directly communicates with the A-IoT device as the reader and the A-IoT device. For example, the network topology shown in FIG. 5 is taken as an example, under the network topology, the A-IoT device and the network device communicate with each other through an intermediate node, and the intermediate node is a reader. The intermediate node can be a terminal device, an IAB node, a repeater, etc.
[0337] In the following embodiments, the process of random access is introduced taking the device interacting with the Internet of Things device as the reader as an example. It can be understood that the reader in each embodiment can be a network device, a terminal device, etc.
[0338] The reader determines the target random access mode. In the embodiments of the present application, the target random access mode is one of a four-step contention-based random access mode, a two-step contention-based random access mode, and a non-contention-based random access mode.
[0339] In some embodiments, the professional terms "four-step contention-based random access mode" and "four-step contention-based random access mode" can be replaced with each other.
[0340] In some embodiments, the professional terms "two-step contention-based random access mode" and "two-step contention-based random access mode" can be replaced with each other.
[0341] Among them, the four-step contention-based random access mode and the two-step contention-based random access mode both belong to the contention-based random access mode. In the contention-based random access mode, there can be access conflicts between the Internet of Things devices.
[0342] Optionally, when the probability of access conflict between the Internet of Things devices performing random access is large, the reader can select the four-step contention-based random access mode. The case where the probability of access conflict between the Internet of Things devices is large may include, for example, that the random access is triggered by an initial inventory business, the number of Internet of Things devices to be inventoried is large, etc.
[0343] Optionally, when the probability of access conflict between the Internet of Things devices performing random access is small, the reader can select the two-step contention-based random access mode. The case where the probability of access conflict between the Internet of Things devices performing random access is small may include, for example, that the inventory business only inventories the number of Internet of Things devices, the number of Internet of Things devices to be inventoried is small, etc.
[0344] In the non-contention-based random access mode, there is no access conflict, and the mode is mainly for inventorying certain specific Internet of Things devices. When the inventorying process is only for certain specific Internet of Things devices, the reader can determine the non-contention-based random access mode as the target random access mode, where inventorying certain specific Internet of Things devices means that the device identifiers of certain specific Internet of Things devices are included in the inventorying request.
[0345] S92, the reader receives a target random access first message, and the target random access first message is used for access.
[0346] After determining the target random access mode, the reader receives a target random access first message sent by the Internet of Things device, and the target random access first message is the first message transmitted when random access is performed in the target random access mode. The target random access first message is used for access.
[0347] In some embodiments, the professional terms "random access", "access", and the like can be replaced with each other.
[0348] In some embodiments, the professional terms "random access mode", "access mode", and the like can be replaced with each other.
[0349] The random access method provided by the embodiments of the present application first needs to determine the target random access mode, and then receives the target random access first message, which is used for access. The target random access mode is one of the four-step contention-based random access mode, the two-step contention-based random access mode, and the non-contention-based random access mode. By determining the target random access mode, the Internet of Things device can send the target random access first message according to the target random access mode in the four-step contention-based random access mode, the two-step contention-based random access mode, and the non-contention-based random access mode, and then the reader receives the target random access first message. The scheme of the embodiments of the present application can realize efficient random access of the Internet of Things device.
[0350] In a possible implementation, the core network device / APP function / third-party server and the like entity can issue inventory information to start the inventory of the Internet of Things device. After receiving the inventory information, the reader can determine the target random access mode according to the inventory information. The implementation is introduced below in combination with FIG. 10.
[0351] FIG. 10 is a flowchart of determining the target random access mode according to an embodiment of the present application, as shown in FIG. 10, which includes the following steps.
[0352] S101, the core network device / APP function / third-party server and the like entity sends inventory information.
[0353] Exemplarily, when it is needed to inventory the Internet of Things device, an entity such as a core network device, an APP function, a third-party server, etc. can issue an inventory request to the reader, and the inventory request can include inventory information (i.e., the inventory information can be carried in the inventory request), the inventory information being used to indicate the Internet of Things device to be inventoried, and accordingly, the reader receives the inventory information.
[0354] S102, the reader determines a target random access mode according to the inventory information.
[0355] Optionally, the inventory information includes at least one of the following 1.1 to 1.5:
[0356] 1.1, quantity information of the Internet of Things device to be inventoried, used to indicate the quantity of the Internet of Things device to be inventoried.
[0357] In a possible implementation, the quantity information of the Internet of Things device to be inventoried can be used to indicate that the quantity of the Internet of Things device to be inventoried is one or more, without indicating the specific quantity.
[0358] In a possible implementation, the quantity information of the Internet of Things device to be inventoried can be used to indicate how many the specific quantity of the Internet of Things device to be inventoried is.
[0359] For example, if the Internet of Things device to be inventoried includes Internet of Things device A, Internet of Things device B and Internet of Things device C, the quantity information of the Internet of Things device to be inventoried can indicate that the Internet of Things device to be inventoried is multiple (without indicating the specific value), and the quantity information of the Internet of Things device to be inventoried can also indicate that the quantity of the Internet of Things device to be inventoried is 3 (indicating the specific value).
[0360] As long as the inventory information includes the quantity information of the Internet of Things device to be inventoried (and can also include one or more information in 1.2 to 1.5), the reader can determine the quantity of the Internet of Things device to be inventoried according to the quantity information of the Internet of Things device to be inventoried, and then can determine the target random access mode according to the quantity of the Internet of Things device to be inventoried.
[0361] Optionally, when the quantity of the Internet of Things device to be inventoried is greater than or equal to a first threshold value, the target random access mode is determined to be a four-step contention-based random access mode. The first threshold value can be a pre-set value, or a value indicated by an entity such as a core network device, an APP function, a third-party server, etc., etc. The value of the first threshold value can be set as needed, for example, can be set to 5, 8, 10, etc. The embodiments of the present application do not limit this.
[0362] When the number of the Internet of Things devices to be inventoried is greater than or equal to the first threshold, it indicates that the number of the Internet of Things devices to be inventoried is large, and the collision probability of sending the target random access first message in the random access process is large, and at this time, the random access mode based on four-step contention is selected as the target random access mode for random access.
[0363] In the random access mode based on four-step contention, the random number identifier is included in the target random access first message, and is used to identify the Internet of Things device. Generally, the size of the random number identifier is smaller than the size of the device identifier of the Internet of Things device, and when the number of the Internet of Things devices to be inventoried is greater than or equal to the first threshold, the collision probability is large. The Internet of Things device sends the random number identifier through the target random access first message, and the random number identifier is subjected to modulation and coding processing, and then the reader receives the random number identifier subjected to modulation and coding processing and decodes it to obtain the decoded information. In this process, the reader performs collision detection, and if other Internet of Things devices also send the random access first message at this time, the reader performs code type detection on the decoded information, and an abnormality is detected, so that it is found that a collision has occurred. If no other Internet of Things device sends the random access first message, the reader will not produce an abnormality when performing code type detection on the decoded information. Since the number of bits of the random number identifier is usually small, the reader can quickly detect whether a collision has occurred, reduce the resource size occupied by the target random access first message, and improve the success probability of random access.
[0364] Optionally, when the number of the Internet of Things devices to be inventoried is less than the first threshold, it is determined that the target random access mode is the random access mode based on two-step contention.
[0365] When the number of the Internet of Things devices to be inventoried is less than the first threshold, it indicates that the number of the Internet of Things devices to be inventoried is small, and the collision probability of sending the target random access first message in the random access process is small, and at this time, the random access mode based on two-step contention is selected as the target random access mode for random access.
[0366] Since the collision probability is small, the random access mode based on two-step contention is adopted at this time, and the device identifier of the Internet of Things device is directly sent in the target random access first message, so that the signaling overhead in the random access process can be reduced.
[0367] 1.2, inventory service type information, used to indicate the inventory service type.
[0368] As long as the inventory information includes inventory business type information (may also include one or more of 1.1, 1.3 to 1.5 information), the reader can determine the inventory business type according to the inventory business type information, wherein the inventory business type includes at least one of the following: initial inventory, special inventory, inventory Internet of Things device identifier, inventory Internet of Things device quantity.
[0369] The initial inventory is generally used in the scenario of inventorying all Internet of Things devices under a specific area or a specific reader, or all Internet of Things devices in one or more Internet of Things device groups. Optionally, when the inventory business type includes initial inventory, the number of Internet of Things devices that need to be inventoried is usually large, so the reader determines the target random access mode to be a four-step contention-based random access mode. In the first message of the target random access, a random number identifier is carried, which is used to identify the Internet of Things device.
[0370] Optionally, the special inventory is generally used to inventory a specific Internet of Things device. For example, an entity such as a core network device, an APP function, a third-party server, etc. has previously inventoried the Internet of Things device, and the information of the Internet of Things device is saved at the entity. Subsequently, the entity can initiate an inventory of only the Internet of Things device, and the inventory request sent by the entity includes the device identifier of the Internet of Things device.
[0371] The meaning of inventorying the Internet of Things device identifier is that the device identifier information of the Internet of Things device to be inventoried needs to be obtained. The device identifier information of the Internet of Things device to be inventoried can be referred to the related content in item 1.4 below, which will not be described here. Optionally, when the device identifier of the Internet of Things device to be inventoried is obtained, the reader determines the target random access mode to be a four-step contention-based random access mode.
[0372] The meaning of inventorying the quantity of Internet of Things devices is that the quantity information of the Internet of Things devices to be inventoried needs to be obtained, for example, the quantity of Internet of Things devices under the inventory reader. This inventory business type does not need to obtain the device identifier information of the Internet of Things device to be inventoried. The quantity information of the Internet of Things device to be inventoried can indicate that the number of Internet of Things devices to be inventoried is one or more without indicating the specific number, or can indicate the specific number of Internet of Things devices to be inventoried.
[0373] Optionally, when the inventory business type includes the quantity of Internet of Things devices to be inventoried, the reader determines the target random access mode to be a two-step contention-based random access mode. In the first message of the target random access, a truncated device identifier corresponding to the Internet of Things device to be inventoried is carried, which is used to indicate the Internet of Things device group to which the Internet of Things device to be inventoried belongs.
[0374] 1.3, random access type indication information, used to indicate the target random access mode used by the inventory business.
[0375] The information refers to that a core network / APP function / third-party server and the like entity directly issues a random access type indication information, which is used to indicate the type of the target random access mode applicable to the inventory request.
[0376] As long as the inventory information includes the random access type indication information (which can also include one or more of the information in 1.1, 1.2, 1.4, 1.5), the reader can determine, according to the random access type indication information, that the target random access mode used by the inventory business adopts one of the four-step competition-based random access mode, the two-step competition-based random access mode, and the non-competition-based random access mode, and then determines the random access mode indicated by the random access type indication information as the target random access mode for random access.
[0377] 1.4, device identification information of the Internet of Things device to be inventoried, used to indicate the Internet of Things device to be inventoried.
[0378] The Internet of Things device to be inventoried is the Internet of Things device that needs to be inventoried in the current inventory request. The core network device / APP function / third-party server and the like entity can issue an inventory request to the reader, and the inventory request includes inventory information. Through the device identification information of the Internet of Things device to be inventoried in the inventory information, the Internet of Things device that needs to be inventoried in the current inventory request can be determined.
[0379] After receiving the device identification information sent by the core network device / APP function / third-party server and the like entity, the reader can send it to the Internet of Things device. If the device identification of the Internet of Things device matches the device identification information of the Internet of Things device to be inventoried, it indicates that the Internet of Things device is the Internet of Things device to be inventoried.
[0380] Optionally, the device identification information of the Internet of Things device to be inventoried includes at least one of the following:
[0381] The device identification of the Internet of Things device to be inventoried is used to identify the Internet of Things device to be inventoried.
[0382] The device identification list of the Internet of Things device to be inventoried is used to indicate the device identification of the Internet of Things device to be inventoried.
[0383] The device group identification of the Internet of Things device to be inventoried is used to indicate the Internet of Things device group to which the Internet of Things device to be inventoried belongs.
[0384] The memory information is used to indicate the storage location corresponding to the device identification of the Internet of Things device to be inventoried.
[0385] The truncated device identifier corresponding to the to-be-inventoried Internet of Things device, used to indicate the Internet of Things device group to which the to-be-inventoried Internet of Things device belongs.
[0386] The introduction of each item of information included in the device identifier information of the to-be-inventoried Internet of Things device can refer to the related introduction of information (a)-(e) in item 2.1 in the following embodiments, which will not be repeated here.
[0387] Optionally, when the device identifier of the to-be-inventoried Internet of Things device is included in the inventory information, the target random access mode is determined to be the non-competition-based random access mode.
[0388] For the scenario of special inventory, the inventory information includes an explicit device identifier, which is used to inventory a specific Internet of Things device. For example, the core network device / APP function / third-party server and the like entity has previously inventoried a certain Internet of Things device A. That is, the core network device / APP function / third-party server and the like entity has the information of the certain Internet of Things device A, such as the device identifier of the Internet of Things device A, the context information of the last reader in which the Internet of Things device A resides, the area information in which the Internet of Things device A is located, and the like. When the core network device / APP function / third-party server and the like entity initiates the inventory only for the Internet of Things device A, the core network device / APP function / third-party server and the like entity determines that the target random access mode is the non-competition-based random access mode, and the inventory information sent by the core network device / APP function / third-party server and the like entity includes the device identifier of the Internet of Things device A, indicating that this inventory is only for the Internet of Things device A. Optionally, the inventory information sent by the core network device / APP function / third-party server and the like entity includes random access type indication information, which is used to indicate that the target random access mode is the non-competition-based random access mode.
[0389] After receiving the inventory information, the reader determines that the target random access mode is the non-competition-based random access mode according to the inventory information. Then, the reader sends a first A-IoT paging message to the Internet of Things device A, and the first A-IoT paging message includes the device identifier of the Internet of Things device A and also includes resource allocation information, which is used to indicate the time-frequency domain resource of the non-competition-based random access mode. After receiving the first A-IoT paging message, the Internet of Things device A identifies that the first A-IoT paging message includes the device identifier of the Internet of Things device A, and determines that this inventory is only for the Internet of Things device A. Therefore, the Internet of Things device A sends a target random access first message, and the target random access first message includes the device identifier of the Internet of Things device A or the target random access first message includes the device identifier of the Internet of Things device A and a random number identifier. In this case, the target random access mode used by the Internet of Things device A is the non-competition-based random access mode.
[0390] 1.5, service type information, used to indicate the service type.
[0391] The reader can determine the service type according to the service type information. The service type may, for example, include inventory service, command service, sensor service, tracking service, and the like. The inventory service type may, for example, include initial inventory (also referred to as public inventory), inventory of Internet of Things device identity, inventory of Internet of Things device quantity, group inventory (group inventory is generally used to inventory a group or a type of Internet of Things device), and the like. The command service type may, for example, include reading, writing, driving, and the like operations on the Internet of Things device.
[0392] S103, the reader sends a first A-IoT paging message.
[0393] The first A-IoT paging message can also be referred to as an initial trigger message, an initial trigger signal, a trigger message, a trigger signal, a paging message, and the like. The first A-IoT paging message is at least used to indicate the target random access mode.
[0394] Optionally, the first A-IoT paging message includes at least one of the following 2.1 to 2.4:
[0395] 2.1, device identity information of the Internet of Things device to be inventoried, used to identify the Internet of Things device to be inventoried.
[0396] Optionally, when the device identity information of the Internet of Things device to be inventoried is not included in the first A-IoT paging message, the first A-IoT paging message is used to page all Internet of Things devices under the reader.
[0397] Optionally, the device identity information of the Internet of Things device to be inventoried includes at least one of the following information (a) to (e):
[0398] (a) device identity of the Internet of Things device to be inventoried, used to identify the Internet of Things device to be inventoried.
[0399] The device identity of the Internet of Things device can be a permanent identity of the Internet of Things device or a temporary identity of the Internet of Things device, and is used to uniquely identify the Internet of Things device in a global range.
[0400] The permanent identity of the Internet of Things device is used to permanently and uniquely identify the Internet of Things device in a global range. The permanent identity may, for example, be an EPC of the Internet of Things device or other possible identities. The embodiments of the present application do not limit the form of the permanent identity of the Internet of Things device. As long as the identity can permanently and uniquely identify the Internet of Things device, it can be regarded as the permanent identity of the Internet of Things device.
[0401] The temporary identifier of the Internet of Things device is used to uniquely identify the Internet of Things device globally within a period of time, and within the period of time, the Internet of Things device can be uniquely determined by the temporary identifier of the Internet of Things device. The form of the temporary identifier of the Internet of Things device is not limited by the embodiments of the application, as long as the identifier can uniquely identify the Internet of Things device within the corresponding period of time.
[0402] The core network device / APP function / third-party server and the like can identify the Internet of Things device to be inventoried by issuing the device identifier of the Internet of Things device to be inventoried. After receiving the device identifier of the Internet of Things device to be inventoried issued by the core network device / APP function / third-party server and the like, the reader issues the device identifier to the Internet of Things device. When the device identifier of the Internet of Things device matches the device identifier of the Internet of Things device to be inventoried issued by the reader, it can be determined that the Internet of Things device belongs to the Internet of Things device to be inventoried.
[0403] (b) The device identifier list of the Internet of Things device to be inventoried, used to indicate the device identifier of the Internet of Things device to be inventoried.
[0404] The device identifier list of the Internet of Things device to be inventoried represents a device identifier list composed of the device identifiers of the Internet of Things device to be inventoried, and is used to uniquely indicate the device identifier of the Internet of Things device to be inventoried.
[0405] The core network device / APP function / third-party server and the like can indicate the device identifier of the Internet of Things device to be inventoried by issuing the device identifier list of the Internet of Things device to be inventoried, and after determining the device identifier of the Internet of Things device to be inventoried based on the device identifier list of the Internet of Things device to be inventoried, the Internet of Things device to be inventoried can be determined.
[0406] Taking the Internet of Things devices including Internet of Things device A (device identifier ID-A), Internet of Things device B (device identifier ID-B), Internet of Things device C (device identifier ID-C), Internet of Things device D (device identifier ID-D), and Internet of Things device E (device identifier ID-E) as an example, wherein the device identifier list 1 is used to indicate the device identifiers of the Internet of Things device A and the Internet of Things device B, and the device identifier list 2 is used to indicate the device identifiers of the Internet of Things device C, the Internet of Things device D, and the Internet of Things device E. If the inventory request sent by the core network device / APP function / third-party server and the like includes the device identifier list 1, according to the device identifier list 1, it can be determined that the device identifiers of the Internet of Things device to be inventoried include ID-A and ID-B, and further, it can be determined that the Internet of Things device to be inventoried includes the Internet of Things device A and the Internet of Things device B.
[0407] The read-write device sends the device identifier list of the IoT device to be inventoried to the IoT device after receiving the device identifier list of the IoT device to be inventoried sent by the core network device, APP function, third-party server or the like. The IoT device can determine the device identifier of the IoT device to be inventoried according to the device identifier list, and when the device identifier of the IoT device matches the device identifier of the IoT device to be inventoried sent by the read-write device, it can be determined that the IoT device belongs to the IoT device to be inventoried.
[0408] (c) The device group identifier of the IoT device to be inventoried, used to indicate the IoT device group to which the IoT device to be inventoried belongs.
[0409] The device group identifier of the IoT device to be inventoried represents the unique identifier of the IoT device group to which the IoT device to be inventoried belongs. According to actual needs, the IoT devices can be divided into different IoT device groups, and each IoT device group includes corresponding IoT devices. An IoT device group identifier can be allocated to each IoT device group to uniquely identify the IoT device group.
[0410] The current inventory service can involve inventorying one IoT device, a group of IoT devices or all IoT devices. A group of IoT devices can be indicated by a corresponding device group identifier. The core network device, APP function, third-party server or the like can indicate the IoT device group to which the IoT device to be inventoried belongs by sending the device group identifier of the IoT device to be inventoried.
[0411] Taking IoT devices including IoT device A, IoT device B, IoT device C, IoT device D and IoT device E as an example, IoT device A, IoT device B and IoT device C belong to the same IoT device group, IoT device group 1, and IoT device D and IoT device E belong to the same IoT device group, IoT device group 2. An IoT device group identifier can be allocated to IoT device group 1, denoted as groupID1, and an IoT device group identifier can be allocated to IoT device group 2, denoted as groupID2. If the inventory request sent by the core network device, APP function, third-party server or the like includes groupID1, the IoT device group 1 can be determined according to groupID1, and then it can be determined that the IoT device to be inventoried includes IoT device A, IoT device B and IoT device C.
[0412] The read-write device sends the device group identifier of the IoT device to be inventoried to the IoT device after receiving the device group identifier of the IoT device to be inventoried sent by the core network device, APP function, third-party server or the like. When the IoT device belongs to the device group indicated by the device group identifier, it can be determined that the IoT device belongs to the IoT device to be inventoried.
[0413] (d) memory information, used to indicate a storage location corresponding to the device identity of the Internet of Things device to be inventoried.
[0414] The memory information may, for example, include a folder in which the device identity of the Internet of Things device to be inventoried is located, may include storage path information of the device identity of the Internet of Things device to be inventoried, and the like. According to the memory information, the storage location corresponding to the device identity of the Internet of Things device to be inventoried can be determined, so that the device identity of the Internet of Things device to be inventoried is read.
[0415] The core network device / APP function / third party server and the like can indicate the storage location corresponding to the device identity of the Internet of Things device to be inventoried by issuing the memory information, and the reader writes the memory information issued by the core network device / APP function / third party server and the like to the Internet of Things device after receiving it. The Internet of Things device reads its own device identity at the corresponding storage location according to the memory information. If the device identity read by the Internet of Things device at the corresponding storage location matches the device identity of the Internet of Things device to be inventoried, it can be determined that the Internet of Things device belongs to the Internet of Things device to be inventoried.
[0416] (e) the truncated device identity corresponding to the Internet of Things device to be inventoried, used to indicate the group of Internet of Things devices to which the Internet of Things device to be inventoried belongs.
[0417] The truncated device identity is part of the device identity. For a certain group of Internet of Things devices, the device identities of the Internet of Things devices in the group have the same part, and the device identities with the same part in the group can be taken as the truncated device identity, which is used to indicate the group of Internet of Things devices.
[0418] For example, the Internet of Things devices produced by a certain Internet of Things device manufacturer have device identities starting with 11111, including Internet of Things device A and Internet of Things device B, wherein the device identity of Internet of Things device A is 111110000, and the device identity of Internet of Things device B is 111110101. Internet of Things device A and Internet of Things device B belong to the same group of Internet of Things devices, which can be indicated by the truncated device identity 11111.
[0419] The current inventory business can involve inventorying one Internet of Things device, a group of Internet of Things devices, or all Internet of Things devices. Among them, a group of Internet of Things devices can be indicated by the corresponding truncated device identity. The core network device / APP function / third party server and the like can indicate the group of Internet of Things devices to which the Internet of Things device to be inventoried belongs by issuing the truncated device identity corresponding to the Internet of Things device to be inventoried.
[0420] The reader sends the truncated device identifier corresponding to the to-be-inventory IoT device issued by the core network device / APP function / third-party server to the IoT device. When the device identifier of the IoT device matches the truncated device identifier corresponding to the to-be-inventory IoT device, it can be determined that the IoT device belongs to the to-be-inventory IoT device.
[0421] 2.2, resource allocation information, used for indicating time domain resource and / or frequency domain resource of sending the first message of target random access.
[0422] The first message of target random access is the first message transmitted when random access is performed in the target random access mode. The time domain resource of the first message of target random access indicates when the first message of target random access is sent, and the frequency domain resource of the first message of target random access indicates the frequency domain in which the first message of target random access is sent. The resource allocation information can indicate the time domain resource and / or frequency domain resource of sending the first message of target random access in the contention-based random access mode, wherein the contention-based random access mode can include a two-step contention-based random access mode, or a four-step contention-based random access mode. The resource allocation information can also indicate the time domain resource and / or frequency domain resource of sending the first message of target random access in the non-contention-based random access mode.
[0423] For the contention-based random access mode, the resource allocation information can optionally include an access slot range value Q, which is used to control the window value of the sending slot of the IoT device to the reader. When the Q value is indicated in the resource allocation information, the window of the sending slot is [0, 2 Q -1]. After the reader sends the first A-IoT paging message to the IoT device, the slot counter in the IoT device starts to decrease from a certain random value, wherein the random number is a value randomly selected by the IoT device from the window of the sending slot [0, 2 Q -1]. When the slot counter slot=0, it is the time domain resource of the IoT device sending the first message of target random access.
[0424] Optionally, the resource allocation information indicates the frequency point and the frequency domain offset, and the frequency domain resource of sending the first message of target random access can be determined according to the frequency point and the frequency domain offset.
[0425] For the non-contention-based random access mode, the resource allocation information explicitly indicates the specific time-frequency domain resource allocated for a specific IoT device, i.e., the time domain resource and the frequency domain resource of sending the first message of target random access in the non-contention-based random access mode.
[0426] After determining the time domain resource and / or the frequency domain resource of the target random access first message, the IoT device can send the target random access first message on the corresponding time domain resource and / or the frequency domain resource.
[0427] 2.3, random access type indication information, used to indicate the target random access mode used by the inventory service.
[0428] The random access type indication information indicates that the target random access mode used by the inventory service adopts one of the following random access modes: a four-step contention-based random access mode, a two-step contention-based random access mode, and a non-contention-based random access mode.
[0429] In the above embodiments, the implementation scheme of determining the target random access mode by the reader according to the inventory information is introduced. After the reader determines the target random access mode, the reader can indicate the target random access mode by sending the random access type indication information to the IoT device. After the IoT device obtains the random access type indication information, the random access mode indicated by the random access type indication information is determined as the target random access mode.
[0430] For example, when the number of IoT devices to be inventoried is greater than or equal to the first threshold, the reader determines the target random access mode as the four-step contention-based random access mode. The reader can send the random access type indication information to the IoT device, indicating that the target random access mode used by the inventory service is the four-step contention-based random access mode. Further, the IoT device can use the four-step contention-based random access mode for random access.
[0431] For example, when the number of IoT devices to be inventoried is less than the first threshold, the reader determines the target random access mode as the two-step contention-based random access mode. The reader can send the random access type indication information to the IoT device, indicating that the target random access mode used by the inventory service is the two-step contention-based random access mode. Further, the IoT device can use the two-step contention-based random access mode for random access.
[0432] For example, when the inventory service type is the number of inventoried IoT devices, the reader determines the target random access mode as the two-step contention-based random access mode. The reader can send the random access type indication information to the IoT device, indicating that the target random access mode used by the inventory service is the two-step contention-based random access mode. Further, the IoT device can use the two-step contention-based random access mode for random access.
[0433] For example, when the inventory information includes the device identifier of the Internet of Things device to be inventoried, the reader determines that the target random access mode is a non-contention-based random access mode. The reader can send random access type indication information to the Internet of Things device, indicating that the target random access mode used by the inventory service is a non-contention-based random access mode. Further, the Internet of Things device can use the non-contention-based random access mode for random access.
[0434] For example, when the inventory information includes random access type indication information (i.e., after the core network device / APP function / third-party server, etc. entity determines the target random access mode, the random access type indication information is indicated to the reader), the reader determines the random access mode indicated by the random access type indication information as the target random access mode, and sends the random access type indication information to the Internet of Things device, indicating the target random access mode used by the inventory service. Further, the Internet of Things device can use the target random access mode for random access.
[0435] 2.4, the type indication information of the first random access message, used to indicate that the target random access first message includes a random number identifier and / or a device identifier of the Internet of Things device.
[0436] In the above embodiment, the implementation scheme of the reader determining the target random access mode according to the inventory information is introduced. After the reader determines the target random access mode, the reader can send the type indication information of the first random access message to the Internet of Things device, indicating that the target random access first message includes information when the Internet of Things device sends the target random access first message. After the Internet of Things device obtains the type indication information of the first random access message, it can determine the target random access mode, and send the target random access first message based on the type indication information of the first random access message.
[0437] For example, when the number of Internet of Things devices to be inventoried is greater than or equal to the first threshold, the reader determines that the target random access mode is a four-step contention-based random access mode. The reader can send the type indication information of the first random access message to the Internet of Things device, indicating that the target random access first message includes a random number identifier. Further, the Internet of Things device can determine that the target random access mode is a four-step contention-based random access mode according to the type indication information of the first random access message, and perform random access.
[0438] For example, when the number of the Internet of Things devices to be inventoried is less than the first threshold value, the reader determines that the target random access mode is the two-step contention-based random access mode. The reader can send type indication information of the first random access message to the Internet of Things device, indicating that the device identifier of the Internet of Things device is included in the target random access first message (and can also include a random number identifier). Further, the Internet of Things device can determine that the target random access mode is the two-step contention-based random access mode according to the type indication information of the first random access message, and perform random access.
[0439] For example, when the inventory business type is the number of Internet of Things devices to be inventoried, the reader determines that the target random access mode is the two-step contention-based random access mode. The reader can send type indication information of the first random access message to the Internet of Things device, indicating that the device identifier of the Internet of Things device is included in the target random access first message (and can also include a random number identifier). Further, the Internet of Things device can determine that the target random access mode is the two-step contention-based random access mode according to the type indication information of the first random access message, and perform random access.
[0440] For example, when the inventory information includes the device identifier of the Internet of Things device to be inventoried, the reader determines that the target random access mode is the non-contention-based random access mode. The reader can send type indication information of the first random access message to the Internet of Things device, indicating that the device identifier of the Internet of Things device is included in the target random access first message (and can also include a random number identifier). Further, the Internet of Things device can determine that the target random access mode is the non-contention-based random access mode according to the type indication information of the first random access message, and perform random access.
[0441] For example, when the inventory information includes random access type indication information (i.e., after the core network device / APP function / third-party server entity determines the target random access mode, the random access type indication information is indicated to the reader), the reader determines the random access mode indicated by the random access type indication information as the target random access mode, and sends type indication information of the first random access message to the Internet of Things device, indicating that the random number identifier and / or the device identifier of the Internet of Things device are included in the target random access first message. The Internet of Things device can determine the target random access mode used by the inventory business according to the type indication information of the first random access message. Further, the Internet of Things device can use the target random access mode to perform random access.
[0442] S104, the Internet of Things device determines the target random access mode according to the first A-IoT paging message.
[0443] In a possible implementation, the IoT device can determine the target random access manner according to the random access type indication information carried in the first A-IoT paging message (may also carry one or more of 2.1, 2.2, 2.4 information), that is, the IoT device determines the random access manner indicated by the random access type indication information as the target random access manner.
[0444] In a possible implementation, the IoT device can determine the target random access manner according to the random access first message type indication information carried in the first A-IoT paging message (may also carry one or more of 2.1, 2.2, 2.3 information).
[0445] Optionally, when the random access first message type indication information indicates that the target random access first message includes a random number identifier, or when the random access first message type indication information indicates that Msg1 is sent, the target random access manner is a four-step contention-based random access manner. The IoT device can send the target random access first message, and the target random access first message includes a random number identifier, which is used to identify the IoT device.
[0446] When the random access first message type indication information indicates that the target random access first message includes a device identifier of the IoT device, or the random access first message type indication information indicates that the target random access first message includes a device identifier of the IoT device and a random number identifier, or the random access first message type indication information indicates that Msg A is sent, the target random access manner is a two-step contention-based random access manner. The IoT device can send the target random access first message, and the target random access first message includes the device identifier of the IoT device, or the target random access first message includes the device identifier of the IoT device and a random number identifier, which is used to identify the IoT device.
[0447] The scheme of the embodiment of the present application is that after the core network device / APP function / third-party server issues the inventory information, the reader determines the target random access mode according to the inventory information, and indicates the target random access mode through the first A-IoT paging message, and the Internet of Things device uses the target random access mode indicated by the first A-IoT paging message to perform random access. In the case of a large collision probability, the random access mode based on four-step competition is used for random access, which can reduce the resource waste of the first message of the target random access. In the case of a small collision probability, the random access mode based on two-step competition is used for random access, which can reduce the signaling overhead in the random access process, and the random access based on non-competition is used for the inventory of a specific Internet of Things device. For different scenarios, a suitable random access mode can be selected to realize the random access of the Internet of Things device, thereby improving the efficiency of random access.
[0448] In the above embodiment, the implementation scheme of the reader determining the target random access mode according to the inventory information issued by the core network device / APP function / third-party server is introduced. Another implementation scheme of determining the target random access mode will be introduced below.
[0449] In a possible implementation, the reader can send a second A-IoT paging message to the Internet of Things device, and the Internet of Things device determines the target random access mode according to the second A-IoT paging message. The implementation will be introduced below.
[0450] The reader sends a second A-IoT paging message, and the second A-IoT paging message includes signal strength threshold information, which is used to indicate a second threshold value for determining the target random access mode.
[0451] Correspondingly, the Internet of Things device receives the second A-IoT paging message and measures the signal strength value of the second A-IoT paging message, so as to determine the target random access mode according to the signal strength value of the second A-IoT paging message and the second threshold value.
[0452] Optionally, the measured signal strength value of the second A-IoT paging message is related to the transmission power of the second A-IoT paging message, and therefore the transmission power of the carrier signal is a pre-set value.
[0453] Optionally, when the signal strength value of the second A-IoT paging message is greater than or equal to the second threshold value, the target random access mode is determined to be the random access mode based on two-step competition.
[0454] Or,
[0455] When the signal strength value of the second A-IoT paging message is less than the second threshold value, it is determined that the target random access mode is the random access mode based on four-step contention.
[0456] In the embodiments of the present application, the signal strength can be the following measurement quantities: Received Signal Strength Indication (RSSI), Reference Signal Receiving Power (RSRP), and Reference Signal Receiving Quality (RSRQ). Correspondingly, the signal strength threshold information includes at least one of the following:
[0457] RSSI threshold information, used to indicate an RSSI threshold value;
[0458] RSRP threshold information, used to indicate an RSRP threshold value;
[0459] RSRQ threshold information, used to indicate an RSRQ threshold value;
[0460] The second threshold value includes at least one of the RSSI threshold value, the RSRP threshold value, and the RSRQ threshold value.
[0461] If the signal strength threshold information includes the RSSI threshold information, after the Internet of Things device receives the second A-IoT paging message, the RSSI value of the second A-IoT paging message can be measured, and the RSSI value of the second A-IoT paging message is compared with the RSSI threshold value. When the RSSI value of the second A-IoT paging message is greater than or equal to the RSSI threshold value, it is determined that the target random access mode is the random access mode based on two-step contention; when the RSSI value of the second A-IoT paging message is less than the RSSI threshold value, it is determined that the target random access mode is the random access mode based on four-step contention.
[0462] If the signal strength threshold information includes the RSRP threshold information, after the Internet of Things device receives the second A-IoT paging message, the RSRP value of the second A-IoT paging message can be measured, and the RSRP value of the second A-IoT paging message is compared with the RSRP threshold value. When the RSRP value of the second A-IoT paging message is greater than or equal to the RSRP threshold value, it is determined that the target random access mode is the random access mode based on two-step contention; when the RSRP value of the second A-IoT paging message is less than the RSRP threshold value, it is determined that the target random access mode is the random access mode based on four-step contention.
[0463] If the signal strength threshold information includes RSRQ threshold information, after the IoT device receives the second A-IoT paging message, the IoT device can measure the RSRQ value of the second A-IoT paging message, and compare the RSRQ value of the second A-IoT paging message with the RSRQ threshold value. When the RSRQ value of the second A-IoT paging message is greater than or equal to the RSRQ threshold value, it is determined that the target random access mode is the two-step contention-based random access mode; when the RSRQ value of the second A-IoT paging message is less than the RSRQ threshold value, it is determined that the target random access mode is the four-step contention-based random access mode.
[0464] If the signal strength threshold information includes at least two of the RSSI threshold information, the RSRP threshold information, and the RSRQ threshold information, one possible implementation is that when each signal strength value of the second A-IoT paging message is greater than or equal to the corresponding signal strength threshold value, it is determined that the target random access mode is the two-step contention-based random access mode; when at least one of the signal strength values of the second A-IoT paging message is less than the corresponding signal strength threshold value, it is determined that the target random access mode is the four-step contention-based random access mode.
[0465] For example, the signal strength threshold information includes the RSSI threshold information and the RSRP threshold information, when the RSSI value of the second A-IoT paging message is greater than or equal to the RSSI threshold value, and the RSRP value of the second A-IoT paging message is greater than or equal to the RSRP threshold value, it is determined that the target random access mode is the two-step contention-based random access mode; when the RSSI value of the second A-IoT paging message is less than the RSSI threshold value, and / or, the RSRP value of the second A-IoT paging message is less than the RSRP threshold value, it is determined that the target random access mode is the four-step contention-based random access mode.
[0466] If the signal strength threshold information includes at least two of the RSSI threshold information, the RSRP threshold information, and the RSRQ threshold information, one possible implementation is that when each signal strength value of the second A-IoT paging message is less than the corresponding signal strength threshold value, it is determined that the target random access mode is the four-step contention-based random access mode; when at least one of the signal strength values of the second A-IoT paging message is greater than or equal to the corresponding signal strength threshold value, it is determined that the target random access mode is the two-step contention-based random access mode.
[0467] For example, the signal strength threshold information includes RSSI threshold information and RSRP threshold information, when the RSSI value of the second A-IoT paging message is greater than or equal to the RSSI threshold value, and / or the RSRP value of the second A-IoT paging message is greater than or equal to the RSRP threshold value, the target random access mode is determined as the two-step contention-based random access mode; when the RSSI value of the second A-IoT paging message is less than the RSSI threshold value, and the RSRP value of the second A-IoT paging message is less than the RSRP threshold value, the target random access mode is determined as the four-step contention-based random access mode.
[0468] The scheme of the embodiments of the present application can determine the appropriate target random access mode according to the size of the signal strength value of the second A-IoT paging message by measuring the signal strength value of the second A-IoT paging message, and perform random access. When the signal strength value of the second A-IoT paging message is greater than or equal to the second threshold value, it indicates that the channel condition is good, at this time the probability of successful sending of the random access request message is larger, therefore the two-step contention-based random access mode can be directly selected, which can save the signaling overhead in the random access process, and the probability of successful random access is also larger. When the signal strength value of the second A-IoT paging message is less than the second threshold value, it indicates that the channel condition is poor, at this time the probability of successful sending of the random access request message is lower, therefore the four-step contention-based random access mode can be selected, and the probability of successful random access is improved by using the contention conflict resolution method.
[0469] In the above embodiments, the implementation scheme of determining the target random access mode in the case of existing A-IoT paging message (i.e. non-active uplink service) is introduced, and the implementation scheme of determining the target random access mode when the Internet of Things device initiates active uplink service will be introduced below.
[0470] In a possible implementation, when the Internet of Things device initiates active uplink service, the target random access mode is the two-step contention-based random access mode.
[0471] When the Internet of Things device initiates active uplink service, there is no target random access first message (such as the first A-IoT paging message and the second A-IoT paging message in the above embodiments). The Internet of Things device defaults to using the two-step contention-based random access mode for random access, which reduces the resource size occupied by the target random access first message, and also speeds up the random access process.
[0472] In the above embodiments, the implementation scheme of determining the target random access mode is introduced in detail, and the implementation scheme of determining the target random access mode will be summarized and introduced below.
[0473] The device for determining the target random access mode in the embodiments of the present application can include a core network device, an APP function, a third-party server, and the like (hereinafter, the core network device is taken as an example to represent the core network device, the APP function, the third-party server, and the like), can include a reader, and can include an Internet of Things device.
[0474] In an implementation, the core network device determines the target random access mode, and indicates the determined target random access mode to the reader through inventory information. For example, when inventorying a specific Internet of Things device, the core network device determines a non-contention-based random access mode as the target random access mode, and then sends the inventory information to the reader, where the inventory information includes random access type indication information indicating that the target random access mode is the non-contention-based random access mode. After receiving the random access type indication information, the reader can determine that the target random access mode is the non-contention-based random access mode.
[0475] In an implementation, the reader determines the target random access mode. For example, the reader can determine the target random access mode according to the number of Internet of Things devices to be inventoried, the type of inventorying service, and the like, and the specific implementation process can be referred to the related description of the above embodiments, which will not be described herein. Then, the reader indicates the target random access mode to the Internet of Things device through the first A-IoT paging message.
[0476] The reader indicates the target random access mode to the Internet of Things device, and in an implementation, the target random access mode is indicated through random access type indication information, and in an implementation, the target random access mode is indicated through type indication information of the first random access message, and the specific implementation can be referred to the related description of the above embodiments.
[0477] In an implementation, the Internet of Things device determines the target random access mode. For example, the reader sends the second A-IoT paging message to the Internet of Things device, carrying signal strength threshold information, the Internet of Things device measures the second A-IoT paging message to obtain a signal strength value of the second A-IoT paging message, compares the signal strength value with the second threshold indicated by the signal strength threshold information, and determines the target random access mode according to the comparison result.
[0478] In an implementation, for the case that the Internet of Things device initiates an active uplink service, the Internet of Things device and the reader both determine that the target random access mode is the two-step contention-based random access mode.
[0479] In the above embodiments, how to determine the target random access mode is introduced. After the target random access mode is determined, the Internet of Things device uses the target random access mode for random access, and the four-step contention-based random access mode, the two-step contention-based random access mode, and the non-contention-based random access mode will be introduced in combination with the accompanying drawings.
[0480] Firstly, the implementation scheme of the random access mode based on four-step contention is introduced in combination with FIG. 11.
[0481] FIG. 11 is a flowchart of the random access mode based on four-step contention provided by the embodiment of the present application, as shown in FIG. 11, which includes the following steps.
[0482] S111, the reader sends a target random access message 0.
[0483] The step of sending the target random access message 0 by the reader to the Internet of Things device is an optional step. When the Internet of Things device initiates the active uplink service, the step of sending the target random access message 0 by the reader is not performed.
[0484] The target random access message 0 can also be referred to as Msg0, an initial trigger signal, an initial trigger message, trigger information, a trigger message, an A-IoT paging message (for example, the first A-IoT paging message or the second A-IoT paging message in the above embodiment), and the like, which is not limited in the embodiment of the present application.
[0485] The subsequent reader can continue to issue the target random access message 0, and the target random access message 0 can include a Query command, a QueryAdjust command, a QueryRep command, and an access indication message. When the Internet of Things device receives the target random access message 0, if the device identifier information of the Internet of Things device to be inventoried in the target random access message 0 matches the device identifier of the Internet of Things device, the time slot counter of the Internet of Things device starts to decrease, and when it decreases to 0, the Internet of Things device obtains a sending opportunity.
[0486] S112, the Internet of Things device sends a target random access message 1.
[0487] The target random access message 1 can also be referred to as the first message, message 1, Msg1, and the like, which is not limited in the embodiment of the present application.
[0488] The Internet of Things device sends the target random access message 1 at the sending opportunity, and correspondingly, the reader receives the target random access message 1.
[0489] The target random access message 1 includes a random number identifier, and the random number identifier is used to identify the Internet of Things device.
[0490] Optionally, the random number identifier can be randomly generated by the Internet of Things device, or can be generated according to the device identifier of the Internet of Things device. For example, it can be obtained by performing corresponding processing on the truncated device identifier corresponding to the Internet of Things device, and the processing can be, for example, hash processing or other possible processing manners, which are not limited in the embodiment of the present application.
[0491] Embodiments of the present application do not limit the length of the random number identifier, and the length of the random number identifier can be set according to actual needs, for example, can be set to 16 bits, 24 bits, etc. Alternatively, the random number identifier can be a 16-bit random number, denoted as RN16. The Internet of Things device sends RN16 to the reader / writer through the first message of target random access, for accessing the reader / writer.
[0492] The function of the Internet of Things device sending RN16 is to enable the reader / writer to detect as soon as possible whether RN16 has collided, and if so, to start a new round of inventory process. Since RN16 has only 16 bits, which is much smaller than the size of the device identifier of the Internet of Things device (for example, the device identifier of the Internet of Things device includes 96 bits), compared with the case of sending the device identifier of the Internet of Things device, it occupies more resources of the first message of target random access, and the reader / writer will not know that a collision has occurred until it receives the 96-bit device identifier of the Internet of Things device, resulting in a large waste of resources. By carrying RN16 in the first message of target random access, the reader / writer can quickly determine whether other Internet of Things devices have sent the same RN16, thereby determining whether a collision exists.
[0493] S113, the reader / writer sends the second message of target random access.
[0494] If the reader / writer receives the first message of target random access and successfully acquires the random number identifier in the first message of target random access, the reader / writer will send the second message of target random access (for example, an ACK message) to the Internet of Things device.
[0495] The second message of target random access can also be referred to as the second message, message 2, Msg2, etc., and embodiments of the present application do not limit this.
[0496] The second message of target random access includes the random number identifier, and the second message of target random access is used to respond to the first message of target random access.
[0497] The second message of target random access is used for collision resolution in the random access process. Specifically, if the Internet of Things device receives the second message of target random access and the second message of target random access carries the random number identifier sent by the Internet of Things device, the Internet of Things device considers that it has successfully accessed the reader / writer, and the Internet of Things device will send the third message of target access to the reader / writer.
[0498] S114, the Internet of Things device sends the third message of target random access.
[0499] The third message of target random access can also be referred to as the third message, message 3, Msg3, etc., and embodiments of the present application do not limit this.
[0500] If the IoT device receives the target random access second message and the target random access second message carries the random number identifier sent by the IoT device, the IoT device considers that it has successfully accessed the reader, and the IoT device sends the target access third message to the reader.
[0501] The target access third message carries the device identifier of the IoT device, where the device identifier of the IoT device can be a permanent identifier or a temporary identifier, for example, an EPC of the IoT device, and the like, which is not limited in the embodiments of the present application.
[0502] In S115, the reader sends a target random access fourth message.
[0503] The target random access fourth message can also be referred to as the fourth message, message 4, Msg4, and the like, which is not limited in the embodiments of the present application.
[0504] The step of sending the target random access fourth message by the reader is an optional step. After receiving the target random access third message, the reader can send the target random access fourth message for ACK feedback or subsequent data transmission, and the target random access fourth message is used to respond to the target random access third message to confirm whether the third message is successfully transmitted.
[0505] The implementation scheme of the random access method based on two-step competition will be introduced below in combination with FIG. 12.
[0506] FIG. 12 is a flowchart of the random access method based on two-step competition provided by the embodiments of the present application, as shown in FIG. 12, which includes the following steps.
[0507] In S121, the reader sends a target random access zeroth message.
[0508] The implementation process of S121 can refer to the implementation scheme of S111 in the above embodiments, which is not described herein again.
[0509] In S122, the IoT device sends a target random access first message.
[0510] The target random access first message can also be referred to as the first message, message 1, Msg1, and the like, which is not limited in the embodiments of the present application.
[0511] The IoT device sends the target random access first message at a sending time, and correspondingly, the reader receives the target random access first message.
[0512] The device ID of the IoT device is included in the first target random access message, or the device ID of the IoT device and a random number identifier are included in the first target random access message, and the random number identifier is used to identify the IoT device. Optionally, the random number identifier can be a 16-bit random number, denoted as RN16. The IoT device sends the device ID of the IoT device to the reader by sending the first target random access message, for accessing the reader.
[0513] In the random access mode based on four-step contention, the RN16 is carried in the first target random access message, so that the reader can detect whether a collision occurs as soon as possible. However, when the number of IoT devices to be inventoried is small, the collision probability is small, and therefore the device ID of the IoT device can be directly carried in the first target random access message, thereby reducing the signaling overhead of the random access process.
[0514] S123, the reader sends a second target random access message.
[0515] After successfully identifying the device ID of the IoT device, the reader sends a second target random access message. The second target random access message can be an ACK message, a NACK message, a response, or subsequent data transmission. The second target random access message indicates that the IoT device has successfully accessed the reader, that is, the random access process is successful.
[0516] The implementation scheme of the random access mode based on non-contention will be described below in combination with FIG. 13.
[0517] FIG. 13 is a flowchart of the random access mode based on non-contention provided by the embodiments of the present application, as shown in FIG. 13, which includes the following steps.
[0518] S131, the reader sends a zeroth target random access message.
[0519] The zeroth target random access message can also be referred to as Msg0, an initial trigger signal, an initial trigger message, trigger information, a trigger message, an A-IoT paging message (for example, the first A-IoT paging message or the second A-IoT paging message in the above embodiments), and the like, which is not limited in the embodiments of the present application.
[0520] The device ID of the IoT device can be directly carried in the zeroth target random access message, indicating that the inventory business is only performed on the IoT device.
[0521] S132, the IoT device sends a first target random access message.
[0522] The target random access first message can also be referred to as a first message, message 1, Msg1, and the like, and embodiments of the present application do not limit the same.
[0523] The target random access first message is sent by the Internet of Things device at a sending opportunity, and correspondingly, the target random access first message is received by the reader-writer.
[0524] The target random access first message includes the device identifier of the Internet of Things device, or the target random access first message includes the device identifier of the Internet of Things device and a random number identifier, and the random number identifier is used to identify the Internet of Things device.
[0525] Optionally, the random number identifier can be randomly generated by the Internet of Things device, or can be generated according to the device identifier of the Internet of Things device. For example, it can be obtained by performing corresponding processing on the truncated device identifier corresponding to the Internet of Things device, and the processing can be, for example, hash processing, or other possible processing manners, and embodiments of the present application do not limit the same.
[0526] Embodiments of the present application do not limit the length of the random number identifier, and the length of the random number identifier can be set according to actual needs, for example, it can be set to 16 bits, 24 bits, and the like. For example, the random number identifier can be a 16-bit random number, denoted as RN16. The Internet of Things device sends the device identifier of the Internet of Things device to the reader-writer by sending the target random access first message, for accessing the reader-writer.
[0527] S133, the reader-writer sends a target random access second message.
[0528] After identifying that the target random access first message carries the device identifier of the Internet of Things device, the reader-writer sends a target random access second message, which can be an ACK feedback or subsequent data transmission. The target random access second message indicates that the Internet of Things device successfully accesses the reader-writer, that is, the random access process is successful.
[0529] In the above embodiments, how to select a suitable target random access mode in different situations is introduced, and the target random access mode is one of a four-step contention-based random access mode, a two-step contention-based random access mode, and a non-contention-based random access mode.
[0530] In one possible implementation, if the target random access mode is a two-step contention-based random access mode, and the random access process fails, the Internet of Things device uses a four-step contention-based random access mode for random access. For example, the random access process can fail when no feedback information is received within a period of time after the target random access first message is sent, or a NACK command is received, or a backoff indication is received, and the like.
[0531] For example, when the number of the Internet of Things devices to be inventoried is less than the first threshold value, the random access is performed by using the random access mode based on two-step contention first, and if the random access fails, the random access is performed by using the random access mode based on four-step contention.
[0532] For example, when the inventory service type is the number of the Internet of Things devices to be inventoried, the random access is performed by using the random access mode based on two-step contention first, and if the random access fails, the random access is performed by using the random access mode based on four-step contention.
[0533] For example, when the Internet of Things device initiates the active uplink service, the random access is performed by using the random access mode based on two-step contention first, and if the random access fails, the random access is performed by using the random access mode based on four-step contention.
[0534] In summary, the scheme of the embodiment of the present application can select a suitable target random access mode according to different scenarios, so that the Internet of Things device uses the target random access mode to perform random access, and the efficiency of the random access of the Internet of Things device is improved.
[0535] FIG. 14 is a structural schematic diagram of a random access apparatus provided by an embodiment of the present application. As shown in FIG. 14, the random access apparatus 140 includes:
[0536] A first determining module 141 is configured to determine a target random access mode, the target random access mode being one of a random access mode based on four-step contention, a random access mode based on two-step contention, and a random access mode based on non-contention.
[0537] A first transceiving module 142 is configured to receive a first message of target random access, the first message of target random access being used for access.
[0538] In a possible implementation, the first determining module 141 is specifically configured to:
[0539] receive inventory information, the inventory information being used for indicating the Internet of Things devices to be inventoried;
[0540] determine the target random access mode according to the inventory information.
[0541] In a possible implementation, the inventory information includes at least one of the following:
[0542] number information of the Internet of Things devices to be inventoried, used for indicating the number of the Internet of Things devices to be inventoried;
[0543] random access type indication information, used for indicating the target random access mode used by the inventory service;
[0544] Inventory business type information, used to indicate an inventory business type, the inventory business type comprising at least one of the following: initial inventory, special inventory, inventory Internet of Things device identifier, inventory Internet of Things device quantity;
[0545] Device identifier information of the Internet of Things device to be inventoried, used to indicate the Internet of Things device to be inventoried;
[0546] Business type information, used to indicate a business type.
[0547] In a possible implementation, the first determining module 141 is specifically configured to perform at least one of the following:
[0548] When the quantity of the Internet of Things device to be inventoried is greater than or equal to the first threshold value, the target random access manner is determined to be a four-step contention-based random access manner;
[0549] When the quantity of the Internet of Things device to be inventoried is less than the first threshold value, the target random access manner is determined to be a two-step contention-based random access manner;
[0550] When the inventory business type is inventory Internet of Things device quantity, the target random access manner is determined to be a two-step contention-based random access manner;
[0551] When the inventory information comprises the device identifier of the Internet of Things device to be inventoried, the target random access manner is determined to be a non-contention-based random access manner.
[0552] In a possible implementation, the first transceiver module 142 is further configured to:
[0553] Send a first A-IoT paging message, the first A-IoT paging message being used to indicate the target random access manner.
[0554] In a possible implementation, the first A-IoT paging message comprises at least one of the following:
[0555] Device identifier information of the Internet of Things device to be inventoried, used to identify the Internet of Things device to be inventoried;
[0556] Resource allocation information, used to indicate time domain resources and / or frequency domain resources for sending a target random access first message, the target random access first message being a first message transmitted when random access is performed in the target random access manner;
[0557] Random access type indication information, used to indicate the target random access manner used by the inventory business;
[0558] Type indication information of the random access first message, used to indicate that the target random access first message comprises random number identifier and / or device identifier of the Internet of Things device.
[0559] In a possible implementation, the device identification information comprises at least one of the following:
[0560] a device identifier of the Internet of Things device to be inventoried, used to identify the Internet of Things device to be inventoried;
[0561] a list of device identifiers of the Internet of Things device to be inventoried, used to indicate the device identifiers of the Internet of Things device to be inventoried;
[0562] a device group identifier of the Internet of Things device to be inventoried, used to indicate an Internet of Things device group to which the Internet of Things device to be inventoried belongs;
[0563] memory information, used to indicate a storage location corresponding to the device identifier of the Internet of Things device to be inventoried;
[0564] a truncated device identifier corresponding to the Internet of Things device to be inventoried, used to indicate an Internet of Things device group to which the Internet of Things device to be inventoried belongs.
[0565] In a possible implementation, when the Internet of Things device initiates the active access procedure, the target random access manner is a two-step contention-based random access manner.
[0566] In a possible implementation, the first transceiver module 142 is further configured to:
[0567] send a second A-IoT paging message, wherein the second A-IoT paging message comprises signal strength threshold information, and the signal strength threshold information is used to indicate a second threshold value, and the second threshold value is used to determine the target random access manner.
[0568] In a possible implementation, the signal strength threshold information comprises at least one of the following:
[0569] RSSI threshold information, used to indicate an RSSI threshold value;
[0570] RSRP threshold information, used to indicate an RSRP threshold value;
[0571] RSRQ threshold information, used to indicate an RSRQ threshold value;
[0572] The second threshold value comprises at least one of the RSSI threshold value, the RSRP threshold value, and the RSRQ threshold value.
[0573] In a possible implementation, when the target random access manner is a four-step contention-based random access manner, the target random access first message comprises a random number identifier, the random number identifier is used to identify the Internet of Things device, and the first transceiver module 142 is further configured to:
[0574] sending a target random access second message, the target random access second message being used for responding to the target random access first message;
[0575] receiving a target random access third message, the target random access third message including the device identifier of the IoT device.
[0576] In a possible implementation, the first transceiver module 142 is further configured to:
[0577] sending a target random access fourth message, the target random access fourth message being used for responding to the target random access third message.
[0578] In a possible implementation, when the target random access manner is a two-step contention-based random access manner, the target random access first message includes the device identifier of the IoT device, or the target random access first message includes the device identifier of the IoT device and a random number identifier, the random number identifier being used for identifying the IoT device, and the first transceiver module 142 is further configured to:
[0579] sending a target random access second message, the target random access second message being used for responding to the target random access first message.
[0580] In a possible implementation, when the target random access manner is a non-contention-based random access manner, the target random access first message includes the device identifier of the IoT device, or the target random access first message includes the device identifier of the IoT device and a random number identifier, the random number identifier being used for identifying the IoT device, and the first transceiver module 142 is further configured to:
[0581] sending a target random access second message, the target random access second message being used for responding to the target random access first message.
[0582] The random access apparatus provided by the embodiments of the present application is used for executing the method embodiments, and has similar implementation principles and technical effects, which will not be repeated here.
[0583] The random access apparatus shown in the embodiments of the present application can be a chip, a chip module, a hardware module, a processor, etc. Of course, the random access apparatus can be in other forms, which are not limited specifically herein.
[0584] FIG. 15 is a structure schematic diagram of a random access apparatus provided by the embodiments of the present application, as shown in FIG. 15, the random access apparatus 150 includes:
[0585] The second determining module 151 is configured to determine a target random access mode, the target random access mode being one of a four-step contention-based random access mode, a two-step contention-based random access mode, and a non-contention-based random access mode.
[0586] The second transceiver module 152 is configured to send a target random access first message according to the target random access mode, the target random access first message being used for access.
[0587] In a possible implementation, the second determining module 151 is specifically configured to:
[0588] receive a first A-IoT paging message, the first A-IoT paging message being used for indicating the target random access mode;
[0589] determine the target random access mode according to the first A-IoT paging message.
[0590] In a possible implementation, the first A-IoT paging message includes at least one of the following:
[0591] device identification information of the to-be-inventoried IoT device, the device identification information being used for identifying the to-be-inventoried IoT device;
[0592] resource allocation information, the resource allocation information being used for indicating time domain resources and / or frequency domain resources for sending the target random access first message, the target random access first message being a first message transmitted when random access is performed in the target random access mode;
[0593] random access type indication information, the random access type indication information being used for indicating the target random access mode used by the inventory service;
[0594] type indication information of the random access first message, the type indication information being used for indicating that the target random access first message includes a random number identifier and / or device identification of the IoT device.
[0595] In a possible implementation, the device identification information includes at least one of the following:
[0596] device identification of the to-be-inventoried IoT device, the device identification being used for identifying the to-be-inventoried IoT device;
[0597] a device identification list of the to-be-inventoried IoT device, the device identification list being used for indicating device identification of the to-be-inventoried IoT device;
[0598] device group identification of the to-be-inventoried IoT device, the device group identification being used for indicating an IoT device group to which the to-be-inventoried IoT device belongs;
[0599] memory information, the memory information being used for indicating a storage location corresponding to the device identification of the to-be-inventoried IoT device;
[0600] The truncated device identifier corresponding to the Internet of Things device to be inventoried, used to indicate the Internet of Things device group to which the Internet of Things device to be inventoried belongs.
[0601] In a possible implementation, the second determining module 151 is specifically configured to:
[0602] The random access type indicated by the random access type indication information is determined as the target random access mode.
[0603] In a possible implementation,
[0604] When the type indication information of the first message indicates that the random number identifier is included in the target random access first message, the target random access mode is a four-step contention-based random access mode;
[0605] When the type indication information of the first message indicates that the device identifier of the Internet of Things device, or the device identifier of the Internet of Things device and the random number identifier are included in the target random access first message, the target random access mode is a two-step contention-based random access mode.
[0606] In a possible implementation, when the Internet of Things device initiates the active uplink service, the target random access mode is a two-step contention-based random access mode.
[0607] In a possible implementation, the second determining module 151 is specifically configured to:
[0608] The second A-IoT paging message is received, and the second A-IoT paging message includes signal strength threshold information, and the signal strength threshold information is used to indicate the second threshold;
[0609] The signal strength value of the second A-IoT paging message is measured;
[0610] According to the signal strength value of the second A-IoT paging message and the second threshold, the target random access mode is determined.
[0611] In a possible implementation, the signal strength threshold information includes at least one of the following:
[0612] RSSI threshold information, used to indicate an RSSI threshold;
[0613] RSRP threshold information, used to indicate an RSRP threshold;
[0614] RSRQ threshold information, used to indicate an RSRQ threshold;
[0615] The second threshold includes at least one of the RSSI threshold, the RSRP threshold, and the RSRQ threshold.
[0616] In a possible implementation, the second determining module 151 is specifically configured to:
[0617] when the signal strength value of the second A-IoT paging message is greater than or equal to the second threshold value, determining that the target random access manner is a two-step contention-based random access manner;
[0618] or,
[0619] when the signal strength value of the second A-IoT paging message is less than the second threshold value, determining that the target random access manner is a four-step contention-based random access manner.
[0620] In a possible implementation, when the target random access manner is the four-step contention-based random access manner, the target random access first message includes a random number identifier, the random number identifier is used to identify the Internet of Things device, and the second transceiver 152 is further configured to:
[0621] receive a target random access second message, the target random access second message being used to respond to the target random access first message;
[0622] send a target random access third message, the target random access third message including a device identifier of the Internet of Things device.
[0623] In a possible implementation, the second transceiver 152 is further configured to:
[0624] receive a target random access fourth message, the target random access fourth message being used to respond to the target random access third message.
[0625] In a possible implementation, when the target random access manner is the two-step contention-based random access manner, the target random access first message includes the device identifier of the Internet of Things device, or the target random access first message includes the device identifier of the Internet of Things device and the random number identifier, the random number identifier being used to identify the Internet of Things device, and the second transceiver 152 is further configured to:
[0626] receive a target random access second message, the target random access second message being used to respond to the target random access first message.
[0627] In a possible implementation, when the target random access manner is the non-contention-based random access manner, the target random access first message includes the device identifier of the Internet of Things device, or the target random access first message includes the device identifier of the Internet of Things device and the random number identifier, the random number identifier being used to identify the Internet of Things device, and the second transceiver 152 is further configured to:
[0628] receiving a target random access second message, the target random access second message being used for responding to the target random access first message.
[0629] In a possible implementation, when the target random access manner is a two-step contention-based random access manner, and the random access procedure fails, the second transceiver 152 is further configured to:
[0630] performing random access using a four-step contention-based random access manner.
[0631] The random access apparatus provided in the embodiments of the present application is used for executing the method embodiments, and has similar implementation principles and technical effects, which will not be repeated here.
[0632] The random access apparatus shown in the embodiments of the present application can be a chip, a chip module, a hardware module, a processor, or the like. Of course, the random access apparatus can have other forms, which are not limited in the embodiments of the present application.
[0633] FIG. 16 is a structural schematic diagram of a random access apparatus provided in the embodiments of the present application, as shown in FIG. 16, the random access apparatus 160 includes:
[0634] The sending module 161 is configured to send inventory information, the inventory information being used for indicating inventory Internet of Things devices.
[0635] In a possible implementation, the inventory information includes at least one of the following:
[0636] The number information of the Internet of Things devices to be inventoried, used for indicating the number of the Internet of Things devices to be inventoried;
[0637] The random access type indication information, used for indicating a target random access manner used by the inventory service;
[0638] The inventory service type information, used for indicating an inventory service type, the inventory service type including at least one of the following: initial inventory, special inventory, inventory Internet of Things device identifier, inventory Internet of Things device number;
[0639] The device identifier information of the Internet of Things devices to be inventoried, used for indicating the Internet of Things devices to be inventoried;
[0640] The service type information, used for indicating a service type.
[0641] The random access apparatus provided in the embodiments of the present application is used for executing the method embodiments, and has similar implementation principles and technical effects, which will not be repeated here.
[0642] The random access apparatus shown in the embodiments of the present application can be a chip, a chip module, a hardware module, a processor, etc. Of course, the random access apparatus can be in other forms, and the embodiments of the present application do not make a specific limitation in this regard.
[0643] FIG. 17 is a structural schematic diagram of a random access apparatus provided by the embodiments of the present application. As shown in FIG. 17, the random access apparatus includes a memory 1701, a processor 1702, and a transceiver 1703.
[0644] The memory 1701 is configured to store program instructions.
[0645] The processor 1702 is configured to execute the program instructions stored in the memory, so that the random access apparatus performs the method steps performed by the reader or the Internet of Things device.
[0646] The transceiver 1703 can include a transmitter and / or a receiver. The transmitter can also be referred to as a sender, a transmitter, a transmission port, a transmission interface, or the like. The receiver can also be referred to as a receiver, a receiving port, a receiving interface, or the like. Exemplarily, the memory 1701, the processor 1702, and the transceiver 1703 are connected to each other through a bus 1704.
[0647] All or part of the steps of the above-mentioned method embodiments can be completed by program instruction-related hardware. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes a read-only memory (ROM), a RAM, a flash memory, a hard disk, a solid state disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof.
[0648] The embodiments of the present application provide a computer readable storage medium, and the computer readable storage medium stores computer execution instructions. When the computer execution instructions are executed by a processor, the computer execution instructions are used to implement the method steps performed by the reader or the Internet of Things device in the above-mentioned method embodiments.
[0649] The embodiments of the present application also provide a computer program product, which includes a computer program. When the computer program is executed by a processor, the computer program can implement the method steps performed by the reader or the Internet of Things device in the above-mentioned method embodiments.
[0650] The embodiments of the present application also provide a chip, and the chip stores a computer program. When the computer program is executed by the chip, the computer program implements the method steps performed by the reader or the Internet of Things device in the above-mentioned method embodiments.
[0651] The embodiment of the present application further provides a chip module, and the chip module stores a computer program. When the computer program is executed by the chip module, the method steps executed by the reader or the Internet of Things device in the method embodiment are implemented.
[0652] These computer program instructions can also be stored in a computer readable memory that can direct the computer or other programmable data processing devices to work in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including instruction devices, which implement the functions specified in one or more flows of the flow chart and / or one or more blocks of the block diagram.
[0653] These computer program instructions can also be loaded into the computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more flows of the flow chart and / or one or more blocks of the block diagram.
[0654] As for each module / unit included in each device / product described in the above embodiments, it can be a software module / unit, or a hardware module / unit, or part of it is a software module / unit and part of it is a hardware module / unit. For example, for each device / product applied to or integrated into a chip, each module / unit included therein can be realized by hardware such as a circuit, or at least part of the modules / units can be realized by a software program running on a processor integrated in the chip, and the remaining (if any) part of the modules / units can be realized by hardware such as a circuit; for each device / product applied to or integrated into a chip module, each module / unit included therein can be realized by hardware such as a circuit, and different modules / units can be located in the same component (such as a chip, a circuit module, etc.) or different components of the chip module, or at least part of the modules / units can be realized by a software program running on a processor integrated in the chip module, and the remaining (if any) part of the modules / units can be realized by hardware such as a circuit; for each device / product applied to or integrated into a reader / Internet of Things device, each module / unit included therein can be realized by hardware such as a circuit, and different modules / units can be located in the same component (such as a chip, a circuit module, etc.) or different components of the reader / Internet of Things device, or at least part of the modules / units can be realized by a software program running on a processor integrated in the reader / Internet of Things device, and the remaining (if any) part of the modules / units can be realized by hardware such as a circuit.
[0655] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other manners. For example, the described device embodiments are merely schematic. For example, the division of the units is only a logical function division. There can be another division manner for the actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between different units, or the among different units, can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.
[0656] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0657] In addition, each functional unit in the various embodiments of the present application can be integrated into a processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be implemented in the form of hardware, or in the form of a software functional unit.
[0658] Those of ordinary skill in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by a program instruction related to hardware. The aforementioned computer program can be stored in a computer readable storage medium. When the computer program is executed by a processor, the steps of the method embodiments described above are implemented; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, and various media that can store program codes.
[0659] Finally, it should be noted that: the above embodiments are merely used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the above embodiments, or make equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A random access method, characterized in that, include: The target random access method is determined, which is one of the following: a four-step contention-based random access method, a two-step contention-based random access method, or a non-contention-based random access method; Receive the first message for random access to the target, which is used to perform access.
2. The method according to claim 1, characterized in that, The method for determining the target random access includes: Receive inventory information, which is used to instruct the inventory of IoT devices; Based on the inventory information, the target random access method is determined.
3. The method according to claim 2, characterized in that, The inventory information includes at least one of the following: Information on the number of IoT devices to be inventoried, used to indicate the number of IoT devices to be inventoried; Random access type indication information is used to indicate the target random access method used by the inventory service; Inventory business type information is used to indicate the inventory business type, which includes at least one of the following: initial inventory, dedicated inventory, inventory IoT device identifier, and inventory IoT device quantity; Device identification information of the IoT devices to be inventoried, used to indicate the IoT devices to be inventoried; Business type information, used to indicate the business type.
4. The method according to claim 3, characterized in that, Determining the target random access method based on the inventory information includes at least one of the following: When the number of IoT devices to be inventoried is greater than or equal to the first threshold, the target random access method is determined to be the four-step competition-based random access method. When the number of IoT devices to be inventoried is less than the first threshold, the target random access method is determined to be the two-step competition-based random access method. When the inventory service type is the number of inventory IoT devices, the target random access method is determined to be the random access method based on two-step competition; When the inventory information includes the device identifier of the IoT device to be inventoried, the target random access method is determined to be the non-contention-based random access method.
5. The method according to claim 3 or 4, characterized in that, The method further includes: Send a first A-IoT paging message, which is used to indicate the target random access method.
6. The method according to claim 5, characterized in that, The first A-IoT paging message includes at least one of the following: Device identification information of the IoT devices to be inventoried, used to identify the IoT devices to be inventoried; Resource allocation information is used to indicate the time-domain resources and / or frequency-domain resources for sending the first message of the target random access, wherein the first message of the target random access is the first message transmitted when random access is performed using the target random access method; Random access type indication information is used to indicate the target random access method used by the inventory service; The type indication information of the first random access message is used to indicate that the first random access message of the target includes a random number identifier and / or the device identifier of the Internet of Things device.
7. The method according to claim 6, characterized in that, The device identification information includes at least one of the following: The device identifier of the IoT device to be inventoried is used to identify the IoT device to be inventoried. The list of device identifiers for IoT devices to be inventoried is used to indicate the device identifiers of the IoT devices to be inventoried. The device group identifier of the IoT device to be inventoried is used to indicate the IoT device group to which the IoT device to be inventoried belongs. Memory information is used to indicate the storage location corresponding to the device identifier of the IoT device to be inventoried; The truncated device identifier corresponding to the IoT device to be inventoried is used to indicate the IoT device group to which the IoT device to be inventoried belongs.
8. The method according to claim 1, characterized in that, When an IoT device initiates a proactive uplink service, the target random access method is the random access method based on two-step competition.
9. The method according to any one of claims 1-8, characterized in that, When the target random access method is the four-step competition-based random access method, the first message of the target random access includes a random number identifier, which is used to identify the IoT device. The method further includes: Send a second message for random access to the target, which is used in response to the first message for random access to the target. Receive the third message of target random access, wherein the third message of target random access includes the device identifier of the Internet of Things device.
10. The method according to claim 9, characterized in that, The method further includes: Send the fourth message for target random access, which is used in response to the third message for target random access.
11. The method according to any one of claims 1-8, characterized in that, When the target random access method is the two-step contention-based random access method or the non-contention-based random access method, the first message of the target random access includes the device identifier of the IoT device; or, the first message of the target random access includes the device identifier of the IoT device and a random number identifier, wherein the random number identifier is used to identify the IoT device. The method further includes: Send a second message for random access to the target, which is used in response to the first message for random access to the target.
12. A random access method, characterized in that, include: The target random access method is determined, which is one of the following: a four-step contention-based random access method, a two-step contention-based random access method, or a non-contention-based access method; According to the target random access method, a target random access first message is sent, which is used to perform access.
13. The method according to claim 12, characterized in that, The method for determining the target random access includes: Receive a first A-IoT paging message, the first A-IoT paging message being used to indicate the target random access method; The target random access method is determined based on the first A-IoT paging message.
14. The method according to claim 13, characterized in that, The first A-IoT paging message includes at least one of the following: Device identification information of IoT devices to be inventoried, used to identify the IoT devices to be inventoried; Resource allocation information is used to indicate the time-domain resources and / or frequency-domain resources for sending the first message of the target random access, wherein the first message of the target random access is the first message transmitted when random access is performed using the target random access method; Random access type indication information is used to indicate the target random access method used by the inventory service; The type indication information of the first random access message is used to indicate that the first random access message of the target includes a random number identifier and / or the device identifier of the Internet of Things device.
15. The method according to claim 14, characterized in that, The device identification information includes at least one of the following: The device identifier of the IoT device to be inventoried is used to identify the IoT device to be inventoried. The list of device identifiers for IoT devices to be inventoried is used to indicate the device identifiers of the IoT devices to be inventoried. The device group identifier of the IoT device to be inventoried is used to indicate the IoT device group to which the IoT device to be inventoried belongs. Memory information is used to indicate the storage location corresponding to the device identifier of the IoT device to be inventoried; The truncated device identifier corresponding to the IoT device to be inventoried is used to indicate the IoT device group to which the IoT device to be inventoried belongs.
16. The method according to claim 14, characterized in that, Determining the target random access method based on the first A-IoT paging message includes: The random access method indicated by the random access type indication information is determined as the target random access method.
17. The method according to claim 14, characterized in that, When the type indication information of the first random access message indicates that the first target random access message includes a random number identifier, the target random access method is the four-step competition-based random access method; When the type indication information of the first random access message indicates that the target can access the first message at any time, which includes the device identifier of the IoT device, or includes the device identifier of the IoT device and a random number identifier, the target random access method is the random access method based on two-step competition.
18. The method according to claim 12, characterized in that, When an IoT device initiates a proactive uplink service, the target random access method is the random access method based on two-step competition.
19. The method according to any one of claims 12-18, characterized in that, When the target random access method is the four-step competition-based random access method, the first message of the target random access includes a random number identifier, which is used to identify the IoT device. The method further includes: Receive the second message of target random access, which is used to respond to the first message of target random access; Send a third message for random access to the target, wherein the third message for random access to the target includes the device identifier of the IoT device.
20. The method according to claim 19, characterized in that, The method further includes: The fourth message of target random access is received, which is used to respond to the third message of target random access.
21. The method according to any one of claims 12-18, characterized in that, When the target random access method is the two-step contention-based random access method or the non-contention-based random access method, the first message of the target random access includes the device identifier of the IoT device; or, the first message of the target random access includes the device identifier of the IoT device and a random number identifier, wherein the random number identifier is used to identify the IoT device. The method further includes: The second message for random access to the target is received, which is used in response to the first message for random access to the target.
22. The method according to any one of claims 12-21, characterized in that, When the target random access method is the two-step contention-based random access method, and the random access process fails, the method further includes: Random access is performed using the four-step contention-based random access method.
23. A random access method, characterized in that, include: Send inventory information, which is used to instruct the inventory of IoT devices.
24. The method according to claim 23, characterized in that, The inventory information includes at least one of the following: Information on the number of IoT devices to be inventoried, used to indicate the number of IoT devices to be inventoried; Random access type indication information is used to indicate the target random access method used by the inventory service; Inventory business type information is used to indicate the inventory business type, which includes at least one of the following: initial inventory, dedicated inventory, inventory IoT device identifier, and inventory IoT device quantity; Device identification information of the IoT devices to be inventoried, used to indicate the IoT devices to be inventoried; Business type information, used to indicate the business type.
25. A random access device, characterized in that, include: The first determining module is used to determine the target random access method, which is one of the following: a random access method based on a four-step contention resolution, a random access method based on a two-step contention resolution, or a random access method based on non-contention. The first transceiver module is used to receive the first message of random access from the target, which is used to perform access.
26. A random access device, characterized in that, include: The second determining module is used to determine the target random access method, which is one of the following: a random access method based on a four-step contention resolution, a random access method based on a two-step contention resolution, or a random access method based on non-contention. The second transceiver module is used to send a target random access first message according to the target random access method, the target random access first message being used for access.
27. A random access device, characterized in that, include: The sending module is used to send inventory information, which is used to instruct the inventory of IoT devices.
28. A random access device, characterized in that, include: Memory and processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-11, or the method as described in any one of claims 12-22, or the method as described in any one of claims 23-24.
29. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method according to any one of claims 1-11, or to implement the method according to any one of claims 12-22, or to implement the method according to any one of claims 23-24.
Citation Information
Patent Citations
Random access method and device
CN111565473A
Random access method, user terminal and base station
CN112738904A
Random access method and device
CN113519201A
Methods and apparatuses for random access procedure in medium access control layer
US20210144769A1
Communication method and apparatus
WO2024109931A1