Storing method and device of passive Internet of Things device, storage medium and product
By determining the maximum transmission duration of the uplink signal of passive IoT devices and optimizing the inventory method in the cellular passive IoT architecture, the problem of low access efficiency and inventory efficiency is solved, and more efficient signal transmission and device access are achieved.
Patent Information
- Application Number
- CN202410796186.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-22
AI Technical Summary
The access efficiency and inventory efficiency of passive IoT devices in the cellular passive IoT architecture are low, mainly because the minimum slot of the cellular system limits the device's ability to continuously send uplink or downlink signals, resulting in a mismatch in transmission duration and affecting access. Efficiency and efficiency.
By obtaining the maximum transmission duration of the uplink signal sent by the passive IoT device, different inventory methods are determined to optimize signal transmission, reduce waiting time, and improve access efficiency and inventory efficiency. The specific method includes obtaining the transmission rate and data volume of the uplink signal, determining the inventory method, and sending instructions to the device based on this method, including inventory instructions and access confirmation instructions, optimizing the access strategy and the backoff sequence decrement strategy.
It effectively reduces the signal waiting time of passive IoT devices, improves access efficiency and inventory efficiency, makes full use of the access time slot resources of the base station, and improves the connection and data transmission performance of passive IoT devices.
Smart Images

Figure CN118828593A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet of Things, and in particular to an inventory method, device, storage medium and product of passive Internet of Things devices. Background Art
[0002] The Internet of Things has developed rapidly and been widely used driven by the Internet and radio frequency identification technology, aiming to realize the interconnection of all things. With the development of passive backscatter technology, the passive Internet of Things has gradually emerged in recent years. Compared with the active Internet of Things, the sensors and tags of the passive Internet of Things can convert the available wireless signals around into the energy required for work, and at the same time realize the information transmission to the target node, solving the problem of high manufacturing and maintenance costs of the sensors of the active Internet of Things that need to be powered by batteries.
[0003] In related technologies, based on passive IoT technology and combined with cellular network technology, the cellular passive IoT architecture can achieve the functions of increasing communication transmission distance, low-cost large-scale networking, and supporting the positioning of passive IoT devices. The time slot of the cellular system is usually 10ms, and the minimum is 1ms, that is, the cellular system equipment cannot send uplink or downlink signals continuously for multiple times within 1ms, while the passive IoT device and the reader can achieve microsecond information transmission. Therefore, the minimum time slot of the cellular system seriously affects the access efficiency and inventory efficiency of the passive IoT device connecting to the cellular system. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a method, device, storage medium and product for inventorying passive IoT devices, aiming to improve the access efficiency and inventory efficiency of passive IoT devices in a cellular passive IoT architecture.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides an inventory method for passive IoT devices, which is applied to a base station, and the method includes:
[0007] Get the maximum transmission duration of the uplink signal sent by the passive IoT device;
[0008] Determining an inventory method based on the maximum transmission duration of the uplink signal;
[0009] Based on the inventory method and / or the received uplink signal, sending a command to the passive Internet of Things device;
[0010] The instruction includes at least one of the following: an inventory instruction and an access confirmation instruction; the uplink signal includes at least one of the following: a first uplink signal for responding to the inventory and a second uplink signal for responding to the access confirmation.
[0011] In some implementation schemes, obtaining the maximum transmission duration of an uplink signal sent by a passive IoT device includes:
[0012] Obtaining the transmission rate and data volume of the uplink signal sent by the passive IoT device;
[0013] Based on the transmission rate and data volume of the uplink signal, a maximum transmission duration of the uplink signal is determined.
[0014] In some implementation schemes, determining the inventory method based on the maximum transmission duration of the uplink signal includes:
[0015] If the maximum transmission duration of the second uplink signal is less than the minimum access time slot of the base station, determining that the inventory mode is the first inventory mode;
[0016] If the maximum transmission duration of the first uplink signal is greater than or equal to the minimum access time slot of the base station, determining that the inventory mode is the second inventory mode;
[0017] If the maximum transmission duration of the first uplink signal is less than the minimum access time slot of the base station, and the maximum transmission duration of the second uplink signal is greater than the minimum access time slot of the base station, determining that the inventory mode is the third inventory mode;
[0018] Among them, the access time slot of the base station is used to receive the uplink signal sent by the passive Internet of Things device; the maximum transmission duration of the first uplink signal is less than the maximum transmission duration of the second uplink signal.
[0019] In some embodiments, sending a command to the passive IoT device based on the inventory method and / or the received uplink signal includes:
[0020] Sending a first inventory instruction to the passive Internet of Things device, wherein the first inventory instruction carries the inventory mode, the minimum number of access time slots, and the number of access devices;
[0021] Receiving a first uplink signal sent by the passive Internet of Things device;
[0022] Based on the inventory mode, the first uplink signal and / or the received second uplink signal, the access confirmation instruction is sent to the passive Internet of Things device.
[0023] In some embodiments, the method further comprises:
[0024] If it is determined that the inventory mode is the second inventory mode, after receiving the first uplink signal, a second inventory instruction instructing to continue the inventory is sent to the passive Internet of Things device, and the encoding length of the second inventory instruction is less than the encoding length of the first inventory instruction;
[0025] Based on the number of received first uplink signals and the number of access devices, stop sending the second inventory instruction.
[0026] In some embodiments, the method further comprises:
[0027] If it is determined that the inventory method is the first inventory method or the third inventory method, based on the number of access devices, the minimum access time slot is divided into one or more uplink time slots, and the uplink time slot is used to receive a single first uplink signal sent by the passive Internet of Things device;
[0028] After sending the first inventory instruction, start timing;
[0029] After determining that the timing reaches the minimum access timeslot, stop receiving the first uplink signal.
[0030] In some embodiments, the first uplink signal carries the air interface identifier of the passive Internet of Things device, and the sending the access confirmation instruction to the passive Internet of Things device based on the inventory mode, the first uplink signal and / or the received second uplink signal includes:
[0031] Based on all received air interface identifiers, determine the passive IoT devices that have been successfully connected;
[0032] If it is determined that the inventory method is the first inventory method, simultaneously sending the access confirmation instruction to all the passive IoT devices that have successfully accessed;
[0033] If it is determined that the inventory method is the second inventory method or the third inventory method, the access confirmation instruction is sent in sequence to the passive Internet of Things devices that have successfully accessed based on the reception timing of the first uplink signal.
[0034] In some implementation schemes, the sending of the access confirmation instruction to the successfully accessed passive IoT device in sequence based on the reception timing of the first uplink signal includes:
[0035] Determine a first passive Internet of Things device for sending a first timing of a first uplink signal;
[0036] Sending the access confirmation instruction to the first passive Internet of Things device;
[0037] After determining that the second uplink signal from the first passive Internet of Things device is received, based on the reception timing of the first uplink signal, determine the second passive Internet of Things device that sends the second timing of the first uplink signal, and send the access confirmation instruction to the second passive Internet of Things device until the access confirmation instruction is sent to each passive Internet of Things device that has successfully accessed.
[0038] In some embodiments, the second uplink signal carries device information of the passive IoT device, the device information includes a device identifier and / or device data, and the method further includes:
[0039] Based on the inventory mode and the received second uplink signal, sending a third uplink signal carrying the device information to a core network element;
[0040] Receive an inventory confirmation instruction carrying a device identifier sent by the core network element, and forward the inventory confirmation instruction to a corresponding passive Internet of Things device based on the carried device identifier.
[0041] In some implementation schemes, sending a third uplink signal carrying the device information to a core network element based on the inventory mode and the received second uplink signal includes:
[0042] If it is determined that the inventory method is the first inventory method, sending a third uplink signal carrying device information of all successfully connected passive IoT devices to the core network element;
[0043] If it is determined that the inventory method is the second inventory method or the third inventory method, each time after the second uplink signal is received, a third uplink signal carrying the device information is sent to the core network element.
[0044] In a second aspect, an embodiment of the present application provides an inventory method for passive Internet of Things devices, which is applied to passive Internet of Things devices, and the method includes:
[0045] receiving an instruction sent by a base station, wherein the instruction includes at least one of the following: an inventory instruction and an access confirmation instruction;
[0046] Based on the inventory instruction, determine the inventory method for this inventory;
[0047] Determining an access strategy for the passive Internet of Things device based on the instruction and the inventory method;
[0048] Based on the instruction and the access policy, an uplink signal is sent to the base station, wherein the uplink signal includes at least one of the following: a first uplink signal for responding to the inventory and a second uplink signal for responding to the access confirmation.
[0049] In some embodiments, the instruction further includes an inventory confirmation instruction indicating that the inventory is successful, and the instruction sent by the receiving base station includes:
[0050] receiving a first inventory instruction sent by the base station, the first inventory instruction carrying the inventory mode, the number of access devices and the minimum number of access time slots of the base station; and / or receiving a second inventory instruction sent by the base station instructing to continue the inventory; and / or receiving the access confirmation instruction sent by the base station; and / or receiving the inventory confirmation instruction sent by the base station;
[0051] The encoding length of the second inventory instruction is smaller than the encoding length of the first inventory instruction.
[0052] In some embodiments, determining the access strategy of the passive Internet of Things device based on the instruction and the inventory method includes:
[0053] Generate a backoff sequence based on the inventory mode, the number of access devices and the minimum number of access time slots carried by the first inventory instruction;
[0054] Obtain any backoff number in the backoff number sequence, where the backoff number is used to determine the access time of the passive Internet of Things device;
[0055] Based on the inventory method, a decreasing strategy for the backoff number is determined.
[0056] In some implementation schemes, generating a backoff sequence based on the inventory mode, the number of access devices, and the minimum number of access time slots carried by the first inventory instruction includes:
[0057] If it is determined that the inventory mode is the first inventory mode or the third inventory mode, generating the backoff sequence based on the number of access devices and the minimum number of access time slots;
[0058] If it is determined that the inventory mode is the second inventory mode, generating the backoff sequence based on the minimum number of access time slots;
[0059] Among them, the first inventory method represents that the maximum transmission duration of the second uplink signal is less than the minimum access time slot of the base station; the second inventory method represents that the maximum transmission duration of the first uplink signal is greater than or equal to the minimum access time slot of the base station; the third inventory method represents that the maximum transmission duration of the first uplink signal is less than the minimum access time slot of the base station, and the maximum transmission duration of the second uplink signal is greater than the minimum access time slot of the base station; the access time slot of the base station is used to receive the uplink signal sent by the passive Internet of Things device; the maximum transmission duration of the first uplink signal is less than the maximum transmission duration of the second uplink signal.
[0060] In some embodiments, determining the decrement strategy of the backoff number based on the inventory method includes:
[0061] If it is determined that the inventory method is the first inventory method or the third inventory method, comparing the backoff number with the number of access devices;
[0062] If it is determined that the backoff number is less than the number of access devices, then based on the set clock signal, the backoff number is controlled to decrease; or, if it is determined that the backoff number is greater than or equal to the number of access devices, then based on the inventory success instruction, the backoff number is updated, and the updated backoff number is the difference between the current backoff number and the number of access devices, and the inventory success instruction is sent by the base station;
[0063] If it is determined that the inventory mode is the second inventory mode and the backoff number is not 0, the backoff number is controlled to be reduced by 1 based on the received second inventory instruction.
[0064] In some implementation schemes, sending the uplink signal to the base station based on the instruction and the access policy includes:
[0065] After receiving the first inventory instruction or the second inventory instruction, if it is determined that the backoff number is 0, a first uplink signal carrying the air interface identifier of the passive Internet of Things device is sent to the base station.
[0066] In some implementation schemes, based on the instruction and the access policy, sending the uplink signal to the base station further includes:
[0067] After sending the first uplink signal, start timing;
[0068] If it is determined that the access confirmation instruction is received within the first set listening time, based on the inventory method, a second uplink signal carrying the device information of the passive Internet of Things device is sent to the base station, and the device information includes a device identification and / or device data.
[0069] In some embodiments, sending a second uplink signal carrying device information of the passive Internet of Things device to the base station based on the inventory method includes:
[0070] If it is determined that the inventory mode is the first inventory mode, after receiving the access confirmation instruction, based on the access time of the passive Internet of Things device, the second uplink signal is periodically sent to the base station;
[0071] If it is determined that the inventory mode is the second inventory mode or the third inventory mode, after receiving the access confirmation instruction, the second uplink signal is sent to the base station.
[0072] In some embodiments, the method further comprises:
[0073] After sending the second uplink signal, start timing;
[0074] If it is determined that an inventory confirmation instruction indicating that the inventory is successful is received within the second set monitoring time period, the inventory is exited.
[0075] In some embodiments, the method further comprises:
[0076] If it is determined that the inventory mode is the first inventory mode, setting the first set monitoring time length and the second set monitoring time length to be the first time length;
[0077] If it is determined that the inventory mode is the second inventory mode, setting the first set monitoring time length and the second set monitoring time length to the second time length;
[0078] If it is determined that the inventory mode is the third inventory mode, setting the first set monitoring time length to the first time length, and the second set monitoring time length to the second time length;
[0079] The first duration is shorter than the second duration.
[0080] In a third aspect, an embodiment of the present application provides a base station, comprising: a processor and a memory for storing a computer program that can be run on the processor, wherein the processor, when running the computer program, executes the steps of the method described in the first aspect.
[0081] In a fourth aspect, an embodiment of the present application provides a passive Internet of Things device, comprising: a processor and a memory for storing a computer program that can be run on the processor, wherein the processor, when running the computer program, executes the steps of the method described in the second aspect.
[0082] In a fifth aspect, an embodiment of the present application provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method described in the first aspect or the second aspect are implemented.
[0083] In a sixth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect or the second aspect.
[0084] The inventory method of passive Internet of Things devices provided in the embodiment of the present application includes: obtaining the maximum transmission duration of the uplink signal sent by the passive Internet of Things device; determining the inventory method based on the maximum transmission duration of the uplink signal; sending instructions to the passive Internet of Things device based on the inventory method and / or the received uplink signal; wherein the instructions include at least one of the following: an inventory instruction and an access confirmation instruction; the uplink signal includes at least one of the following: a first uplink signal for responding to the inventory and a second uplink signal for responding to the access confirmation. In this way, the present application determines different inventory methods based on the maximum transmission duration of the uplink signal sent by the passive Internet of Things device, so as to reduce the waiting time for the passive Internet of Things device to send the signal, thereby improving the access efficiency and inventory efficiency of the passive Internet of Things device. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] Figure 1 This is a schematic diagram of the architecture of a cellular passive Internet of Things based on a 5G communication network according to an embodiment of the present application;
[0086] Figure 2 A schematic diagram of a time slot division method for a cellular passive Internet of Things in the related art;
[0087] Figure 3 A schematic diagram of a flow chart of an inventory method of passive Internet of Things devices applied to a base station according to an embodiment of the present application;
[0088] Figure 4 A schematic diagram of a minimum access time slot division method under the first inventory mode or the third inventory mode in an application example of the present application;
[0089] Figure 5 A schematic diagram of an inventory of occupied time slots of a passive IoT device using a serial random access method in the related art;
[0090] Figure 6 A schematic diagram of an inventory-occupied time slot in a second inventory mode in an application example of the present application;
[0091] Figure 7 A schematic diagram of a flow chart of a method for taking inventory of passive Internet of Things devices applied to passive Internet of Things devices according to an embodiment of the present application;
[0092] Figure 8 A schematic flow chart of an inventory method for passive Internet of Things devices under a first inventory mode in an application example of the present application;
[0093] Fig. 9 A schematic diagram of a flow chart of an inventory method of passive Internet of Things devices under a first inventory mode in another application example of the present application;
[0094] Fig.10 A schematic diagram of a flow chart of an inventory method for passive Internet of Things devices under a second inventory mode in an application example of the present application;
[0095] Fig.11 A schematic diagram of a flow chart of an inventory method for passive Internet of Things devices under a third inventory method in an application example of the present application;
[0096] Fig.12 This is a schematic diagram of the structure of a base station according to an embodiment of the present application;
[0097] Fig.13 This is a schematic diagram of the structure of a passive Internet of Things device according to an embodiment of the present application. DETAILED DESCRIPTION
[0098] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0099] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0100] The present application embodiment provides a schematic diagram of the architecture of a cellular passive Internet of Things based on a 5G communication network, which is used to implement the inventory method of the passive Internet of Things devices described in the present application embodiment, such as Figure 1 The cellular passive Internet of Things at least includes: a passive Internet of Things device, a base station and a core network element.
[0101] Here, the passive IoT device in the embodiment of the present application refers to an ambient IoT device (Ambient IoT Device), including but not limited to: passive devices based on the backscattering principle (e.g., passive tags), semi-passive devices based on the backscattering principle (e.g., semi-passive tags), and active communication devices with power consumption at the level of hundreds of microwatts. The passive IoT device can also be called an ultra-low power consumption terminal. It can be understood that the passive tag is only one form of the passive IoT device. Those skilled in the art can understand that the passive IoT device is not limited to the form of passive tags. The ultra-low power consumption terminal can be a passive tag, a tag with active reporting capability, or other communication devices based on radio frequency energy harvesting technology, backscattering technology, low-power computing technology, etc. The power consumption of the ultra-low power consumption terminal is at or below the level of hundreds of microwatts.
[0102] Here, the base station in the embodiment of the present application can be provided with a reader / writer, which sends a radio frequency excitation signal to activate the passive Internet of Things device. The passive Internet of Things device uses backscatter communication technology to modulate its own information onto the radio frequency signal. The reader / writer receives the reflected signal of the passive Internet of Things device and demodulates it, thereby realizing information transmission between the base station and the passive Internet of Things device.
[0103] Here, the RF excitation signal may also be sent by an independent exciter.
[0104] Here, the core network network elements in the embodiment of the present application may include but are not limited to: application function (Application Function, AF) network element, network exposure function (Network Exposure Function, NEF) network element and access and mobility management function (Access and Mobility Management Function, AMF) network element.
[0105] It can be understood that the cellular passive Internet of Things reuses the cellular network infrastructure and network scale of the existing communication network, achieving the functions of increasing the communication transmission distance, low-cost large-scale networking and supporting the positioning of passive Internet of Things devices.
[0106] It should be noted that information transmission between passive IoT devices and readers can be realized in microseconds, while the time slot of the partial bandwidth (Bandwidth Part, BWP) of the cellular system is usually 10ms, with a minimum of 1ms. Figure 2 As shown, in the related art, the cellular system equipment cannot send uplink signals or downlink signals multiple times continuously within the minimum slot of the BWP. Therefore, the mismatch between the minimum slot of the BWP and the signal transmission duration of the passive IoT device seriously affects the access efficiency and inventory efficiency of the passive IoT device connecting to the cellular system.
[0107] Based on this, an embodiment of the present application provides an inventory method for passive IoT devices, aiming to improve the access efficiency and inventory efficiency of passive IoT devices in a cellular passive IoT architecture.
[0108] like Figure 3 As shown, an embodiment of the present application provides an inventory method for passive Internet of Things devices, which is applied to a base station. The inventory method for passive Internet of Things devices includes:
[0109] Step 301, obtaining the maximum transmission duration of the uplink signal sent by the passive IoT device.
[0110] Here, the passive IoT device responds to the command sent by the base station and sends the corresponding uplink signal to the base station.
[0111] It should be noted that the base station in the embodiment of the present application obtains the maximum transmission duration of the uplink signal sent by the passive IoT device to respond to the instruction based on the type of instruction sent to the passive IoT device.
[0112] Exemplarily, obtaining the maximum transmission duration of an uplink signal sent by a passive IoT device includes:
[0113] The transmission rate and data volume of the uplink signal sent by the passive IoT device are obtained; based on the transmission rate and data volume of the uplink signal, the maximum transmission duration of the uplink signal is determined.
[0114] Here, the transmission rate and data volume of different uplink signals can be obtained according to the test results, or the maximum transmission duration of the uplink signal can be directly obtained based on the test results. The embodiment of the present application does not specifically limit the method for obtaining the maximum transmission duration of the uplink signal.
[0115] Exemplarily, the instruction includes at least one of the following: an inventory instruction and an access confirmation instruction.
[0116] Exemplarily, the uplink signal includes at least one of the following: a first uplink signal for responding to the inventory and a second uplink signal for responding to the access confirmation.
[0117] It can be understood that the inventory instruction instructs to take inventory of passive IoT devices. After receiving the inventory instruction, the passive IoT device sends a first uplink signal in response to the inventory instruction to the base station based on the access strategy; the base station confirms the successful access of the passive IoT device based on the received first uplink signal, and sends an access confirmation (Revenue Recognition & Reporting, RAR) instruction to the successful access passive IoT device. After receiving the access confirmation instruction, the successful access passive IoT device sends a second uplink signal in response to the access confirmation instruction to the base station, and the second uplink signal carries the inventory information.
[0118] It can be understood that the base station in the embodiment of the present application obtains the maximum transmission duration of the first uplink signal and the maximum transmission duration of the second uplink signal sent by the passive Internet of Things device.
[0119] Step 302: Determine an inventory method based on the maximum transmission duration of the uplink signal.
[0120] Exemplarily, determining the inventory method based on the maximum transmission duration of the uplink signal includes:
[0121] If the maximum transmission duration of the second uplink signal is less than the minimum access time slot of the base station, the inventory method is determined to be the first inventory method; if the maximum transmission duration of the first uplink signal is greater than or equal to the minimum access time slot of the base station, the inventory method is determined to be the second inventory method; if the maximum transmission duration of the first uplink signal is less than the minimum access time slot of the base station, and the maximum transmission duration of the second uplink signal is greater than the minimum access time slot of the base station, the inventory method is determined to be the third inventory method; wherein the access time slot of the base station is used to receive uplink signals sent by passive Internet of Things devices; the maximum transmission duration of the first uplink signal is less than the maximum transmission duration of the second uplink signal.
[0122] It should be noted that the minimum access time slot of the base station is the smallest time slot supported by the BWP, which is usually 1 ms.
[0123] It should be noted that in the related technology, since the transmission time of the uplink signal of the passive IoT device is usually shorter than the access time slot of the base station, the waiting time between the uplink signals is too long, and due to the compatibility requirements of the system hardware and the core network, the minimum access time slot of the base station is difficult to adjust, resulting in poor access efficiency and inventory efficiency of the passive IoT device.
[0124] It can be understood that the embodiments of the present application determine different inventory methods based on the maximum transmission duration of the uplink signal sent by the passive IoT device, and by selecting different inventory methods, reduce the waiting time for the passive IoT device to send the signal, thereby improving the access efficiency and inventory efficiency of the passive IoT device.
[0125] Exemplarily, the first uplink signal carries the air interface identifier of the passive Internet of Things device, and the second uplink signal carries the device information of the passive Internet of Things device, where the device information includes the device identifier and / or device data.
[0126] It can be understood that the air interface (New Radio, NR) is the interface for communication between the passive IoT device and the base station. Based on the air interface identifier carried by the first uplink signal, the base station can determine the passive IoT device that has successfully accessed. The device identifier is the identity identifier of the user equipment (User Equipment, UE) that sets the passive IoT device, which is usually a fixed short identifier, and the device data is the detection data of the UE. The base station obtains inventory information based on the device information (message 4, MSG4) carrying the device identifier and / or device data.
[0127] It is understandable that the first uplink signal is used for device access, and the second uplink signal carries device information, so the data volume of the first uplink signal is smaller than that of the second uplink signal. Further, the maximum transmission duration of the first uplink signal is smaller than that of the second uplink signal.
[0128] It should be noted that the first inventory method instructs the passive Internet of Things device to respond to the inventory instruction and / or the revenue recognition instruction in a semi-autonomous random access method; the second inventory method instructs the passive Internet of Things device to respond to the inventory instruction and / or the revenue recognition instruction in a parallel random access method; the third inventory method instructs the passive Internet of Things device to respond to the inventory instruction and / or the revenue recognition instruction in a hybrid random access method.
[0129] It can be understood that when the transmission rate of the uplink signal sent by the passive Internet of Things device is high and / or the data volume is small, the inventory method is determined to be the first inventory method; when the transmission rate of the uplink signal sent by the passive Internet of Things device is low and / or the data volume is large, the inventory method is determined to be the second inventory method; when only the transmission rate of the second uplink signal sent by the passive Internet of Things device is low and / or the data volume is large, the inventory method is determined to be the third inventory method.
[0130] It can be understood that the embodiment of the present application pre-compares the maximum transmission time of the first uplink signal and the minimum access time slot of the base station, and pre-compares the maximum transmission time of the second uplink signal and the minimum access time slot of the base station, so as to determine a suitable inventory method for passive Internet of Things devices and make full use of the minimum access time slot of the base station.
[0131] Step 303: Send instructions to the passive IoT device based on the inventory method and / or the received uplink signal.
[0132] Exemplarily, the inventory instruction includes a first inventory instruction, and the first inventory instruction carries an inventory mode, a minimum number of access time slots, and a number of access devices.
[0133] Here, the minimum number of access time slots is the minimum number of access time slots used for accessing the first uplink signal sent by the passive Internet of Things device in this inventory; the number of access devices is the expected number of access devices in each inventory stage in this inventory.
[0134] It should be noted that the inventory method of the embodiment of the present application performs one or more inventory stages each time an inventory is taken. Each inventory stage includes at least four steps: sending an inventory instruction, receiving a first uplink signal, sending an access confirmation instruction, and receiving a second uplink signal. After the base station confirms that the inventory in this round of inventory stage is successful, the next round of inventory stage is selected to be executed according to the current inventory round number.
[0135] It can be understood that the number of inventory rounds for each inventory is related to the target inventory quantity and the inventory quantity supported by each round of inventory.
[0136] Exemplarily, sending a command to a passive IoT device based on the inventory mode and / or the received uplink signal includes:
[0137] A first inventory instruction is sent to a passive Internet of Things device, wherein the first inventory instruction carries an inventory mode, a minimum number of access time slots, and a number of access devices; a first uplink signal sent by the passive Internet of Things device is received; and an access confirmation instruction is sent to the passive Internet of Things device based on the inventory mode, the first uplink signal, and / or the received second uplink signal.
[0138] Exemplarily, sending a command to a passive IoT device based on the inventory mode and / or the received uplink signal also includes:
[0139] If it is determined that the inventory method is the first inventory method or the third inventory method, the minimum access time slot is divided into one or more uplink time slots based on the number of access devices, and the uplink time slot is used to receive a single first uplink signal sent by a passive Internet of Things device; after sending the first inventory instruction, start timing; after determining that the timing reaches the minimum access time slot, stop receiving the first uplink signal.
[0140] It should be noted that, in the first inventory mode or the third inventory mode, the maximum transmission duration of the first uplink signal is less than the minimum access gap, that is, a single minimum access gap supports access to one or more first uplink signals. After the embodiment of the present application determines that the inventory mode is the first inventory mode or the third inventory mode, the single minimum access time slot is divided into uplink time slots of the number of access devices to improve the utilization of the access time slots.
[0141] It can be understood that the number of access devices in the first inventory mode or the third inventory mode can be determined according to the maximum transmission duration and the minimum access time slot of the first uplink signal.
[0142] In an application example of the present application, Figure 4 As shown, if the maximum transmission time of the first uplink signal is 150μs and the minimum access time slot is 1ms, the inventory method is determined to be the first inventory method or the third inventory method, and the single minimum access time slot is divided into 6 uplink time slots, each uplink time slot is used to receive a single first uplink signal, that is, the number of access devices is 6.
[0143] It should be noted that, in the first inventory mode or the third inventory mode, the time slot resource for receiving the first uplink signal in each inventory stage is a single minimum access time slot. Taking into account that multiple first transmission signals may collide, a maximum of the number of first uplink signals of access devices can be received in each inventory stage.
[0144] Here, in the first inventory mode or the third inventory mode, if the target inventory quantity is greater than the number of access devices, it means that each inventory needs to be performed multiple rounds of inventory stages, and the inventory needs multiple minimum access time slot resources.
[0145] It can be understood that, in the first inventory mode or the third inventory mode, the product of the number of access devices and the minimum number of access time slots is greater than or equal to the target inventory number.
[0146] It can be understood that, in the embodiment of the present application, after determining that the inventory mode is the first inventory mode, the base station only sends the first inventory instruction carrying the first inventory mode once, and the passive Internet of Things device sends the first uplink signal in response to the first inventory instruction; after determining that the inventory mode is the third inventory mode, the base station only sends the first inventory instruction carrying the third inventory mode once, and the passive Internet of Things device sends the first uplink signal in response to the first inventory instruction.
[0147] Exemplarily, sending a command to a passive IoT device based on the inventory mode and / or the received uplink signal also includes:
[0148] If it is determined that the inventory method is the second inventory method, after receiving the first uplink signal, a second inventory instruction instructing to continue the inventory is sent to the passive Internet of Things device, and the encoding length of the second inventory instruction is less than the encoding length of the first inventory instruction; based on the number of first uplink signals received and the number of access devices, stop sending the second inventory instruction.
[0149] Here, the second inventory instruction is a short instruction that only instructs to continue the inventory, and does not carry inventory information such as the inventory mode, the minimum number of access time slots, and the number of access devices. Therefore, the encoding length of the second inventory instruction is smaller than the encoding length of the first inventory instruction. After the base station receives the first uplink signal in response to the first inventory instruction, it sends a second inventory instruction to instruct the next passive Internet of Things device to access, and receives the first uplink signal sent by the next passive Internet of Things device in response to the second inventory instruction.
[0150] It should be noted that, since the transmission time of the first uplink signal under the second inventory mode is relatively long, the embodiment of the present application adopts a nested design, and only sends the second inventory instruction instructing the next passive Internet of Things device to access after receiving the first uplink signal, so as to avoid collisions between the first uplink signals sent by multiple passive Internet of Things devices and affect the access efficiency.
[0151] It can be understood that, in the second inventory mode, when the number of first uplink signals received by the base station is equal to the number of access devices, the second inventory instruction is stopped from being sent.
[0152] It should be noted that in the second inventory mode, since the transmission time of the first uplink signal in the second inventory mode is longer, the target inventory quantity is usually smaller, and a single inventory only performs one round of inventory phase, and the number of access devices is equal to the target inventory quantity.
[0153] Exemplarily, sending an access confirmation instruction to a passive Internet of Things device based on the inventory mode, the first uplink signal and / or the received second uplink signal includes:
[0154] Based on all received air interface identifiers, determine the passive IoT devices that have been successfully connected;
[0155] If it is determined that the inventory method is the first inventory method, an access confirmation instruction is sent to all successfully connected passive Internet of Things devices at the same time; if it is determined that the inventory method is the second inventory method or the third inventory method, based on the reception timing of the first uplink signal, access confirmation instructions are sent to the successfully connected passive Internet of Things devices in sequence.
[0156] Exemplarily, based on the reception timing of the first uplink signal, sequentially sending access confirmation instructions to the passive IoT devices that have successfully accessed includes:
[0157] Determine a first passive Internet of Things device that sends a first timing of a first uplink signal; send an access confirmation instruction to the first passive Internet of Things device; after determining that a second uplink signal is received from the first passive Internet of Things device, based on the reception timing of the first uplink signal, determine a second passive Internet of Things device that sends a second timing of the first uplink signal, and send an access confirmation instruction to the second passive Internet of Things device, until the access confirmation instruction is sent to each passive Internet of Things device that has successfully accessed.
[0158] Here, in the reception timing of the first uplink signal, the first timing is earlier than the second timing.
[0159] It can be understood that the first uplink signal carries the air interface identifier of the passive Internet of Things device. The base station determines the passive Internet of Things device that has successfully accessed based on the received air interface identifier, and sends an access confirmation instruction indicating the successful access to all passive Internet of Things devices that have successfully accessed.
[0160] It should be noted that, under the first inventory mode, the maximum transmission time of the second uplink signal is less than the minimum access time slot, that is, a single minimum access gap supports access to one or more second uplink signals. The base station simultaneously sends an access confirmation instruction to all successfully accessed passive IoT devices, which can only reduce the time slot occupied by the access confirmation instruction.
[0161] It should be noted that, in the first inventory mode, after the base station sends the access confirmation instruction, the minimum access time slot can be divided based on the maximum transmission time of the second uplink signal and the minimum access time slot to achieve a single minimum access time slot receiving multiple second uplink signals.
[0162] It should be noted that, in the second inventory mode or the third inventory mode, since the transmission time of the second uplink signal is relatively long, the embodiment of the present application also adopts a nested design. The base station sends an access indication instruction to instruct the next passive Internet of Things device to send a second uplink signal only after receiving the second uplink signal in response to the previous access indication instruction, so as to avoid collisions between the second uplink signals sent by multiple passive Internet of Things devices and affect the inventory efficiency.
[0163] Exemplarily, the method also includes: sending a third uplink signal carrying device information to a core network element based on the inventory method and the received second uplink signal; receiving an inventory confirmation instruction carrying a device identifier sent by the core network element, and forwarding the inventory confirmation instruction to a corresponding passive Internet of Things device based on the carried device identifier.
[0164] Exemplarily, based on the inventory mode and the received second uplink signal, sending a third uplink signal carrying device information to a core network element includes:
[0165] If it is determined that the inventory method is the first inventory method, a third uplink signal carrying the device information of all passive Internet of Things devices that have successfully accessed is sent to the core network network element; if it is determined that the inventory method is the second inventory method or the third inventory method, then each time the second uplink signal is received, a third uplink signal carrying the device information is sent to the core network network element.
[0166] It can be understood that the embodiment of the present application sends the received device information of the passive Internet of Things device as the inventory result to the core network network element. After the core network network element receives the inventory result, it sends an inventory confirmation instruction to the base station. The base station forwards the inventory confirmation instruction to the passive Internet of Things device that has been successfully inventoried, instructing the passive Internet of Things device that has been successfully inventoried to exit access.
[0167] It can be understood that, in the first inventory mode, the interval time between adjacent second uplink signals received by the base station is short, and after confirming the receipt of all second uplink signals, the base station sends a third uplink signal carrying the device information of all successfully accessed passive Internet of Things devices to the core network element; in the second inventory mode or the third inventory mode, the interval time between adjacent second uplink signals received by the base station is longer, and each time the base station receives a second uplink signal, it sends a third uplink signal carrying the device information to the core network element.
[0168] It should be noted that in the related art, the passive IoT devices in the cellular passive IoT architecture usually use a serial random access method to respond to inventory and / or respond to revenue confirmation. After the base station confirms that the inventory of the single passive IoT device currently being inventoried is successful or fails, it will inventory the next passive IoT device. The embodiment of the present application proposes a method of pre-acquiring the maximum transmission duration of the first uplink signal and the second uplink signal sent by the passive IoT device, confirming whether the uplink signal is a long signal or a short signal, and determining the inventory method based on the maximum transmission duration of the uplink signal, wherein different inventory methods correspond to different uplink signal random access methods, so that the access time slot resources of the base station are fully utilized during the inventory process, thereby improving the access efficiency and inventory efficiency of the passive IoT device.
[0169] Specifically, if the maximum transmission duration of the uplink signal is less than the minimum access time slot, the uplink signal is determined to be a short signal, and a semi-autonomous random access method is used to receive the uplink signal; if the maximum transmission duration of the uplink signal is greater than or equal to the minimum access time slot, the uplink signal is determined to be a long signal, and a parallel random access method is used to receive the uplink signal.
[0170] It can be understood that, in the first inventory mode, a semi-autonomous selection random access method is adopted to receive the first uplink signal and the second uplink signal; in the second inventory mode, a parallel random access method is adopted to receive the first uplink signal and the second uplink signal; in the third inventory mode, a semi-autonomous selection random access method is adopted to receive the first uplink signal, and a parallel random access method is adopted to receive the second uplink signal.
[0171] Furthermore, if a semi-autonomous random access method is used to receive uplink signals, the minimum access time slot is divided into multiple uplink time slots, and multiple uplink signals are received uniformly to make full use of the receiving time slot resources; if a parallel random access method is used to receive uplink signals, a nested design is adopted, and the next uplink signal is instructed to be sent after confirming that the previous uplink signal has been received, so as to reduce the probability of collision of multiple uplink signals.
[0172] In an application example of the present application, a method for improving the access efficiency and inventory efficiency of passive Internet of Things devices under the second inventory mode is further described.
[0173] In related technologies, such as Figure 5 As shown in the figure, when the passive IoT device adopts serial random access mode, the time consumed to inventory a passive IoT device is Y0 = T Query1 +T1+T NO.1 +T2+T RAR +T1+T NO.2 +T2+T DataACK ; Among them, T Query1 is the transmission time of the first inventory instruction, T1 is the waiting time of the downlink signal, T NO.1 is the transmission time of the first uplink signal, T2 is the waiting time of the uplink signal in the serial random access mode, T RAR is the transmission time of the access confirmation command, T DataACK is the transmission time of the inventory confirmation command. If the target inventory quantity of this inventory is 2, considering that the first inventory command can be reused on two passive IoT devices, the total time consumed for this inventory is Y1 = T Query1 +4T1+2T NO.1 +4T2+2T RAR +2T NO.2 +2T DataACK .
[0174] here, Figure 6 This is a schematic diagram of the inventory time slots occupied by the second inventory method in this application example. If the target inventory quantity of this inventory is 2, the total inventory time Y2 = T Query1 +T1+T NO.1 +T3+T RAR +T1+T NO.2 +T3+TDataACK , where T3 is the uplink signal waiting time of the parallel random access method. If Y1>Y2, then 2T1+T NO.1 +4T2+T RAR +T NO.2 +T DataACK >2T3.
[0175] It should be noted that after the passive IoT device 1 sends the first uplink signal and before the base station sends the access confirmation instruction indicating the successful access of the passive IoT device 1, the base station needs to send the second inventory instruction indicating the access of the passive IoT device 2 and receive the first uplink signal sent by the passive IoT device 2, then T3≥T Query2 +T1+T NO.1 , where T Query2 is the transmission duration of the second inventory instruction; after passive IoT device 1 sends the second uplink signal and before the base station sends the inventory confirmation instruction indicating that the inventory of passive IoT device 1 is successful, the base station needs to send an access confirmation instruction indicating that passive IoT device 2 has successfully accessed and receive the second uplink signal sent by passive IoT device 2, then T3≥T RAR +T1+T NO.2 .
[0176] It is understandable that if Y1>Y2, then 4T2+T is required. DataACK >T Query2 Therefore, the second inventory instruction of the embodiment of the present application is only used to instruct to continue the inventory, and does not carry inventory information such as the inventory method, the minimum number of access time slots and the number of access devices. The encoding length of the second inventory instruction is smaller than the encoding length of the first inventory instruction, so that the transmission time of the second inventory instruction is as short as possible to improve the access efficiency and inventory efficiency of passive Internet of Things devices under the second inventory method.
[0177] like Figure 7 As shown, an embodiment of the present application provides an inventory method for passive Internet of Things devices, which is applied to passive Internet of Things devices. The inventory method for passive Internet of Things devices includes:
[0178] Step 701: receiving an instruction sent by a base station, where the instruction includes at least one of the following: an inventory instruction and an access confirmation instruction.
[0179] Step 702: Determine the inventory method for this inventory based on the inventory instruction.
[0180] Step 703: Determine the access strategy of the passive IoT device based on the instruction and the inventory method.
[0181] Step 704: Send an uplink signal to the base station based on the instruction and the access policy, where the uplink signal includes at least one of the following: a first uplink signal for responding to the inventory and a second uplink signal for responding to the access confirmation.
[0182] Exemplarily, the passive Internet of Things device receives an instruction sent by a base station, which also includes an inventory confirmation instruction indicating that the inventory is successful. The instruction received by the base station includes: receiving a first inventory instruction sent by the base station, the first inventory instruction carrying the inventory mode, the number of access devices and the minimum number of access time slots of the base station; and / or, receiving a second inventory instruction sent by the base station indicating to continue the inventory; and / or, receiving an access confirmation instruction sent by the base station; and / or, receiving an inventory confirmation instruction sent by the base station.
[0183] The encoding length of the second inventory instruction is smaller than the encoding length of the first inventory instruction.
[0184] It can be understood that the inventory instruction includes a first inventory instruction and a second inventory instruction, and the passive Internet of Things device may receive the second inventory instruction only when the inventory mode is the second inventory mode.
[0185] Here, the inventory confirmation instruction is sent by the core network element to the base station, and the base station forwards the inventory confirmation instruction to the passive Internet of Things devices that have been successfully inventoried.
[0186] Exemplarily, based on instructions and inventory methods, determining the access strategy of passive Internet of Things devices includes: generating a backoff sequence based on the inventory method, the number of access devices and the minimum number of access time slots carried by the first inventory instruction; obtaining any backoff number in the backoff sequence, the backoff number being used to determine the access time of the passive Internet of Things device; and determining a decreasing strategy for the backoff number based on the inventory method.
[0187] It should be noted that after the passive Internet of Things device of the embodiment of the present application receives the first inventory instruction, it adopts a backoff algorithm to determine the access time slot resources, wherein the backoff algorithm is a contention-based access control protocol on a single channel, and the passive Internet of Things device calculates and generates a backoff number series based on the information carried by the first inventory instruction, and randomly obtains any backoff number from the backoff number series, and the backoff number represents the access timing of the passive Internet of Things device.
[0188] Here, the passive Internet of Things device in the embodiment of the present application generates backoff series in different ways based on different inventory methods.
[0189] Exemplarily, a backoff sequence is generated based on the inventory mode, the number of access devices and the minimum number of access time slots carried by the first inventory instruction, including: if the inventory mode is determined to be the first inventory mode or the third inventory mode, a backoff sequence is generated based on the number of access devices and the minimum number of access time slots; if the inventory mode is determined to be the second inventory mode, a backoff sequence is generated based on the minimum number of access time slots.
[0190] Among them, the first inventory method characterizes that the maximum transmission time of the second uplink signal is less than the minimum access time slot of the base station; the second inventory method characterizes that the maximum transmission time of the first uplink signal is greater than or equal to the minimum access time slot of the base station; the third inventory method characterizes that the maximum transmission time of the first uplink signal is less than the minimum access time slot of the base station, and the maximum transmission time of the second uplink signal is greater than the minimum access time slot of the base station; the access time slot of the base station is used to receive the uplink signal sent by the passive Internet of Things device; the maximum transmission time of the first uplink signal is less than the maximum transmission time of the second uplink signal.
[0191] It should be noted that the embodiment of the present application generates a backoff sequence based on the number of possible signal collisions counted this time, wherein the number of possible signal collisions is equal to the number of time slots for accessing the first uplink signal. In the first inventory mode or the third inventory mode, the first uplink signal sent by the passive IoT device is a short signal, and the minimum access time slot is divided into uplink time slots of the number of access devices, then the number of possible signal collisions counted this time is the product of the number of access devices and the minimum number of access time slots; in the second inventory mode, the first uplink signal sent by the passive IoT device is a long signal, then the target inventory number of this inventory is the minimum number of access time slots.
[0192] In an application example of the present application, the first inventory instruction carries the number of access devices P and the minimum number of access time slots Q. If the first inventory instruction also carries the first inventory mode or the third inventory mode, the calculated backoff sequence is [0, 1, 2, ..., 2 P*Q -1]; if the first inventory instruction also carries the second inventory method, the calculated backoff sequence is [0, 1, 2, ..., 2 Q -1] is a discrete set of integers.
[0193] Here, the passive Internet of Things device in the embodiment of the present application generates different decrement strategies for backoff numbers based on different inventory methods, wherein the decrement strategy includes one of the following: an active decrement strategy and a passive decrement strategy.
[0194] Exemplarily, based on the inventory method, determining a decreasing strategy for the backoff number includes:
[0195] If it is determined that the inventory method is the first inventory method or the third inventory method, the backoff number is compared with the number of access devices; if it is determined that the backoff number is less than the number of access devices, the backoff number is controlled to decrease based on the set clock signal; or, if it is determined that the backoff number is greater than or equal to the number of access devices, the backoff number is updated based on the inventory success instruction, and the updated backoff number is the difference between the current backoff number and the number of access devices, and the inventory success instruction is sent by the base station;
[0196] If it is determined that the inventory method is the second inventory method and the backoff number is not 0, then based on the received second inventory instruction, control the backoff number to decrease by 1.
[0197] Exemplarily, based on the instruction and the access policy, sending an uplink signal to the base station includes: after receiving the first inventory instruction or the second inventory instruction, if it is determined that the backoff number is 0, then send a first uplink signal carrying the air interface identifier of the passive IoT device to the base station.
[0198] It can be understood that if it is determined that this inventory is carried out in the first inventory method or the third inventory method, and the minimum access slot number is greater than 1, it means that this inventory requires multiple rounds of inventory phases. Since the backoff sequence contains 2 P*Q integers, it is necessary to compare the current backoff number a obtained by the passive IoT device and the number of access devices P to determine whether the passive IoT device participates in this round of inventory.
[0199] Specifically, in the first inventory method or the third inventory method, if the current backoff number a < P, that is, a is any integer from 0 to P - 1, then it is determined that the passive IoT device participates in this round of inventory, and the decreasing strategy adopts the active decreasing strategy. The passive IoT device regularly controls a to decrease based on its own clock signal. When it is determined that a = 0, send a first uplink signal to the base station and wait for the base station to confirm the access; if the current backoff number a ≥ P, then it is determined that the passive IoT device does not participate in this round of inventory, and does not control a to decrease based on its own clock signal. When the passive IoT device receives the inventory success instruction, it is determined that this round of inventory phase is completed, and the next round of inventory phase will be carried out. Use a - P as the new backoff number and continue to compare a - P and P to determine whether the passive IoT device participates in the next round of inventory.
[0200] Here, the passive IoT device can adjust the interval duration for controlling the decrease of the backoff number based on the number of access devices.
[0201] It can be understood that under the active decreasing strategy, the passive IoT device semi-autonomously selects the moment to access the cellular network.
[0202] It is understandable that if it is determined that the inventory is to be conducted in the second inventory mode, due to the long transmission time of the first uplink signal, the access time slot of the base station may still be continuously occupied by the first uplink signal of other passive IoT devices. If an active decrement strategy is adopted, uplink signal collision is likely to occur. Therefore, in the second inventory mode, a passive delivery strategy is adopted to control the decrement of the backoff number. After receiving the first inventory instruction, the passive IoT device generates a backoff sequence and randomly obtains the backoff number. The passive IoT device with a backoff number of 0 directly sends the first uplink signal to the base station, and the passive IoT device with a backoff number of 1 enters a waiting state; after receiving the second inventory instruction, the passive IoT device determines that the previous first uplink signal has been transmitted. Based on the second inventory instruction, the current backoff number is controlled to be reduced by 1. The passive IoT device that enters the waiting state sends the first uplink signal to the base station, and the passive IoT device with a backoff number of 2 enters a waiting state.
[0203] It can be understood that, in the embodiment of the present application, if it is determined that the maximum transmission duration of the first uplink signal is less than the minimum access time slot, the passive Internet of Things device semi-autonomously selects a time to access in sequence; if it is determined that the maximum transmission duration of the first uplink signal is greater than or equal to the minimum access time slot, the passive Internet of Things device accesses the cellular network in parallel based on the inventory instructions.
[0204] Exemplarily, based on instructions and access strategies, an uplink signal is sent to a base station, and the method also includes: starting timing after sending a first uplink signal; if it is determined that an access confirmation instruction is received within a first set listening time, then based on an inventory method, sending a second uplink signal carrying device information of a passive Internet of Things device to the base station, the device information including a device identifier and / or device data.
[0205] It should be noted that after the passive Internet of Things device sends the first uplink signal, it starts the timer and listens for the base station instructions within the first set listening time. If an access confirmation instruction is received within the first set listening time, it is determined that the passive Internet of Things device has successfully accessed, and based on the inventory method, a second uplink signal is sent to the base station; if no access confirmation instruction is received within the first set listening time, it is confirmed that the passive Internet of Things device has not successfully accessed. The reason for the failure to access may be that the first uplink signal collides, and the passive Internet of Things device waits for instructions to instruct the colliding device to access.
[0206] Exemplarily, based on the inventory method, a second uplink signal carrying device information of a passive Internet of Things device is sent to a base station, including: if the inventory method is determined to be the first inventory method, then after receiving an access confirmation instruction, based on the access time of the passive Internet of Things device, the second uplink signal is sent to the base station at a fixed time; if the inventory method is determined to be the second inventory method or the third inventory method, then after receiving the access confirmation instruction, the second uplink signal is sent to the base station.
[0207] It can be understood that, in the embodiment of the present application, if it is determined that the maximum transmission duration of the second uplink signal is less than the minimum access time slot, the passive Internet of Things device semi-autonomously chooses to send device information in sequence; if it is determined that the maximum transmission duration of the first uplink signal is greater than or equal to the minimum access time slot, the passive Internet of Things device sends the device information to the cellular network in parallel based on the access confirmation instruction.
[0208] It can be understood that if the inventory method is determined to be the second inventory method, after the preceding passive Internet of Things device sends a signal to send a first uplink signal, the first timer is started. Within the first monitoring set time, the base station needs to complete the steps of sending inventory instructions and receiving the first uplink signal for the subsequent passive Internet of Things device to avoid the second uplink signal sent by the preceding passive Internet of Things device after receiving the access confirmation instruction collides with the first uplink signal sent by the subsequent passive Internet of Things device.
[0209] It can be understood that under the second inventory mode, the subsequent passive IoT devices reuse the waiting time after the previous passive IoT devices send the first uplink signal, and access the cellular network in parallel, thereby reducing the access time slot resources occupied by the first uplink signal.
[0210] Exemplarily, the method further includes: starting timing after sending the second uplink signal; and exiting the inventory if it is determined that an inventory confirmation instruction indicating a successful inventory is received within the second set monitoring time.
[0211] It can be understood that after the passive Internet of Things device sends the second uplink signal, it starts the timer and listens for the base station instructions within the second set listening time. If it receives an inventory confirmation instruction within the second set listening time, it is determined that the passive Internet of Things device has successfully completed the inventory and exits the access state. If it does not receive an inventory confirmation instruction within the second set listening time, it is confirmed that the passive Internet of Things device has not successfully completed the inventory. The reason for the failure of the inventory may be a collision of the second uplink signal, and the passive Internet of Things device waits for the next round of inventory phase.
[0212] It can be understood that if the inventory method is determined to be the second inventory method or the third inventory method, after the preceding passive Internet of Things device sends the second uplink signal, the second timer is started. Within the second monitoring set time, the base station needs to complete the steps of sending access confirmation instructions and receiving the second uplink signal for the subsequent passive Internet of Things device, that is, the subsequent passive Internet of Things device reuses the waiting time after the preceding passive Internet of Things device sends the second uplink signal, effectively avoiding conflicts between multiple second uplink signals due to excessive clock signal errors of each passive Internet of Things device.
[0213] Exemplarily, the method further includes:
[0214] If the inventory method is determined to be the first inventory method, the first set monitoring time and the second set monitoring time are both set to the first time; if the inventory method is determined to be the second inventory method, the first set monitoring time and the second set monitoring time are both set to the second time; if the inventory method is determined to be the third inventory method, the first set monitoring time is set to the first time, and the second set monitoring time is set to the second time; wherein the first time is less than the second time.
[0215] It can be understood that if it is determined that the maximum transmission duration of the uplink signal is less than the minimum access time slot, the passive Internet of Things device semi-autonomously chooses the time to access the cellular network and / or the time to send device information, and the first duration can be set to the minimum access time slot; if it is determined that the maximum transmission duration of the uplink signal is greater than or equal to the minimum access time slot, the passive Internet of Things devices access the cellular network and / or send device information in parallel, and the subsequent passive Internet of Things devices need to reuse the waiting time after the previous passive Internet of Things devices send the uplink signal. Therefore, it is necessary to extend the set monitoring time of the passive Internet of Things devices to ensure that the subsequent passive Internet of Things devices complete the corresponding uplink signal sending steps, so the second duration is greater than the first duration.
[0216] In an application example of the present application, a flowchart of a method for taking inventory of passive IoT devices in a first inventory mode is provided, such as Figure 8 The method comprises:
[0217] Step 801: The base station sends a first inventory instruction to a passive Internet of Things device.
[0218] Here, the first inventory instruction carries the first inventory mode and the number of connected devices. The number of connected devices in this application example is 2.
[0219] Here, the base station simultaneously sends a first inventory instruction to the passive Internet of Things device.
[0220] Step 802: Passive IoT device A sends a first uplink signal to a base station.
[0221] Here, after receiving the first inventory instruction, the passive Internet of Things device A obtains the current backoff number a, and decrements the backoff number based on its own clock signal. When it is determined that the current backoff number a=0, it sends a first uplink signal.
[0222] Here, after the passive Internet of Things device A sends the first uplink signal, it starts its own first timer and listens to the access confirmation instruction of the base station within the first time length T2.
[0223] Step 803: Passive IoT device B sends a first uplink signal to the base station.
[0224] Here, the backoff number obtained by the passive IoT device B is greater than the backoff number of the passive IoT device A.
[0225] Here, after the passive Internet of Things device B sends the first uplink signal, it starts its own first timer and listens to the access confirmation instruction of the base station within the first duration T2.
[0226] Step 804: The base station sends an access confirmation instruction to passive IoT device A and passive IoT device B.
[0227] Here, after the base station sends the first inventory instruction, it starts timing. When the minimum access time slot is reached, the first uplink signal sent by passive IoT device A and passive IoT device B is received. Based on the air interface identifier carried by the first uplink signal, an access confirmation instruction is sent to passive IoT device A and passive IoT device B at the same time.
[0228] Here, after receiving the access confirmation instruction, the passive Internet of Things device A and the passive Internet of Things device B stop their own first timers.
[0229] Step 805: Passive IoT device A sends a second uplink signal to the base station.
[0230] Here, after the passive Internet of Things device A sends the second uplink signal, it starts its own first timer and listens to the inventory confirmation instruction of the base station within the first time period T2.
[0231] Step 806: Passive IoT device A sends a second uplink signal to the base station.
[0232] Here, after the passive Internet of Things device B sends the second uplink signal, it starts its own first timer and listens to the inventory confirmation instruction of the base station within the first time period T2.
[0233] Here, since the timing of passive IoT device B sending the first uplink signal lags behind that of passive IoT device A, based on the timing of the base station receiving the first uplink signal, passive IoT device B sends the second uplink signal after passive IoT device A.
[0234] Step 807: The base station sends a third uplink signal to the core network element.
[0235] Here, the base station packages the received device information of the passive IoT device A and the passive IoT device B and sends it to the core network element.
[0236] Step 808: The core network element sends an inventory confirmation instruction to the base station.
[0237] Here, the inventory confirmation instruction carries the device identifications of passive IoT device A and passive IoT device B.
[0238] Step 809: The base station sends an inventory confirmation instruction to Passive IoT Device A and Passive IoT Device B.
[0239] Here, after receiving the inventory confirmation instruction, Passive IoT Device A and Passive IoT Device B exit the access to the cellular network and no longer participate in this inventory.
[0240] In an application example of this application, a flowchart of an inventory method for a passive IoT device in a first inventory method is provided, as Fig. 9 shown. This method is applied to passive IoT devices. The method includes:
[0241] Step 901: Receive a first inventory instruction and determine the inventory method.
[0242] Here, the inventory method is the first inventory method, and the code indicating the first inventory method can be 010.
[0243] Step 902: Obtain the number of access devices P and the minimum number of access time slots Q.
[0244] Step 903: Generate a backoff sequence [0, 1, 2, ……, 2 P*Q - 1], and obtain a random number a 0, Determine the backoff number a = a0, and x = 0.
[0245] Here, the backoff sequence includes a total of 2 P*Q integers, and any integer is randomly selected as the current backoff number a, where x represents the update times of the backoff number a.
[0246] Step 904: Determine whether a < P. If so, execute Step 905; if not, execute Step 907.
[0247] Here, if it is determined that a < P, it means that the passive IoT device can participate in this round of inventory. If a ≥ P, the passive IoT device waits for the subsequent rounds of inventory.
[0248] Step 905: Decrease a based on the clock signal.
[0249] Step 906: Determine whether a = 0. If so, execute Step 910; if not, execute Step 905.
[0250] Step 907: Wait for an inventory success instruction.
[0251] Step 908: Determine whether an inventory success instruction is received. If so, execute Step 909; if not, execute Step 907.
[0252] Here, the inventory success instruction indicates that this round of inventory is completed and the next round of inventory will start soon.
[0253] Step 909, a x+1 =a x -P, update a=a x+1 After that, x increases.
[0254] Here, the difference between the current backoff number and the number of connected devices is used as the new backoff number, and the number of times the backoff number is updated is updated.
[0255] Here, after step 909 is executed, step 904 is executed.
[0256] Here, after the backoff number a is updated, it is determined whether the passive IoT device participates in the next round of inventory.
[0257] Step 910: Send a first uplink signal.
[0258] Here, after sending the first uplink signal, the timer is started to monitor the base station signal.
[0259] Step 911, determine whether an access confirmation instruction is received within the first time period, if so, execute step 912; if not, execute step 914.
[0260] Step 912: Send a second uplink signal.
[0261] Step 913, determining whether an inventory confirmation instruction is received within the first time period, if so, executing step 915; if not, executing step 914.
[0262] Here, the inventory confirmation instruction and inventory success instruction of this application example can be a DataACK instruction. If the passive Internet of Things device has received an access confirmation instruction, the subsequently received DataACK instruction is an inventory confirmation instruction; if the passive Internet of Things device has not received an access confirmation instruction, the received DataACK instruction is an inventory success instruction.
[0263] Step 914, waiting for the collision device access instruction.
[0264] Here, if the passive IoT device does not receive a corresponding base station instruction within the first time period after sending an uplink signal, it is determined that a collision has occurred in the uplink signal, and according to the backoff algorithm, the device waits for an access instruction from the collision device.
[0265] Step 915, exit inventory.
[0266] In an application example of the present application, a flowchart of a method for taking inventory of passive IoT devices in a second inventory mode is provided, such as Fig.10 The method comprises:
[0267] Step 1001: The base station sends a first inventory instruction to a passive Internet of Things device.
[0268] Here, the first inventory instruction carries the second inventory mode and the number of connected devices. The number of connected devices in this application example is 2.
[0269] Step 1002: Passive IoT device A sends a first uplink signal to a base station.
[0270] Here, after receiving the first inventory instruction, the passive Internet of Things device A obtains the current backoff number a and the current backoff number a is 0, and sends a first uplink signal.
[0271] Here, after the passive Internet of Things device A sends the first uplink signal, it starts its own second timer and listens to the access confirmation instruction of the base station within the second time length T3.
[0272] Step 1003: The base station sends a second inventory instruction to the passive Internet of Things device.
[0273] Here, after receiving the first uplink signal sent by passive Internet of Things device A, the base station sends a second inventory instruction to passive Internet of Things devices other than passive Internet of Things device A.
[0274] Step 1004: Passive IoT device B sends a first uplink signal to the base station.
[0275] Here, after receiving the first inventory instruction, the passive Internet of Things device A obtains the current backoff number a and the current backoff number a is 1; after receiving the second inventory instruction, the current backoff number is controlled to be reduced by 1, and a first uplink signal is sent.
[0276] Here, after the passive Internet of Things device B sends the first uplink signal, it starts its own second timer and listens to the access confirmation instruction of the base station within the second time length T3.
[0277] Step 1005: The base station sends an access confirmation instruction to passive IoT device A.
[0278] Here, based on the number of device accesses being 2, after receiving the first uplink signal sent by passive IoT device A and passive IoT device B, the base station sends an access confirmation command to passive IoT device A.
[0279] Here, after receiving the access confirmation instruction, the passive Internet of Things device A stops its own second timer.
[0280] Step 1006: Passive IoT device A sends a second uplink signal to the base station.
[0281] Here, after the passive Internet of Things device A sends the second uplink signal, it starts its own second timer and listens to the inventory confirmation instruction of the base station within the second time length T3.
[0282] Step 1007: The base station sends an access confirmation instruction to passive IoT device B.
[0283] Here, after receiving the second uplink signal sent by passive IoT device A, the base station sends an access confirmation instruction to passive IoT device B.
[0284] Here, after receiving the access confirmation instruction, the passive Internet of Things device B stops its own second timer.
[0285] Step 1008: Passive IoT device B sends a second uplink signal to the base station.
[0286] Here, after the passive Internet of Things device B sends the second uplink signal, it starts its own second timer and listens to the inventory confirmation instruction of the base station within the second time length T3.
[0287] Step 1009: The base station sends a third uplink signal to the core network element.
[0288] Here, based on the number of device accesses being 2, after receiving the second uplink signal sent by passive IoT device A and passive IoT device B, the base station sends a third uplink signal carrying the device information of passive IoT device A to the core network element.
[0289] Step 1010: The core network element sends an inventory confirmation instruction to the base station.
[0290] Here, the inventory confirmation instruction carries the device identification of passive Internet of Things device A.
[0291] Step 1011, the base station sends an inventory confirmation command to passive IoT device A.
[0292] Here, after receiving the inventory confirmation instruction, the passive Internet of Things device A stops its own second timer.
[0293] Step 1012: The base station sends a third uplink signal to a core network element.
[0294] Here, the third uplink signal carries the device information of the passive IoT device B.
[0295] Step 1013: The core network element sends an inventory confirmation instruction to the base station.
[0296] Here, the inventory confirmation instruction carries the device identification of the passive Internet of Things device B.
[0297] Step 1014: The base station sends an inventory confirmation command to passive IoT device B.
[0298] Here, after receiving the inventory confirmation instruction, the passive Internet of Things device B stops its own second timer.
[0299] In an application example of the present application, a flowchart of a method for taking inventory of passive IoT devices under a third inventory mode is provided, such as Fig.11 The method comprises:
[0300] Step 1101: The base station sends a first inventory instruction to a passive Internet of Things device.
[0301] Here, the first inventory instruction carries the third inventory mode and also carries the number of connected devices. The number of connected devices in this application example is 2.
[0302] Here, the base station simultaneously sends a first inventory instruction to the passive Internet of Things device.
[0303] Step 1102: Passive IoT device A sends a first uplink signal to a base station.
[0304] Here, after receiving the first inventory instruction, the passive Internet of Things device A obtains the current backoff number a, and decrements the backoff number based on its own clock signal. When it is determined that the current backoff number a=0, it sends a first uplink signal.
[0305] Here, after the passive Internet of Things device A sends the first uplink signal, it starts its own first timer and listens to the access confirmation instruction of the base station within the first time length T2.
[0306] Step 1103: Passive IoT device B sends a first uplink signal to the base station.
[0307] Here, the backoff number obtained by the passive IoT device B is greater than the backoff number of the passive IoT device A.
[0308] Here, after the passive Internet of Things device B sends the first uplink signal, it starts its own first timer and listens to the access confirmation instruction of the base station within the first duration T2.
[0309] Step 1104: The base station sends an access confirmation instruction to passive IoT device A.
[0310] Here, based on the number of device accesses being 2, after receiving the first uplink signal sent by passive IoT device A and passive IoT device B, the base station sends an access confirmation command to passive IoT device A.
[0311] Here, after receiving the access confirmation instruction, the passive Internet of Things device A stops its own first timer.
[0312] Step 1105: Passive IoT device A sends a second uplink signal to the base station.
[0313] Here, after the passive Internet of Things device A sends the second uplink signal, it starts its own second timer and listens to the inventory confirmation instruction of the base station within the second time length T3.
[0314] Step 1106: The base station sends an access confirmation instruction to passive IoT device B.
[0315] Here, after receiving the second uplink signal sent by passive IoT device A, the base station sends an access confirmation instruction to passive IoT device B.
[0316] Here, after receiving the access confirmation instruction, the passive Internet of Things device B stops its own first timer.
[0317] Step 1107: Passive IoT device B sends a second uplink signal to the base station.
[0318] Here, after the passive Internet of Things device B sends the second uplink signal, it starts its own second timer and listens to the inventory confirmation instruction of the base station within the second time length T3.
[0319] Step 1108: The base station sends a third uplink signal to the core network element.
[0320] Here, based on the number of device accesses being 2, after receiving the second uplink signal sent by passive IoT device A and passive IoT device B, the base station sends a third uplink signal carrying the device information of passive IoT device A to the core network element.
[0321] Step 1109: The core network element sends an inventory confirmation instruction to the base station.
[0322] Here, the inventory confirmation instruction carries the device identification of passive Internet of Things device A.
[0323] Step 1110: The base station sends an inventory confirmation command to passive IoT device A.
[0324] Here, after receiving the inventory confirmation instruction, the passive Internet of Things device A stops its own second timer.
[0325] Step 1111: The base station sends a third uplink signal to a core network element.
[0326] Here, the third uplink signal carries the device information of the passive IoT device B.
[0327] Step 1112: The core network element sends an inventory confirmation instruction to the base station.
[0328] Here, the inventory confirmation instruction carries the device identification of the passive Internet of Things device B.
[0329] Step 1113, the base station sends an inventory confirmation command to passive IoT device B.
[0330] Here, after receiving the inventory confirmation instruction, the passive Internet of Things device B stops its own second timer.
[0331] In an application example of the present application, an encoding format of a first inventory instruction is provided, as shown in Table 1.
[0332] Table 1
[0333] Encoding Type Code length Instruction Type 5bit Inventory method 3bit Encoding Type 2bit Bitrate 2bit Inventory Mode 2bit Frequency shift indication 1bit P 2bit Q 4bit CRC 3bit
[0334] Here, the instruction type is the identification code corresponding to the first inventory instruction Query1.
[0335] Here, the inventory methods include: a conventional random access method (000), a collision device random access method (001), a first inventory method (010), a second inventory method (011) and a third inventory method (100).
[0336] Here, the coding type indicates the coding type of the uplink signal, including linear code, convolutional code, and linear code+convolutional code.
[0337] Here, the code rate indicates the code rate of the uplink signal.
[0338] Here, the inventory mode includes a fast inventory mode and a weak inventory mode.
[0339] Here, the frequency shift indication represents whether the uplink signal is frequency shifted, 0 indicates that the frequency shift is allowed, and 1 indicates that the frequency shift is not allowed.
[0340] Here, P is the number of access devices.
[0341] Here, Q is the minimum number of access time slots.
[0342] Here, the CRC-5 method is used to verify the correctness of instruction reception.
[0343] It should be noted that the embodiment of the present application only limits the function and carried information of the first inventory instruction, and does not specifically limit the encoding format of the first inventory instruction.
[0344] In an application example of the present application, a coding format of a second inventory instruction is provided, as shown in Table 2.
[0345] Table 2
[0346] Encoding Type Code length Instruction Type 5bit Frequency shift indication 1bit CRC 3bit
[0347] Here, the instruction type is the identification code corresponding to the first inventory instruction Query2.
[0348] It can be understood that the second inventory instruction only includes the instruction type, the frequency shift indication and the CRC, so as to shorten the encoding length of the second inventory instruction.
[0349] It should be noted that the embodiment of the present application only limits the function and carried information of the second inventory instruction, and does not specifically limit the encoding format of the second inventory instruction.
[0350] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a base station. Fig.12 Only an exemplary structure of the base station is shown, not all structures, and can be implemented as needed. Fig.12 Partial or complete structure shown.
[0351] like Fig.12 As shown, the base station 1200 provided in the embodiment of the present application includes: at least one processor 1201, a memory 1202, a user interface 1203 and at least one network interface 1204. The various components in the base station 1200 are coupled together through a bus system 1205. It can be understood that the bus system 1205 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1205 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Fig.12 Various buses are labeled as bus system 1205.
[0352] The user interface 1203 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.
[0353] The memory 1202 in the embodiment of the present application is used to store various types of data to support the operation of the base station 1200. Examples of such data include: any computer program used to operate on the base station 1200.
[0354] The inventory method for passive IoT devices applied to base stations disclosed in the embodiment of the present application can be applied to the processor 1201, or implemented by the processor 1201. The processor 1201 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the inventory method for passive IoT devices applied to base stations can be completed by hardware integrated logic circuits or software instructions in the processor 1201. The above-mentioned processor 1201 can be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 1201 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present application for base stations. The general-purpose processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the memory 1202. The processor 1201 reads the information in the memory 1202 and, in combination with its hardware, completes the steps of the inventory method for passive Internet of Things devices applied to a base station provided in an embodiment of the present application.
[0355] In an exemplary embodiment, the base station 1200 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), FPGA, general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned inventory method of passive Internet of Things devices applied to the base station.
[0356] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a passive Internet of Things device. Fig.13 Only an exemplary structure of the passive IoT device is shown, not all structures, and can be implemented as needed. Fig.13 Partial or complete structure shown.
[0357] like Fig.13As shown, the passive IoT device 1300 provided in the embodiment of the present application includes: at least one processor 1301, a memory 1302, a user interface 1303 and at least one network interface 1304. The various components in the passive IoT device 1300 are coupled together through a bus system 1305. It can be understood that the bus system 1305 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1305 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Fig.13 Various buses are labeled as bus system 1305 .
[0358] The user interface 1303 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.
[0359] The memory 1302 in the embodiment of the present application is used to store various types of data to support the operation of the passive Internet of Things device 1300. Examples of such data include: any computer program used to operate on the passive Internet of Things device 1300.
[0360] The inventory method for passive IoT devices applied to passive IoT devices disclosed in the embodiment of the present application can be applied to the processor 1301, or implemented by the processor 1301. The processor 1301 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the inventory method for passive IoT devices applied to passive IoT devices can be completed by hardware integrated logic circuits or software instructions in the processor 1301. The above-mentioned processor 1301 can be a general-purpose processor, DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 1301 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present application for passive IoT devices. The general-purpose processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the memory 1302. The processor 1301 reads the information in the memory 1302 and, in combination with its hardware, completes the steps of the inventory method for passive Internet of Things devices applied to passive Internet of Things devices provided in an embodiment of the present application.
[0361] In an exemplary embodiment, the passive Internet of Things device 1300 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to execute the aforementioned passive Internet of Things device inventory method applied to passive Internet of Things devices.
[0362] It can be understood that the memory 1202, 1302 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
[0363] In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, which may be a computer-readable storage medium, for example, a memory 1202 storing a computer program, which may be executed by a processor 1201 of a base station 1200 to complete the steps of the inventory method for passive Internet of Things devices applied to the base station 1200 in the present application embodiment; for another example, a memory 1302 storing a computer program, which may be executed by a processor 1301 of a passive Internet of Things device 1300 to complete the steps of the inventory method for passive Internet of Things devices applied to the passive Internet of Things device 1300 in the present application embodiment. The computer-readable storage medium may be a memory such as a ROM, a PROM, an EPROM, an EEPROM, a Flash Memory, a magnetic surface memory, an optical disk, or a CD-ROM.
[0364] In an exemplary embodiment, the embodiment of the present application further provides a computer program product, including a computer program, which can be executed by the processor 1201 of the base station 1200 to complete the steps described in the inventory method of passive Internet of Things devices applied to the base station 1200 in the embodiment of the present application; for example, the computer program can be executed by the processor 1301 of the passive Internet of Things device 1300 to complete the steps described in the inventory method of passive Internet of Things devices applied to the passive Internet of Things device 1300 in the embodiment of the present application.
[0365] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0366] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0367] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for inventorying passive Internet of Things devices, characterized in that: Applied to a base station, the method comprises: Get the maximum transmission duration of the uplink signal sent by the passive IoT device; Determining an inventory method based on the maximum transmission duration of the uplink signal; Based on the inventory method and / or the received uplink signal, sending a command to the passive Internet of Things device; The instruction includes at least one of the following: an inventory instruction and an access confirmation instruction; the uplink signal includes at least one of the following: a first uplink signal for responding to the inventory and a second uplink signal for responding to the access confirmation.
2. The method according to claim 1, characterized in that The obtaining of the maximum transmission duration of the uplink signal sent by the passive IoT device includes: Obtaining the transmission rate and data volume of the uplink signal sent by the passive IoT device; Based on the transmission rate and data volume of the uplink signal, a maximum transmission duration of the uplink signal is determined.
3. The method according to claim 1, characterized in that The determining of the inventory mode based on the maximum transmission duration of the uplink signal includes: If the maximum transmission duration of the second uplink signal is less than the minimum access time slot of the base station, determining that the inventory mode is the first inventory mode; If the maximum transmission duration of the first uplink signal is greater than or equal to the minimum access time slot of the base station, determining that the inventory mode is the second inventory mode; If the maximum transmission duration of the first uplink signal is less than the minimum access time slot of the base station, and the maximum transmission duration of the second uplink signal is greater than the minimum access time slot of the base station, determining that the inventory mode is the third inventory mode; Among them, the access time slot of the base station is used to receive the uplink signal sent by the passive Internet of Things device; the maximum transmission duration of the first uplink signal is less than the maximum transmission duration of the second uplink signal.
4. The method according to claim 3, characterized in that The sending of instructions to the passive Internet of Things device based on the inventory method and / or the received uplink signal includes: Sending a first inventory instruction to the passive Internet of Things device, wherein the first inventory instruction carries the inventory mode, the minimum number of access time slots, and the number of access devices; Receiving a first uplink signal sent by the passive Internet of Things device; Based on the inventory mode, the first uplink signal and / or the received second uplink signal, the access confirmation instruction is sent to the passive Internet of Things device.
5. The method according to claim 4, characterized in that The method further comprises: If it is determined that the inventory mode is the second inventory mode, after receiving the first uplink signal, a second inventory instruction instructing to continue the inventory is sent to the passive Internet of Things device, and the encoding length of the second inventory instruction is less than the encoding length of the first inventory instruction; Based on the number of received first uplink signals and the number of access devices, stop sending the second inventory instruction.
6. The method according to claim 4, characterized in that The method further comprises: If it is determined that the inventory method is the first inventory method or the third inventory method, based on the number of access devices, the minimum access time slot is divided into one or more uplink time slots, and the uplink time slot is used to receive a single first uplink signal sent by the passive Internet of Things device; After sending the first inventory instruction, start timing; After determining that the timing reaches the minimum access timeslot, stop receiving the first uplink signal.
7. The method according to claim 4, characterized in that The first uplink signal carries the air interface identifier of the passive Internet of Things device, and the sending the access confirmation instruction to the passive Internet of Things device based on the inventory mode, the first uplink signal and / or the received second uplink signal includes: Based on all received air interface identifiers, determine the passive IoT devices that have been successfully connected; If it is determined that the inventory method is the first inventory method, simultaneously sending the access confirmation instruction to all the passive IoT devices that have successfully accessed; If it is determined that the inventory method is the second inventory method or the third inventory method, the access confirmation instruction is sent in sequence to the passive Internet of Things devices that have successfully accessed based on the reception timing of the first uplink signal.
8. The method according to claim 7, characterized in that The step of sequentially sending the access confirmation instruction to the successfully accessed passive IoT device based on the reception timing of the first uplink signal includes: Determine a first passive Internet of Things device for sending a first timing of a first uplink signal; Sending the access confirmation instruction to the first passive Internet of Things device; After determining that the second uplink signal from the first passive Internet of Things device is received, based on the reception timing of the first uplink signal, determine the second passive Internet of Things device that sends the second timing of the first uplink signal, and send the access confirmation instruction to the second passive Internet of Things device until the access confirmation instruction is sent to each passive Internet of Things device that has successfully accessed.
9. The method according to claim 7, characterized in that: The second uplink signal carries device information of the passive IoT device, where the device information includes a device identifier and / or device data. The method further includes: Based on the inventory mode and the received second uplink signal, sending a third uplink signal carrying the device information to a core network element; Receive an inventory confirmation instruction carrying a device identifier sent by the core network element, and forward the inventory confirmation instruction to a corresponding passive Internet of Things device based on the carried device identifier.
10. The method according to claim 9, characterized in that The sending, based on the inventory mode and the received second uplink signal, a third uplink signal carrying the device information to a core network element includes: If it is determined that the inventory method is the first inventory method, sending a third uplink signal carrying device information of all successfully connected passive IoT devices to the core network element; If it is determined that the inventory method is the second inventory method or the third inventory method, each time after the second uplink signal is received, a third uplink signal carrying the device information is sent to the core network element.
11. A method for inventorying passive Internet of Things devices, characterized in that: Applied to a passive IoT device, the method comprises: receiving an instruction sent by a base station, wherein the instruction includes at least one of the following: an inventory instruction and an access confirmation instruction; Based on the inventory instruction, determine the inventory method for this inventory; Determining an access strategy for the passive Internet of Things device based on the instruction and the inventory method; Based on the instruction and the access policy, an uplink signal is sent to the base station, wherein the uplink signal includes at least one of the following: a first uplink signal for responding to the inventory and a second uplink signal for responding to the access confirmation.
12. The method according to claim 11, characterized in that The instruction further includes an inventory confirmation instruction indicating that the inventory is successful, and the instruction sent by the receiving base station includes: receiving a first inventory instruction sent by the base station, the first inventory instruction carrying the inventory mode, the number of access devices and the minimum number of access time slots of the base station; and / or receiving a second inventory instruction sent by the base station instructing to continue the inventory; and / or receiving the access confirmation instruction sent by the base station; and / or receiving the inventory confirmation instruction sent by the base station; The encoding length of the second inventory instruction is smaller than the encoding length of the first inventory instruction.
13. The method according to claim 12, characterized in that The determining the access strategy of the passive Internet of Things device based on the instruction and the inventory method includes: Generate a backoff sequence based on the inventory mode, the number of access devices and the minimum number of access time slots carried by the first inventory instruction; Obtain any backoff number in the backoff number sequence, where the backoff number is used to determine the access time of the passive Internet of Things device; Based on the inventory method, a decreasing strategy for the backoff number is determined.
14. The method according to claim 13, characterized in that The generating a backoff sequence based on the inventory mode, the number of access devices and the minimum number of access time slots carried by the first inventory instruction includes: If it is determined that the inventory mode is the first inventory mode or the third inventory mode, generating the backoff sequence based on the number of access devices and the minimum number of access time slots; If it is determined that the inventory mode is the second inventory mode, generating the backoff sequence based on the minimum number of access time slots; Among them, the first inventory method represents that the maximum transmission duration of the second uplink signal is less than the minimum access time slot of the base station; the second inventory method represents that the maximum transmission duration of the first uplink signal is greater than or equal to the minimum access time slot of the base station; the third inventory method represents that the maximum transmission duration of the first uplink signal is less than the minimum access time slot of the base station, and the maximum transmission duration of the second uplink signal is greater than the minimum access time slot of the base station; the access time slot of the base station is used to receive the uplink signal sent by the passive Internet of Things device; the maximum transmission duration of the first uplink signal is less than the maximum transmission duration of the second uplink signal.
15. The method according to claim 14, characterized in that The step of determining the decreasing strategy of the backoff number based on the inventory method includes: If it is determined that the inventory method is the first inventory method or the third inventory method, comparing the backoff number with the number of access devices; If it is determined that the backoff number is less than the number of access devices, then based on the set clock signal, the backoff number is controlled to decrease; or, if it is determined that the backoff number is greater than or equal to the number of access devices, then based on the inventory success instruction, the backoff number is updated, and the updated backoff number is the difference between the current backoff number and the number of access devices, and the inventory success instruction is sent by the base station; If it is determined that the inventory mode is the second inventory mode and the backoff number is not 0, the backoff number is controlled to be reduced by 1 based on the received second inventory instruction.
16. The method according to claim 13, characterized in that The sending the uplink signal to the base station based on the instruction and the access policy includes: After receiving the first inventory instruction or the second inventory instruction, if it is determined that the backoff number is 0, a first uplink signal carrying the air interface identifier of the passive Internet of Things device is sent to the base station.
17. The method according to claim 16, characterized in that Based on the instruction and the access policy, sending the uplink signal to the base station also includes: After sending the first uplink signal, start timing; If it is determined that the access confirmation instruction is received within the first set listening time, based on the inventory method, a second uplink signal carrying the device information of the passive Internet of Things device is sent to the base station, and the device information includes a device identification and / or device data.
18. The method according to claim 17, characterized in that The sending, based on the inventory method, a second uplink signal carrying device information of the passive Internet of Things device to the base station includes: If it is determined that the inventory mode is the first inventory mode, after receiving the access confirmation instruction, based on the access time of the passive Internet of Things device, the second uplink signal is periodically sent to the base station; If it is determined that the inventory mode is the second inventory mode or the third inventory mode, after receiving the access confirmation instruction, the second uplink signal is sent to the base station.
19. The method according to claim 17, characterized in that The method further comprises: After sending the second uplink signal, start timing; If it is determined that an inventory confirmation instruction indicating that the inventory is successful is received within the second set monitoring time period, the inventory is exited.
20. The method according to claim 19, characterized in that The method further comprises: If it is determined that the inventory mode is the first inventory mode, setting the first set monitoring time length and the second set monitoring time length to be the first time length; If it is determined that the inventory mode is the second inventory mode, setting the first set monitoring time length and the second set monitoring time length to the second time length; If it is determined that the inventory mode is the third inventory mode, setting the first set monitoring time length to the first time length, and the second set monitoring time length to the second time length; The first duration is shorter than the second duration.
21. A base station, characterized in that: include: A processor and a memory for storing a computer program that can be run on the processor, wherein the processor, when running the computer program, executes the steps of the method according to any one of claims 1 to 10.
22. A passive Internet of Things device, characterized in that: include: A processor and a memory for storing a computer program that can be run on the processor, wherein the processor, when running the computer program, executes the steps of the method according to any one of claims 11 to 20.
23. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 20 are implemented.
24. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 20 are implemented.
