Inventory method and apparatus, device, readable storage medium, and computer program product
By receiving network device instructions and determining terminal priorities, the inventory process of RFID terminals is optimized, solving the problem of low inventory efficiency caused by equal probability of terminals selecting time slots in the existing technology, and achieving a more efficient inventory process.
Patent Information
- Application Number
- PCT/CN2025/084926
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-26
- Filing Date
- 2025-03-26
- Publication Date
- 2025-10-02
AI Technical Summary
In the existing RFID terminal inventory process, all terminals have equal probability of selecting time slots to reply, resulting in a lack of flexibility in the inventory mechanism and an inability to effectively guarantee inventory efficiency.
By receiving the indication information sent by the network device and combining it with the terminal's mobility information and distance information, the system determines the priority, selects the reply method based on the priority and mapping relationship, adjusts the time slot counter and fallback strategy, and optimizes the inventory process.
It improves the flexibility and efficiency of the inventory process and ensures that the terminal can efficiently complete the inventory task in different environments.
Smart Images

Figure CN2025084926_02102025_PF_FP_ABST
Abstract
Description
Inventory method, device, apparatus, readable storage medium, and computer program product
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure claims priority to Chinese Patent Application No. 202410347920.4 filed in China on March 26, 2024, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present disclosure relates to the field of communication technology, and in particular to an inventory method, apparatus, device, readable storage medium, and computer program product. Background Art
[0004] In the related art Radio Frequency Identification (RFID) terminal inventory process, all participating terminals (or tags) have an equal probability of selecting a time slot to reply, which makes the inventory mechanism lack flexibility and cannot effectively guarantee inventory efficiency. Summary of the Invention
[0005] Embodiments of the present disclosure provide an inventory method, apparatus, device, readable storage medium, and computer program product to ensure inventory efficiency.
[0006] In a first aspect, an embodiment of the present disclosure provides an inventory method, applied to a first terminal, the method comprising:
[0007] receiving a first indication sent by a network device, wherein the first indication is used to indicate information related to a reply method during an inventory process;
[0008] An inventory process is performed according to the first indication.
[0009] Optionally, the method further includes:
[0010] Acquire first information, wherein the first information includes target mobility information of the first terminal and / or a target distance between the first terminal and the network device;
[0011] Determine the priority of the first terminal based on the first information and a first mapping relationship, wherein the first mapping relationship is the relationship between reference information, a threshold of the reference information, priority, and a priority determination method, and the reference information includes mobility information and / or distance.
[0012] Optionally, obtaining the first information includes:
[0013] If the first terminal supports measuring the strength, power, or quality of a received signal, measuring the strength, power, or quality of received signals of N instructions including training sequences sent by the network device to obtain N measurement values, where N is an integer greater than or equal to 1; and obtaining the target mobility information and / or the target distance based on the N measurement values;
[0014] If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification processes, the first terminal obtains part or all of the M signalings sent by the network device in each round of area identification process, and the transmit power of the M signalings increases or decreases, wherein the network device divides the coverage area into M areas, M is an integer greater than or equal to 1, and each signaling includes a round number identifier and a distance identifier; in each round of area identification process, the minimum distance identifier or the maximum distance identifier among the received distance identifiers is recorded; according to the N minimum distance identifiers or the maximum distance identifiers recorded in the N rounds of area identification processes, the target mobility information and / or the target distance is obtained, where N is an integer greater than or equal to 1;
[0015] If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification processes, the first terminal obtains part or all of the L×M signalings sent by the network device in each round of area identification process, wherein the network device divides the coverage area into M areas according to power level and L directions according to beams, M and L are integers greater than or equal to 1, the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, and the area identification vector includes a beam identifier and a distance identifier; in each round of area identification process, the minimum distance identifier or the maximum distance identifier among the received distance identifiers, as well as the beam identifier corresponding to the minimum distance identifier or the maximum distance identifier, is recorded; according to the N minimum distance identifiers or the maximum distance identifiers recorded in the N rounds of area identification processes, and the beam identifier corresponding to the N minimum distance identifiers or the maximum distance identifiers, the target mobility information and / or the target distance are obtained, and N is an integer greater than or equal to 1.
[0016] Optionally, performing an inventory process according to the first instruction includes:
[0017] Determining a reply mode of the first terminal according to the priority of the first terminal and the first indication, wherein the first indication includes a second mapping relationship, the second mapping relationship is a relationship between a priority identifier, Q values of different priorities, and fallback modes of different priorities, the Q value being used to determine an initial count value of a time slot counter of the first terminal of different priorities;
[0018] Generate a random number according to the Q value, and pre-load the random number into a time slot counter;
[0019] The inventory process is performed according to the reply method.
[0020] Optionally, the reply method includes one or more of the following:
[0021] After the collision, the terminal only falls back once and falls back to the time slot corresponding to the next priority level of the first terminal;
[0022] After the collision, fall back to the time slot corresponding to the next priority level of the first terminal, and fall back multiple times;
[0023] After the collision, the terminal randomly falls back to a time slot corresponding to a priority level subsequent to the priority level of the first terminal.
[0024] Optionally, the method further includes:
[0025] A second indication sent by the network device is received, wherein the second indication is used to adjust Q values of different priorities and / or reply modes of different priorities.
[0026] Optionally, the reply mode related information includes whether the current round of inventory process allows rollback and / or the number of rollbacks allowed;
[0027] Executing an inventory process according to the first instruction includes:
[0028] When the value of the timeslot counter is reduced to 0, sending a response message to the network device;
[0029] If no confirmation message from the network device is received or a collision indication from the network device is received, the value of the time slot counter is reset according to the reply mode.
[0030] Optionally, resetting the value of the time slot counter according to the reply mode includes:
[0031] A random number is generated according to the number of time slots remaining in the current round of inventory process, and the random number is used as the value of the time slot counter.
[0032] In a second aspect, an embodiment of the present disclosure provides an inventory method applied to a network device, the method comprising:
[0033] A first indication is sent to the first terminal, wherein the first indication is used to indicate information related to a reply method during the inventory process.
[0034] Optionally, the method further includes:
[0035] A first mapping relationship is sent to the first terminal, wherein the first mapping relationship is used to determine the priority of the first terminal, and the first mapping relationship is the relationship between reference information, a threshold of the reference information, a priority, and a priority determination method, and the reference information includes mobility information and / or distance.
[0036] Optionally, the method further includes one or more of the following:
[0037] Sending N instructions including training sequences to the first terminal, where N is an integer greater than or equal to 1;
[0038] For N rounds of area identification process, M signaling messages are sent to the first terminal in each round of area identification process, and the transmit power of the M signaling messages increases or decreases, wherein the network device divides the coverage area into M areas, M is an integer greater than or equal to 1, each signaling message includes a round number identifier and a distance identifier, and N is an integer greater than or equal to 1;
[0039] For N rounds of area identification process, L×M signalings are sent to the first terminal in each round of area identification process, wherein the network device divides the coverage area into M areas according to the power level, and divides it into L directions according to the beam, M and L are integers greater than or equal to 1, and the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, the area identification vector includes a beam identifier and a distance identifier, and N is an integer greater than or equal to 1.
[0040] Optionally, the method further includes:
[0041] A second indication is sent to the first terminal, wherein the second indication is used to adjust Q values of different priorities and / or reply modes of different priorities.
[0042] In a third aspect, an embodiment of the present disclosure provides an inventory method, applied to a first terminal, the method comprising:
[0043] receiving a third indication sent by a network device, wherein the third indication includes information of a dedicated time slot allocated by the network device to the first terminal according to an inventory priority of the first terminal, the inventory priority of the first terminal being determined according to first information, the first information including target mobility information of the first terminal and / or a target distance between the first terminal and the network device;
[0044] An inventory process is performed according to the third instruction.
[0045] Optionally, performing an inventory process according to the third instruction includes:
[0046] receiving a fourth instruction sent by the network device, wherein the fourth instruction is used to instruct execution of a non-contention inventory;
[0047] During the process of performing the non-contention inventory according to the fourth indication, a response is sent to the network device using the dedicated time slot.
[0048] Optionally, the method further includes:
[0049] If one or more of the following conditions are met, exit the non-competitive inventory execution;
[0050] The conditions include:
[0051] receiving a fifth instruction sent by the network device, wherein the fifth instruction is used to instruct to remove a third terminal from a terminal list, the terminal list is used to store information of terminals participating in non-competitive inventory, and the third terminal is one or more of the first terminals;
[0052] The time during which the instruction sent by the network device is not received is greater than a first preset value.
[0053] Optionally, the method further includes:
[0054] An eighth instruction sent by the network device is received, wherein the eighth instruction is used to instruct to end the non-contention inventory.
[0055] Optionally, the method further includes one or more of the following:
[0056] receiving a sixth indication sent by the network device, and modifying the information of the dedicated time slot according to the sixth indication, wherein the sixth indication is used to indicate the information of the adjusted dedicated time slot;
[0057] Receive a seventh indication sent by the network device, and adjust the timeslot counter according to the seventh indication, wherein the seventh indication is used to indicate an amount by which the timeslot counter is reduced.
[0058] Optionally, the method further includes:
[0059] The third instruction is written into the memory.
[0060] In a fourth aspect, an embodiment of the present disclosure provides an inventory method, applied to a network device, the method comprising:
[0061] determining a first terminal;
[0062] A third indication is sent to the first terminal, wherein the third indication includes information of a dedicated time slot allocated by the network device to the first terminal according to the inventory priority of the first terminal.
[0063] Optionally, determining the first terminal includes:
[0064] Acquiring information of a candidate terminal, wherein the information of the candidate terminal includes mobility information of the candidate terminal and / or a distance between the candidate terminal and the network device;
[0065] The first terminal is determined from the candidate terminals according to the information of the candidate terminals.
[0066] Optionally, determining the first terminal from the candidate terminals according to the information of the candidate terminals includes:
[0067] Determining the category to which the candidate terminal belongs based on the information of the candidate terminal;
[0068] The first terminal is determined according to the category to which the candidate terminals belong, wherein different categories to which the candidate terminals belong respectively have corresponding inventory priorities.
[0069] Optionally, the method further includes:
[0070] sending a fourth instruction to the first terminal, wherein the fourth instruction is used to instruct execution of a non-contention inventory;
[0071] A response sent by the first terminal using the dedicated time slot is received.
[0072] Optionally, the method further includes:
[0073] Update the terminal list;
[0074] The terminal list includes:
[0075] The identity information of the first terminal, the information of the dedicated time slot of the first terminal; or
[0076] The identity information of the first terminal, the priority of the first terminal, and the information of the dedicated time slot of the first terminal.
[0077] Optionally, the update terminal list includes one or more of the following:
[0078] If the network device determines that the second terminal meets the conditions for joining the non-contention inventory, determining target information of the second terminal and adding the target information of the second terminal to the terminal list, wherein the target information includes identity information of the second terminal, priority of the second terminal, and information of the dedicated time slot of the second terminal, or includes identity information of the second terminal and information of the dedicated time slot of the second terminal;
[0079] If one or more of the following conditions are met, information of a third terminal is removed from the terminal list, where the third terminal is one or more terminals in the first terminal, and the conditions include:
[0080] In a round of non-contention inventory, the network device does not receive a response from the third terminal within the dedicated time slot of the third terminal;
[0081] During multiple consecutive rounds of non-contention inventory, the number of times that the network device fails to receive a response from the third terminal within the dedicated time slot of the third terminal is greater than a second preset value;
[0082] The network device determines to remove the information of the third terminal from the terminal list according to a preset policy.
[0083] Optionally, the method further includes one or more of the following:
[0084] sending a fifth instruction to the third terminal, wherein the fifth instruction is used to instruct the third terminal to be removed from a terminal list, the terminal list being used to store information of terminals participating in non-competitive inventory;
[0085] An eighth instruction is sent to the first terminal, wherein the eighth instruction is used to instruct to end the non-contention inventory.
[0086] Optionally, the method further includes one or more of the following:
[0087] Sending a sixth indication to the fourth terminal, where the sixth indication is used to indicate information of the adjusted dedicated time slot;
[0088] In empty time slots, shorten the time interval between sending adjacent clock signals;
[0089] Sending a seventh indication to the fourth terminal, wherein the seventh indication is used to indicate the amount by which the timeslot count is reduced;
[0090] The fourth terminal is one or more terminals in the terminal list.
[0091] In a fifth aspect, an embodiment of the present disclosure provides an inventory device, applied to a first terminal, the inventory device comprising:
[0092] a first receiving module, configured to receive a first indication sent by a network device, wherein the first indication is used to indicate information related to a reply method during an inventory process;
[0093] The first processing module is configured to execute an inventory process according to the first instruction.
[0094] Optionally, the device may further include:
[0095] A first acquiring module, configured to acquire first information, wherein the first information includes target mobility information of the first terminal and / or a target distance between the first terminal and the network device;
[0096] Determine the priority of the first terminal based on the first information and a first mapping relationship, wherein the first mapping relationship is the relationship between reference information, a threshold of the reference information, priority, and a priority determination method, and the reference information includes mobility information and / or distance.
[0097] Optionally, the first acquisition module is further configured to:
[0098] If the first terminal supports measuring the strength, power, or quality of a received signal, measuring the strength, power, or quality of received signals of N instructions including training sequences sent by the network device to obtain N measurement values, where N is an integer greater than or equal to 1; and obtaining the target mobility information and / or the target distance based on the N measurement values;
[0099] If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification processes, the first terminal obtains part or all of the M signalings sent by the network device in each round of area identification process, and the transmit power of the M signalings increases or decreases, wherein the network device divides the coverage area into M areas, M is an integer greater than or equal to 1, and each signaling includes a round number identifier and a distance identifier; in each round of area identification process, the minimum distance identifier or the maximum distance identifier among the received distance identifiers is recorded; according to the N minimum distance identifiers or the maximum distance identifiers recorded in the N rounds of area identification processes, the target mobility information and / or the target distance is obtained, where N is an integer greater than or equal to 1;
[0100] If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification processes, the first terminal obtains part or all of the L×M signalings sent by the network device in each round of area identification process, wherein the network device divides the coverage area into M areas according to power level and L directions according to beams, M and L are integers greater than or equal to 1, the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, and the area identification vector includes a beam identifier and a distance identifier; in each round of area identification process, the minimum distance identifier or the maximum distance identifier among the received distance identifiers, as well as the beam identifier corresponding to the minimum distance identifier or the maximum distance identifier, is recorded; according to the N minimum distance identifiers or the maximum distance identifiers recorded in the N rounds of area identification processes, and the beam identifier corresponding to the N minimum distance identifiers or the maximum distance identifiers, the target mobility information and / or the target distance are obtained, and N is an integer greater than or equal to 1.
[0101] Optionally, the first processing module is further configured to:
[0102] Determining a reply mode of the first terminal according to the priority of the first terminal and the first indication, wherein the first indication includes a second mapping relationship, the second mapping relationship is a relationship between a priority identifier, Q values of different priorities, and fallback modes of different priorities, the Q value being used to determine an initial count value of a time slot counter of the first terminal of different priorities;
[0103] Generate a random number according to the Q value, and pre-load the random number into a time slot counter;
[0104] The inventory process is performed according to the reply method.
[0105] Optionally, the reply method includes one or more of the following:
[0106] After the collision, the terminal only falls back once and falls back to the time slot corresponding to the next priority level of the first terminal;
[0107] After the collision, fall back to the time slot corresponding to the next priority level of the first terminal, and fall back multiple times;
[0108] After the collision, the terminal randomly falls back to a time slot corresponding to a priority level subsequent to the priority level of the first terminal.
[0109] Optionally, the device may further include:
[0110] The second receiving module is used to receive a second indication sent by the network device, wherein the second indication is used to adjust the Q values of different priorities and / or the reply modes of different priorities.
[0111] Optionally, the reply mode related information includes whether the current round of inventory process allows rollback and / or the number of times rollback is allowed; the first processing module is further configured to:
[0112] When the value of the timeslot counter is reduced to 0, sending a response message to the network device;
[0113] If no confirmation message from the network device is received or a collision indication from the network device is received, the value of the time slot counter is reset according to the reply mode.
[0114] Optionally, the first processing module is further configured to:
[0115] A random number is generated according to the number of time slots remaining in the current round of inventory process, and the random number is used as the value of the time slot counter.
[0116] In a sixth aspect, an embodiment of the present disclosure provides an inventory device, applied to a network device, the inventory device comprising:
[0117] The first sending module is configured to send a first instruction to the first terminal, wherein the first instruction is used to indicate information related to a reply method during an inventory process.
[0118] Optionally, the device may further include:
[0119] The second sending module is used to send a first mapping relationship to the first terminal, wherein the first mapping relationship is used to determine the priority of the first terminal, and the first mapping relationship is the relationship between reference information, the threshold of the reference information, the priority, and the priority determination method, and the reference information includes mobility information and / or distance.
[0120] Optionally, the device may further include:
[0121] The third sending module is configured to perform one or more of the following:
[0122] Sending N instructions including training sequences to the first terminal, where N is an integer greater than or equal to 1;
[0123] For N rounds of area identification process, M signaling messages are sent to the first terminal in each round of area identification process, and the transmit power of the M signaling messages increases or decreases, wherein the network device divides the coverage area into M areas, M is an integer greater than or equal to 1, each signaling message includes a round number identifier and a distance identifier, and N is an integer greater than or equal to 1;
[0124] For N rounds of area identification process, L×M signalings are sent to the first terminal in each round of area identification process, wherein the network device divides the coverage area into M areas according to the power level, and divides it into L directions according to the beam, M and L are integers greater than or equal to 1, and the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, the area identification vector includes a beam identifier and a distance identifier, and N is an integer greater than or equal to 1.
[0125] Optionally, the device may further include:
[0126] The fourth sending module is used to send a second indication to the first terminal, wherein the second indication is used to adjust the Q values of different priorities and / or the reply modes of different priorities.
[0127] In a seventh aspect, an embodiment of the present disclosure provides an inventory device, applied to a first terminal, comprising:
[0128] a first receiving module, configured to receive a third indication sent by a network device, wherein the third indication includes information of a dedicated time slot allocated by the network device to the first terminal according to an inventory priority of the first terminal, the inventory priority of the first terminal being determined according to first information, the first information including target mobility information of the first terminal and / or a target distance between the first terminal and the network device;
[0129] The first processing module is configured to execute an inventory process according to the third instruction.
[0130] Optionally, the device may further include:
[0131] The second processing module is configured to write the third indication into the memory.
[0132] Optionally, the device may further include:
[0133] The third processing module is configured to exit the non-competitive inventory if one or more of the following conditions are met:
[0134] The conditions include:
[0135] receiving a fifth instruction sent by the network device, wherein the fifth instruction is used to instruct to remove a third terminal from a terminal list, the terminal list is used to store information of terminals participating in non-competitive inventory, and the third terminal is one or more of the first terminals;
[0136] The time during which the instruction sent by the network device is not received is greater than a first preset value.
[0137] Optionally, the device may further include:
[0138] The second receiving module is configured to receive an eighth instruction sent by the network device, wherein the eighth instruction is used to instruct to end the non-contention inventory.
[0139] Optionally, the device may further include:
[0140] The third receiving module is configured to:
[0141] receiving a sixth indication sent by the network device, and modifying the information of the dedicated time slot according to the sixth indication, wherein the sixth indication is used to indicate the information of the adjusted dedicated time slot;
[0142] Receive a seventh indication sent by the network device, and adjust the timeslot counter according to the seventh indication, wherein the seventh indication is used to indicate an amount by which the timeslot counter is reduced.
[0143] Optionally, the first processing module includes:
[0144] A first receiving submodule is configured to receive a fourth instruction sent by the network device, wherein the fourth instruction is used to instruct execution of a non-contention inventory;
[0145] The first sending submodule is configured to send a response to the network device using the dedicated time slot during the process of performing the non-contention inventory according to the fourth instruction.
[0146] In an eighth aspect, an embodiment of the present disclosure provides an inventory device, applied to a network device, the inventory device comprising:
[0147] A first determining module, configured to determine a first terminal;
[0148] The first sending module is configured to send a third indication to the first terminal, wherein the third indication includes information about a dedicated time slot allocated by the network device to the first terminal according to the inventory priority of the first terminal.
[0149] Optionally, the first determining module may include:
[0150] A first acquisition submodule is configured to acquire information of a candidate terminal, wherein the information of the candidate terminal includes mobility information of the candidate terminal and / or a distance between the candidate terminal and the network device;
[0151] The first determining submodule is configured to determine the first terminal from the candidate terminals according to the information of the candidate terminals.
[0152] Optionally, the first determining submodule is further configured to:
[0153] Determining the category to which the candidate terminal belongs based on the information of the candidate terminal;
[0154] The first terminal is determined according to the category to which the candidate terminals belong, wherein different categories to which the candidate terminals belong respectively have corresponding inventory priorities.
[0155] Optionally, the device may further include:
[0156] A second sending module is configured to send a fourth instruction to the first terminal, wherein the fourth instruction is used to instruct execution of a non-contention inventory;
[0157] A response sent by the first terminal using the dedicated time slot is received.
[0158] Optionally, the device may further include:
[0159] A first processing module is used to update the terminal list;
[0160] The terminal list includes:
[0161] The identity information of the first terminal, the information of the dedicated time slot of the first terminal; or
[0162] The identity information of the first terminal, the priority of the first terminal, and the information of the dedicated time slot of the first terminal.
[0163] Optionally, the first processing module is further configured to perform one or more of the following:
[0164] If the network device determines that the second terminal meets the conditions for joining the non-contention inventory, determining target information of the second terminal and adding the target information of the second terminal to the terminal list, wherein the target information includes identity information of the second terminal, priority of the second terminal, and information of the dedicated time slot of the second terminal, or includes identity information of the second terminal and information of the dedicated time slot of the second terminal;
[0165] If one or more of the following conditions are met, information of a third terminal is removed from the terminal list, where the third terminal is one or more terminals in the first terminal, and the conditions include:
[0166] In a round of non-contention inventory, the network device does not receive a response from the third terminal within the dedicated time slot of the third terminal;
[0167] During multiple consecutive rounds of non-contention inventory, the number of times that the network device fails to receive a response from the third terminal within the dedicated time slot of the third terminal is greater than a second preset value;
[0168] The network device determines to remove the information of the third terminal from the terminal list according to a preset policy.
[0169] Optionally, the device may further include:
[0170] The third sending module is configured to perform one or more of the following:
[0171] sending a fifth instruction to the third terminal, wherein the fifth instruction is used to instruct the third terminal to be removed from a terminal list, the terminal list being used to store information of terminals participating in non-competitive inventory;
[0172] An eighth instruction is sent to the first terminal, wherein the eighth instruction is used to instruct to end the non-contention inventory.
[0173] Optionally, the device may further include:
[0174] The second processing module is configured to:
[0175] Sending a sixth indication to the fourth terminal, where the sixth indication is used to indicate information of the adjusted dedicated time slot;
[0176] In empty time slots, shorten the time interval between sending adjacent clock signals;
[0177] Sending a seventh indication to the fourth terminal, wherein the seventh indication is used to indicate the amount by which the timeslot count is reduced;
[0178] The fourth terminal is one or more terminals in the terminal list.
[0179] In a ninth aspect, an embodiment of the present disclosure provides an inventory device, applied to a first terminal, the inventory device comprising: a processor and a transceiver;
[0180] The transceiver is configured to receive a first indication sent by a network device, wherein the first indication is used to indicate information related to a reply method during an inventory process;
[0181] The processor is configured to execute an inventory process according to the first instruction.
[0182] Optionally, the processor is further configured to:
[0183] Acquire first information, wherein the first information includes target mobility information of the first terminal and / or a target distance between the first terminal and the network device;
[0184] Determine the priority of the first terminal based on the first information and a first mapping relationship, wherein the first mapping relationship is the relationship between reference information, a threshold of the reference information, priority, and a priority determination method, and the reference information includes mobility information and / or distance.
[0185] Optionally, the processor is further configured to:
[0186] If the first terminal supports measuring the strength, power, or quality of a received signal, measuring the strength, power, or quality of received signals of N instructions including training sequences sent by the network device to obtain N measurement values, where N is an integer greater than or equal to 1; and obtaining the target mobility information and / or the target distance based on the N measurement values;
[0187] If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification processes, the first terminal obtains part or all of the M signalings sent by the network device in each round of area identification process, and the transmit power of the M signalings increases or decreases, wherein the network device divides the coverage area into M areas, M is an integer greater than or equal to 1, and each signaling includes a round number identifier and a distance identifier; in each round of area identification process, the minimum distance identifier or the maximum distance identifier among the received distance identifiers is recorded; according to the N minimum distance identifiers or the maximum distance identifiers recorded in the N rounds of area identification processes, the target mobility information and / or the target distance is obtained, where N is an integer greater than or equal to 1;
[0188] If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification processes, the first terminal obtains part or all of the L×M signalings sent by the network device in each round of area identification process, wherein the network device divides the coverage area into M areas according to power level and L directions according to beams, M and L are integers greater than or equal to 1, the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, and the area identification vector includes a beam identifier and a distance identifier; in each round of area identification process, the minimum distance identifier or the maximum distance identifier among the received distance identifiers, as well as the beam identifier corresponding to the minimum distance identifier or the maximum distance identifier, is recorded; according to the N minimum distance identifiers or the maximum distance identifiers recorded in the N rounds of area identification processes, and the beam identifier corresponding to the N minimum distance identifiers or the maximum distance identifiers, the target mobility information and / or the target distance are obtained, and N is an integer greater than or equal to 1.
[0189] Optionally, the processor is further configured to:
[0190] Determining a reply mode of the first terminal according to the priority of the first terminal and the first indication, wherein the first indication includes a second mapping relationship, the second mapping relationship is a relationship between a priority identifier, Q values of different priorities, and fallback modes of different priorities, the Q value being used to determine an initial count value of a time slot counter of the first terminal of different priorities;
[0191] Generate a random number according to the Q value, and pre-load the random number into a time slot counter;
[0192] The inventory process is performed according to the reply method.
[0193] Optionally, the reply method includes one or more of the following:
[0194] After the collision, the terminal only falls back once and falls back to the time slot corresponding to the next priority level of the first terminal;
[0195] After the collision, fall back to the time slot corresponding to the next priority level of the first terminal, and fall back multiple times;
[0196] After the collision, the terminal randomly falls back to a time slot corresponding to a priority level subsequent to the priority level of the first terminal.
[0197] Optionally, the transceiver is further configured to:
[0198] A second indication sent by the network device is received, wherein the second indication is used to adjust Q values of different priorities and / or reply modes of different priorities.
[0199] Optionally, the reply mode related information includes whether the current round of inventory process allows rollback and / or the number of times rollback is allowed; the processor is further configured to:
[0200] When the value of the timeslot counter is reduced to 0, sending a response message to the network device;
[0201] If no confirmation message from the network device is received or a collision indication from the network device is received, the value of the time slot counter is reset according to the reply mode.
[0202] Optionally, the processor is further configured to:
[0203] A random number is generated according to the number of time slots remaining in the current round of inventory process, and the random number is used as the value of the time slot counter.
[0204] In a tenth aspect, an embodiment of the present disclosure provides an inventory device, applied to a network device, the inventory device comprising: a processor and a transceiver;
[0205] The transceiver is configured to send a first indication to the first terminal, wherein the first indication is used to indicate information related to a reply method during an inventory process.
[0206] Optionally, the transceiver is further configured to:
[0207] A first mapping relationship is sent to the first terminal, wherein the first mapping relationship is used to determine the priority of the first terminal, and the first mapping relationship is the relationship between reference information, a threshold of the reference information, a priority, and a priority determination method, and the reference information includes mobility information and / or distance.
[0208] Optionally, the transceiver is further used for one or more of the following:
[0209] Sending N instructions including training sequences to the first terminal, where N is an integer greater than or equal to 1;
[0210] For N rounds of area identification process, M signaling messages are sent to the first terminal in each round of area identification process, and the transmit power of the M signaling messages increases or decreases, wherein the network device divides the coverage area into M areas, M is an integer greater than or equal to 1, each signaling message includes a round number identifier and a distance identifier, and N is an integer greater than or equal to 1;
[0211] For N rounds of area identification process, L×M signalings are sent to the first terminal in each round of area identification process, wherein the network device divides the coverage area into M areas according to the power level, and divides it into L directions according to the beam, M and L are integers greater than or equal to 1, and the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, the area identification vector includes a beam identifier and a distance identifier, and N is an integer greater than or equal to 1.
[0212] Optionally, the transceiver is further configured to:
[0213] A second indication is sent to the first terminal, wherein the second indication is used to adjust Q values of different priorities and / or reply modes of different priorities.
[0214] In an eleventh aspect, an embodiment of the present disclosure provides an inventory device, applied to a first terminal, the inventory device comprising: a processor and a transceiver;
[0215] the transceiver being configured to receive a third indication sent by a network device, wherein the third indication includes information of a dedicated time slot allocated by the network device to the first terminal according to an inventory priority of the first terminal, the inventory priority of the first terminal being determined according to first information, the first information including target mobility information of the first terminal and / or a target distance between the first terminal and the network device;
[0216] The processor is configured to execute an inventory process according to the third instruction.
[0217] Optionally, the processor is further configured to:
[0218] The third instruction is written into the memory.
[0219] Optionally, the processor is further configured to:
[0220] If one or more of the following conditions are met, exit the non-competitive inventory execution;
[0221] The conditions include:
[0222] receiving a fifth instruction sent by the network device, wherein the fifth instruction is used to instruct to remove a third terminal from a terminal list, the terminal list is used to store information of terminals participating in non-competitive inventory, and the third terminal is one or more of the first terminals;
[0223] The time during which the instruction sent by the network device is not received is greater than a first preset value.
[0224] Optionally, the transceiver is further configured to receive an eighth indication sent by the network device, wherein the eighth indication is used to indicate an end of the non-contention inventory.
[0225] Optionally, the transceiver is further used for one or more of the following:
[0226] receiving a sixth indication sent by the network device, and modifying the information of the dedicated time slot according to the sixth indication, wherein the sixth indication is used to indicate the information of the adjusted dedicated time slot;
[0227] Receive a seventh indication sent by the network device, and adjust the timeslot counter according to the seventh indication, wherein the seventh indication is used to indicate an amount by which the timeslot counter is reduced.
[0228] Optionally, the transceiver is further configured to:
[0229] receiving a fourth instruction sent by the network device, wherein the fourth instruction is used to instruct execution of a non-contention inventory;
[0230] During the process of performing the non-contention inventory according to the fourth indication, a response is sent to the network device using the dedicated time slot.
[0231] In a twelfth aspect, an embodiment of the present disclosure provides an inventory device, applied to a network device, the inventory device comprising: a processor and a transceiver;
[0232] The processor is configured to determine a first terminal;
[0233] The transceiver is configured to send a third indication to the first terminal, wherein the third indication includes information of a dedicated time slot allocated by the network device to the first terminal according to the inventory priority of the first terminal.
[0234] Optionally, the processor is further configured to:
[0235] Acquiring information of a candidate terminal, wherein the information of the candidate terminal includes mobility information of the candidate terminal and / or a distance between the candidate terminal and the network device;
[0236] The first terminal is determined from the candidate terminals according to the information of the candidate terminals.
[0237] Optionally, the processor is further configured to:
[0238] Acquiring information of a candidate terminal, wherein the information of the candidate terminal includes mobility information of the candidate terminal and / or a distance between the candidate terminal and the network device;
[0239] The first terminal is determined from the candidate terminals according to the information of the candidate terminals.
[0240] Optionally, the transceiver is further configured to:
[0241] sending a fourth instruction to the first terminal, wherein the fourth instruction is used to instruct execution of a non-contention inventory;
[0242] A response sent by the first terminal using the dedicated time slot is received.
[0243] Optionally, the processor is further configured to:
[0244] Update the terminal list;
[0245] The terminal list includes:
[0246] The identity information of the first terminal, the information of the dedicated time slot of the first terminal; or
[0247] The identity information of the first terminal, the priority of the first terminal, and the information of the dedicated time slot of the first terminal.
[0248] Optionally, the processor is further configured to perform one or more of the following:
[0249] If the network device determines that the second terminal meets the conditions for joining the non-contention inventory, determining target information of the second terminal and adding the target information of the second terminal to the terminal list, wherein the target information includes identity information of the second terminal, priority of the second terminal, and information of the dedicated time slot of the second terminal, or includes identity information of the second terminal and information of the dedicated time slot of the second terminal;
[0250] If one or more of the following conditions are met, information of a third terminal is removed from the terminal list, where the third terminal is one or more terminals in the first terminal, and the conditions include:
[0251] In a round of non-contention inventory, the network device does not receive a response from the third terminal within the dedicated time slot of the third terminal;
[0252] During multiple consecutive rounds of non-contention inventory, the number of times that the network device fails to receive a response from the third terminal within the dedicated time slot of the third terminal is greater than a second preset value;
[0253] The network device determines to remove the information of the third terminal from the terminal list according to a preset policy.
[0254] Optionally, the transceiver is further configured to perform one or more of the following:
[0255] sending a fifth instruction to the third terminal, wherein the fifth instruction is used to instruct the third terminal to be removed from a terminal list, the terminal list being used to store information of terminals participating in non-competitive inventory;
[0256] An eighth instruction is sent to the first terminal, wherein the eighth instruction is used to instruct to end the non-contention inventory.
[0257] Optionally, the transceiver is further used for one or more of the following:
[0258] Sending a sixth indication to the fourth terminal, where the sixth indication is used to indicate information of the adjusted dedicated time slot;
[0259] In empty time slots, shorten the time interval between sending adjacent clock signals;
[0260] Sending a seventh indication to the fourth terminal, wherein the seventh indication is used to indicate the amount by which the timeslot count is reduced;
[0261] The fourth terminal is one or more terminals in the terminal list.
[0262] In a thirteenth aspect, an embodiment of the present disclosure further provides a communication device, comprising: a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor implements the steps in the inventory method as described above when executing the program.
[0263] In a fourteenth aspect, an embodiment of the present disclosure further provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, the steps in the inventory method described above are implemented.
[0264] In a fifteenth aspect, an embodiment of the present disclosure further provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps in the inventory method described above.
[0265] In the embodiment of the present disclosure, the terminal performs the inventory process according to the first instruction of the network device. Since the first instruction includes information related to the reply method during the inventory process, the above embodiment can enhance the flexibility of the inventory and improve the efficiency of the inventory.
[0266] In an embodiment of the present disclosure, the inventory priority of the first terminal can be determined based on the target mobility information of the first terminal and / or the target distance between the first terminal and the network device, thereby determining the information of the dedicated time slot of the first terminal, so that the first terminal can perform inventory processing according to the third indication including the information of the dedicated time slot of the first terminal, thereby enhancing the flexibility of the inventory and improving the efficiency of the inventory. BRIEF DESCRIPTION OF THE DRAWINGS
[0267] FIG1 is a flowchart of an inventory method according to an embodiment of the present disclosure;
[0268] FIG2 is a schematic diagram of area division in an embodiment of the present disclosure;
[0269] FIG3 is a schematic diagram of area division in an embodiment of the present disclosure;
[0270] FIG4 is a second flowchart of the inventory method provided by an embodiment of the present disclosure;
[0271] FIG5 is a third flowchart of the inventory method provided by an embodiment of the present disclosure;
[0272] FIG6 is a fourth flowchart of the inventory method provided by an embodiment of the present disclosure;
[0273] FIG7 is a structural diagram of a storage device according to an embodiment of the present disclosure;
[0274] FIG8 is a second structural diagram of the inventory device provided in an embodiment of the present disclosure;
[0275] FIG9 is a third structural diagram of the inventory device provided in an embodiment of the present disclosure;
[0276] FIG10 is a fourth structural diagram of the inventory device provided in an embodiment of the present disclosure;
[0277] FIG11 is a fifth structural diagram of the inventory device provided in an embodiment of the present disclosure;
[0278] FIG12 is a sixth structural diagram of the inventory device provided in an embodiment of the present disclosure;
[0279] FIG13 is a seventh structural diagram of the inventory device provided in an embodiment of the present disclosure;
[0280] FIG. 14 is an eighth structural diagram of the inventory device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0281] In the embodiments of the present disclosure, the term "and / or" describes the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0282] In the embodiments of the present disclosure, the term "plurality" refers to two or more than two, and other quantifiers are similar thereto.
[0283] The following will be combined with the accompanying drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure and not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0284] In the embodiments of the present disclosure, the following methods can be used to improve inventory efficiency:
[0285] In method 1, the network device configures different response methods for terminals of different priorities, including response time slot intervals and fallback behavior (high-priority terminals respond first and can fall back to the time slot intervals of low-priority terminals if their response time slots conflict). The terminal determines its priority in the inventory process based on its own mobility information and / or the distance between the terminal and the network device (such as a base station), and determines the fallback method based on this priority.
[0286] In the second method, the network device only indicates the terminal's rollback behavior in the current inventory process in the query command, for example, whether rollback is allowed and / or the number of allowed rollbacks. Based on this instruction, if the terminal does not receive feedback from the network device or a collision occurs, it resets the slot counter and performs the inventory process.
[0287] Method 3: Determine the terminal's inventory priority in the inventory process based on the terminal's mobility information and / or the distance between the terminal and a network device (such as a base station). The network device can allocate dedicated time slots to some or all terminals of a certain priority level, allowing these terminals to participate in the non-contention inventory process.
[0288] Among the above methods, one or more methods can also be used in combination. For example, a prioritized inventory can be first performed based on method 2. During the terminal feedback process, the network device can perform some measurements to further verify whether the terminal priority division is correct. Thereafter, terminals with certain priorities (such as low mobility and located in the center of the coverage area) can be added to the non-contention inventory process. The network device can broadcast further prioritization criteria for the remaining terminals and collect the terminal identity information and / or data through the prioritized competitive inventory process.
[0289] The following describes the above-mentioned implementation methods in detail in conjunction with different embodiments. The embodiments of Figures 1 to 4 correspond to the processing of the first terminal and the network device in Methods 1 and 2, respectively; the embodiments of Figures 5 and 6 correspond to the processing of the first terminal and the network device in Method 3, respectively.
[0290] Referring to FIG. 1 , FIG. 1 is a flowchart of an inventory method provided by an embodiment of the present disclosure, which is applied to a first terminal and includes the following steps:
[0291] Step 101: Receive a first indication sent by a network device, wherein the first indication is used to indicate information related to a reply method during an inventory process.
[0292] Among them, the information related to the reply method may include whether fallback is allowed, the number of times fallback is allowed, the priority identifier, the Q value of different priorities (the Q value is used to determine the initial count value of the time slot counter of the first terminal of different priorities), the relationship between the fallback methods of different priorities, etc.
[0293] Optionally, in an embodiment of the present disclosure, the first terminal may determine its own priority and obtain a specific fallback method according to the first indication.
[0294] Specifically, the first terminal may obtain first information, where the first information includes target mobility information of the first terminal and / or a target distance between the first terminal and the network device. Thereafter, the priority of the first terminal may be determined based on the first information and a first mapping relationship, where the first mapping relationship is a relationship between reference information, a threshold of the reference information, a priority, and a priority determination method, where the reference information includes mobility information and / or distance.
[0295] In the embodiments of the present disclosure, the first information may be obtained in different ways according to different capabilities of the first terminal:
[0296] (1) The first terminal supports measuring received signal strength / power / quality:
[0297] If the first terminal supports measuring received signal strength, power, or quality, the first terminal measures the received signal strength, power, or quality of N instructions including training sequences sent by the network device to obtain N measurement values, where N is an integer greater than or equal to 1. The first terminal then obtains the target mobility information and / or the target distance based on the N measurement values. If the first information only includes the target distance, the value of N may be equal to 1; if the first information includes the target mobility information, the value of N is greater than 1.
[0298] In this case, taking the network device as a base station as an example, the base station sends N (N ≥ 2, and N is an integer) instructions containing a training sequence in sequence, and the interval between any two consecutive instructions is T. The first terminal measures the received signal strength / power / quality of the above N instructions, which are recorded as RP1 to RP N The first terminal obtains its own mobility information and / or distance information in the following manner:
[0299] Mobility information of the first terminal itself: where |·| represents the absolute value; or using RP N - RP1 calculation, in which case the positive / negative value of the result can indicate the approximate direction of movement of the first terminal to a certain extent;
[0300] Distance information between the first terminal and the base station: RP N .
[0301] (2) The first terminal does not support measurement:
[0302] In this case, the network device needs to perform N (N ≥ 1, and N is an integer) rounds of "area identification process" in sequence, and the interval between any two consecutive rounds of "area identification process" is T. If the first information only includes the target distance, the value of N can be equal to 1; if the first information includes the target mobility information, the value of N can be greater than 1. A round of "area identification process" can be carried out in any of the following ways:
[0303] 2.1 Network devices identify regions by changing power only:
[0304] If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification process, the first terminal obtains part or all of the M signalings sent by the network device in each round of area identification process, and the sending power of the M signalings increases or decreases, wherein the network device divides the coverage area into M areas, M is an integer greater than or equal to 1, and each signaling includes a round number identifier and a distance identifier; in each round of area identification process, the first terminal records the minimum distance identifier or the maximum distance identifier among the received distance identifiers; based on the minimum distance identifier or the maximum distance identifier, the target mobility information and / or the target distance is obtained.
[0305] For example, taking the network device as a base station, the base station determines the total number M of areas into which the coverage area is divided, and the signaling (S m )’s transmission power p m A possible example is shown in Figure 2. It is assumed that the base stations use increasing p1,...,p M The power delivery instructions S1,...,S M Among them, S m It includes: round number identification (for example, "0" indicates the first round of area identification process; "1" indicates the second round of area identification process, and so on) and distance identification I m (I m is a positive integer). In order to facilitate the first terminal to perform calculation and compare with the threshold, the distance identifiers I1,...,I M Monotonically increasing or decreasing. The monotonically increasing or decreasing distance indicator may be agreed upon by the base station and the first terminal, or may be notified to the first terminal by the base station through an instruction or the like.
[0306] If I1,...,I M Monotonically increasing, the first terminal records the minimum distance identifier received in each round of "area identification process"; if I1,...,I M Monotonically decreasing, the first terminal records the maximum distance identifier received in each round of "area identification process". Without loss of generality, assume that the identifiers recorded by the first terminal at the end of N (N≥2, and N is an integer) rounds are arrive
[0307] based on arrive The first terminal obtains its own mobility information and / or distance information in the following manner:
[0308] Mobility information of the first terminal itself: where |·| represents the absolute value; or use Calculation, where the positive / negative value of the result can indicate the approximate moving direction of the first terminal to a certain extent;
[0309] Distance information between the first terminal and the base station:
[0310] 2.2 Network equipment identifies areas by changing power and beams:
[0311] If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification process, the first terminal obtains part or all of the L×M signalings sent by the network device in each round of area identification process, wherein the network device divides the coverage area into M areas according to power level, and divides L directions according to beams, M and L are integers greater than or equal to 1, and the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, and the area identification vector includes a beam identifier and a distance identifier; in each round of area identification process, the first terminal records the minimum distance identifier or the maximum distance identifier among the received distance identifiers, and the beam identifier corresponding to the minimum distance identifier or the maximum distance identifier; according to the minimum distance identifier or the maximum distance identifier, and the beam identifier corresponding to the minimum distance identifier or the maximum distance identifier, the target mobility information and / or the target distance is obtained.
[0312] For example, taking the network device as a base station, the base station divides the coverage area into L directions according to the beam and into M distance areas according to the power level. The signaling (S l,m ) Transmit power p m A possible example is shown in Figure 3. It is assumed that the base station transmits beams in the lth beam direction with increasing p1,...,p M The power delivery instruction S l,1 ,...,S l,M . Instruction S l,m It includes: round number identification (taking 1 bit as an example, "0" indicates the first round of region identification process; "1" indicates the second round of region identification process...) and region identification vector (B l ,I m )(a two-dimensional vector, B l is the beam identifier, I m is a distance identifier). In order to facilitate the first terminal to perform calculation and compare with the threshold, B1,...,B L Monotonically increasing or decreasing, I1,...,I M Monotonically increasing or decreasing.
[0313] If I1,...,I M Monotonically increasing, the first terminal records the minimum (or maximum) beam identifier B and the minimum distance identifier I received in each round of "area identification process"; if I1,...,I M Monotonically decreasing, the first terminal records the minimum (or maximum) beam identifier B and the maximum distance identifier I received in each round of "area identification process". Without loss of generality, assume that the identifiers recorded by the first terminal in N rounds (N≥2, and N is an integer) are arrive
[0314] Based on V1 to V N , the first terminal obtains its own mobility information and / or distance information in the following manner:
[0315] Mobility information of the first terminal itself: where ||·|| represents the vector's two-norm; or use V N -V1 calculation, the vector obtained at this time can represent the moving direction of the first terminal to a certain extent; in this case, the first terminal needs to further map the direction of the vector to two symbols "+" / "-" based on certain rules, where "+" / "-" represent "inward" / "outward" respectively, ||V N -V1|| reflects the moving speed of the first terminal to a certain extent;
[0316] Distance information between the first terminal and the base station:
[0317] In the above process, the more times the first terminal performs measurements / records the identifier broadcast by the base station, the more accurate the judgment of its own mobility state is.
[0318] In the embodiment of the present disclosure, the first mapping relationship may be sent to the first terminal by the network device, or may be pre-stored in the first terminal.
[0319] For example, the first terminal may monitor the "priority division message" sent by the network device, obtain the priority division method and the corresponding threshold value and record them, wherein the "priority division message" is carried in the system message.
[0320] The payload of "prioritization messages" can be divided into the following three categories based on the indicators considered during the classification process:
[0321] (1) If the network device divides priorities based only on the mobility information of the terminal, the message of the priority division includes: mobility threshold, priority identifier (ID), and threshold status indication corresponding to each priority (i.e., priority indication or priority determination method).
[0322] For example, as shown in Table 1, the payload may include: mobility threshold, priority ID, and indication.
[0323] Table 1
[0324] In Table 1, it is assumed that "0" indicates that the mobility threshold is not higher than the priority 1; "1" indicates that the mobility threshold is higher than the priority 2 (the same applies to the case where "0" indicates higher than and "1" indicates not higher than).
[0325] (2) If the network device performs priority division based on both the mobility information of the terminal and the distance between the terminal and the network device, the priority division message includes: a threshold identifier (threshold ID), a threshold, a priority identifier (priority ID), and a threshold status indication corresponding to the priority (i.e., a priority indication or a priority determination method).
[0326] For example, as shown in Table 2, the payload may include: threshold, priority ID, and indication.
[0327] Table 2
[0328] In Table 2, "Threshold ID" indicates the meaning of the threshold, for example, "0" indicates the mobility threshold; "1" indicates the distance threshold; "Priority ID" is the priority identifier; "Priority Indication" specifically gives the priority division strategy, for example: Indication 1 "00" indicates that the terminal that is not higher than threshold 1 and not higher than threshold 2 corresponds to priority 1.
[0329] It should be noted that Tables 1 and 2 above illustrate examples of the case where mobility / distance in the prioritization message is based only on a single threshold. If mobility / distance requires multiple thresholds, the principles are the same as those shown in Tables 1 and 2. The prioritization message above only shows its payload portion; it can be used as a separate indication message after adding a preamble and / or cyclic redundancy check (CRC) check bits.
[0330] After determining the first information, the first terminal may determine its own priority based on the acquired mobility information and distance information, the threshold in the first mapping relationship, and the priority division method.
[0331] (3) If the network device divides the priorities based only on the distance information of the terminal, the message of the priority division includes: distance threshold, priority ID, and threshold status indication corresponding to each priority (ie, priority indication or priority determination method).
[0332] For example, as shown in Table 3, the payload may include: distance threshold, priority ID, and indication.
[0333] Table 3
[0334] In Table 1, it is assumed that "0" indicates that the distance not higher than the threshold is classified as priority 1; "1" indicates that the distance higher than the threshold is classified as priority 2 (the same applies to the case where "0" indicates higher than and "1" indicates not higher than).
[0335] Step 102: Execute an inventory process according to the first instruction.
[0336] In one implementation, the first terminal may determine the reply method of the first terminal based on the priority of the first terminal and the first indication, wherein the first indication includes a second mapping relationship, and the second mapping relationship is the relationship between the priority identifier, the Q value of different priorities, and the fallback method of different priorities, and the Q value is used to determine the initial count value of the time slot counter of the terminal with different priorities; a random number is generated according to the Q value, and the random number is pre-loaded into the time slot counter; and an inventory process is performed according to the reply method.
[0337] For example, the network device can issue a query command (Query) to initiate a round of inventory. When performing a prioritized inventory, the command may include: a priority ID, Q values for different priorities, and fallback instructions for different priorities. The fallback instruction is used to indicate whether the first terminal of that priority can randomly fall back to the reply time slot interval of the next priority level and attempt to reply again after a conflict in the reply time slot of the current priority level. For the first terminal with the lowest priority, even if its reply conflicts, it cannot randomly fall back. Therefore, for the first terminal with the lowest priority, the network device does not need to send a fallback instruction.
[0338] Among them, a possible implementation of the Query instruction is shown in Table 4, including a priority ID, a corresponding Q value, and a fallback indication.
[0339] Table 4
[0340] It should be noted that the priority number and ID included in the Query instruction must be consistent with the priority number and ID included in the "priority classification message". If they are inconsistent, the first terminal may ignore the Query instruction.
[0341] After receiving the matching Query instruction, the first terminal generates a random number according to the following rules and pre-installs it into the time slot counter:
[0342] The first terminal random number generation interval belonging to priority 1
[0343] The first terminal random number generation interval belonging to priority n
[0344] In addition to the Q value of each priority, the first terminal also needs to record the fallback indication of each priority in the Query instruction, and thereby determine whether it can fall back to the reply time slot interval of the subsequent priority to reply again if it conflicts in the time slot of its own priority.
[0345] Optionally, the first terminal may further store the first indication.
[0346] To support the terminal's fallback, the network device may issue a collision indication after discovering a collision in the identity information and / or data of the first terminal. The fallback method of the first terminal may be based on at least one of the following options:
[0347] After the collision, the terminal only falls back once and falls back to the time slot corresponding to the next priority level of the first terminal;
[0348] After the collision, fall back to the time slot corresponding to the next priority level of the first terminal, and fall back multiple times;
[0349] After the collision, the terminal randomly falls back to a time slot corresponding to a priority level subsequent to the priority level of the first terminal.
[0350] In the above process, the number of times of fallback after collision and the subsequent priority to which the system can fall back (ie, the subsequent priority to which the system falls back, which is a lower priority than the current priority) can be set arbitrarily.
[0351] For example, the way the first terminal falls back may be based on at least one of the following options:
[0352] Option 1: If the network device indicates that it can fall back, it will only fall back once after the collision and fall back to the reply time slot of the next priority. That is, if the first terminal of priority n collides in the reply time slot of this priority (for example: after sending RN16, no acknowledgement (ACK) is received, or after sending Electronic Product Code (EPC) and / or data, a collision indication is received from the network device), then a random number is randomly generated. That is, it falls back to the reply time slot of the first terminal with priority n+1.
[0353] Option 2: If the network device indicates that fallback is possible, the first terminal of that priority level will be automatically downgraded to the first terminal of the next priority level after a collision occurs in the reply time slot of that priority level. For example, assume that both priority levels 1 and 2 allow fallback. If a first terminal of priority 1 collides in the reply time slot of priority 1, it will be automatically downgraded to the first terminal of priority 2. If it collides again in the reply time slot of priority 2, it will be downgraded again to the first terminal of priority 3.
[0354] Option 3: If the network device indicates that a certain priority level can fall back, a terminal that is the first in that priority level will randomly fall back to a reply slot of a subsequent priority level after a collision occurs in its reply slot and attempt to reply again (fall back only once). For example, if there are three priority levels and priority 1 allows fallback, then a terminal that is the first in priority level 1 will randomly fall back to a reply slot of priority 2 or priority 3 after a collision occurs in its reply slot and attempt to reply again.
[0355] In one implementation, the response method-related information includes whether rollback is permitted in the current inventory process and / or the number of rollbacks permitted. The first terminal may send a response message to the network device when the value of the time slot counter reaches 0. If no confirmation message is received from the network device or a collision indication is received from the network device, the time slot counter value may be reset according to the response method. For example, the first terminal may generate a random number based on the number of time slots remaining in the current inventory process and use the random number as the value of the time slot counter.
[0356] For example, the base station only indicates the fallback behavior of the first terminal in this round of inventory process in the Query instruction, whether fallback is allowed and / or the number of times fallback is allowed; when the value of the time slot counter is reduced to 0, the first terminal sends corresponding feedback (for example, RN16) to the base station; when the first terminal fails to receive a confirmation message (for example, RN16 ACK) for the feedback signal subsequently or receives a collision indication after sending the identity information and / or data of the first terminal, the first terminal resets the value of the time slot counter according to the fallback method indicated by the base station, and the reset method is: the first terminal regenerates a random number according to the number of remaining time slots in this round of inventory process as the value of the reset time slot counter.
[0357] The number of remaining time slots in this round of inventory process can be determined as follows:
[0358] According to the Q value in the current round of inventory and the random numbers q0 to q generated by the first terminal in the current round of inventory n (where n represents the number of times the first terminal has been rolled back in this round of inventory), the number of remaining inventory opportunities is determined as
[0359] During the above process, the network device may also modify the Q value and / or fallback indication for each priority level. In this case, the first terminal may receive a second indication sent by the network device, wherein the second indication is used to adjust the Q value and / or the response method for different priorities. The implementation of this second indication may be as shown in Table 4. If only the Q value or the fallback method for different priorities is adjusted, the indication field for the information that does not need to be adjusted may be deleted from Table 4.
[0360] In the above embodiment, the first terminal performs the inventory process according to the first instruction of the network device. Since the first instruction includes information related to the reply method in the inventory process, the above embodiment can enhance the flexibility of the inventory and improve the efficiency of the inventory.
[0361] Referring to FIG4 , FIG4 is a flow chart of an inventory method provided by an embodiment of the present disclosure, which is applied to a network device and includes the following steps:
[0362] Step 401: Send a first instruction to a first terminal, wherein the first instruction is used to indicate information related to a reply method during an inventory process.
[0363] Among them, the information related to the reply method may include whether fallback is allowed, the number of times fallback is allowed, the priority identifier, the Q value of different priorities (the Q value is used to determine the initial count value of the time slot counter of the first terminal of different priorities), the relationship between the fallback methods of different priorities, etc.
[0364] In the above embodiment, the network device can send a first instruction to the first terminal to execute the inventory process. Since the first instruction includes information related to the reply method during the inventory process, the above embodiment can enhance the flexibility of the inventory and improve the efficiency of the inventory.
[0365] In one implementation, the network device may send a first mapping relationship to the first terminal, wherein the first mapping relationship is used to determine the priority of the first terminal, and the first mapping relationship is a relationship between reference information, a threshold of the reference information, a priority, and a priority determination method, and the reference information includes mobility information and / or distance.
[0366] In one implementation, the network device may perform one or more of the following:
[0367] Sending N instructions including training sequences to the first terminal, where N is an integer greater than or equal to 1;
[0368] For N rounds of area identification process, M signaling messages are sent to the first terminal in each round of area identification process, and the transmit power of the M signaling messages increases or decreases, wherein the network device divides the coverage area into M areas, M is an integer greater than or equal to 1, each signaling message includes a round number identifier and a distance identifier, and N is an integer greater than or equal to 1;
[0369] For N rounds of area identification process, L×M signalings are sent to the first terminal in each round of area identification process, wherein the network device divides the coverage area into M areas according to the power level, and divides it into L directions according to the beam, M and L are integers greater than or equal to 1, and the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, the area identification vector includes a beam identifier and a distance identifier, and N is an integer greater than or equal to 1.
[0370] Through the above process, the first terminal can determine its own movement information and / or the distance between the first terminal and the network device.
[0371] In one implementation, the network device may send a second indication to the first terminal, wherein the second indication is used to adjust Q values of different priorities and / or reply modes of different priorities.
[0372] In one implementation, the response method-related information includes whether rollback is allowed in this round of inventory process and / or the number of rollbacks allowed. For example, the network device only indicates the rollback behavior of the first terminal in this round of inventory process, whether rollback is allowed and / or the number of rollbacks allowed in the Query instruction; when the value of the time slot counter is reduced to 0, the first terminal sends corresponding feedback (for example, RN16) to the network device; when the first terminal fails to receive an acknowledgment message (for example, RN16 ACK) for the feedback signal later or receives a collision indication after sending the first terminal identity information and / or data, the first terminal resets the value of the time slot counter according to the rollback method indicated by the network device. The reset method is: the first terminal regenerates a random number based on the number of time slots remaining in this round of inventory process as the value of the reset time slot counter.
[0373] The number of remaining time slots in this round of inventory process can be determined as follows:
[0374] According to the Q value in the current round of inventory and the random numbers q0 to q generated by the first terminal in the current round of inventory n (where n represents the number of times the first terminal has been rolled back in this round of inventory), the number of remaining inventory opportunities is determined as
[0375] In the embodiment of the present disclosure, the first terminal performs an inventory process according to the first instruction of the network device. Since the first instruction includes information related to the reply method during the inventory process, the above embodiment can enhance the flexibility of the inventory and improve the efficiency of the inventory.
[0376] Referring to FIG5 , FIG5 is a flowchart of an inventory method provided by an embodiment of the present disclosure, which is applied to a first terminal, as shown in FIG1 , and includes the following steps:
[0377] Step 501: Receive a third indication sent by a network device, wherein the third indication includes information of a dedicated time slot allocated by the network device to the first terminal according to an inventory priority of the first terminal, the inventory priority of the first terminal is determined based on first information, and the first information includes target mobility information of the first terminal and / or a target distance between the first terminal and the network device.
[0378] The target mobility information may include moving direction, moving distance, etc. The first information may be measured by the network device itself, or included in a feedback signal from the first terminal.
[0379] After acquiring the third indication, the first terminal may further write the third indication into the memory.
[0380] Step 502: Execute an inventory process according to the third instruction.
[0381] During this process, the first terminal receives a fourth instruction sent by the network device, wherein the fourth instruction is used to instruct the execution of a non-contention inventory. During the process of executing the non-contention inventory according to the fourth instruction, the first terminal uses the dedicated time slot to send a response to the network device. Because the first terminal has a dedicated time slot, the inventory process executed by the first terminal can be called a non-contention inventory process.
[0382] In an embodiment of the present disclosure, the inventory priority of the first terminal can be determined based on the target mobility information of the first terminal and / or the target distance between the first terminal and the network device, thereby determining the information of the dedicated time slot of the first terminal, so that the first terminal can perform inventory processing according to the third indication including the information of the dedicated time slot of the first terminal, thereby enhancing the flexibility of the inventory and improving the efficiency of the inventory.
[0383] Based on the above embodiment, if one or more of the following conditions are met, the non-competitive inventory is exited; wherein the conditions include:
[0384] receiving a fifth instruction sent by the network device, wherein the fifth instruction is used to instruct to remove the third terminal from a terminal list, the terminal list being used to store information of terminals participating in a non-contention inventory; for example, a terminal receives a non-contention inventory removal instruction with a match (such as an identity information match) and exits the non-contention inventory;
[0385] The time during which the instruction sent by the network device is not received is greater than a first preset value, and the first preset value can be set as needed.
[0386] Based on the above embodiment, the first terminal may also receive an eighth indication sent by the network device, wherein the eighth indication is used to indicate the end of the non-competitive inventory. The eighth indication may be determined by the network device according to its own policy. For example, the network device may issue the eighth indication when it decides to end the previously started non-competitive inventory process.
[0387] During the non-competitive inventory process, the first terminal may further perform one or more of the following:
[0388] receiving a sixth indication sent by the network device, and modifying the information of the dedicated time slot according to the sixth indication, wherein the sixth indication is used to indicate the information of the adjusted dedicated time slot;
[0389] Receive a seventh indication sent by the network device, and adjust the timeslot counter according to the seventh indication, wherein the seventh indication is used to indicate an amount by which the timeslot counter is reduced.
[0390] In the embodiment of the present disclosure, the implementation method of each of the above-mentioned indications is not limited, and can be implemented through messages between any first terminal and the network device.
[0391] In an embodiment of the present disclosure, the inventory priority of the first terminal can be determined based on the target mobility information of the first terminal and / or the target distance between the first terminal and the network device, thereby determining the information of the dedicated time slot of the first terminal, so that the first terminal can perform inventory processing according to the third indication including the information of the dedicated time slot of the first terminal, thereby enhancing the flexibility of the inventory and improving the efficiency of the inventory.
[0392] 6 , which is a flow chart of an inventory method provided by an embodiment of the present disclosure, and is applied to a network device, including the following steps:
[0393] Step 601: Determine the first terminal.
[0394] In an embodiment of the present disclosure, a network device (e.g., a base station) obtains information about candidate terminals, where the information about the candidate terminals includes mobility information of the candidate terminals and / or the distance between the candidate terminals and the network device. The network device then determines the first terminal from among the candidate terminals based on the information about the candidate terminals.
[0395] For example, the network device may first perform at least one round of contention-based inventory process to collect information about candidate terminals within the coverage area, including: identity information of the candidate terminals (such as the Electronic Product Code (EPC)), mobility information (moving direction, moving distance, moving speed, etc.) of the candidate terminals measured by the network device based on the reflected signal of the candidate terminals, and the distance between the network device and the candidate terminals measured by the network device based on the reflected signal of the candidate terminals. The mobility information can be calculated based on the distance information of the candidate terminals measured multiple times.
[0396] When determining the first terminal from the candidate terminals, the network device may determine the category to which the candidate terminal belongs based on the information of the candidate terminal, and determine the first terminal based on the category to which the candidate terminal belongs, wherein different categories to which the candidate terminals belong have corresponding inventory priorities.
[0397] Specifically, the network device may compare the mobility information of the candidate terminal and / or the distance between the candidate terminal and the network device with a preset threshold, classify the candidate terminals, further obtain the inventory priority of the candidate terminals, and finally determine the first terminal.
[0398] For example, the candidate terminals can be divided only based on their moving speeds, and the resulting categories include:
[0399] Category 1.1: Candidate terminals whose moving speed is not higher than (less than or equal to) the preset speed threshold;
[0400] Category 1.2: candidate terminals whose moving speed is higher (greater) than a preset speed threshold.
[0401] Based on the candidate terminal's moving speed and distance from the network device, the categories that can be divided are:
[0402] Category 2.1: Candidate terminals whose distance to the network device is not higher than the distance threshold and whose moving speed is not higher than the speed threshold;
[0403] Category 2.2: Candidate terminals whose distance to the network device is not greater than the distance threshold and whose moving speed is greater than the speed threshold;
[0404] Category 2.3: Candidate terminals whose distance to the network device is greater than the distance threshold and whose moving speed is not greater than the speed threshold;
[0405] Category 2.4: Candidate terminals whose distance to the network device is greater than the distance threshold and whose moving speed is greater than the speed threshold.
[0406] The above classification method is provided for illustrative purposes only; other classification methods may be used in practice. Since candidate terminals participating in the inventory process must wait until their own feedback slot arrives before responding, if a candidate terminal moves to an area where it cannot correctly receive, or even cannot receive, network device commands before its feedback slot arrives, the inventory for that candidate terminal will fail. Therefore, it can be seen that the expected stability of candidate terminals in categories 1.1-1.2 and 2.1-2.4 during a round of inventory differs.
[0407] After determining the category to which the candidate terminal belongs, the network device may assign an inventory priority to the candidate terminal according to the needs of the scenario.
[0408] For example, network device inventorying may include collecting identity information of terminals within range, collecting sensor data from terminals, identifying newly added terminals within coverage, and querying terminals that have left coverage. Depending on the purpose of the inventory, the criteria for prioritizing the inventory may also vary.
[0409] Therefore, for the inventory process aimed at efficiently collecting terminal sensor data, candidate terminals in category 2.1 may have the highest inventory priority (because candidate terminals in category 2.1 are least likely to move out of the coverage of the network device during this period); and for the inventory process aimed at querying terminals that have left the coverage area, candidate terminals in category 2.4 may have the highest inventory priority (because candidate terminals in category 2.4 are most likely to move out of the coverage of the network device, that is, they are most likely to leave the coverage of the network device).
[0410] The network device may further determine terminals with some or all priorities as first terminals based on the inventory priorities of the candidate terminals.
[0411] Step 602: Send a third indication to the first terminal, where the third indication includes information about a dedicated time slot allocated by the network device to the first terminal according to the inventory priority of the first terminal.
[0412] After receiving the third indication, the first terminal may write the third indication into memory. In subsequent non-contention inventory processes, the first terminal may respond in the allocated dedicated time slot. The non-contention inventory process may be initiated by a dedicated signaling indication, or the network device may include an X bit (X is an integer greater than or equal to 1) in a Select or Query instruction, indicating that the instruction initiates either the non-contention inventory process or the normal contention inventory process.
[0413] In the disclosed embodiments, time slot allocation for a first terminal participating in a non-contention inventory process can be performed immediately after a successful contention inventory for that first terminal. Alternatively, the network device can perform the allocation after completing a contention inventory for all terminals. In the second case, the allocation can be implemented using a unified instruction that includes at least the identity information of all selected first terminals and the time slots allocated to each first terminal. Alternatively, dedicated time slots can be allocated to each first terminal individually, or dedicated time slots can be allocated to a group of first terminals in groups.
[0414] The time slots allocated to all first terminals in the non-contention inventory may be continuous or discontinuous. Optionally, to improve time slot resource utilization, the network device allocates continuous time slots to the first terminals participating in the non-contention inventory.
[0415] In an embodiment of the present disclosure, the inventory priority of the first terminal can be determined based on the target mobility information of the first terminal and / or the target distance between the first terminal and the network device, thereby determining the information of the dedicated time slot of the first terminal, so that the first terminal can perform inventory processing according to the third indication including the information of the dedicated time slot of the first terminal, thereby enhancing the flexibility of the inventory and improving the efficiency of the inventory.
[0416] Optionally, the network device may send a fourth indication to the first terminal, wherein the fourth indication is used to instruct execution of a non-contention inventory, and receive a response sent by the first terminal using the dedicated time slot. The fourth indication may be dedicated signaling, or an X bit (X is an integer greater than or equal to 1) indication may be added to a Select or Query instruction to instruct the start of a non-contention inventory process or a normal contention inventory process.
[0417] In order to effectively perform non-inventory contention, the network device may maintain a terminal list, for example, update the terminal list, wherein the terminal list includes:
[0418] The identity information of the first terminal, the information of the dedicated time slot of the first terminal; or
[0419] The identity information of the first terminal, the priority of the first terminal, and the information of the dedicated time slot of the first terminal.
[0420] In the list, the corresponding relationships between the above information may be stored, or each of the above information may be stored separately.
[0421] The list is created after the terminal priority division is completed and the dedicated time slot is allocated to the first terminal that joins the non-contention inventory. Accordingly, the network device can update the terminal list.
[0422] Wherein, updating the terminal list may include one or more of the following:
[0423] (1) Removal of terminals from the list
[0424] If one or more of the following conditions are met, information of a third terminal is removed from the terminal list, where the third terminal is one or more terminals in the first terminal, and the conditions include:
[0425] In a round of non-contention inventory, the network device does not receive a response from the third terminal within the dedicated time slot of the third terminal;
[0426] In multiple consecutive rounds of non-contention inventory, the number of times that the network device does not receive a response from the third terminal in the dedicated time slot of the third terminal is greater than a second preset value, and the second preset value can be set as needed;
[0427] The network device determines to remove the information of the third terminal from the terminal list according to a preset policy. For example, the network device measures that the reflected signal strength of the terminal is lower than a threshold, and decides to remove a terminal from the terminal list, and sends a non-contention inventory removal instruction to the terminal, which instructs to remove one or more terminals from the non-contention inventory process.
[0428] In the above case, the network device may further send a fifth instruction to the third terminal, wherein the fifth instruction is used to instruct the third terminal to be removed from a terminal list, and the terminal list is used to store information of terminals participating in non-contention inventory.
[0429] Based on the above embodiment, the network device may further send an eighth instruction to the first terminal, wherein the eighth instruction is used to instruct the end of the non-contention inventory. Alternatively, the network device may send the fifth instruction and the eighth instruction to instruct the end of the non-contention inventory.
[0430] (2) Adding terminals to the list
[0431] If the network device determines that the second terminal meets the conditions for joining the non-contention inventory, it determines the target information of the second terminal and adds the target information of the second terminal to the terminal list, wherein the target information includes the identity information of the second terminal, the priority of the second terminal, and the information of the dedicated time slot of the second terminal, or includes the identity information of the second terminal and the information of the dedicated time slot of the second terminal.
[0432] For example, the network side performs a contention inventory process, during which it determines, based on the measurement result of the reflected signal of a terminal, whether the type of the terminal meets the conditions for joining the non-contention inventory.
[0433] When allocating time slots for newly added terminals, you can either allocate empty time slots in the current terminal list (due to the removal of some terminals from the previous list) or allocate new time slots (increasing the total number of time slots in the non-contention inventory). From the perspective of improving efficiency, if there are empty time slots, you can give priority to allocating empty time slots.
[0434] To resolve the empty time slot problem caused by deleting certain terminals from the terminal list, the network device can perform one or more of the following:
[0435] Sending a sixth indication to the fourth terminal, wherein the sixth indication is used to indicate information about the adjusted dedicated time slot; for example, after a period of time and / or after the number of empty time slots exceeds a preset threshold, the network device issues a time slot adjustment instruction to reallocate a new dedicated time slot to the terminal in the list that needs to adjust the time slot allocation. Upon receiving the time slot adjustment instruction that matches (e.g., matches identity information), the terminal rewrites the previously written dedicated time slot;
[0436] In empty time slots, the time interval between sending adjacent clock signals is shortened. For example, in empty time slots, the network device shortens the time between sending two clock signals (QueryRep).
[0437] Sending a seventh indication to the fourth terminal, where the seventh indication is used to indicate the amount by which the time slot count is reduced; for example, the network device adjusts the clock signal (QueryRep) and adds "decreasing time slot number", where the "decreasing time slot number" information is used to indicate the amount by which the time slot count of the terminal is reduced, thereby indicating that the time slot counter of the terminal is reduced by Y (Y ≥ 1 and is an integer);
[0438] The fourth terminal is one or more terminals in the terminal list.
[0439] In the above process, the network device performs measurement based on the reflected signal of the first terminal, and the obtained measurement result is relatively accurate, so that an accurate priority division result can be obtained, and at the same time, the complexity of the terminal will not be increased.
[0440] In an embodiment of the present disclosure, the inventory priority of the first terminal can be determined based on the target mobility information of the first terminal and / or the target distance between the first terminal and the network device, thereby determining the information of the dedicated time slot of the first terminal, so that the first terminal can perform inventory processing according to the third indication including the information of the dedicated time slot of the first terminal, thereby enhancing the flexibility of the inventory and improving the efficiency of the inventory.
[0441] Refer to Figure 7, which is a structural diagram of an inventory device provided by an embodiment of the present disclosure, applied to a first terminal. As shown in Figure 7, the inventory device includes:
[0442] a first receiving module 701, configured to receive a third indication sent by a network device, wherein the third indication includes information about a dedicated time slot allocated by the network device to the first terminal based on an inventory priority of the first terminal, the inventory priority of the first terminal being determined based on first information, the first information including target mobility information of the first terminal and / or a target distance between the first terminal and the network device;
[0443] The first processing module 702 is configured to execute an inventory process according to the third instruction.
[0444] Optionally, the device may further include:
[0445] The second processing module is configured to write the third indication into the memory.
[0446] Optionally, the device may further include:
[0447] The third processing module is configured to exit the non-competitive inventory if one or more of the following conditions are met:
[0448] The conditions include:
[0449] receiving a fifth instruction sent by the network device, wherein the fifth instruction is used to instruct to remove a third terminal from a terminal list, the terminal list is used to store information of terminals participating in non-competitive inventory, and the third terminal is one or more of the first terminals;
[0450] The time during which the instruction sent by the network device is not received is greater than a first preset value.
[0451] Optionally, the device may further include:
[0452] The second receiving module is configured to receive an eighth instruction sent by the network device, wherein the eighth instruction is used to instruct to end the non-contention inventory.
[0453] Optionally, the device may further include:
[0454] The third receiving module is configured to:
[0455] receiving a sixth indication sent by the network device, and modifying the information of the dedicated time slot according to the sixth indication, wherein the sixth indication is used to indicate the information of the adjusted dedicated time slot;
[0456] Receive a seventh indication sent by the network device, and adjust the timeslot counter according to the seventh indication, wherein the seventh indication is used to indicate an amount by which the timeslot counter is reduced.
[0457] Optionally, the first processing module includes:
[0458] A first receiving submodule is configured to receive a fourth instruction sent by the network device, wherein the fourth instruction is used to instruct execution of a non-contention inventory;
[0459] The first sending submodule is configured to send a response to the network device using the dedicated time slot during the process of performing the non-contention inventory according to the fourth instruction.
[0460] The device provided in the embodiment of the present disclosure can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated in this embodiment.
[0461] Refer to Figure 8, which is a structural diagram of an inventory device provided by an embodiment of the present disclosure, which is applied to a network device. As shown in Figure 8, the inventory device includes:
[0462] A first determining module 801 is configured to determine a first terminal;
[0463] The first sending module 802 is configured to send a third indication to the first terminal, wherein the third indication includes information about a dedicated time slot allocated by the network device to the first terminal according to the inventory priority of the first terminal.
[0464] Optionally, the first determining module may include:
[0465] A first acquisition submodule is configured to acquire information of a candidate terminal, wherein the information of the candidate terminal includes mobility information of the candidate terminal and / or a distance between the candidate terminal and the network device;
[0466] The first determining submodule is configured to determine the first terminal from the candidate terminals according to the information of the candidate terminals.
[0467] Optionally, the first determining submodule is further configured to:
[0468] Determining the category to which the candidate terminal belongs based on the information of the candidate terminal;
[0469] The first terminal is determined according to the category to which the candidate terminals belong, wherein different categories to which the candidate terminals belong respectively have corresponding inventory priorities.
[0470] Optionally, the device may further include:
[0471] A second sending module is configured to send a fourth instruction to the first terminal, wherein the fourth instruction is used to instruct execution of a non-contention inventory;
[0472] A response sent by the first terminal using the dedicated time slot is received.
[0473] Optionally, the device may further include:
[0474] A first processing module is used to update the terminal list;
[0475] The terminal list includes:
[0476] The identity information of the first terminal, the information of the dedicated time slot of the first terminal; or
[0477] The identity information of the first terminal, the priority of the first terminal, and the information of the dedicated time slot of the first terminal.
[0478] Optionally, the first processing module is further configured to perform one or more of the following:
[0479] If the network device determines that the second terminal meets the conditions for joining the non-contention inventory, determining target information of the second terminal and adding the target information of the second terminal to the terminal list, wherein the target information includes identity information of the second terminal, priority of the second terminal, and information of the dedicated time slot of the second terminal, or includes identity information of the second terminal and information of the dedicated time slot of the second terminal;
[0480] If one or more of the following conditions are met, information of a third terminal is removed from the terminal list, where the third terminal is one or more terminals in the first terminal, and the conditions include:
[0481] In a round of non-contention inventory, the network device does not receive a response from the third terminal within the dedicated time slot of the third terminal;
[0482] During multiple consecutive rounds of non-contention inventory, the number of times that the network device fails to receive a response from the third terminal within the dedicated time slot of the third terminal is greater than a second preset value;
[0483] The network device determines to remove the information of the third terminal from the terminal list according to a preset policy.
[0484] Optionally, the device may further include:
[0485] The third sending module is configured to perform one or more of the following:
[0486] sending a fifth instruction to the third terminal, wherein the fifth instruction is used to instruct the third terminal to be removed from a terminal list, the terminal list being used to store information of terminals participating in non-competitive inventory;
[0487] An eighth instruction is sent to the first terminal, wherein the eighth instruction is used to instruct to end the non-contention inventory.
[0488] Optionally, the device may further include:
[0489] The second processing module is configured to:
[0490] Sending a sixth indication to the fourth terminal, where the sixth indication is used to indicate information of the adjusted dedicated time slot;
[0491] In empty time slots, shorten the time interval between sending adjacent clock signals;
[0492] Sending a seventh indication to the fourth terminal, wherein the seventh indication is used to indicate the amount by which the timeslot count is reduced;
[0493] The fourth terminal is one or more terminals in the terminal list.
[0494] The device provided in the embodiment of the present disclosure can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated in this embodiment.
[0495] Refer to Figure 9, which is a structural diagram of an inventory device provided by an embodiment of the present disclosure, applied to a first terminal. As shown in Figure 9, the inventory device includes:
[0496] A first receiving module 901 is configured to receive a first indication sent by a network device, wherein the first indication is used to indicate information related to a reply method during an inventory process;
[0497] The first processing module 902 is configured to execute an inventory process according to the first instruction.
[0498] Optionally, the device may further include:
[0499] A first acquiring module, configured to acquire first information, wherein the first information includes target mobility information of the first terminal and / or a target distance between the first terminal and the network device;
[0500] Determine the priority of the first terminal based on the first information and a first mapping relationship, wherein the first mapping relationship is the relationship between reference information, a threshold of the reference information, priority, and a priority determination method, and the reference information includes mobility information and / or distance.
[0501] Optionally, the first acquisition module is further configured to:
[0502] If the first terminal supports measuring the strength, power, or quality of a received signal, measuring the strength, power, or quality of received signals of N instructions including training sequences sent by the network device to obtain N measurement values, where N is an integer greater than or equal to 1; and obtaining the target mobility information and / or the target distance based on the N measurement values;
[0503] If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification processes, the first terminal obtains part or all of the M signalings sent by the network device in each round of area identification process, and the transmit power of the M signalings increases or decreases, wherein the network device divides the coverage area into M areas, M is an integer greater than or equal to 1, and each signaling includes a round number identifier and a distance identifier; in each round of area identification process, the minimum distance identifier or the maximum distance identifier among the received distance identifiers is recorded; according to the N minimum distance identifiers or the maximum distance identifiers recorded in the N rounds of area identification processes, the target mobility information and / or the target distance is obtained, where N is an integer greater than or equal to 1;
[0504] If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification processes, the first terminal obtains part or all of the L×M signalings sent by the network device in each round of area identification process, wherein the network device divides the coverage area into M areas according to power level and L directions according to beams, M and L are integers greater than or equal to 1, the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, and the area identification vector includes a beam identifier and a distance identifier; in each round of area identification process, the minimum distance identifier or the maximum distance identifier among the received distance identifiers, as well as the beam identifier corresponding to the minimum distance identifier or the maximum distance identifier, is recorded; according to the N minimum distance identifiers or the maximum distance identifiers recorded in the N rounds of area identification processes, and the beam identifier corresponding to the N minimum distance identifiers or the maximum distance identifiers, the target mobility information and / or the target distance are obtained, and N is an integer greater than or equal to 1.
[0505] Optionally, the first processing module is further configured to:
[0506] Determining a reply mode of the first terminal according to the priority of the first terminal and the first indication, wherein the first indication includes a second mapping relationship, the second mapping relationship is a relationship between a priority identifier, Q values of different priorities, and fallback modes of different priorities, the Q value being used to determine an initial count value of a time slot counter of the first terminal of different priorities;
[0507] Generate a random number according to the Q value, and pre-load the random number into a time slot counter;
[0508] The inventory process is performed according to the reply method.
[0509] Optionally, the reply method includes one or more of the following:
[0510] After the collision, the terminal only falls back once and falls back to the time slot corresponding to the next priority level of the first terminal;
[0511] After the collision, fall back to the time slot corresponding to the next priority level of the first terminal, and fall back multiple times;
[0512] After the collision, the terminal randomly falls back to a time slot corresponding to a priority level subsequent to the priority level of the first terminal.
[0513] Optionally, the device may further include:
[0514] The second receiving module is used to receive a second indication sent by the network device, wherein the second indication is used to adjust the Q values of different priorities and / or the reply modes of different priorities.
[0515] Optionally, the reply mode related information includes whether the current round of inventory process allows rollback and / or the number of times rollback is allowed; the first processing module is further configured to:
[0516] When the value of the timeslot counter is reduced to 0, sending a response message to the network device;
[0517] If no confirmation message from the network device is received or a collision indication from the network device is received, the value of the time slot counter is reset according to the reply mode.
[0518] Optionally, the first processing module is further configured to:
[0519] A random number is generated according to the number of time slots remaining in the current round of inventory process, and the random number is used as the value of the time slot counter.
[0520] The device provided in the embodiment of the present disclosure can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated in this embodiment.
[0521] Refer to Figure 10, which is a structural diagram of an inventory device provided by an embodiment of the present disclosure, which is applied to a network device. As shown in Figure 10, the inventory device includes:
[0522] The first sending module 1001 is configured to send a first instruction to a first terminal, wherein the first instruction is used to indicate information related to a reply method during an inventory process.
[0523] Optionally, the device may further include:
[0524] The second sending module is used to send a first mapping relationship to the first terminal, wherein the first mapping relationship is used to determine the priority of the first terminal, and the first mapping relationship is the relationship between reference information, the threshold of the reference information, the priority, and the priority determination method, and the reference information includes mobility information and / or distance.
[0525] Optionally, the device may further include:
[0526] The third sending module is configured to perform one or more of the following:
[0527] Sending N instructions including training sequences to the first terminal, where N is an integer greater than or equal to 1;
[0528] For N rounds of area identification process, M signaling messages are sent to the first terminal in each round of area identification process, and the transmit power of the M signaling messages increases or decreases, wherein the network device divides the coverage area into M areas, M is an integer greater than or equal to 1, each signaling message includes a round number identifier and a distance identifier, and N is an integer greater than or equal to 1;
[0529] For N rounds of area identification process, L×M signalings are sent to the first terminal in each round of area identification process, wherein the network device divides the coverage area into M areas according to the power level, and divides it into L directions according to the beam, M and L are integers greater than or equal to 1, and the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, the area identification vector includes a beam identifier and a distance identifier, and N is an integer greater than or equal to 1.
[0530] Optionally, the device may further include:
[0531] The fourth sending module is used to send a second indication to the first terminal, wherein the second indication is used to adjust the Q values of different priorities and / or the reply modes of different priorities.
[0532] The device provided in the embodiment of the present disclosure can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated in this embodiment.
[0533] Refer to Figure 11, which is a structural diagram of an inventory device provided by an embodiment of the present disclosure, which is applied to a first terminal. As shown in Figure 11, the inventory device includes: a processor 1101 and a transceiver 1102;
[0534] the transceiver 1102 being configured to receive a third indication sent by a network device, wherein the third indication includes information of a dedicated time slot allocated by the network device to the first terminal based on an inventory priority of the first terminal, the inventory priority of the first terminal being determined based on first information, the first information including target mobility information of the first terminal and / or a target distance between the first terminal and the network device;
[0535] The processor 1101 is configured to execute an inventory process according to the third instruction.
[0536] Optionally, the processor 1101 is further configured to:
[0537] The third instruction is written into the memory.
[0538] Optionally, the processor 1101 is further configured to:
[0539] If one or more of the following conditions are met, exit the non-competitive inventory execution;
[0540] The conditions include:
[0541] receiving a fifth instruction sent by the network device, wherein the fifth instruction is used to instruct to remove a third terminal from a terminal list, the terminal list is used to store information of terminals participating in non-competitive inventory, and the third terminal is one or more of the first terminals;
[0542] The time during which the instruction sent by the network device is not received is greater than a first preset value.
[0543] Optionally, the transceiver 1102 is further configured to receive an eighth indication sent by the network device, wherein the eighth indication is used to indicate the end of the non-contention inventory.
[0544] Optionally, the transceiver 1102 is further configured to perform one or more of the following:
[0545] receiving a sixth indication sent by the network device, and modifying the information of the dedicated time slot according to the sixth indication, wherein the sixth indication is used to indicate the information of the adjusted dedicated time slot;
[0546] Receive a seventh indication sent by the network device, and adjust the timeslot counter according to the seventh indication, wherein the seventh indication is used to indicate an amount by which the timeslot counter is reduced.
[0547] Optionally, the transceiver 1102 is further configured to:
[0548] receiving a fourth instruction sent by the network device, wherein the fourth instruction is used to instruct execution of a non-contention inventory;
[0549] During the process of performing the non-contention inventory according to the fourth indication, a response is sent to the network device using the dedicated time slot.
[0550] The device provided in the embodiment of the present disclosure can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated in this embodiment.
[0551] Refer to Figure 12, which is a structural diagram of an inventory device provided by an embodiment of the present disclosure, which is applied to a network device. As shown in Figure 12, the inventory device includes: a processor 1201 and a transceiver 1202;
[0552] The processor 1201 is configured to determine a first terminal;
[0553] The transceiver 1202 is configured to send a third indication to the first terminal, wherein the third indication includes information about a dedicated time slot allocated by the network device to the first terminal according to the inventory priority of the first terminal.
[0554] Optionally, the processor 1201 is further configured to:
[0555] Acquiring information of a candidate terminal, wherein the information of the candidate terminal includes mobility information of the candidate terminal and / or a distance between the candidate terminal and the network device;
[0556] The first terminal is determined from the candidate terminals according to the information of the candidate terminals.
[0557] Optionally, the processor 1201 is further configured to:
[0558] Acquiring information of a candidate terminal, wherein the information of the candidate terminal includes mobility information of the candidate terminal and / or a distance between the candidate terminal and the network device;
[0559] The first terminal is determined from the candidate terminals according to the information of the candidate terminals.
[0560] Optionally, the transceiver 1202 is further configured to:
[0561] sending a fourth instruction to the first terminal, wherein the fourth instruction is used to instruct execution of a non-contention inventory;
[0562] A response sent by the first terminal using the dedicated time slot is received.
[0563] Optionally, the processor 1201 is further configured to:
[0564] Update the terminal list;
[0565] The terminal list includes:
[0566] The identity information of the first terminal, the information of the dedicated time slot of the first terminal; or
[0567] The identity information of the first terminal, the priority of the first terminal, and the information of the dedicated time slot of the first terminal.
[0568] Optionally, the processor 1201 is further configured to perform one or more of the following:
[0569] If the network device determines that the second terminal meets the conditions for joining the non-contention inventory, determining target information of the second terminal and adding the target information of the second terminal to the terminal list, wherein the target information includes identity information of the second terminal, priority of the second terminal, and information of the dedicated time slot of the second terminal, or includes identity information of the second terminal and information of the dedicated time slot of the second terminal;
[0570] If one or more of the following conditions are met, information of a third terminal is removed from the terminal list, where the third terminal is one or more terminals in the first terminal, and the conditions include:
[0571] In a round of non-contention inventory, the network device does not receive a response from the third terminal within the dedicated time slot of the third terminal;
[0572] During multiple consecutive rounds of non-contention inventory, the number of times that the network device fails to receive a response from the third terminal within the dedicated time slot of the third terminal is greater than a second preset value;
[0573] The network device determines to remove the information of the third terminal from the terminal list according to a preset policy.
[0574] Optionally, the transceiver 1202 is further configured to perform one or more of the following:
[0575] sending a fifth instruction to the third terminal, wherein the fifth instruction is used to instruct the third terminal to be removed from a terminal list, the terminal list being used to store information of terminals participating in non-competitive inventory;
[0576] An eighth instruction is sent to the first terminal, wherein the eighth instruction is used to instruct to end the non-contention inventory.
[0577] Optionally, the transceiver 1202 is further configured to perform one or more of the following:
[0578] Sending a sixth indication to the fourth terminal, where the sixth indication is used to indicate information of the adjusted dedicated time slot;
[0579] In empty time slots, shorten the time interval between sending adjacent clock signals;
[0580] Sending a seventh indication to the fourth terminal, wherein the seventh indication is used to indicate the amount by which the timeslot count is reduced;
[0581] The fourth terminal is one or more terminals in the terminal list.
[0582] The device provided in the embodiment of the present disclosure can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated in this embodiment.
[0583] Refer to Figure 13, which is a structural diagram of an inventory device provided by an embodiment of the present disclosure, which is applied to a first terminal. As shown in Figure 13, the inventory device includes: a processor 1301 and a transceiver 1302;
[0584] The transceiver 1302 is configured to receive a first indication sent by a network device, wherein the first indication is used to indicate information related to a reply method during an inventory process;
[0585] The processor 1301 is configured to execute an inventory process according to the first instruction.
[0586] Optionally, the processor 1301 is further configured to:
[0587] Acquire first information, wherein the first information includes target mobility information of the first terminal and / or a target distance between the first terminal and the network device;
[0588] Determine the priority of the first terminal based on the first information and a first mapping relationship, wherein the first mapping relationship is the relationship between reference information, a threshold of the reference information, priority, and a priority determination method, and the reference information includes mobility information and / or distance.
[0589] Optionally, the processor 1301 is further configured to:
[0590] If the first terminal supports measuring the strength, power, or quality of a received signal, measuring the strength, power, or quality of received signals of N instructions including training sequences sent by the network device to obtain N measurement values, where N is an integer greater than or equal to 1; and obtaining the target mobility information and / or the target distance based on the N measurement values;
[0591] If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification processes, the first terminal obtains part or all of the M signalings sent by the network device in each round of area identification process, and the transmit power of the M signalings increases or decreases, wherein the network device divides the coverage area into M areas, M is an integer greater than or equal to 1, and each signaling includes a round number identifier and a distance identifier; in each round of area identification process, the minimum distance identifier or the maximum distance identifier among the received distance identifiers is recorded; according to the N minimum distance identifiers or the maximum distance identifiers recorded in the N rounds of area identification processes, the target mobility information and / or the target distance is obtained, where N is an integer greater than or equal to 1;
[0592] If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification processes, the first terminal obtains part or all of the L×M signalings sent by the network device in each round of area identification process, wherein the network device divides the coverage area into M areas according to power level and L directions according to beams, M and L are integers greater than or equal to 1, the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, and the area identification vector includes a beam identifier and a distance identifier; in each round of area identification process, the minimum distance identifier or the maximum distance identifier among the received distance identifiers, as well as the beam identifier corresponding to the minimum distance identifier or the maximum distance identifier, is recorded; according to the N minimum distance identifiers or the maximum distance identifiers recorded in the N rounds of area identification processes, and the beam identifier corresponding to the N minimum distance identifiers or the maximum distance identifiers, the target mobility information and / or the target distance are obtained, and N is an integer greater than or equal to 1.
[0593] Optionally, the processor 1301 is further configured to:
[0594] Determining a reply mode of the first terminal according to the priority of the first terminal and the first indication, wherein the first indication includes a second mapping relationship, the second mapping relationship is a relationship between a priority identifier, Q values of different priorities, and fallback modes of different priorities, the Q value being used to determine an initial count value of a time slot counter of the first terminal of different priorities;
[0595] Generate a random number according to the Q value, and pre-load the random number into a time slot counter;
[0596] The inventory process is performed according to the reply method.
[0597] Optionally, the reply method includes one or more of the following:
[0598] After the collision, the terminal only falls back once and falls back to the time slot corresponding to the next priority level of the first terminal;
[0599] After the collision, fall back to the time slot corresponding to the next priority level of the first terminal, and fall back multiple times;
[0600] After the collision, the terminal randomly falls back to a time slot corresponding to a priority level subsequent to the priority level of the first terminal.
[0601] Optionally, the transceiver 1302 is further configured to:
[0602] A second indication sent by the network device is received, wherein the second indication is used to adjust Q values of different priorities and / or reply modes of different priorities.
[0603] Optionally, the reply mode related information includes whether the current round of inventory process allows rollback and / or the number of times rollback is allowed; the processor is further configured to:
[0604] When the value of the timeslot counter is reduced to 0, sending a response message to the network device;
[0605] If no confirmation message from the network device is received or a collision indication from the network device is received, the value of the time slot counter is reset according to the reply mode.
[0606] Optionally, the processor 1301 is further configured to:
[0607] A random number is generated according to the number of time slots remaining in the current round of inventory process, and the random number is used as the value of the time slot counter.
[0608] The device provided in the embodiment of the present disclosure can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated in this embodiment.
[0609] Refer to Figure 14, which is a structural diagram of an inventory device provided by an embodiment of the present disclosure, which is applied to a network device. As shown in Figure 14, the inventory device includes: a processor 1401 and a transceiver 1402;
[0610] The transceiver 1402 is configured to send a first instruction to the first terminal, wherein the first instruction is used to indicate information related to a reply method during an inventory process.
[0611] Optionally, the transceiver 1402 is further configured to:
[0612] A first mapping relationship is sent to the first terminal, wherein the first mapping relationship is used to determine the priority of the first terminal, and the first mapping relationship is the relationship between reference information, a threshold of the reference information, a priority, and a priority determination method, and the reference information includes mobility information and / or distance.
[0613] Optionally, the transceiver 1402 is further configured to perform one or more of the following:
[0614] Sending N instructions including training sequences to the first terminal, where N is an integer greater than or equal to 1;
[0615] For N rounds of area identification process, M signaling messages are sent to the first terminal in each round of area identification process, and the transmit power of the M signaling messages increases or decreases, wherein the network device divides the coverage area into M areas, M is an integer greater than or equal to 1, each signaling message includes a round number identifier and a distance identifier, and N is an integer greater than or equal to 1;
[0616] For N rounds of area identification process, L×M signalings are sent to the first terminal in each round of area identification process, wherein the network device divides the coverage area into M areas according to the power level, and divides it into L directions according to the beam, M and L are integers greater than or equal to 1, and the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, the area identification vector includes a beam identifier and a distance identifier, and N is an integer greater than or equal to 1.
[0617] Optionally, the transceiver 1402 is further configured to:
[0618] A second indication is sent to the first terminal, wherein the second indication is used to adjust Q values of different priorities and / or reply modes of different priorities.
[0619] The device provided in the embodiment of the present disclosure can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be repeated in this embodiment.
[0620] It should be noted that the division of units in the embodiments of the present disclosure is schematic and is merely a logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of the present disclosure may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0621] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the relevant technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0622] An embodiment of the present disclosure provides a communication device, comprising: a memory, a processor, and a program stored in the memory and executable on the processor; the processor is configured to read the program in the memory to implement the steps in the aforementioned inventory method.
[0623] The embodiment of the present disclosure also provides a readable storage medium, on which a program is stored. When the program is executed by the processor, each process of the above-mentioned storage method embodiment is implemented, and the same technical effect is achieved. To avoid repetition, it is not repeated here. The readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as a floppy disk, a hard disk, a magnetic tape, a magneto-optical disc (MO), etc.), optical storage (such as a compact disc (CD), a digital versatile disc (DVD), a Blu-ray disc (BD), a high-definition versatile disc (HVD), etc.), and semiconductor storage (such as ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), non-volatile memory (NAND FLASH), solid-state disk (SSD), etc.).
[0624] The embodiment of the present disclosure also provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the various processes of the above-mentioned inventory method embodiment are implemented and can achieve the same technical effect. To avoid repetition, they are not repeated here.
[0625] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.
[0626] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present disclosure.
[0627] The embodiments of the present disclosure are described above in conjunction with the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present disclosure, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present disclosure and the claims, all of which are protected by the present disclosure.
Claims
1. An inventory method, applied to a first terminal, comprising: receiving a first indication sent by a network device, wherein the first indication is used to indicate information related to a reply method during an inventory process; An inventory process is performed according to the first indication.
2. The method according to claim 1, further comprising: Acquire first information, wherein the first information includes target mobility information of the first terminal and / or a target distance between the first terminal and the network device; Determine the priority of the first terminal based on the first information and a first mapping relationship, wherein the first mapping relationship is the relationship between reference information, a threshold of the reference information, priority, and a priority determination method, and the reference information includes mobility information and / or distance.
3. The method according to claim 2, wherein: The obtaining of the first information includes: If the first terminal supports measuring the strength, power, or quality of a received signal, measuring the strength, power, or quality of received signals of N instructions including training sequences sent by the network device to obtain N measurement values, where N is an integer greater than or equal to 1; and obtaining the target mobility information and / or the target distance based on the N measurement values; If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification processes, the first terminal obtains part or all of the M signalings sent by the network device in each round of area identification process, and the transmit power of the M signalings increases or decreases, wherein the network device divides the coverage area into M areas, M is an integer greater than or equal to 1, and each signaling includes a round number identifier and a distance identifier; in each round of area identification process, the minimum distance identifier or the maximum distance identifier among the received distance identifiers is recorded; according to the N minimum distance identifiers or the maximum distance identifiers recorded in the N rounds of area identification processes, the target mobility information and / or the target distance is obtained, where N is an integer greater than or equal to 1; If the first terminal does not support measuring the strength, power or quality of the received signal, for N rounds of area identification processes, the first terminal obtains part or all of the L×M signalings sent by the network device in each round of area identification process, wherein the network device divides the coverage area into M areas according to power level and L directions according to beams, M and L are integers greater than or equal to 1, the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, and the area identification vector includes a beam identifier and a distance identifier; in each round of area identification process, the minimum distance identifier or the maximum distance identifier among the received distance identifiers, as well as the beam identifier corresponding to the minimum distance identifier or the maximum distance identifier, is recorded; according to the N minimum distance identifiers or the maximum distance identifiers recorded in the N rounds of area identification processes, and the beam identifier corresponding to the N minimum distance identifiers or the maximum distance identifiers, the target mobility information and / or the target distance are obtained, and N is an integer greater than or equal to 1.
4. The method according to claim 1, wherein Executing an inventory process according to the first instruction includes: Determining a reply mode of the first terminal according to the priority of the first terminal and the first indication, wherein the first indication includes a second mapping relationship, the second mapping relationship is a relationship between a priority identifier, Q values of different priorities, and fallback modes of different priorities, the Q value being used to determine an initial count value of a time slot counter of the first terminal of different priorities; Generate a random number according to the Q value, and pre-load the random number into a time slot counter; The inventory process is performed according to the reply method.
5. The method according to claim 4, wherein The response methods include one or more of the following: After the collision, the terminal only falls back once and falls back to the time slot corresponding to the next priority level of the first terminal; After the collision, fall back to the time slot corresponding to the next priority level of the first terminal, and fall back multiple times; After the collision, the terminal randomly falls back to a time slot corresponding to a priority level subsequent to the priority level of the first terminal.
6. The method according to claim 1, further comprising: A second indication sent by the network device is received, wherein the second indication is used to adjust Q values of different priorities and / or reply modes of different priorities.
7. The method according to claim 1, wherein The reply mode related information includes whether the current round of inventory process allows rollback and / or the number of rollbacks allowed; Executing an inventory process according to the first instruction includes: When the value of the timeslot counter is reduced to 0, sending a response message to the network device; If no confirmation message from the network device is received or a collision indication from the network device is received, the value of the time slot counter is reset according to the reply mode.
8. The method according to claim 7, wherein: Resetting the value of the time slot counter according to the reply mode includes: A random number is generated according to the number of time slots remaining in the current round of inventory process, and the random number is used as the value of the time slot counter.
9. An inventory method, applied to network equipment, comprising: A first indication is sent to the first terminal, wherein the first indication is used to indicate information related to a reply method during the inventory process.
10. The method according to claim 9, further comprising: A first mapping relationship is sent to the first terminal, wherein the first mapping relationship is used to determine the priority of the first terminal, and the first mapping relationship is the relationship between reference information, a threshold of the reference information, a priority, and a priority determination method, and the reference information includes mobility information and / or distance.
11. The method of claim 9, further comprising one or more of the following: Sending N instructions including training sequences to the first terminal, where N is an integer greater than or equal to 1; For N rounds of area identification process, M signalings are sent to the first terminal in each round of area identification process, and the transmission power of the M signalings is increased or decreased, wherein, The network device divides the coverage area into M areas, where M is an integer greater than or equal to 1, each signaling includes a round number identifier and a distance identifier, and N is an integer greater than or equal to 1; For N rounds of area identification process, L×M signalings are sent to the first terminal in each round of area identification process, wherein the network device divides the coverage area into M areas according to the power level, and divides it into L directions according to the beam, M and L are integers greater than or equal to 1, and the transmission power of the M signalings on the lth beam increases or decreases, 1≤l≤L, each signaling includes a round number identifier and an area identification vector, the area identification vector includes a beam identifier and a distance identifier, and N is an integer greater than or equal to 1.
12. The method according to claim 9, further comprising: A second indication is sent to the first terminal, wherein the second indication is used to adjust Q values of different priorities and / or reply modes of different priorities.
13. An inventory method, applied to a first terminal, comprising: receiving a third indication sent by a network device, wherein the third indication includes information of a dedicated time slot allocated by the network device to the first terminal according to an inventory priority of the first terminal, the inventory priority of the first terminal being determined according to first information, the first information including target mobility information of the first terminal and / or a target distance between the first terminal and the network device; An inventory process is performed according to the third instruction.
14. The method according to claim 13, wherein: Executing an inventory process according to the third instruction includes: receiving a fourth instruction sent by the network device, wherein the fourth instruction is used to instruct execution of a non-contention inventory; During the process of performing the non-contention inventory according to the fourth indication, a response is sent to the network device using the dedicated time slot.
15. The method according to claim 13, further comprising: If one or more of the following conditions are met, the non-competitive inventory is exited; wherein, the conditions include: receiving a fifth instruction sent by the network device, wherein the fifth instruction is used to instruct to remove a third terminal from a terminal list, the terminal list is used to store information of terminals participating in non-competitive inventory, and the third terminal is one or more of the first terminals; The time during which the instruction sent by the network device is not received is greater than a first preset value.
16. The method according to claim 13, further comprising: An eighth instruction sent by the network device is received, wherein the eighth instruction is used to instruct to end the non-contention inventory.
17. The method of claim 13, further comprising one or more of the following: receiving a sixth indication sent by the network device, and modifying the information of the dedicated time slot according to the sixth indication, wherein: The sixth indication is used to indicate information of the adjusted dedicated time slot; Receive a seventh indication sent by the network device, and adjust the timeslot counter according to the seventh indication, wherein the seventh indication is used to indicate an amount by which the timeslot counter is reduced.
18. The method according to claim 13, further comprising: The third instruction is written into the memory.
19. An inventory method, applied to network equipment, comprising: determining a first terminal; A third indication is sent to the first terminal, wherein the third indication includes information of a dedicated time slot allocated by the network device to the first terminal according to the inventory priority of the first terminal.
20. The method according to claim 19, wherein The determining the first terminal includes: Acquiring information of a candidate terminal, wherein the information of the candidate terminal includes mobility information of the candidate terminal and / or a distance between the candidate terminal and the network device; The first terminal is determined from the candidate terminals according to the information of the candidate terminals.
21. The method according to claim 20, wherein Determining the first terminal from the candidate terminals according to the information of the candidate terminals includes: Determining the category to which the candidate terminal belongs based on the information of the candidate terminal; The first terminal is determined according to the category to which the candidate terminals belong, wherein different categories to which the candidate terminals belong respectively have corresponding inventory priorities.
22. The method of claim 19, further comprising: sending a fourth instruction to the first terminal, wherein the fourth instruction is used to instruct execution of a non-contention inventory; A response sent by the first terminal using the dedicated time slot is received.
23. The method of claim 19, further comprising: Update the terminal list; The terminal list includes: The identity information of the first terminal, the information of the dedicated time slot of the first terminal; or The identity information of the first terminal, the priority of the first terminal, and the information of the dedicated time slot of the first terminal.
24. The method according to claim 23, wherein The update terminal list includes one or more of the following: If the network device determines that the second terminal meets the conditions for joining the non-contention inventory, determining target information of the second terminal and adding the target information of the second terminal to the terminal list, wherein the target information includes identity information of the second terminal, priority of the second terminal, and information of the dedicated time slot of the second terminal, or includes identity information of the second terminal and information of the dedicated time slot of the second terminal; If one or more of the following conditions are met, information of a third terminal is removed from the terminal list, where the third terminal is one or more terminals in the first terminal, and the conditions include: In a round of non-contention inventory, the network device does not receive a response from the third terminal within the dedicated time slot of the third terminal; During multiple consecutive rounds of non-contention inventory, the number of times that the network device fails to receive a response from the third terminal within the dedicated time slot of the third terminal is greater than a second preset value; The network device determines to remove the information of the third terminal from the terminal list according to a preset policy.
25. The method of claim 24, further comprising one or more of the following: Sending a fifth instruction to the third terminal, wherein: The fifth instruction is used to instruct to remove the third terminal from a terminal list, where the terminal list is used to store information of terminals participating in non-competitive inventory; An eighth instruction is sent to the first terminal, wherein the eighth instruction is used to instruct to end the non-contention inventory.
26. The method of claim 24, further comprising one or more of the following: Sending a sixth instruction to the fourth terminal, wherein: The sixth indication is used to indicate information of the adjusted dedicated time slot; In empty time slots, shorten the time interval between sending adjacent clock signals; Sending a seventh indication to the fourth terminal, wherein the seventh indication is used to indicate the amount by which the timeslot count is reduced; The fourth terminal is one or more terminals in the terminal list.
27. An inventory device, applied to a first terminal, comprising: a first receiving module, configured to receive a first indication sent by a network device, wherein the first indication is used to indicate information related to a reply method during an inventory process; The first processing module is configured to execute an inventory process according to the first instruction.
28. An inventory device, applied to a network device, comprising: The first sending module is configured to send a first instruction to the first terminal, wherein the first instruction is used to indicate information related to a reply method during an inventory process.
29. An inventory device, applied to a first terminal, comprising: a first receiving module, configured to receive a third indication sent by a network device, wherein the third indication includes information of a dedicated time slot allocated by the network device to the first terminal according to an inventory priority of the first terminal, the inventory priority of the first terminal being determined according to first information, the first information including target mobility information of the first terminal and / or a target distance between the first terminal and the network device; The first processing module is configured to execute an inventory process according to the third instruction.
30. An inventory device, applied to a network device, comprising: A first determining module, configured to determine a first terminal; The first sending module is configured to send a third indication to the first terminal, wherein the third indication includes information about a dedicated time slot allocated by the network device to the first terminal according to the inventory priority of the first terminal.
31. An inventory device, applied to a first terminal, comprising: processors and transceivers; The transceiver is configured to receive a first indication sent by a network device, wherein the first indication is used to indicate information related to a reply method during an inventory process; The processor is configured to execute an inventory process according to the first instruction.
32. An inventory device, applied to a network device, comprising: processors and transceivers; The transceiver is configured to send a first indication to the first terminal, wherein the first indication is used to indicate information related to a reply method during an inventory process.
33. An inventory device, applied to a first terminal, comprising: processors and transceivers; the transceiver being configured to receive a third indication sent by a network device, wherein the third indication includes information of a dedicated time slot allocated by the network device to the first terminal according to an inventory priority of the first terminal, the inventory priority of the first terminal being determined according to first information, the first information including target mobility information of the first terminal and / or a target distance between the first terminal and the network device; The processor is configured to execute an inventory process according to the third instruction.
34. An inventory device, applied to a network device, comprising: processors and transceivers; The processor is configured to determine a first terminal; The transceiver is configured to send a third indication to the first terminal, wherein the third indication includes information of a dedicated time slot allocated by the network device to the first terminal according to the inventory priority of the first terminal.
35. A communication device comprising: A memory, a processor, and a program stored in the memory and executable on the processor; The processor is configured to read a program in a memory to implement the steps of the inventory method according to any one of claims 1 to 26.
36. A readable storage medium for storing a program, wherein when the program is executed by a processor, the program implements the steps of the inventory method according to any one of claims 1 to 26.
37. A computer program product comprising computer instructions, wherein when the computer instructions are executed by a processor, the steps of the inventory method according to any one of claims 1 to 26 are implemented.
Citation Information
Patent Citations
Anti-collision method and device of RFID system, computer readable storage medium and device
CN109446869A
Rapid approximate calculation method for number of RFID inventory tags
CN112257479A
Data transmission method and device based on RFID tag and storage medium
CN116321080A
Label inventory method and device, electronic equipment and readable storage medium
CN116911334A
Time slot parameter adjustment method, device and equipment for tag checking and storage medium
CN116916451A