A data transmission method and device thereof
By using passive radio frequency identification (RFID) technology, the reply device saves the number of time slots when the failure is made and carries this information in the third trigger message, the collision problem of the tag when accessing the same time slot is solved, and the access efficiency is improved.
Patent Information
- Application Number
- CN202210193241.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-02-27
- Filing Date
- 2022-02-28
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2042-02-28
AI Technical Summary
In passive radio frequency identification (RFID) technology, multiple tags are prone to collision when sending access information in the same time slot, resulting in access failure and reducing the access efficiency of tags.
By saving the number of time slots at the time of failure after the reply device fails to receive the acknowledge message from the read and write device, and carrying the number of time slots in the third trigger message, it is instructed that the tag avoids the same time slot collision during the next round of access.
It effectively reduces the probability of collision, improves the access efficiency of the tag, and ensures that the access process of the tag is smoother.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[0001] This application claims priority to Chinese patent application No. 202110221712.6, filed on February 27, 2021, and entitled “A Data Transmission Method and Device Thereof,” the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of communication technology, and specifically to a data transmission method and device thereof. Background Art
[0003] The basic working principle of passive radio frequency identification (RFID) technology is not complicated. After the tag enters the magnetic field, it receives the radio frequency signal sent by the reading and writing device, and sends out the product information stored in the chip (passive tag or passive tag) with the energy obtained by the induced current. After the reader reads and decodes the information, it is sent to the central information system for relevant data processing.
[0004] In a magnetic field, multiple tags will enter at the same time. The tag will determine the access time slot according to the time when the reader sends the command. When the tag reaches the access time slot, it will send access information to the reader. After the reader receives the information and replies with confirmation information, it means that the tag has successfully accessed.
[0005] If multiple tags in a magnetic field send access information in the same time slot, they will collide in the time slot, resulting in access failure. The tag that failed to access will continue to randomly determine an access time slot, so that the next time the tags collide in different time slots may choose to send access messages in the same time slot again, and continue to collide, resulting in low access efficiency of tags. Summary of the invention
[0006] The embodiment of the present application provides a data processing method for tag access, which can avoid collision of different time slots in the same time slot of the next round, reduce the probability of collision, and improve the access efficiency of the tag.
[0007] A first aspect of an embodiment of the present application provides a data transmission method, including:
[0008] The answering device receives the first signaling sent by the read-write device. The first signaling carries target flag information. The target flag information is used to determine the answering device. The first flag information of the answering device matches the target flag information. The answering device determines the first time slot and sends first access information to the read-write device in the first time slot.
[0009] In the embodiment of the present application, it is possible to avoid collisions between different time slots in the same time slot of the next round, thereby reducing the probability of collision and improving the access efficiency of tags.
[0010] Based on the method of the first aspect of the embodiment of the present application, in a possible implementation manner, after the answering device sends the first access information to the read-write device, the method also includes: if the answering device fails to successfully receive the confirmation message sent by the read-write device, the answering device saves the first time slot, the first time slot indicates the time slot number corresponding to the access failure of the answering device, the access failure indicates that the answering device fails to successfully receive the response message sent by the read-write device for the first access information sent by the answering device, the answering device receives the third trigger message sent by the read-write device, the third trigger message carries the target time slot, the target time slot includes the first time slot, and the third trigger message is used to instruct the answering device corresponding to the target time slot to access again.
[0011] In an embodiment of the present application, by carrying the first time slot number in the third trigger message, the first time slot number indicates the time slot number corresponding to the access failure of the answering device, so that the tags that collide in the same time slot can access the next round, avoiding the collision of different time slots in the same time slot in the next round, reducing the probability of collision, and improving the access efficiency of the tags. Based on the method of the first aspect of the embodiment of the present application, in a possible implementation method, the third trigger message carries target flag information.
[0012] In the embodiment of the present application, the target flag information is carried in the third trigger message, and there is no need to send the target flag information separately, thereby reducing the signaling overhead.
[0013] Based on the method of the first aspect of the embodiment of the present application, in a possible implementation manner, the target flag information includes a non-continuous mask, and the non-continuous mask includes at least two non-continuous bits.
[0014] In an embodiment of the present application, by carrying a non-continuous mask in the target flag information, the need for a non-continuous mask inventory label is met. Compared with a continuous mask, there is no need to send multiple continuous masks to achieve the effect of a non-continuous mask, which saves signaling overhead and improves efficiency.
[0015] Based on the method of the first aspect of the embodiment of the present application, in one possible implementation, the third trigger message contains a variable P, P=Q+n, or, P=Qn, or, P=Q*n, n is a positive integer greater than or equal to 1, and Q is used for the responding device to determine the first time slot.
[0016] In the embodiment of the present application, the flexibility of the answering device accessing again is improved by setting the variable P in multiple ways.
[0017] Based on the method of the first aspect of the embodiment of the present application, in a possible implementation manner, the first signaling, and / or the third trigger message belongs to any one of the following: RRC signaling, MAC subheader or MAC CE signaling.
[0018] In the embodiments of the present application, specific forms of the first signaling and / or the third trigger message are described to improve the feasibility of the solution.
[0019] Based on the method of the first aspect of the embodiment of the present application, in a possible implementation method, the third trigger message also carries a level number, and the level number indicates the number of times the answering device collides, and the third trigger message is used to instruct the answering device that matches the target flag information, target time slot and level number to access again.
[0020] In an embodiment of the present application, by carrying the level number in the third trigger message, the same collision time slots at different levels can be distinguished, avoiding too many tags from accessing at the same time under the same indication, and reducing the average number of tags accessing at the same time, thereby reducing the probability of collision.
[0021] Based on the method of the first aspect of the embodiment of the present application, in a possible implementation manner, the target time slot includes a plurality of collision first time slots, and the collision first time slot includes the first time slot.
[0022] In the embodiment of the present application, by indicating a specific collision time slot, the tag accesses, and thus group access can be achieved, avoiding a large number of tags from accessing at the same time, reducing the collision probability generated when the tags access, and improving access efficiency.
[0023] Based on the method of the first aspect of the embodiment of the present application, in a possible implementation manner, the target time slot is a plurality of consecutive collision first time slots, or the target time slot is a plurality of discrete collision first time slots.
[0024] In the embodiment of the present application, it is explained that the target time slot can be a plurality of continuous collision first time slots or a plurality of discrete collision first time slots, which improves the flexibility of the solution.
[0025] A second aspect of an embodiment of the present application provides a data transmission method, including:
[0026] The read / write device sends a first signaling to the answering device. The first signaling carries target flag information. The target flag information is used to determine the answering device. The first flag information of the answering device matches the target flag information. The read / write device receives the first access information sent by the answering device.
[0027] In the embodiment of the present application, it is possible to avoid collisions between different time slots in the same time slot of the next round, thereby reducing the probability of collision and improving the access efficiency of tags.
[0028] Based on the method of the second aspect of the embodiment of the present application, in a possible implementation manner, after the read-write device receives the first access information sent by the answering device, the method also includes: the read-write device detects that the answering device fails to access, the read-write device saves the first time slot of the answering device, the first time slot represents the time slot number corresponding to the access failure of the answering device, the access failure indicates that the answering device has not successfully received the response message sent by the read-write device for the first access information sent by the answering device, the read-write device sends a third trigger message, the third trigger message carries the target time slot, the target time slot includes the first time slot, and the third trigger message is used to instruct the answering device corresponding to the target time slot to access again.
[0029] In an embodiment of the present application, by carrying the first time slot number in the third trigger message, the first time slot number represents the time slot number corresponding to the access failure of the answering device, so that the tags that collide in the same time slot can perform the next round of access, thereby avoiding the collision of different time slots in the same time slot in the next round, reducing the probability of collision, and improving the access efficiency of the tags.
[0030] Based on the method of the second aspect of the embodiment of the present application, in a possible implementation manner, the third trigger message carries target flag information.
[0031] In the embodiment of the present application, the target flag information is carried in the third trigger message, and there is no need to send the target flag information separately, thereby reducing the signaling overhead.
[0032] Based on the method of the second aspect of the embodiment of the present application, in a possible implementation manner, the target flag information includes a non-continuous mask, and the non-continuous mask includes at least two non-continuous bits.
[0033] In an embodiment of the present application, by carrying a non-continuous mask in the target flag information, the need for a non-continuous mask inventory label is met. Compared with a continuous mask, there is no need to send multiple continuous masks to achieve the effect of a non-continuous mask, which saves signaling overhead and improves efficiency.
[0034] Based on the method of the second aspect of the embodiment of the present application, in one possible implementation, the third trigger message contains a variable P, P=Q+n, or, P=Qn, or, P=Q*n, n is a positive integer greater than or equal to 1, and Q is used for the responding device to determine the first time slot.
[0035] In the embodiment of the present application, the flexibility of the answering device accessing again is improved by setting the variable P in multiple ways.
[0036] Based on the method of the second aspect of the embodiment of the present application, in a possible implementation, the third trigger message also carries a level number, which indicates the number of times the answering device has collided, and the third trigger message is used to instruct the answering device that matches the target flag information, target time slot and level number to access again.
[0037] In an embodiment of the present application, by carrying the level number in the third trigger message, the same collision time slots at different levels can be distinguished, avoiding too many tags from accessing at the same time under the same indication, and reducing the average number of tags accessing at the same time, thereby reducing the probability of collision.
[0038] Based on the method of the second aspect of the embodiment of the present application, in a possible implementation manner, the target time slot includes a plurality of collision first time slots, and the collision first time slot includes the first time slot.
[0039] In the embodiment of the present application, by indicating a specific collision time slot, the tag accesses, and thus group access can be achieved, avoiding a large number of tags from accessing at the same time, reducing the collision probability generated when the tags access, and improving access efficiency.
[0040] A third aspect of the embodiments of the present application provides a response device, including:
[0041] The receiving unit is used to receive a first signaling sent by a read / write device, the first signaling carries target flag information, the target flag information is used to determine a response device, and the first flag information of the response device matches the target flag information.
[0042] The determination unit is used to determine a first time slot and send first access information to the read-write device in the first time slot.
[0043] Based on the answering device of the third aspect of the embodiment of the present application, in a possible implementation manner, if the receiving unit fails to successfully receive the confirmation message sent by the read-write device, the answering device further includes:
[0044] The storage unit is used to store the first time slot, which indicates the time slot number corresponding to the access failure of the answering device, and the access failure indicates that the answering device fails to successfully receive the response message sent by the reading and writing device for sending the first access information of the answering device.
[0045] The receiving unit is also used to receive a third trigger message sent by the read / write device, the third trigger message carries a target time slot, the target time slot includes the first time slot, and the third trigger message is used to instruct the answering device corresponding to the target time slot to access again.
[0046] Based on the answering device of the third aspect of the embodiment of the present application, in a possible implementation manner, the third trigger message carries target flag information.
[0047] Based on the answering device of the third aspect of the embodiment of the present application, in a possible implementation manner, the target flag information includes a non-continuous mask, and the non-continuous mask includes at least two non-continuous bits.
[0048] Based on the answering device of the third aspect of the embodiment of the present application, in a possible implementation method, the third trigger message includes a variable P, P=Q+n, or, P=Qn, or, P=Q*n, n is a positive integer greater than or equal to 1, and Q is used by the answering device to determine the first time slot.
[0049] Based on the answering device of the third aspect of the embodiment of the present application, in one possible implementation method, the first signaling, and / or the third trigger message belongs to any one of the following: radio resource control (RRC) signaling, medium access control (MAC) subheader or medium access control element (MAC CE) signaling.
[0050] In the embodiments of the present application, specific forms of the first signaling and / or the third trigger message are described to improve the feasibility of the solution.
[0051] Based on the answering device of the third aspect of the embodiment of the present application, in a possible implementation method, the third trigger message also carries a layer number, and the layer number indicates the number of times the answering device collides, and the third trigger message is used to instruct the answering device that matches the target flag information, target time slot and layer number to access again.
[0052] Based on the answering device of the third aspect of the embodiment of the present application, in a possible implementation manner, the target time slot includes a plurality of collision first time slots, and the collision first time slot includes the first time slot.
[0053] In a possible implementation of the answering device based on the third aspect of the embodiment of the present application, the target time slot is a plurality of consecutive collision first time slots, or the target time slot is a plurality of discrete collision first time slots.
[0054] The method steps executed by each unit of the answering device in the third aspect of the embodiment of the present application are similar to the method steps executed by the answering device in the first aspect mentioned above, and will not be described in detail here.
[0055] A fourth aspect of the embodiments of the present application provides a reading and writing device, including:
[0056] The sending unit is used to send a first signaling to the answering device, the first signaling carries target flag information, the target flag information is used to determine the answering device, and the first flag information of the answering device matches the target flag information.
[0057] The receiving unit is used to receive the first access information sent by the answering device.
[0058] Based on the reading and writing device of the fourth aspect of the embodiment of the present application, in a possible implementation manner, when the reading and writing device detects that the answering device fails to access, the reading and writing device further includes:
[0059] The storage unit is used to store the first time slot of the answering device, where the first time slot represents the time slot number corresponding to the access failure of the answering device, and the access failure represents that the answering device fails to successfully receive the response message sent by the reading and writing device for sending the first access information of the answering device.
[0060] The sending unit is further used to send a third trigger message, the third trigger message carries a target time slot, the target time slot includes the first time slot, and the third trigger message is used to instruct the answering device corresponding to the target time slot to access again.
[0061] Based on the reading and writing device of the fourth aspect of the embodiment of the present application, in a possible implementation manner, the third trigger message carries target flag information.
[0062] Based on the reading and writing device of the fourth aspect of the embodiment of the present application, in a possible implementation manner, the target flag information includes a non-continuous mask, and the non-continuous mask includes at least two non-continuous bits.
[0063] Based on the reading and writing device of the fourth aspect of the embodiment of the present application, in one possible implementation method, the third trigger message contains a variable P, P=Q+n, or, P=Qn, or, P=Q*n, n is a positive integer greater than or equal to 1, and Q is used for the responding device to determine the first time slot.
[0064] Based on the method of the fourth aspect of the embodiment of the present application, in a possible implementation manner, the first signaling, and / or the third trigger message belongs to any one of the following: RRC signaling, MAC subheader or MAC CE signaling.
[0065] In the embodiments of the present application, specific forms of the first signaling and / or the third trigger message are described to improve the feasibility of the solution.
[0066] Based on the reading and writing device of the fourth aspect of the embodiment of the present application, in a possible implementation method, the third trigger message also carries a level number, and the level number indicates the number of times the answering device has collided. The third trigger message is used to instruct the answering device that matches the target flag information, target time slot and level number to access again.
[0067] Based on the reading and writing device of the fourth aspect of the embodiment of the present application, in a possible implementation manner, the target time slot includes a plurality of collision first time slots, and the collision first time slot includes the first time slot.
[0068] In a reading and writing device based on the fourth aspect of the embodiment of the present application, in a possible implementation manner, the target time slot is a plurality of consecutive collision first time slots, or the target time slot is a plurality of discrete collision first time slots.
[0069] The method steps executed by each unit of the read-write device in the fourth aspect of the embodiment of the present application are similar to the method steps executed by the read-write device in the aforementioned second aspect, and will not be described in detail here.
[0070] In a fifth aspect, the present application provides a computer storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the method as implemented in the first to second aspects of the present application.
[0071] In a sixth aspect, the present application provides a computer program product. When the computer program product is executed on a computer, it enables the computer to execute the method as implemented in the first to second aspects of the present application.
[0072] The seventh aspect of the embodiment of the present application provides a data transmission method, including: a first response device receives a first signaling sent by a read-write device, and the first signaling carries first target flag information. If the first flag information of the first response device matches the first target flag information, the first response device determines a first time slot and sends first access information to the read-write device in the first time slot. In the embodiment of the present application, collision of different time slots in the same time slot of the next round can be avoided, the probability of collision is reduced, and the access efficiency of the tag is improved.
[0073] Based on the method of the seventh aspect of the embodiment of the present application, in a possible implementation manner, if the first answering device fails to successfully receive the response message sent by the reading and writing device for the first access information, the method further includes: the first answering device saves the first time slot. The first answering device receives a third trigger message sent by the reading and writing device, the third trigger message carries the first time slot, and the third trigger message is used to instruct the first answering device to access again.
[0074] Based on the method of the seventh aspect of the embodiment of the present application, in a possible implementation, the third trigger message is also used for the first answering device to determine the time slot range for access, and the time slot range is used for the first answering device to select a time slot within the time slot range for re-access. In the embodiment of the present application, the third trigger message is used to instruct the first answering device to determine the time slot for re-access, thereby reducing the probability of collision and improving the access efficiency of the tag. Among them, the third trigger message can indicate the first answering device to determine the time slot for re-access in an explicit manner, or it can indicate the first answering device to determine the time slot for re-access in an implicit manner. For example, when the answering device receives the third trigger message, it confirms that the maximum number of time slots is N, and N is a positive integer greater than 1.
[0075] Based on the method of the seventh aspect of the embodiment of the present application, in a possible implementation manner, before the first answering device receives the third trigger message, the method further includes: the first answering device receives at least one second signaling, the second signaling carries second target flag information. If the first flag information of the first answering device matches the second target flag information, the first answering device determines the second time slot, and sends the second access information to the read-write device in the second time slot.
[0076] Based on the method of the seventh aspect of the embodiment of the present application, in a possible implementation, the third trigger message also carries a parameter T, T is used for the first answering device to determine the time slot range, and T is an integer greater than 0. In the embodiment of the present application, a specific method of indicating in a displayed manner that the first answering device determines the time slot for re-access is given. The first answering device can directly determine the access time slot range based on T. For example, T can be used to represent the maximum number of time slots, such as T can be 2 or 3. The first answering device can also determine the access time slot range after performing relevant calculations based on T. For example, after obtaining T, according to formula 2 T -1 to determine the time slot range for access.
[0077] Based on the method of the seventh aspect of the embodiment of the present application, in a possible implementation, the method also includes: the first response device receives the first instruction. The first response device responds to the first instruction and adjusts the value of the time slot counter of the first response device. If the first response device is a response device that has failed to access, it responds to the first instruction and starts the next time slot. If the first response device is not a response device that has failed to access, the first response device does not respond to the first instruction. In the embodiment of the present application, a new instruction is introduced for the response device that has failed to access, that is, the first instruction is introduced. Only the first response device that has failed to access will respond to the instruction and start the next time slot, and other response devices will not respond to the instruction and will not start the next time slot. In this way, the time slot jump of the response device that has successfully accessed is not affected, and the normal jump of the time slot of the response device that has successfully accessed is guaranteed.
[0078] Based on the method of the seventh aspect of the embodiment of the present application, in a possible implementation manner, the method further includes: the first answering device receives a second instruction, the second instruction includes a first layer number, and the first layer number is determined by the number of failed accesses of the first answering device. The first answering device responds to the second instruction and adjusts the value of the time slot counter of the first answering device.
[0079] Based on the method of the seventh aspect of the embodiment of the present application, in a possible implementation manner, the third trigger message carries the first target flag information.
[0080] Based on the method of the seventh aspect of the embodiment of the present application, in a possible implementation manner, the first target flag information includes a non-continuous mask or flag bit information, and the non-continuous mask includes at least two non-continuous bits.
[0081] Based on the method of the seventh aspect of the embodiment of the present application, in one possible implementation method, the first signaling, and / or the third trigger message belongs to any one of the following: radio resource control RRC signaling, media access control MAC subheader or media access control unit MAC CE signaling.
[0082] Based on the method of the seventh aspect of the embodiment of the present application, in a possible implementation method, the third trigger message carries a second-layer level number, and the second-layer level number is determined by the number of access failures of the first answering device. The third trigger message is used to instruct the first answering device matching the second-layer level number to access again.
[0083] Based on the method of the seventh aspect of the embodiment of the present application, in a possible implementation manner, the third trigger message carries multiple first time slots.
[0084] Based on the method of the seventh aspect of the embodiment of the present application, in a possible implementation manner, the multiple first time slots are multiple continuous time slots, or the multiple first time slots are multiple discrete time slots.
[0085] The eighth aspect of the embodiment of the present application provides a data transmission method, including: a read / write device sends a first signaling to a first response device, the first signaling carries first target flag information, and the read / write device receives first access information sent by the first response device whose first flag information matches the first target flag information.
[0086] Based on the method of the eighth aspect of the embodiment of the present application, in a possible implementation, the method further includes: the read-write device saves the first time slot, the first time slot is the time slot in which the first answering device that has not successfully received the confirmation message sends the first access information, and the confirmation message is a response message sent by the read-write device to the first access information. The read-write device sends a third trigger message, the third trigger message carries the first time slot, and the third trigger message is used to instruct the first answering device that has not successfully received the confirmation message to access again.
[0087] Based on the method of the eighth aspect of the embodiment of the present application, in a possible implementation manner, the third trigger message is also used by the first answering device to determine a time slot range for access, and the time slot range is used by the first answering device to select a time slot within the time slot range for re-access.
[0088] Based on the method of the eighth aspect of the embodiment of the present application, in a possible implementation manner, before the read / write device sends the third trigger message, the method further includes: the read / write device sends at least one second signaling to the first answering device, and the second target flag information in the second signaling. The read / write device receives the second access information sent by the first answering device that matches the first flag information and the second target flag information.
[0089] Based on the method of the eighth aspect of the embodiment of the present application, in a possible implementation manner, the third trigger message also carries a parameter T, where T is used by the first response device to determine a time slot range, and T is an integer greater than 0.
[0090] Based on the method of the eighth aspect of the embodiment of the present application, in a possible implementation manner, the method further includes: the read-write device sends a first instruction, and the first instruction is used to instruct the first answering device to adjust the value of the time slot counter of the first answering device.
[0091] Based on the method of the eighth aspect of the embodiment of the present application, in a possible implementation manner, the method also includes: the read-write device sends a second instruction, the second instruction includes a first level number, the first level number is determined by the number of access failures of the first response device, and the second instruction is used to instruct the first response device to adjust the value of the time slot counter of the first response device.
[0092] Based on the method of the eighth aspect of the embodiment of the present application, in a possible implementation manner, the method further includes: if the read / write device does not obtain access to the first response device in any other time slot except the last time slot in the time slot range, the read / write device skips the last time slot. The read / write device sends the third trigger message again.
[0093] Based on the method of the eighth aspect of the embodiment of the present application, in a possible implementation, the method further includes: if the read / write device does not obtain access from the first response device in any other time slot except the third time slot in the time slot range, the read / write device skips the third time slot, and the third time slot is the last one or more time slots in the time slot range. The read / write device sends a third trigger message again. The third trigger message is used to trigger the first access device that has not successfully received the confirmation message in the first time slot to access again.
[0094] Based on the method of the eighth aspect of the embodiment of the present application, in a possible implementation manner, the third trigger message carries first target flag information.
[0095] Based on the method of the eighth aspect of the embodiment of the present application, in a possible implementation manner, the first target flag information includes a non-continuous mask or flag bit information, and the non-continuous mask includes at least two non-continuous bits.
[0096] Based on the method of the eighth aspect of the embodiment of the present application, in one possible implementation, the third trigger message contains a variable P, P=Q+n, or, P=Qn, or, P=Q*n, n is a positive integer greater than or equal to 1, and Q is used for the responding device to determine the first time slot.
[0097] Based on the method of the eighth aspect of the embodiment of the present application, in a possible implementation, the third trigger message also carries a level number, which indicates the number of times the first answering device has collided, and the third trigger message is used to instruct the first answering device that matches the level number to access again.
[0098] Based on the method of the eighth aspect of the embodiment of the present application, in a possible implementation manner, the third trigger message carries multiple first time slots.
[0099] Based on the method of the eighth aspect of the embodiment of the present application, in a possible implementation manner, the multiple first time slots are multiple continuous time slots, or the multiple first time slots are multiple discrete time slots.
[0100] In a ninth aspect, an embodiment of the present application provides a response device, which includes a module or unit for executing the method in the seventh aspect and any one of the implementation methods of the seventh aspect.
[0101] In a tenth aspect, an embodiment of the present application provides a read-write device, which includes a module or unit for executing the method in the above-mentioned eighth aspect and any one of the implementation methods of the eighth aspect.
[0102] In the eleventh aspect, an embodiment of the present application provides a response device, comprising: a processor and a memory, wherein the processor and the memory are interconnected through a line, and the processor calls the program code in the memory to execute the processing-related functions in the method shown in any one of the seventh aspects above.
[0103] In the twelfth aspect, an embodiment of the present application provides a response device, comprising: a processor and a memory, wherein the processor and the memory are interconnected through a line, and the processor calls the program code in the memory to execute the processing-related functions in the method shown in any one of the eighth aspects above.
[0104] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0105] In an embodiment of the present application, by carrying the first time slot number in the third trigger message, the first time slot number represents the time slot number corresponding to the access failure of the answering device, so that the tags that collide in the same time slot can perform the next round of access, thereby avoiding the collision of different time slots in the same time slot in the next round, reducing the probability of collision, and improving the access efficiency of the tags. BRIEF DESCRIPTION OF THE DRAWINGS
[0106] Figure 1 A schematic diagram of the architecture of a data transmission system provided in an embodiment of the present application;
[0107] Figure 2 A schematic diagram of a scenario of a data transmission system provided in an embodiment of the present application;
[0108] Figure 3 A flowchart of a data transmission method provided in an embodiment of the present application;
[0109] Figure 4a A schematic diagram of the signaling effect provided in an embodiment of the present application;
[0110] Figure 4b A schematic diagram of the structure of the signaling provided in the embodiment of the present application;
[0111] Figure 4c Another schematic diagram of the signaling structure provided in the embodiment of the present application;
[0112] Figure 4d Another schematic diagram of the signaling structure provided in the embodiment of the present application;
[0113] Figure 4e Another schematic diagram of the signaling structure provided in the embodiment of the present application;
[0114] Figure 5 A schematic diagram of the effect of the data transmission method provided in the embodiment of the present application;
[0115] Figure 6 Another schematic diagram of the effect of the data transmission method provided in the embodiment of the present application;
[0116] Figure 7 A schematic diagram of the format of the target time slot provided in an embodiment of the present application;
[0117] Figure 8 Another schematic diagram of a data transmission method according to an embodiment of the present invention;
[0118] Fig. 9 Another schematic diagram of a data transmission method according to an embodiment of the present invention;
[0119] Fig.10 A schematic diagram of the structure of the answering device provided in the embodiment of the present application;
[0120] Fig.11 Another structural diagram of the answering device provided in the embodiment of the present application;
[0121] Fig.12 A structural diagram of a reading and writing device provided in an embodiment of the present application;
[0122] Fig.13Another structural diagram of a reading and writing device provided in an embodiment of the present application;
[0123] Fig.14 Another structural diagram of the answering device provided in the embodiment of the present application;
[0124] Fig.15 Another structural schematic diagram of the reading and writing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0125] The embodiment of the present application provides a data transmission method and device thereof, which are used for tag access, and can avoid collision of different time slots in the same time slot of the next round, thereby reducing the probability of collision and improving the access efficiency of the tag.
[0126] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0127] See also Figure 1 , is a schematic diagram of the architecture of the data transmission system provided in an embodiment of the present application.
[0128] like Figure 1 As shown, the data transmission system provided by the embodiment of the present application includes multiple application scenarios, including the basic coverage scenario of macro station deployment, the supplementary coverage scenario of macro station deployment, the basic coverage scenario of pole station deployment and the supplementary coverage scenario of pole station deployment. The various application scenarios of the data transmission system provided by the embodiment of the present application are introduced below.
[0129] In the basic coverage scenario of macro station deployment, at least one base station 101 and at least one tag 102 are included, wherein the tag 102 is connected to the base station 101, wherein the maximum connection distance between the passive tag in the tag 102 and the base station 101 is 250 meters, and the maximum connection distance between the semi-active tag in the tag 102 and the base station 101 is 700 meters. It should be noted that in this scenario, the base station 101 can act as a reading and writing device, sending a radio frequency signal to the tag 102, so that the tag 102 obtains energy according to the radio frequency signal and the induced current of the tag 102 to send information to the base station.
[0130] In the supplementary coverage scenario of macro station deployment, at least one base station 101, at least one tag 102 and at least one read-write device 103 are included, wherein the tag 102 is connected to the read-write device 103, and the read-write device 103 is connected to the base station 101. The maximum connection distance between the passive tag in the tag 102 and the base station 101 is 70 meters, and the maximum connection distance between the semi-active tag in the tag 102 and the base station 101 is 200 meters. It should be noted that in this scenario, the base station 101 can also act as a read-write device, that is, the base station 101 can be directly connected to the tag 102, or it can be connected through the read-write device 103, that is, the tag 102 can send an uplink signal to the read-write device 103, and then directly receive the downlink signal through the base station 101, or receive the downlink signal through the read-write device 103 and directly send the uplink signal to the base station 101, which is not limited here.
[0131] In the basic coverage scenario of pole station deployment, at least one micro base station 101 and at least one tag 102 are included, wherein the tag 102 is connected to the micro base station 101, wherein the maximum connection distance between the passive tag in the tag 102 and the micro base station 101 is 150 meters, and the maximum connection distance between the semi-active tag in the tag 102 and the micro base station 101 is 350 meters. It should be noted that in this scenario, the micro base station 101 can act as a reading and writing device, sending a radio frequency signal to the tag 102, so that the tag 102 obtains energy according to the radio frequency signal and the induced current of the tag 102 to send information to the micro base station.
[0132] In the supplementary coverage scenario of pole station deployment, at least one micro base station 101, at least one tag 102 and at least one read-write device 103 are included, wherein the tag 102 is connected to the read-write device 103, and the read-write device 103 is connected to the micro base station 101. The maximum connection distance between the passive tag in the tag 102 and the micro base station 101 is 70 meters, and the maximum connection distance between the semi-active tag in the tag 102 and the micro base station 101 is 200 meters. It should be noted that in this scenario, the micro base station 101 can also act as a read-write device, that is, the micro base station 101 can be directly connected to the tag 102, or can be connected through the read-write device 103, that is, the tag 102 can send an uplink signal to the read-write device 103, and then directly receive the downlink signal through the micro base station 101, or receive the downlink signal through the read-write device 103 and directly send the uplink signal to the micro base station 101, which is not limited here.
[0133] The transmission method between the read / write device 103 and the tag 102 can be as follows: Figure 2As shown, after the tag enters the magnetic field, it receives the radio frequency signal emitted by the read-write device 103, obtains energy by means of the radio frequency signal and the induced current of the tag, and sends the product information stored in the tag chip to the read-write device 103. After the read-write device 103 reads and decodes the information, it sends it to the central information system for relevant data processing.
[0134] The following is an explanation of the terms that may be involved in the embodiments of the present application.
[0135] Terminal, also known as user equipment (UE), mobile station (MS), mobile terminal (MT), etc., refers to a device that provides voice and / or data connectivity to users. For example, a handheld device with wireless connection function, a vehicle-mounted device, etc. At present, some examples of terminals are: mobile phones, tablet computers, laptops, PDAs, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc.
[0136] Access network equipment refers to a radio access network (RAN) node (or device) that connects a terminal to a wireless network, and can also be called a base station. At present, some examples of RAN nodes are: evolved Node B (gNB), transmission reception point (TRP), evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved NodeB, or home Node B, HNB), base band unit (BBU), or wireless fidelity (Wifi) access point (AP). In addition, in a network structure, the access network equipment may include a centralized unit (CU) node, a distributed unit (DU) node, or a RAN device including a CU node and a DU node. The RAN equipment including CU nodes and DU nodes splits the protocol layer of the eNB in the long term evolution (LTE) system, places some of the functions of the protocol layer in the central control of the CU, and distributes the remaining part or all of the functions of the protocol layer in the DU, which is centrally controlled by the CU.
[0137] In one possible implementation, the answering device may be a tag. An electronic tag is an RFID tag, which is the common name for RFID. RFID is the abbreviation of Radio Frequency Identification. RFID technology can be divided into three types: active, passive, and semi-active. Passive tags can also be called passive IOT, that is, passive Internet of Things devices. Therefore, they can also be regarded as a terminal. They can be called terminal devices.
[0138] Reading and writing equipment, handheld or fixed equipment that reads (and sometimes writes) tag information, this is the original definition. It can also be understood as a device that communicates with tags, such as a terminal, a base station, or a device with reading and writing functions, such as a reader / writer, which is not limited here.
[0139] Based on the above Figure 1The data transmission system architecture and application scenarios of the data transmission method are shown. The data transmission method in the embodiment of the present application is described in detail below.
[0140] In this embodiment, the reader / writer is used as a reading / writing device and the target tag is used as a response device.
[0141] See also Figure 3 , which is a flow chart of the data transmission method provided in an embodiment of the present application.
[0142] In step 301, the reader sends a first signaling to a target tag.
[0143] When the target tag enters the magnetic field of the reader, the reader sends a first signal to the target tag, the first signal carries the target flag information, the target flag information is used to determine the target tag, wherein the first flag information of the target tag matches the target flag information. In order to better describe the scheme, the embodiment of the present application also refers to the target tag receiving the first signal as the first response device, and the target tag determined by the target flag information as the second response device.
[0144] The first signaling may be RRC signaling such as select signaling, the specific name of which is not limited, or MAC signaling such as MAC CE.
[0145] Specifically, the selection instruction may be a select instruction or a query signaling sent by the reader to the target tag. It is understandable that in actual application, the first signaling may also be other instructions sent by the reader to the target tag, which is not specifically limited here.
[0146] It should be noted that when the reader sends the first signaling, it sends the first signaling to all tags that enter the magnetic field range. The first signaling is used to select the target tag from all tags. Specifically, the first signaling can carry target flag information, and the target flag information can include flag information or group information or mask information or NAS information or application layer data information or flag information of a certain session of the tag, wherein different flag information or group information corresponds to different categories of tags. For example, there are 50 tags in flag A, or 50 tags in group B. Specifically, the flag can represent different states of the tag, and the state can be flipped after the tag is successfully accessed.
[0147] In a possible implementation, the first signaling may also carry a mask and storage location information, the storage location information is used to indicate the location of the mask, the mask may be represented by the starting position of a storage interval and the length of a string, and the storage location information may include at least one of the memory interval (such as), the starting address, and the mask length information. According to the target flag information and / or mask information and / or storage location information in the first signaling, the string information and / or flag information of a storage interval in the tag can be indicated. If the string information in the target tag is the same as the string information in the first signaling and / or the flag information is also the same, it means that the target tag is the tag selected by the reader, and these tags can initiate the access process later.
[0148] In a possible implementation, the first signaling may carry a first group identification information and a second mask, and the first group identification may be an address group identification or a memory location group identification, etc. For example, one identification corresponds to a memory (such as EPC, TID, user area, etc.), a starting address, and at least one of a mask length. The second mask is a string, such as a string in bytes. The first group identification information and the second mask can be used to determine the target tag, that is, the target flag information or the tag selected for inventory or access. The first group identification may also be a first address identification.
[0149] In a possible implementation manner, the first signaling may include continuous or non-continuous indication information, which is used to indicate whether the mask in the first signaling is encoded according to continuous bits or non-continuous bits.
[0150] In a possible implementation, the first signaling may include a second group of identification information, which is used to instruct a tag having the second group of identification information or matching the second group of identification information to access the network. The second group of identification information may identify a string or bit string information of a certain storage location. When the tag receives the information, if it matches or is consistent with the corresponding location information in the tag memory, it can access the reader or network device.
[0151] The information corresponding to the first and second groups of identification information may be pre-configured or may be interactive at the application layer.
[0152] In a possible implementation manner, the first signaling may include a continuous or discontinuous indication, which is used to indicate whether the mask is a continuous mask.
[0153] In a possible implementation manner, the first signaling may include an active reporting indication, which is used to instruct a tag with active reporting to access.
[0154] In a possible implementation, the mask indicates a non-continuous mask (a non-continuous string of bits), which may indicate a certain identification information, or may indicate a non-continuous mask in a certain storage interval of the target tag. The identification information may be an electronic product code (EPC) ID or a tag identification TID (tag-identification or tag identifier), or may be other identification information, such as SUPI or SUCI, which is not specifically limited here.
[0155] Specifically, it can indicate the location of the storage area and a non-continuous mask. It can be used to indicate certain fields in the storage area. For example, Figure 4a As shown, a target label includes multiple storage areas such as USER, TID, EPC, RESEVED, etc., and in the multiple storage areas, each storage area includes multiple field information. The multiple field information in each storage area will be divided into several groups for storage, such as multiple field groups from 00h to OFh, from 10h to 1Fh, etc., where 00h represents the head position of the group. When it is necessary to indicate a specific position in the USER field, it can be indicated by indicating the USER identifier, plus a specific word or byte position, such as 00h indicates the position of the mask, and then a non-continuous mask is added to indicate which specific field in the field group. Specifically, two bits can be used to represent a character, such as Figure 5 As shown, 0110101000101010 is used to represent the non-continuous field 1XXX0XXX, where mask 01 represents the first character is 1, mask 01 represents character X, X represents any character, that is, not limited to 0 / 1, and 00 represents the character at the fourth character position is 0. Therefore, this non-continuous mask represents the label corresponding to the first character being 1 and the fourth character being 0 in the field group. In a possible implementation, as Figure 6 As shown, 11 may be used to represent 1, 10 may be used to represent 0, and 0 may be used to represent X. The specific mask representation method is not limited here.
[0156] Optionally, each character of the non-continuous mask can be represented by one or more bits. It is also possible to use a combination of non-continuous bits at multiple non-continuous positions, for example, multiple storage area specific positions and different mask bit combinations. For example, TID area-starting position 07h-bit 1; (TID area, optional)-starting position 21h-bit is 01, and the non-continuous mask is represented by combining two sections of indication.
[0157] The benefit of using a discontinuous mask is that it meets the need for inventorying tags with discontinuous masks. Compared with a continuous mask, it does not need to send multiple continuous masks to achieve the effect of a discontinuous mask, thus saving signaling overhead and improving efficiency.
[0158] Alternatively, in a possible implementation, a specific position may be indicated by identification information plus position information plus a non-continuous mask, for example, at position 17H of the memory area TID, a non-continuous mask 0110101000101010 indicates that the character at 17H is 1 and the character at 13H is 0, wherein the mask 01 indicates that the first character is 1, X indicates that it may be any character, and 00 indicates that the character at the position of the fourth character from 17H is 0.
[0159] Specifically, in a possible implementation, the selection instruction also carries a layer number, which indicates the number of times the target tag has collided. If the target tag receives the selection instruction for the first time, the layer number can be recorded as 1, indicating that it is the first access and no collision has occurred. If the layer number is 2, it means that the target tag has already collided once. It is understandable that the layer number can also be expressed in other ways. For example, when accessing for the first time, the layer number is recorded as 0. After a collision occurs, the layer number is recorded as 1. The specific representation method of the layer number is not limited here. It should be noted that the layer number can also be carried in other messages sent by the reader to the target tag, such as in the first trigger message, which is not specifically limited here. The advantage of using the layer number is that it can distinguish the same collision time slots of different levels, avoid too many tags from accessing at the same time under the same instruction, and reduce the average number of tags accessing at the same time, reducing the probability of collision.
[0160] It should be noted that the mask information and address information, etc., may be interpreted by the base station and may be carried in the signaling in the form of a character string, such as OCTET STRING.
[0161] In step 302, the reader sends a first trigger message to the target tag.
[0162] The reader / writer may send a first trigger message to the target tag, where the first trigger message is used to trigger the target tag to generate a random number K, where the value of K is a positive integer greater than 0.
[0163] Optionally, the first trigger message includes a first parameter Q, and the first parameter Q is used by the target tag to generate a random number K based on the first parameter Q.
[0164] Specifically, the first trigger message may be a Query message, which is used to allow a tag that matches the flag bit and mask indicated by the first signaling to generate a random number K. In actual application, the first trigger message may also be other messages, which are not specifically limited here.
[0165] The first trigger message may be RRC signaling such as select signaling or query, the specific name is not limited, or MAC signaling such as MAC CE, such as random access configuration MAC CE. Figure 4b As shown, the MAC CE includes a session ID, a flag bit, and a Q value, among which the 2-bit Session ID is used to identify the session ID, the 1-bit A / B indicates that the corresponding session flag bit is A or B, the 4-bit Q is the maximum value for generating a random number, and R is a 1-bit reserved bit. The following MAC CE only gives an illustration of one format.
[0166] Optionally, the first trigger message can be bound to the Q value by default without being sent. For example, if the bound Q value is 2, there will be 4 time slots available for the first tag device to select one of the time slots to access the reader. The advantage of binding the Q value is that it saves signaling overhead. The advantage of Q being 2 is that the average total access efficiency is higher.
[0167] Either the Q value is 1, or the maximum access time slot range is 2 or 3, or these values may be used as default values, so that the average access system efficiency is higher.
[0168] It should be noted that, in actual application, this step 302 may share a signaling with step 301, that is, the first trigger message and the first signaling are included in the same message. Or the first trigger message and the first signaling are the same message.
[0169] In step 303, the target tag prepares for access according to the first trigger message.
[0170] After receiving the first trigger message, the target tag generates a random number K according to the first trigger message.
[0171] Specifically, in a possible implementation, the value range of the random number K can be (0,2 Q -1), wherein the value of Q is a positive integer greater than 0. The specific method for obtaining Q is as in step 302, which will not be described in detail here.
[0172] In step 304, the reader sends a second trigger message to the target tag.
[0173] After the target tag generates the random number K, the reader continues to send a second trigger message to the target tag, which is used to trigger the target tag to update the random number value K to K-1, which can be Kn, and n>0. This means that the K value can be updated after receiving the second trigger message, which is not limited here.
[0174] The second trigger message is used to trigger the time slot counter of the terminal to update the counter value. The initial value is 0. Each time the second trigger message is received, an addition operation is performed. When it is added to K, data can be sent or a random number can be sent for access. If the random number generated by the terminal is 0, the data or random number is sent immediately. The time slot counter of the terminal is used by the terminal to determine the time slot in which a random number can be sent or access can be initiated or data can be sent. K is the random number generated in the previous step.
[0175] A similar method of updating the counter with the second trigger message may be to set the random number K as the initial value of the time slot counter, and update K to K-1 each time the second trigger message is received. When the time slot counter is 0, data or a random number is sent.
[0176] The second trigger message may be RRC signaling such as select signaling, the specific name is not limited, or MAC signaling, such as MAC CE or MAC subheader, as follows. Figure 4c As shown, a certain LCID represents the second trigger message. For example, the number corresponding to the binary number of the LCID is 35, which is used to indicate that the MAC subheader is received, and the counter is reduced by 1. R is a reserved bit, which can be used to reserve or indicate whether it is used for Passive IoT, or RFID or such IoT terminals. LCID is a logical channel identifier.
[0177] The second trigger message may also be a queryrep command, and in actual application, may also be other commands, which are not specifically limited here.
[0178] Specifically, after receiving the second trigger message, the target tag subtracts 1 from the random number K, which means that one time slot has passed. When the value of K is reduced to 0, it means that the target tag can initiate access to the reader. For example, when the value of K is 55, after the target tag receives 55 second trigger messages, the value of K is reduced to 0, which means that 55 time slots have passed, and the target tag initiates access to the reader.
[0179] In step 305, the target tag sends first access information to the reader.
[0180] After the terminal determines the transmission time slot, it sends the first access information to the reader or the base station.
[0181] When the value of the random number K decreases to 0, the target tag determines a first time slot, which is used to send first access information to the reader for access. Specifically, the first access information may carry a first identity, which is used to identify the target tag.
[0182] In a possible implementation, the first time slot may be determined according to the Q value and the K value in the aforementioned step 302. For example, the first time slot may be recorded as K, that is, the previous random number K. Because the access is initiated when the random number K is updated to 0, the K corresponds to the number of waiting time slots, and therefore K may be used as the first time slot.
[0183] Specifically, the first identity identifier may be RN16 or other identification information, and the RN16 represents a 16-bit binary code, and the RN16 of each target tag is different. In actual application, the first identity identifier may also be represented by other methods, which are not limited here. RN16 represents a 16-bit random number. The MAC CE of RN16 may be as follows: Figure 4d shown.
[0184] After receiving the identity identifier, the target tag sends the first identity identifier or part of the first identity identifier or sends confirmation information to the reader, indicating that the tag access is successful. If the reader receives the first identity identifier, it will establish a connection with the target tag and reply with an identity confirmation message. The identity confirmation message can also carry the information of the first identity identifier. The identity confirmation message indicates that the reader has received the first identity identifier sent by the target tag. For example, the identity confirmation message can be an ACK message or an RN16 identifier or a conflict resolution identifier. Figure 4d As shown, compared with the above RN16, this message is a downlink message. No specific limitation is made here.
[0185] After sending the first identity identifier, if the target tag does not receive the identity confirmation message sent by the reader within a preset time period, or the identity identifier carried in the received identity confirmation message is not that of the target tag, it means that the target tag has not successfully received the identity confirmation information sent by the reader. Figure 4d shown.
[0186] In step 306, the target tag saves the first time slot.
[0187] When the target tag fails to successfully receive the identity confirmation information sent by the reader, the target tag saves the first time slot, which indicates the time slot number corresponding to the target tag access failure. The access failure indicates that the target tag fails to successfully receive the confirmation message or response message sent by the reader. The first time slot is the time slot in which the tag sends access information, such as a random number, but does not receive a successful confirmation response. The successful response can also be a conflict resolution message. In order to better describe the solution, the embodiment of the present application also refers to the target tag that has not successfully accessed or has not received a successful confirmation message and saves the first time slot as a third response device. The third response device is the second response device that has not successfully received a confirmation message in the second response device.
[0188] In a possible implementation, after the access fails, the target tag can also save the corresponding layer number. That is, after the target tag fails to access for the first time, it means that a collision occurs, and the layer set number corresponding to the first collision is saved.
[0189] In a possible implementation, after access fails, the target tag may also save the corresponding level number. The specific level number may be the number of collisions or the number of collisions minus 1, or other relationships.
[0190] It should be noted that all or part of the steps from step 301 to step 306 can be repeated several times (for example, the first trigger message can be sent repeatedly several times, and the corresponding matching tags can also perform access operations accordingly) to accurately estimate the number of tags and adjust the appropriate frame length so that when performing subsequent steps, there can be better inventory efficiency, which ensures the improvement of access efficiency for the entire access process.
[0191] Specifically, when repeating the above process, if the estimated number of tags is small, such as 200 or 300, the above process can be repeated 2-3 times. If the estimated number of tags is large, the above process can be repeated 3-4 times, or more. That is, for different numbers of tags, the number of estimated tags is different. That is, the first tag number threshold range corresponds to the first repetition number range, and the second tag number threshold range corresponds to the second repetition range.
[0192] It can be understood that the first trigger message may be sent at least once before the third trigger message is sent.
[0193] In step 307, the reader sends a third trigger message to the target tag.
[0194] After detecting the colliding time slot, the reader / writer will send a third trigger message to the target tag corresponding to the time slot where the collision occurred first. The third trigger message carries the target time slot, which includes the first time slot and optionally includes target flag information. The third trigger message is used to indicate the target flag information and the target tag corresponding to the target time slot to generate a random number m, where m is a positive integer greater than 0.
[0195] The third trigger message may be an RRC signaling such as a select signaling, the specific name of which is not limited, or a MAC signaling such as a MAC CE. Figure 4e shown.
[0196] Specifically, after detecting a collision, the reader sends a third trigger message to all target tags corresponding to the collision. The target time slot in the third trigger message can be a single time slot or include multiple collision first time slots. The multiple collision first time slots include the first time slot, which is used to allow the tag to re-initiate access, that is, to generate a random number M. Specifically, the value range of M can be (0,2 P -1), and P is a positive integer greater than 0. The target flag information may include a continuous mask or a discontinuous mask, which is not specifically limited here.
[0197] Optionally, the third trigger message includes a first parameter Q, which is used by the tag to generate a random number M based on the value.
[0198] Optionally, the third trigger message can be bound to the Q value by default without being sent. For example, if the bound Q value is 2, there will be 4 time slots available for the first tag device to select one of the time slots to access the reader. The benefit of using a Q value of 2 is that the access efficiency or access system efficiency can be improved, so that the average access efficiency or system efficiency can reach more than 40%.
[0199] Optionally, the third trigger message is also used by the third answering device to determine an access time slot range, and the access time slot range is used by the third answering device to access again. For example, the third answering device can obtain any optional time slot in the access time slot range for access again.
[0200] The third trigger message may indicate the third answering device to determine the time slot for re-access in an explicit manner, or may indicate the third answering device to determine the time slot for re-access in an implicit manner. The following provides examples for these two situations respectively:
[0201] In a possible implementation, the third answering device may be instructed to determine the time slot for re-access in a displayed manner: the third trigger message also carries a parameter T, which is used by the third answering device to determine the time slot range for access. The T confirmation time slot method can refer to the Q value.
[0202] Specifically, the third answering device can directly determine the access time slot range based on T. For example, T can be used to represent the maximum number of time slots. For example, T can be 2 or 3, and there will be 2 time slots or 3 time slots available for the answering device to select one of the time slots to access the read-write device. The third answering device can also determine the access time slot range after performing relevant calculations based on T. For example, after obtaining T, according to formula 2 T -1 to determine the time slot range for access, for example, T can be 2, then there will be 4 time slots available for the answering device to select one of the time slots to access the read-write device.
[0203] In a possible implementation, the third answering device may be implicitly instructed to determine the time slot for re-access: the third trigger message may be bound to a T value by default, without sending the T value. For example, if the bound T value is 2, there will be 4 time slots available for the answering device to select one of the time slots to access the read / write device. The advantage of binding the T value is that it saves signaling overhead.
[0204] In one possible implementation, if the read / write device does not obtain access from a responding device in any time slot other than the last time slot in the accessed time slot range, the read / write device skips the last time slot. The read / write device sends the third trigger message again. If the read / write device does not obtain access from a responding device in any time slot other than the last time slot in the accessed time slot range, it means that a collision will definitely occur in the last time slot, so the read / write device skips the last time slot to save signaling overhead. In addition, the third trigger message may also carry a level number for selecting a third responding device with a corresponding level number for access. At this time, the level number can be understood to be related to the number of times the tag access failed, specifically the number of times the access failed from the last time the first signaling was received to the next time the first signaling was received. The level number can also be combined with the first time slot to determine whether the matching target tag accesses again.
[0205] Optionally, the first trigger information and the third trigger information may multiplex the same signaling.
[0206] Optionally, the third trigger message may include the same mask information as the first trigger message, and may also carry identification information or part of the identification information of the tag.
[0207] In a possible implementation, the reader may also carry a P value in the third trigger message, and the P value may be the same as the Q value or an updated Q value. For example, P = Q + n, or P = Qn, or P = Q*n, where n is a positive integer greater than or equal to 1. By carrying the updated Q value, the value range of m can be adjusted more flexibly, making the adjustment step larger, and saving the signaling overhead caused by adjusting the Q value.
[0208] Specifically, in a possible implementation, the target time slot may indicate the first time slot, or other collision time slots, or a time slot range, that is, the target time slot may be a plurality of consecutive collision first time slots, or a plurality of discrete collision first time slots, which are not limited here. For example, the starting collision time slot and the ending collision time slot may be carried in the third message. If there is only a starting collision time slot, and the ending collision time slot is empty or an unavailable value, it means that only the tags that collided in the starting collision time slot are indicated to access, and the same applies to only including the ending time slot without the starting collision time slot. For example, the target time slot indication (y, z) indicates that the collision time slots are from y to z. Alternatively, y may also represent 2y-1, and z is 2z-1, then (y, z) represents (2y-1, 2z-1), which is used to indicate that collisions occurred in the time slots from 2y-1 to 2z-1, or y may also represent 2 y -1, z is 2 z -1, then (y, z) means (2 y -1,2 z -1) In a possible implementation, all colliding time slots may also be indicated, which is not specifically limited here.
[0209] In addition, the target time slot (which may include multiple first time slots) may be represented in a variety of ways, such as indicating the first time slot through a reserved bit in a MACCE or MAC header, or indicating other collision time slots. Figure 7 , two possible formats of the target time slot are given, in this way, when the number of tags is small, unnecessary signaling overhead is reduced. Figure 7 As shown in a in , it is used to indicate the range of the first time slot, such as Figure 7 As shown in b in FIG. 1 , it is used to indicate the range of the second time slot. Wherein, Time Slot is used to indicate the target time slot. In addition, the format used to indicate the target time slot may also indicate other information, such as Figure 7 As shown in , Code Rate is used to indicate the code rate, Index is used to indicate the physical layer configuration index, and R is used to indicate the reserved bits.
[0210] The signaling format of the target time slot can be variable in length, where different lengths can be indicated by the field T, such as T=0 one byte, T=1 two bytes. There is no limit on the number of bits of T. In this way, shorter signaling can be used for a small number of time slots, which can save signaling overhead.
[0211] In another possible implementation, an indication information may also be included to instruct all tags that have not successfully accessed and collided before to access, that is, there is no need to specifically indicate the time slot.
[0212] By indicating the specific collision time slot, the tag can access in groups, avoid a large number of tags accessing at the same time, reduce the collision probability when the tags access, and improve the access efficiency.
[0213] In step 308, the target tag accesses again according to the third trigger message.
[0214] Optionally, after receiving the third trigger message, the target tag generates a random number M according to the third trigger message.
[0215] The random number may be transmitted via RRC signaling, the specific name of which is not limited, or via MAC signaling, such as MACCE.
[0216] After the target tag generates the random number M, when the random number M is updated to 0, it continues to initiate access and repeats steps 307 and 308 until it successfully accesses the reader.
[0217] The target tag usually needs to receive a command (query rep) sent by the read-write device to start the next time slot, so as to start the next time slot, such as the value of the time slot counter is subtracted by 1. In order not to affect the time slot jump of non-third response devices and to ensure the normal time slot jump of non-third response devices, the solution provided in the embodiment of the present application introduces a new signaling, which is called the first instruction. Only the third response device will respond to the instruction and start the next time slot. Other response devices will not respond to the instruction and will not start the next time slot. In other words, only after the third response device that collides with a certain time slot receives the first instruction, the value of the slot counter is increased by 1 or decreased by 1, and the non-third response device ignores the first instruction. When the third response device receives the first instruction, the time slot counter is updated in the manner described above.
[0218] In one possible implementation, a second instruction may be introduced, which carries a level number. The level number is explained as above. Then, only a third response device that matches the level number will update the time slot counter, such as adding 1 or subtracting 1 from the value of the slot counter. In one possible implementation, the second instruction may be a second trigger message, such as carrying the level number in a query rep instruction.
[0219] Specifically, the number of layers carried by the first signaling or the first trigger message is 0-, and the second trigger message used to update the time slot counter after the first signaling or the first trigger message also carries a number of layers of 0. The number of layers carried by the subsequent third trigger message is determined according to the number of times the tag has collided, and the number of layers carried is greater than or equal to 1. Similarly, the second trigger message after the third trigger message also carries a number of layers greater than or equal to 1.
[0220] For example, if Figure 8 As shown, the selection instruction sent by the reader includes the target flag information mask, Q value and the number of levels L. In the first round of access time slots, mask = 0X1XX, Q = 2, L = 1, the tag 01100 in time slot 0 did not collide, the three tags 01111, 00101, and 01110 in time slot 1 collided, and the tags 01101, 00110, and 00111 in time slot 3 also collided. Then, in the next access, the reader sends a third trigger message, and the target time slot n = 1 carried in the third trigger message indicates that the tag with time slot 1 initiates access again. At this time, if another tag collides, the reader initiates a new round of access, and each tag generates a random number m, and initiates access again when m is 0. At this time, L is updated to 2, and the Q value remains unchanged. During the round of access, the tag 01111 in time slot 0 did not collide, but the tags 00101 and 01110 in time slot 3 collided again. Therefore, in the next round of access, the reader updates L to 3, the Q value remains unchanged, and sends a trigger message to all tags in time slot 3 to allow the tags that collided in time slot 3 and the tags with a layer number of 2 to re-access. In the third access, the tags in time slot 0 and time slot 1 are successfully accessed. The corresponding tags 01101, 00110, and 00111 in time slot 3 of the first layer will start accessing after the tags 01111, 00101, and 01110 in time slot 1 of the first layer have completed access. The access method is similar to the access method of the tags in time slot 1 of the first layer, and will not be repeated here. It can be understood that this implementation method is that after the tags in time slot 1 of the first layer have completed access, regardless of whether the access is successful or not, the access of the tags that collided in the second layer of time slot 3 is stopped, and the three tags in the first layer of time slot 3 are selected. Another feasible way is that after a collision occurs in time slot 1 of the first round, a collision occurs again in the second round of access. The reader can also first select the tag that collided in time slot 3 of the first layer in the first round to continue accessing, that is, the access method can be vertical or horizontal.
[0221] One possible implementation is that as long as the total number or maximum number of collision time slots in each round of access is less than the collision time slot and the corresponding tag has not accessed again, it is not necessary to carry the level number, and only the number of collision periods can be carried. The specifics are not limited here.
[0222] Another possible implementation method is that after the reader sends the third trigger message, the tag can access again according to the number of time slots and / or the number of levels carried in the third trigger message. The specific access method can be based on time slot ALOHA, or based on a binary search tree, or other access methods, which are not limited here.
[0223] It should be noted that as long as there are unconnected tags, steps 307 and 308 can be repeated until all tags are successfully connected.
[0224] In the embodiment of the present application, by carrying the first time slot number in the third trigger message, the first time slot number represents the time slot number corresponding to the failure of the target tag to access, so that the tags that collide in the same time slot perform the next round of access, avoiding the collision of different time slots in the same time slot in the next round, reducing the probability of collision, and improving the access efficiency of the tags.
[0225] Continue with an example. Fig. 9 , for the hierarchical 2 collision time slots, use the third trigger message to allocate time slots for continued access. Assume that 2 time slots are allocated. If the first time slot is an idle time slot, it means that no response device accesses the first time slot. Then, in the second time slot, a collision will definitely occur. The reading and writing device skips the second time slot to save signaling overhead. For the hierarchical 2 collision time slots, send the third trigger message again to allocate time slots for continued access.
[0226] In a possible implementation manner, the reading and writing device can also skip multiple time slots to save signaling overhead. For example, after the third trigger message, assume that 5 time slots are allocated. If the first 3 time slots have no response device access, then skip the last two time slots. In other words, within the maximum time slot m for re-access, when the first n (<m) time slots are all idle time slots, the reading and writing device can directly switch to access the tags indicating the first time slot collision of other hierarchies, which can avoid possible collisions in the m - n time slots. The setting of n can be set according to actual requirements.
[0227] In addition, referring to Fig. 9 , the reading and writing device can send at least two first trigger messages to evaluate the number of tags, and adjust the allocated time slot range or the number of allocated time slots in the third trigger message according to the evaluated number of tags. For example, when the reading and writing device sends the first trigger message, it indicates 32 time slots. The reading and writing device obtains that there are a large number of response devices that have not successfully accessed within the allocated time slot range for this time. Then, when allocating the time slot range in the next round, the reading and writing device can indicate a larger time slot range to facilitate the successful access of more response devices. It should be noted that the reading and writing device can send multiple first trigger messages to evaluate the number of tags. The example of sending one first trigger message to evaluate the number of tags listed above is only for illustrative purposes.
[0228] The data processing method in the embodiment of the present application has been described above. Next, the response device and the reading and writing device in the present application will be described.
[0229] Please refer to Fig.10 , which is a schematic structural diagram of a network device provided by the embodiment of the present application.
[0230] An answering device comprising:
[0231] The receiving unit 801 is used to receive a first signaling sent by a read / write device. The first signaling carries target flag information. The target flag information is used to determine a response device. The first flag information of the response device matches the target flag information.
[0232] The determining unit 802 is configured to determine a first time slot and send first access information to the read / write device in the first time slot.
[0233] In this embodiment, the method executed by each unit of the answering device is similar to the method executed by the target tag in the above-mentioned embodiment, and the details will not be repeated here.
[0234] See also Fig.11 , is another structural diagram of the answering device provided in an embodiment of the present application.
[0235] An answering device, comprising:
[0236] The receiving unit 901 is used to receive a first signaling sent by a read / write device. The first signaling carries target flag information. The target flag information is used to determine a response device. The first flag information of the response device matches the target flag information.
[0237] The determining unit 902 is configured to determine a first time slot and send first access information to the read / write device in the first time slot.
[0238] Optionally, if the receiving unit fails to successfully receive the confirmation message sent by the read-write device, the response device further includes:
[0239] The storage unit 903 is used to store the first time slot, which indicates the time slot number corresponding to the access failure of the answering device. The access failure indicates that the answering device fails to successfully receive the response message sent by the reading and writing device for sending the first access information of the answering device.
[0240] The receiving unit 901 is further used to receive a third trigger message sent by the read / write device. The third trigger message carries a target time slot, the target time slot includes the first time slot, and the third trigger message is used to instruct the answering device corresponding to the target time slot to access again.
[0241] Optionally, the third trigger message carries target flag information.
[0242] Optionally, the target flag information includes a non-continuous mask, and the non-continuous mask includes at least two non-continuous bits.
[0243] Optionally, the third trigger message includes a variable P, where P=Q+n, or P=Qn, or P=Q*n, where n is a positive integer greater than or equal to 1, and Q is used for the responding device to determine the first time slot.
[0244] Optionally, the first signaling, and or the third trigger message belong to any one of the following: RRC signaling, MAC subheader or MAC CE signaling.
[0245] Optionally, the third trigger message also carries a level number, which indicates the number of times the answering device has collided. The third trigger message is used to instruct the answering device matching the target flag information, target time slot and level number to access again.
[0246] Optionally, the target time slot includes a plurality of collision first time slots, and the collision first time slot includes the first time slot.
[0247] Optionally, the target time slot is a plurality of continuous collision first time slots, or the target time slot is a plurality of discrete collision first time slots.
[0248] In this embodiment, the method executed by each unit of the answering device is similar to the method executed by the target tag in the above-mentioned embodiment, and the details will not be repeated here.
[0249] See also Fig.12 , which is a structural diagram of the reading and writing device provided in an embodiment of the present application.
[0250] A reading and writing device, characterized in that it comprises:
[0251] A reading and writing device, characterized in that it comprises:
[0252] The sending unit 1001 is configured to send a first signaling to a response device, where the first signaling carries target flag information, where the target flag information is used to determine the response device, and the first flag information of the response device matches the target flag information.
[0253] The receiving unit 1002 is configured to receive first access information sent by a response device.
[0254] In this embodiment, the method executed by each unit of the read-write device is similar to the method executed by the read-write device in the above-mentioned embodiment, and the details are not repeated here.
[0255] See also Fig.13 , is another structural schematic diagram of the reading and writing device provided in an embodiment of the present application.
[0256] A reading and writing device, characterized in that it comprises:
[0257] A reading and writing device, characterized in that it comprises:
[0258] The sending unit 1101 is configured to send a first signaling to a response device, where the first signaling carries target flag information, where the target flag information is used to determine the response device, and the first flag information of the response device matches the target flag information.
[0259] The receiving unit 1102 is configured to receive first access information sent by a response device.
[0260] Optionally, when the read-write device detects that the answering device fails to access, the read-write device further includes:
[0261] The storage unit 1103 is used to store the first time slot of the answering device, where the first time slot indicates the time slot number corresponding to the answering device access failure, and the access failure indicates that the answering device fails to successfully receive the response message sent by the reading and writing device for sending the first access information of the answering device.
[0262] The sending unit 1101 is further used to send a third trigger message, the third trigger message carries a target time slot, the target time slot includes the first time slot, and the third trigger message is used to instruct the answering device corresponding to the target time slot to access again.
[0263] Optionally, the third trigger message carries target flag information.
[0264] Optionally, the target flag information includes a non-continuous mask, and the non-continuous mask includes at least two non-continuous bits.
[0265] Optionally, the third trigger message includes a variable P, where P=Q+n, or P=Qn, or P=Q*n, where n is a positive integer greater than or equal to 1, and Q is used for the responding device to determine the first time slot.
[0266] Optionally, the first signaling, and or the third trigger message belong to any one of the following: RRC signaling, MAC subheader or MAC CE signaling.
[0267] Optionally, the third trigger message also carries a level number, which indicates the number of times the answering device has collided. The third trigger message is used to instruct the answering device matching the target flag information, target time slot and level number to access again.
[0268] Optionally, the target time slot includes a plurality of collision first time slots, and the collision first time slot includes the first time slot.
[0269] Optionally, the target time slot is a plurality of continuous collision first time slots, or the target time slot is a plurality of discrete collision first time slots.
[0270] In this embodiment, the method executed by each unit of the read-write device is similar to the method executed by the read-write device in the above-mentioned embodiment, and the details are not repeated here.
[0271] See also Fig.14 , is another structural diagram of the answering device provided in an embodiment of the present application.
[0272] Processor 1201, memory 1202, bus 1205, interface 1204, processor 1201 is connected to memory 1202 and interface 1204, bus 1205 is respectively connected to processor 1201, memory 1202 and interface 1204, interface 1204 is used to receive or send data, processor 1201 is a single-core or multi-core central processing unit, or a specific integrated circuit, or one or more integrated circuits configured to implement an embodiment of the present invention. Memory 1202 can be a random access memory (RAM) or a non-volatile memory (non-volatile memory), such as at least one hard disk memory. Memory 1202 is used to store computer execution instructions. Specifically, the computer execution instructions may include program 1203.
[0273] In this embodiment, when the processor 1201 calls the program 1203, it can use Fig.14 The answering device in the Figure 3 The operations performed by the target tag in the illustrated embodiment will not be described in detail here.
[0274] See also Fig.15 , is another structural schematic diagram of the reading and writing device provided in an embodiment of the present application.
[0275] Processor 1301, memory 1302, bus 1305, interface 1304, processor 1301 is connected to memory 1302 and interface 1304, bus 1305 is respectively connected to processor 1301, memory 1302 and interface 1304, interface 1304 is used to receive or send data, processor 1301 is a single-core or multi-core central processing unit, or a specific integrated circuit, or one or more integrated circuits configured to implement an embodiment of the present invention. Memory 1302 can be a random access memory (RAM) or a non-volatile memory (non-volatile memory), such as at least one hard disk memory. Memory 1302 is used to store computer execution instructions. Specifically, the computer execution instructions may include program 1303.
[0276] In this embodiment, when the processor 1301 calls the program 1303, it can use Fig.15 The reader / writer in the above Figure 3 The operations performed by the reader / writer in the illustrated embodiment will not be described in detail here.
[0277] It should be understood that the processor mentioned in the answering device or the reading and writing device in the above embodiments of the present application, or the processor provided in the above embodiments of the present application, can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0278] It should also be understood that the number of processors in the response device or the read-write device in the above embodiments of the present application can be one or more, and can be adjusted according to the actual application scenario. This is only an exemplary description and is not limited. The number of memories in the embodiments of the present application can be one or more, and can be adjusted according to the actual application scenario. This is only an exemplary description and is not limited.
[0279] It should also be noted that when the answering device or the reading and writing device includes a processor (or processing unit) and a memory, the processor in this application can be integrated with the memory, or the processor and the memory can be connected through an interface. It can be adjusted according to the actual application scenario and is not limited.
[0280] The present application provides a chip system, which includes a processor for supporting a response device or a read-write device to implement the functions of the controller involved in the above method, such as processing the data and / or information involved in the above method. In a possible design, the chip system also includes a memory, which is used to store necessary program instructions and data. The chip system can be composed of a chip or a chip and other discrete devices.
[0281] In another possible design, when the chip system is a chip in a user device or access network, the chip includes: a processing unit and a communication unit. The processing unit may be, for example, a processor, and the communication unit may be, for example, an input / output interface, a pin or a circuit. The processing unit may execute computer-executable instructions stored in the storage unit, so that the chip in the answering device or the read-write device may execute the steps executed by the answering device or the read-write device in any of the above embodiments. Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, etc. The storage unit may also be a storage unit located outside the chip in the answering device or the read-write device, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.
[0282] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer executes the computer program, the method flow executed by the controller of the answering device or the read-write device in any of the above method embodiments is implemented. Correspondingly, the computer can be the above answering device or the read-write device.
[0283] It should be understood that the controller or processor mentioned in the above embodiments of the present application may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0284] It should also be understood that the number of processors or controllers in the response device or read / write device or chip system in the above embodiments of the present application can be one or more, and can be adjusted according to the actual application scenario. This is only an exemplary description and is not limited. The number of memories in the embodiments of the present application can be one or more, and can be adjusted according to the actual application scenario. This is only an exemplary description and is not limited.
[0285] It should also be understood that the memory or readable storage medium mentioned in the answering device or read-write device in the above embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may 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), or a flash memory. The volatile memory may 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 RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DRRAM).
[0286] Those of ordinary skill in the art will appreciate that the steps of implementing all or part of the above-mentioned embodiments by the answering device or the read-write device or the processor can be completed by hardware or program to instruct the relevant hardware. The program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a random access memory, etc. Specifically, for example: the above-mentioned processing unit or processor can be a central processing unit, a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. Whether the above-mentioned functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0287] When software is used for implementation, the method steps described in the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integration. Available media can be magnetic media, (e.g., floppy disk, hard disk, tape), optical media (e.g., DVD), or semiconductor media, etc.
[0288] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0289] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms of "a", "" and "the" used in the embodiments of the present application are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the present application is only a description of the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
[0290] As used herein, the words “if” or “if” may be interpreted as “at the time of” or “when” or “in response to determining” or “in response to detecting”, depending on the context. Similarly, the phrases “if it is determined” or “if (stated condition or event) is detected” may be interpreted as “when it is determined” or “in response to determining” or “when detecting (stated condition or event)” or “in response to detecting (stated condition or event)”, depending on the context.
[0291] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A data transmission method, characterized in that: include: The first answering device receives a first signaling sent by the reading and writing device, where the first signaling carries first target flag information; If the first flag information of the first answering device matches the first target flag information, the first answering device determines a first time slot, and sends first access information to the read-write device in the first time slot; If the first answering device fails to successfully receive the confirmation message sent by the reading and writing device, the first answering device saves the first time slot; The first answering device receives a third trigger message sent by the reading and writing device after detecting the colliding time slot, the third trigger message carries a target time slot, the target time slot is used to indicate the colliding time slot, and the target time slot includes the first time slot; The first answering device accesses again according to the third triggering message.
2. The method according to claim 1, characterized in that The third trigger message is used to instruct the first answering device to access again.
3. The method according to claim 2, characterized in that The third trigger message is also used by the first answering device to determine a time slot range for access, and the time slot range is used by the first answering device to select a time slot within the time slot range for re-access.
4. The method according to claim 3, characterized in that Before the first response device receives the third trigger message, the method further includes: The first answering device receives at least one second signaling, where the second signaling carries second target flag information; If the first identification information of the first answering device matches the second target identification information, the first answering device determines a second time slot, and sends second access information to the read-write device in the second time slot.
5. The method according to claim 3, characterized in that: The third trigger message also carries a parameter T, where T is used by the first response device to determine the time slot range, and T is an integer greater than 0.
6. The method according to any one of claims 2 to 5, characterized in that: The method further comprises: The first answering device receives a first instruction; The first answering device adjusts the value of the time slot counter of the first answering device in response to the first instruction.
7. The method according to any one of claims 2 to 5, characterized in that: The method further comprises: The first answering device receives a second instruction, wherein the second instruction includes a first level number, and the first level number is determined by the number of failed accesses of the first answering device; The first answering device adjusts the value of the time slot counter of the first answering device in response to the second instruction.
8. The method according to any one of claims 2 to 5, characterized in that: The third trigger message carries the first target flag information.
9. The method according to any one of claims 1 to 5, characterized in that The first target flag information includes a non-continuous mask or flag bit information, and the non-continuous mask includes at least two non-continuous bits.
10. The method according to any one of claims 2 to 5, characterized in that The first signaling, and or the third trigger message belong to any one of the following: radio resource control RRC signaling, media access control MAC subheader or media access control unit MAC CE signaling.
11. The method according to any one of claims 2 to 5, characterized in that: The third trigger message carries a second level number, which is determined by the number of failed accesses of the first answering device. The third trigger message is used to instruct the first answering device matching the second level number to access again.
12. The method according to any one of claims 2 to 5, characterized in that The third trigger message carries a plurality of the first time slots.
13. The method according to claim 12, characterized in that The plurality of first time slots are a plurality of continuous time slots, or the plurality of first time slots are a plurality of discrete time slots.
14. A data transmission method, characterized in that: include: The read / write device sends a first signaling to the first answering device, wherein the first signaling carries first target flag information; The read / write device receives first access information sent in a first time slot by a first answering device matching first flag information with the first target flag information; The read / write device sends a third trigger message after detecting the colliding time slot. The third trigger message carries a target time slot, which is used to indicate the colliding time slot. The target time slot includes the first time slot. The third trigger message is used to instruct the answering device to access again according to the third trigger message.
15. The method according to claim 14, characterized in that The method further comprises: The read / write device stores a first time slot, the first time slot is a time slot in which the first response device that has not successfully received a confirmation message sends the first access information, and the confirmation message is a response message sent by the read / write device to the first access information; The read / write device sends a third trigger message, the third trigger message carries the first time slot, and the third trigger message is used to instruct the first response device that has not successfully received the confirmation message to access again.
16. The method according to claim 15, characterized in that The third trigger message is also used by the first answering device to determine a time slot range for access, and the time slot range is used by the first answering device to select a time slot within the time slot range for re-access.
17. The method according to claim 16, characterized in that Before the read / write device sends the third trigger message, the method further includes: The reading and writing device sends at least one second signaling to the first answering device, and the second target flag information in the second signaling; The read / write device receives second access information sent by a first response device that matches the first identification information and the second target identification information.
18. The method according to claim 16 or 17, characterized in that The third trigger message also carries a parameter T, where T is used by the first response device to determine the time slot range, and T is an integer greater than 0.
19. The method according to any one of claims 15 to 17, characterized in that The method further comprises: The read / write device sends a first instruction, where the first instruction is used to instruct the first answering device to adjust a value of a time slot counter of the first answering device.
20. The method according to any one of claims 15 to 17, characterized in that The method further comprises: The read / write device sends a second instruction, the second instruction includes a first level number, the first level number is determined by the number of failed accesses of the first answering device, and the second instruction is used to instruct the first answering device to adjust the value of the time slot counter of the first answering device.
21. The method according to claim 16, characterized in that The method further comprises: If the read / write device does not obtain access from the first answering device in any time slot other than the last time slot in the time slot range, the read / write device skips the last time slot; The read / write device sends the third trigger message again.
22. The method according to any one of claims 15 to 17, characterized in that The third trigger message carries the first target flag information.
23. The method according to any one of claims 14 to 17, characterized in that The first target flag information includes a non-continuous mask or flag bit information, and the non-continuous mask includes at least two non-continuous bits.
24. The method according to any one of claims 14 to 17, characterized in that The third trigger message includes a variable P, wherein P=Q+n, or P=Qn, or P=Q*n, wherein n is a positive integer greater than or equal to 1, and Q is used by the answering device to determine the first time slot.
25. The method according to any one of claims 14 to 17, characterized in that The third trigger message also carries a level number, where the level number indicates the number of collisions with the first answering device, and the third trigger message is used to instruct the first answering device matching the level number to access again.
26. The method according to any one of claims 14 to 17, characterized in that The third trigger message carries a plurality of the first time slots.
27. The method according to claim 26, characterized in that The plurality of first time slots are a plurality of continuous time slots, or the plurality of first time slots are a plurality of discrete time slots.
28. A communication device, configured to execute a module of the method according to any one of claims 1 to 13, or a module of the method according to any one of claims 14 to 27.
29. A communication device, characterized in that: Comprising: a processor, configured to execute the method according to any one of claims 1 to 13, or execute the method according to any one of claims 14 to 27.
30. A readable storage medium, used for storing instructions, which, when executed, enable the method according to any one of claims 1 to 27 to be implemented.
Citation Information
Patent Citations
Radio frequency identification multiple tag anti-collision method
CN101145181A