WO2024082967A1 - Communication method and apparatus - Google Patents

Communication method and apparatus Download PDF

Info

Publication number
WO2024082967A1
WO2024082967A1 PCT/CN2023/123230 CN2023123230W WO2024082967A1 WO 2024082967 A1 WO2024082967 A1 WO 2024082967A1 CN 2023123230 W CN2023123230 W CN 2023123230W WO 2024082967 A1 WO2024082967 A1 WO 2024082967A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
value
time slot
query
antenna
Prior art date
Application number
PCT/CN2023/123230
Other languages
French (fr)
Chinese (zh)
Inventor
陈冬明
蒋金弟
李少华
陈雍珏
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024082967A1 publication Critical patent/WO2024082967A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q1/00Details of, or arrangements associated with, antennas
    • H01Q1/12Supports; Mounting means
    • H01Q1/22Supports; Mounting means by structural association with other equipment or articles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/77Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for interrogation

Definitions

  • the present application relates to the field of communication technology, and in particular to a communication method and device.
  • Radio frequency identification (RFID) technology is a contactless automatic identification technology.
  • RFID systems usually include readers and tags.
  • the reader can send a selection signal to select one or more tags for inventory.
  • the reader can also send a query signal to the tag to initiate an inventory cycle.
  • the query signaling may include a slot-count parameter (Q) value.
  • An inventory cycle may include 2 Q slots.
  • the reader may determine whether there is a tag in each slot. When the tag receives the query signaling, it may generate a random number belonging to [0, 2 Q -1] as a slot counter based on the Q value. Each time a query repetition (QueryRep) signaling is received, the slot counter is reduced by 1. When the slot counter is equal to 0, the tag may send a random number. If the reader successfully receives the random number sent by the tag, the reader may send a confirmation message to the tag. When the reader finishes the inventory of a tag, it may also send a query repetition signaling to trigger the inventory of the next tag.
  • SQLRep query repetition
  • readers usually support multiple antennas, and different antennas can use time division multiplexing to inventory tags.
  • time division multiplexing to inventory tags.
  • the present application provides a communication method and device, which can reduce the antenna idling delay of a reader during an inventory process, achieve rapid switching of the antenna, reduce the inventory time of the reader for tags, and improve the inventory rate.
  • an embodiment of the present application provides a communication method, which can be applied to a second device, and the method may include: sending a query signaling through a first antenna; if the first information from the first device is not detected in 2 Q time slots, switching to the second antenna to send a query signaling; wherein the query signaling is used to indicate a first time slot counting parameter Q value, the first Q value is 0, and the Q value is used to detect the first device.
  • the second device (such as a reader) sets the first Q value to 0, that is, the second device sets an inventory cycle to 1 time slot. If there is a first device to be inventoried (such as a tag) within the coverage of the first antenna, the second device will receive the first information sent by the first device in the 1 time slot. If there is no first device to be inventoried within the coverage of the first antenna, the second device will not receive the first information sent by the first device in the 1 time slot, so that it can quickly detect whether there is a first device to be inventoried within the coverage of the first antenna.
  • a first device to be inventoried such as a tag
  • the second device can directly switch to the second antenna, thereby reducing the idling delay of the first antenna, reducing invalid inventory time, and reducing the inventory time of the second device for the first device, so as to achieve rapid inventory of the first device and improve inventory efficiency.
  • the collision probability is set to 0; wherein the collision probability is the collision probability between one or more first devices.
  • the query signaling is switched to the second antenna.
  • the second device can also set the collision probability to 0 when the first information is not detected in 2 Q time slots, to indicate that there is no first device to be inventoried within the coverage of the first antenna, and then the second device can switch to the second antenna for inventory, thereby realizing switching between antennas.
  • a query adjustment signaling is sent; wherein, the at least two conflicting first information are at least two first information detected in the same time slot; the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value.
  • the second device detects at least two conflicting first information in 2 Q time slots, it can indicate that there are multiple first devices to be inventoried within the coverage of the first antenna.
  • the second device can adjust the Q value to the second Q value, thereby reducing the probability that different first devices determine the same initial value of the time slot counter according to the second Q value, thereby reducing the collision between the first devices, thereby Rapidly inventory a large number of first devices to improve the success rate of the inventory of the first devices.
  • 1 ⁇ i ⁇ 2Q for the i-th time slot, where 1 ⁇ i ⁇ 2Q ; if at least two conflicting first information are detected in the i-th time slot, the collision probability is adjusted once; if at least two conflicting first information are not detected in the i-th time slot, the collision probability is not adjusted.
  • 1 ⁇ i ⁇ 2Q can also be described as i traversing 1 to 2Q .
  • the second device when it detects at least two conflicting first information in 2 Q time slots, it may adjust the collision probability to indicate that there is a first device to be inventoried within the coverage of the first antenna.
  • a confirmation message is sent to the first device associated with the first information; if the second information from the first device associated with the first information is not successfully detected, a query adjustment signaling is sent; wherein the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value.
  • the second device may indicate that there are multiple first devices to be inventoried within the coverage of the first antenna.
  • the second device may adjust the Q value to the second Q value, thereby reducing the probability that different first devices have the same initial value of the time slot counter determined according to the second Q value, reducing collisions between first devices, thereby quickly inventorying a large number of first devices and improving the success rate of the inventory of first devices.
  • the collision probability is adjusted once; if the first information without conflict is detected in the i-th time slot, and the second information from the first device associated with the first information is successfully detected, the collision probability is not adjusted.
  • 1 ⁇ i ⁇ 2 Q can also be described as i traversing 1 to 2 Q .
  • the second device may also adjust the collision probability when failing to successfully detect the second information from the first device associated with the first information to indicate that there is a first device to be inventoried within the coverage of the first antenna.
  • the collision probability is not 0, it may indicate that there is a first device to be inventoried within the coverage range of the first antenna, and then the second device can adjust the Q value to the second Q value, thereby reducing the probability that different first devices have the same initial value of the time slot counter determined according to the second Q value, reducing collisions between first devices, thereby quickly inventorying a large number of first devices and improving the inventory success rate of the first devices.
  • the second Q value is determined according to the collision probability.
  • the second device can determine the second Q value according to the collision probability so that the second Q value matches the number of first devices to be inventoried within the coverage of the first antenna as much as possible, thereby improving the success rate of the first device inventory.
  • an embodiment of the present application provides a communication method, which can be applied to a first device, and the method may include: receiving query information from a second device; wherein; the query information includes a first time slot counting parameter Q value, and the first Q value is 0; based on the first Q value, determining the initial value of the time slot counter; when the value of the time slot counter is updated to 0, sending the first information to the second device.
  • the second device (such as a reader) sets the first Q value to 0, that is, the second device sets an inventory cycle to 1 time slot. If there is a first device to be inventoried (such as a tag) within the coverage of the first antenna, the second device will receive the first information sent by the first device in the 1 time slot. If there is no first device to be inventoried within the coverage of the first antenna, the second device will not receive the first information sent by the first device in the 1 time slot, so that it can quickly detect whether there is a first device to be inventoried within the coverage of the first antenna.
  • a first device to be inventoried such as a tag
  • the second device can directly switch to the second antenna, thereby reducing the idling delay of the first antenna, reducing invalid inventory time, and reducing the inventory time of the second device for the first device, so as to achieve rapid inventory of the first device and improve inventory efficiency.
  • a query adjustment signaling is received from a second device, wherein the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value; and based on the second Q value, an initial value of the time slot counter is updated.
  • the second device can adjust the Q value to the second Q value, thereby reducing the probability that different first devices have the same initial value of the time slot counter determined according to the second Q value, reducing collisions between first devices, thereby quickly inventorying a large number of first devices and improving the success rate of the inventory of first devices.
  • an embodiment of the present application provides a communication device, which can be applied to the second device in the first aspect or a possible design of the first aspect to implement the function performed by the second device.
  • the communication device can be a second device, or a chip or system on chip of the second device, etc.
  • the communication device can execute the function performed by the second device through hardware, or execute the corresponding software implementation through hardware.
  • the hardware or software includes one or more modules corresponding to the above functions. For example, a transceiver module and a processing module.
  • the transceiver module is used to send query signaling through the first antenna; wherein the query signaling is used to indicate the first time slot count parameter Q value, ... A Q value is 0, and the Q value is used to detect the first device; the transceiver module is also used to switch to the second antenna to send the query signaling if the processing module fails to detect the first information from the first device in 2 Q time slots.
  • the processing module is further used to set the collision probability to 0 if the first information is not detected in 2 Q time slots; wherein the collision probability is the collision probability between one or more first devices.
  • the transceiver module is specifically configured to switch to the second antenna to send the query signaling if the collision probability is 0.
  • the transceiver module is also used to send a query adjustment signaling if the processing module detects at least two conflicting first information in 2 Q time slots; wherein the at least two conflicting first information are at least two first information detected in the same time slot; and the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value.
  • the processing module is further configured to adjust the collision probability once if at least two conflicting first information are detected in the i-th time slot; the processing module is further configured to not adjust the collision probability if at least two conflicting first information are not detected in the i-th time slot.
  • 1 ⁇ i ⁇ 2 Q can also be described as i traversing from 1 to 2 Q .
  • the transceiver module is also used to send confirmation information to the first device associated with the first information if there is no conflict between the first information detected by the processing module in 2 Q time slots; the transceiver module is also used to send query adjustment signaling if the processing module fails to successfully detect the second information from the first device associated with the first information; wherein the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value.
  • the processing module is further configured to adjust the collision probability once if the first information without conflict is detected in the i-th time slot, but the second information from the first device associated with the first information is not successfully detected; the processing module is further configured to not adjust the collision probability if the first information without conflict is detected in the i-th time slot, and the second information from the first device associated with the first information is successfully detected.
  • 1 ⁇ i ⁇ 2 Q can also be described as i traversing 1 to 2 Q .
  • the transceiver module is also used to send a query adjustment signaling if the collision probability is not 0 when the processing module detects the first information in 2 Q time slots.
  • the processing module is further used to determine a second Q value based on the collision probability.
  • modules involved in the third aspect or the possible design of the third aspect can perform the corresponding functions in the method example of the first aspect mentioned above.
  • the beneficial effects can also refer to the relevant description of the first aspect mentioned above, which will not be repeated here.
  • an embodiment of the present application provides a communication device, which can be applied to the first device in the second aspect or the possible design of the second aspect to implement the function performed by the first device.
  • the communication device can be the first device, or it can be a chip or system on chip of the first device, etc.
  • the communication device can perform the function performed by the first device through hardware, or it can perform the corresponding software implementation through hardware.
  • the hardware or software includes one or more modules corresponding to the above functions. For example, a transceiver module and a processing module.
  • the transceiver module is used to receive query information from the second device; wherein the query information includes a first time slot counting parameter Q value, and the first Q value is 0; the processing module is used to determine the initial value of the time slot counter according to the first Q value; the transceiver module is also used to send the first information to the second device when the value of the time slot counter is updated to 0.
  • the transceiver module is also used to receive query adjustment signaling from a second device; wherein the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value; the processing module is also used to update the initial value of the time slot counter according to the second Q value.
  • modules involved in the fourth aspect or the possible design of the fourth aspect can perform the corresponding functions in the method example of the second aspect mentioned above.
  • the beneficial effects can also refer to the relevant description of the second aspect mentioned above, which will not be repeated here.
  • an embodiment of the present application provides a communication device, which includes one or more processors; one or more processors are used to run computer programs or instructions, and when the one or more processors execute the computer instructions or instructions, the communication device executes the communication method described in any one of the first aspect to the second aspect.
  • the communication device further includes one or more memories, the one or more memories are coupled to one or more processors, and the one or more memories are used to store the above-mentioned computer programs or instructions.
  • the memory is located outside the communication device. In another possible implementation, the memory is located inside the communication device.
  • the processor and the memory may also be integrated into one device, that is, the processor and the memory may also be integrated together.
  • the communication device further includes a transceiver, and the transceiver is used to receive information and/or send information.
  • the communication device also includes one or more communication interfaces, the one or more communication interfaces are coupled to the one or more processors, and the one or more communication interfaces are used to communicate with other modules outside the communication device.
  • an embodiment of the present application provides a communication device, which includes an input/output interface and a logic circuit; the input/output interface is used to input and/or output information; the logic circuit is used to execute the communication method described in any one of the first to second aspects, and process and/or generate information based on the information.
  • an embodiment of the present application provides a computer-readable storage medium, which stores computer instructions or programs.
  • the computer instructions or programs are run on a computer, the communication method described in any one of the first to second aspects is executed.
  • an embodiment of the present application provides a computer program product comprising computer instructions, which, when executed on a computer, enables the communication method described in any one of the first to second aspects to be executed.
  • an embodiment of the present application provides a computer program, which, when executed on a computer, enables the communication method described in any one of the first to second aspects to be executed.
  • the technical effects brought about by any design method in the fifth to ninth aspects can refer to the technical effects brought about by any design method in the first to second aspects mentioned above.
  • an embodiment of the present application provides a communication system, which may include the second device as described in the third aspect and the first device as described in the fourth aspect.
  • FIG1 is a schematic diagram of a communication principle of an RFID system provided in an embodiment of the present application.
  • FIG2 is a flow chart of a reader/writer providing an embodiment of the present application for selecting, inventorying, and accessing tags;
  • FIG3 is a schematic diagram of a reader-writer communication principle provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of a multi-door entry and exit scenario provided in an embodiment of the present application.
  • FIG5 is a schematic diagram of a communication system provided in an embodiment of the present application.
  • FIG6 is a schematic diagram of a communication system provided in an embodiment of the present application.
  • FIG7 is a schematic diagram of a communication system provided in an embodiment of the present application.
  • FIG8 is an interaction diagram of a communication system provided in an embodiment of the present application.
  • FIG9 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application.
  • FIG10 is a flow chart of a communication method provided in an embodiment of the present application.
  • FIG11 is a flow chart of a communication method provided in an embodiment of the present application.
  • FIG12 is a flow chart of a communication method provided in an embodiment of the present application.
  • FIG13 is a schematic diagram of a link timing provided in an embodiment of the present application.
  • FIG14 is a schematic diagram of the composition of a communication device provided in an embodiment of the present application.
  • FIG15 is a structural diagram of a communication device provided in an embodiment of the present application.
  • Radio frequency identification (RFID) technology It is a contactless automatic recognition technology, or described as a technology that performs contactless two-way data communication via radio frequency. It is mainly used for identity recognition, and can also be used to read and write user data. RFID systems usually include readers and tags.
  • RFID technology was derived due to the development and progress of radar technology.
  • Harry Stockman's "communication using reflected power” laid the theoretical foundation for RFID technology.
  • RFID technology belongs to the field of automatic identification and data capture (AIDC) in information technology, and is formulated by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC). RFID standardization work can be traced back to the 1980s.
  • ISO International Organization for Standardization
  • IEC International Electrotechnical Commission
  • Reader/Writer A device with reading and writing functions, for example, a handheld or fixed device that reads or writes tag information. Alternatively, it can also be understood as a device that communicates with a tag.
  • Tag It can also be called an electronic tag or an RFID tag. From the tag properties, it can be divided into passive tags, semi-active tags, and active tags according to whether it needs to have its own battery.
  • passive tags there is no battery inside, and the energy for their operation can be provided by the reader. That is, the reader can emit energy to stimulate the tag, and the tag reflects the excitation energy and carries information at the same time, which is then received and demodulated by the reader.
  • part of the energy of the continuous wave (CW) sent by the reader can be used for internal processing such as encoding and decoding, modulation and demodulation of the tag.
  • the continuous wave can also be used as a carrier to carry the uplink information of the tag.
  • Passive tags can also be called passive Internet of Things devices (passive IOT). Based on this working mode, the cost of passive tags can be made lower and the working life is longer.
  • a battery may be included inside, and internal processing such as encoding, decoding, modulation and demodulation may be powered by the battery, but the continuous wave of the reader is still required as a carrier.
  • Active tags may include batteries inside. Active tags can use their own batteries to actively transmit information. They are relatively expensive and their working life is limited by the battery capacity and frequency of use.
  • the device with both transmitting and receiving capabilities is an integrated design, which can generate a signal waveform in the reader, transmit the signal through the antenna, and propagate the signal through the air interface to reach the tag.
  • the tag collects energy based on the received signal. If the power is greater than the excitation threshold, the tag will be excited, sense the signal and backscatter the signal to the reader, which receives the signal to complete the communication between the reader and the tag.
  • the reading and writing distance of low frequency (LF) RFID is less than 0.1 meters
  • the reading distance of high frequency (HF) RFID is 0.1 to 0.2 meters
  • the reading distance of ultra high frequency (UHF) RFID is less than 15 meters (such as passive tags).
  • the reader can perform operations such as selection, inventory, and access on tags.
  • the selection operation is used to select one or a group of tags for inventory and access.
  • the inventory operation can be understood as the process of the reader identifying the tag.
  • the access operation can be understood as the process of the reader interacting with the tag.
  • the tag needs to be identified by the reader before access.
  • FIG2 the process of selecting, inventorying, and accessing tags by a reader/writer may be shown in FIG2.
  • the process includes the following steps:
  • Step 201 The reader sends a select signaling.
  • the reader can select one or more tags based on one or more values in the tag memory, and tags that meet the selection conditions are selected to enter the inventory state.
  • Step 201 is an optional step. For example, when the tags to be inventoried are all the tags stored in the current tag memory, step 201 may not be performed.
  • Step 202 The reader sends a query signal.
  • the query signaling sent by the reader can be used to initiate an inventory cycle.
  • query signaling can notify the tag of the inventory rate, encoding method and slot count parameter (slot-count parameter, Q) value.
  • the Q value refers to a parameter used by the reader to adjust the probability of a tag responding.
  • An inventory cycle can include 2 Q time slots, and the reader can determine whether there is a tag in each time slot.
  • the inventory access can be performed in a time-division multiplexing manner, that is, after the reader finishes the inventory access to one tag, it starts the inventory access to the next tag.
  • the following steps are described using the inventory access to one tag as an example.
  • Step 203 The tag sends a random number (RN) to the reader.
  • RN random number
  • the random number may be a 16-bit random number (RN16).
  • the tag when it receives the query signaling, it can generate a random number belonging to [0, 2 Q -1] as a time slot counter according to the Q value.
  • the tag can send a 16-bit random number to the reader as a handshake message. If the value of the time slot counter is not 0, the tag does not need to send any response message to the reader.
  • the tag can also reduce the slot counter by 1 each time it receives a query repeat (QueryRep) signaling.
  • queryRep query repeat
  • the tag sends RN16 to the reader.
  • the tag may also adjust the initial value of the time slot counter according to the Q value in the query adjustment signaling when receiving the query adjustment signaling including the Q value.
  • Step 204 The reader sends an acknowledgment (ACK) message to the tag.
  • ACK acknowledgment
  • the reader can send confirmation information to the tag, and the confirmation information can include the random number sent by the tag to the reader.
  • step 205 After the tag receives the confirmation information carrying the random number sent by itself within the specified time, the following step 205 can be executed.
  • Step 205 The tag sends the electronic product code (EPC) information to the reader.
  • EPC electronic product code
  • the tag When the tag receives the confirmation information sent by the reader, it means that the reader and the tag have successfully handshaked.
  • the tag can report the EPC information to the reader and the tag enters the confirmation state.
  • Step 206 The reader sends a random number request command to the tag.
  • the random number request command may be used to request the tag to re-report a new random number.
  • the reader When the reader receives the EPC information sent by the tag, it may send a random number request command to the tag, and the random number request command may include RN16 reported by the tag.
  • Step 207 The tag sends a 16-bit random number handle to the reader.
  • the tag After the tag receives the request random number command, if the RN16 included in the request random number command is the same as the RN16 of the tag itself, the tag can generate and store a new 16-bit random number handle, and send it to the reader, entering the open state or the safe state or the accessed state. If the RN16 included in the request random number command is different from the RN16 of the tag itself, the tag does not need to respond to the request random number command.
  • Step 208 The reader sends an access command to the tag.
  • the reader When the reader receives the 16-bit random number handle sent by the tag, it can carry it in the access command and send it to the tag.
  • Step 209 The tag responds to the access command.
  • the tag When receiving an access command, the tag may verify the 16-bit random number handle in the access command. If they match, the tag may respond to the access command. If they do not match, the tag may not respond to the access command.
  • the reader When the reader finishes taking inventory of a tag, it can also send a query repeat signaling to trigger the inventory of the next tag.
  • the reader can usually support multiple antennas (such as 4 to 8 antennas). Since the reader chip has only a single channel for transceiver link, different antennas (or antenna ports) use time division multiplexing (or time division scheduling), which results in a longer inventory time for the reader.
  • multiple antennas such as 4 to 8 antennas. Since the reader chip has only a single channel for transceiver link, different antennas (or antenna ports) use time division multiplexing (or time division scheduling), which results in a longer inventory time for the reader.
  • each antenna of the reader/writer takes inventory of tags, if there are no tags to be inventoried within the coverage of the current antenna, the antenna will idle.
  • an embodiment of the present application provides a communication method, in which the second device sends a query signaling through a first antenna. If the first information from the first device is not detected in 2 Q time slots, the second device switches to the second antenna to send a query signaling; wherein the query signaling is used to indicate the first time slot counting parameter Q value, the first Q value is a smaller value such as 0 or 1 or 2, and the Q value is used to detect the first device.
  • the second device since one inventory cycle is 2 Q time slots, the second device (such as a reader) sets the first Q value to a smaller value such as 0, 1 or 2, that is, the second device can set one inventory cycle to 1 time slot or fewer time slots. If there is a first device (such as a tag) to be inventoried within the coverage of the first antenna, the second device will receive the first information sent by the first device in the 1 or fewer time slots. If there is no first device to be inventoried within the coverage of the first antenna, the second device will not receive the first information sent by the first device in the 1 or fewer time slots, so that it can quickly detect whether there is a first device to be inventoried within the coverage of the first antenna.
  • a first device such as a tag
  • the second device can directly switch to the second antenna, thereby reducing the idling delay of the first antenna, reducing invalid inventory time, and reducing the inventory time of the second device for the first device, so as to achieve a fast inventory of the first device and improve the inventory efficiency.
  • the communication method provided in the embodiment of the present application can be used in any communication system, and the communication system can be a third generation partnership project (Third Generation Partnership Project).
  • the present invention relates to a fifth generation partnership project (3GPP) communication system, such as an RFID system, a long term evolution (LTE) system, a fifth generation (5G) mobile communication system, a new radio (NR) communication system, and a vehicle to everything (V2X) system.
  • 3GPP fifth generation partnership project
  • LTE long term evolution
  • 5G fifth generation
  • NR new radio
  • V2X vehicle to everything
  • LTE and 5G are hybrid networks, or a non-terrestrial network (NTN) system, a device-to-device (D2D) communication system, a machine-to-machine (M2M) communication system, an Internet of Things (IoT), a near field communication (NFC) system, a microwave communication (uWave) system, and other next generation communication systems, such as 6G and future 3GPP-defined passive Internet of Things and other future communication systems, and can also be a non-3GPP communication system, such as a wireless local area network (WLAN), etc., without limitation.
  • NTN non-terrestrial network
  • D2D device-to-device
  • M2M machine-to-machine
  • IoT Internet of Things
  • NFC near field communication
  • uWave microwave communication
  • non-3GPP communication system such as a wireless local area network (WLAN), etc., without limitation.
  • the communication method provided in the embodiments of the present application can be applied to RFID scenarios, X-IoT (X can be passive, semi-passive Internet of Things, etc.), warehousing, logistics, manufacturing, retail, asset management, checkpoints or production lines, etc., without limitation.
  • X-IoT X can be passive, semi-passive Internet of Things, etc.
  • warehousing logistics, manufacturing, retail, asset management, checkpoints or production lines, etc., without limitation.
  • FIG5 is a schematic diagram of a communication system provided in an embodiment of the present application. As shown in FIG5 , the communication system may include one or more first devices and one or more second devices.
  • the first device may be a device that communicates with a device having a read/write function (i.e., a second device).
  • the energy and/or carrier required for the first device to work may be provided by the second device.
  • the first device may communicate with the second device via the carrier provided by the second device.
  • the first device may be a tag, or a terminal device capable of implementing a tag function, or the first device may be a module or chip capable of implementing a tag function, etc., without limitation.
  • the second device may be a device with read/write functions, and may be a handheld or fixed device that reads or writes information of the first device.
  • the second device may include multiple antennas, and the second device may transmit, excite, and demodulate RFID tag signals (or described as excitation signals, RFID signals) through each antenna to implement inventory of the first device.
  • the second device may also dynamically adjust the Q value to improve the inventory success rate of the first device while ensuring that the idle delay of the antenna of the second device is small.
  • the second device may be a reader/writer, or a terminal device capable of reading and writing, or a network device capable of reading and writing.
  • the second device may be a module or chip capable of reading and writing, etc., without limitation.
  • the first device may be located within the coverage provided by the second device.
  • the communication between the first device and the second device may be regarded as communication between terminal devices.
  • the communication between the first device and the second device may be regarded as air interface communication, that is, the first device and the second device communicate through the Uu interface.
  • the reader/writer can be an integrated architecture as shown in (a) of Figure 6, or a wireless transceiver separation architecture as shown in (b) of Figure 6, or a wired transceiver separation architecture as shown in (c) of Figure 6, without limitation.
  • the reader/writer may include a helper and a receiver.
  • the helper can communicate downlink with the first device (such as a tag), and can communicate uplink and downlink with the receiver through an air interface or a wired connection.
  • the receiver can manage the helper, and can also receive the signal reflected by the first device, or be described as receiving the uplink signal sent by the first device.
  • the helper can send an excitation signal to the first device within its coverage range according to the signaling sent by the receiver.
  • the helper may also be called an excitation source, an exciter, an excitation node, etc., without limitation.
  • the assistant may be a terminal device, or a base station or a small station. There is only downlink between the assistant and the first device, and uplink and downlink data transmission between the assistant and the receiver, which may be through an air interface or a wired connection.
  • the receiver can perform downlink communication with the assistant, such as the receiver can send downlink control signaling to the assistant; the assistant can send an excitation signal to the tag according to the downlink control signaling, and the tag can send an uplink signal to the receiver according to the excitation signal, thereby realizing communication with the receiver.
  • the assistant can send an excitation signal to the tag according to the downlink control signaling
  • the tag can send an uplink signal to the receiver according to the excitation signal, thereby realizing communication with the receiver.
  • the terminal equipment can be a device with wireless transceiver function or a chip or chip system that can be set in the device.
  • the terminal equipment can also be called user equipment (UE) or terminal (terminal) or mobile station (MS) or mobile terminal (MT), etc.
  • UE user equipment
  • terminal terminal
  • MS mobile station
  • MT mobile terminal
  • the terminal equipment can be a handheld device with wireless connection function, a vehicle-mounted device, etc., such as a mobile phone, a tablet computer, a notebook, a PDA or a computer with wireless transceiver function.
  • the terminal equipment can also be a mobile Internet device (MID), a wearable device, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control (industrial control), a wireless Wireless terminals used in self-driving, remote medical surgery, smart grids, transportation safety, smart cities, smart homes, vehicle-mounted terminals, vehicles with vehicle-to-vehicle (V2V) communication capabilities, smart connected vehicles, drones with UAV to UAV (U2U) communication capabilities, etc. are not restricted.
  • MID mobile Internet device
  • VR virtual reality
  • AR augmented reality
  • WLAN wireless Wireless terminals used in self-driving, remote medical surgery, smart grids, transportation safety, smart cities, smart homes, vehicle-mounted terminals, vehicles with vehicle-to-vehicle (V2V) communication capabilities, smart connected vehicles, drones with UAV to UAV (U2U) communication capabilities, etc.
  • the network equipment can be any equipment deployed in the access network that can communicate wirelessly with the terminal equipment, and is mainly used to implement wireless physical control functions, resource scheduling and wireless resource management, wireless access control, and mobility management.
  • the network equipment can be a device that supports wired access or a device that supports wireless access.
  • the network equipment can be an access network (AN)/radio access network (RAN) device, which is composed of multiple AN/RAN nodes.
  • the AN/RAN node may be: a base station (nodeB, NB), a macro base station, a micro base station, a relay station, an enhanced base station (enhance nodeB, eNB), a next-generation base station (NR nodeB, gNB), a radio network controller (radio network controller, RNC), a base station controller (base station controller, BSC), a base transceiver station (base transceiver station, BTS), a home base station (for example, a home evolved nodeB, a home base station (home nodeB, HNB)), a base band unit (base band unit, BBU), an access point (access point, AP), or a wireless fidelity AP (wireless fidelity AP, Wi-Fi AP), a transmission reception point (transmission reception point, TRP), a transmission point (transmission point, TP), a wireless relay node or a wireless backhaul node in an integrated access and backhaul (IAB) (i.e.
  • the network device may also be a centralized unit (CU)/distributed unit (DU) architecture.
  • the network device may include a CU, or a DU, or a CU and a DU.
  • the network device including the CU and the DU may separate the protocol layer of the eNB in the LTE, 5G, and even future 6G communication systems, with the functions of some protocol layers being centrally controlled by the CU, and the functions of the remaining part or all of the protocol layers being distributed in the DU, which is centrally controlled by the CU.
  • the DU may be split at the physical layer into a DU and a radio unit (RU).
  • the interface between the DU and the RU may be a common public radio interface (CPRI) interface, an enhanced common public radio interface (eCPRI) interface, or a fronthaul interface in an open radio access network (O-RAN or ORAN).
  • CPRI common public radio interface
  • eCPRI enhanced common public radio interface
  • O-RAN open radio access network
  • the base station may be a micro BS, which may communicate with the tag through a Uu interface.
  • the terminal device may communicate with the tag through a sidelink (SL).
  • the base station may be an IAB node, which may communicate with a macro BS through a Uu interface, and communicate with the tag through a Uu interface.
  • the communication between the first device and the second device can also support a separate architecture.
  • the terminal device and the base station can perform uplink communication or downlink communication.
  • the base station 1 can provide a carrier signal for the tag, and the base station 1 and the tag can perform uplink communication, and the tag and the terminal device can perform downlink communication.
  • the terminal device can provide a carrier signal for the tag, and the base station 1 and the tag can perform downlink communication, and the tag and the terminal device can perform uplink communication.
  • the terminal device can provide a carrier signal for the tag, and the base station 1 and the tag can perform uplink communication, and the tag and the terminal device can perform downlink communication.
  • the base station 1 can provide a carrier signal for the tag, and the base station 1 and the tag can perform downlink communication, and the tag and the terminal device can perform uplink communication.
  • a base station that can communicate with both a tag and a terminal device can be referred to as a co-station of the tag and the terminal device (such as base station 1).
  • a base station that can only communicate with a tag or a base station that can only communicate with a terminal device can be referred to as a different station of the tag and the terminal device (such as base station 2).
  • the first device and the second device of the embodiment of the present application can be one or more chips, or a system on chip (SOC), etc.
  • FIG. 5 is only an exemplary figure, and the number of devices included therein is not limited.
  • the communication system may also include other devices.
  • the names of the various devices and the names of the various links in FIG. 5 are not limited.
  • the various devices and the various links may also be named with other names without limitation.
  • each first device and second device can adopt the composition structure shown in Figure 9, or include the components shown in Figure 9.
  • Figure 9 is a schematic diagram of the composition of a communication device 900 provided in an embodiment of the present application.
  • the communication device 900 may be a first device or a chip or system on chip in the first device; or a second device or a chip or system on chip in the second device.
  • the communication device 900 includes a processor 901 , a transceiver 902 and a communication line 903 .
  • the communication device 900 may also include a memory 904.
  • the processor 901, the memory 904 and the transceiver 902 may be connected via a communication line 903.
  • the processor 901 is a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof.
  • the processor 901 may also be other devices with processing functions, such as circuits, devices, or software modules, without limitation.
  • the transceiver 902 is used to communicate with other devices or other communication networks.
  • the other communication networks may be Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
  • the transceiver 902 may be a module, a circuit, a transceiver or any device capable of achieving communication.
  • the communication line 903 is used to transmit information between the components included in the communication device 900.
  • the memory 904 is used to store instructions, where the instructions may be computer programs.
  • the memory 904 can be a read-only memory (ROM) or other types of static storage devices that can store static information and/or instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and/or instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, etc., without limitation.
  • ROM read-only memory
  • RAM random access memory
  • EEPROM electrically erasable programmable read-only memory
  • CD-ROM compact disc read-only memory
  • CD-ROM compact disc read-only memory
  • optical disc storage including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.
  • magnetic disk storage media or other magnetic storage devices etc.
  • the memory 904 can exist independently of the processor 901, or can be integrated with the processor 901.
  • the memory 904 can be used to store instructions or program codes or some data, etc.
  • the memory 904 can be located in the communication device 900, or can be located outside the communication device 900, without limitation.
  • the processor 901 is used to execute the instructions stored in the memory 904 to implement the communication method provided in the following embodiments of the present application.
  • the processor 901 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 9 .
  • the communication device 900 includes multiple processors.
  • the processor 901 in FIG. 9 it may also include a processor 907 .
  • the communication device 900 further includes an output device 905 and an input device 906.
  • the input device 906 is a device such as a keyboard, a mouse, a microphone or a joystick
  • the output device 905 is a device such as a display screen and a speaker.
  • the communication device 900 may be a desktop computer, a portable computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system, or a device having a similar structure as shown in FIG9.
  • the composition structure shown in FIG9 does not constitute a limitation on the communication device.
  • the communication device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
  • the chip system may be composed of a chip, or may include a chip and other discrete devices.
  • the communication method provided in the embodiment of the present application is described with reference to Figure 10 below, wherein the first device may be any first device in the communication system shown in Figures 5 to 8, and the second device may be any second device in the communication system shown in Figures 5 to 8.
  • the first device and the second device described in the following embodiments may both have the components shown in Figure 9.
  • the processing performed by a single execution subject (first device or second device) shown in the embodiment of the present application may also be divided into executions by multiple execution subjects, and these execution subjects may be logically and/or physically separated without restriction.
  • FIG10 is a communication method provided in an embodiment of the present application. As shown in FIG10 , the method may include:
  • Step 1001 The second device sends a query signaling via the first antenna.
  • the query signaling may be used to indicate a first Q value, the first Q value may be 0, and the Q value may be used to detect (or be described as querying) the first device.
  • the first Q value may be 1 or 2 or other smaller values.
  • the first Q value is described as 0 as an example.
  • the description of the first Q value being 1 or 2 or other smaller values may refer to the relevant description of the first Q value being 0, and no further details are given.
  • the Q value can be used by the first device that receives the Q value to generate a random number belonging to [0, 2 Q -1] as the initial value of the time slot counter according to the Q value.
  • the first device can send the first information to the second device.
  • the second device uses a round-robin algorithm to determine the first antenna from multiple antennas of the second device, or the second device uses other algorithms (such as a timed round-robin algorithm, a weighted scheduling algorithm, etc.) to determine the first antenna from multiple antennas of the second device, or the second device randomly selects one antenna from multiple antennas of the second device as the first antenna, without restriction.
  • a round-robin algorithm to determine the first antenna from multiple antennas of the second device
  • other algorithms such as a timed round-robin algorithm, a weighted scheduling algorithm, etc.
  • the second device before the second device sends the query signaling through the first antenna, it sends the selection signaling through the first antenna to select one or more first devices, and the first devices meeting the selection conditions are selected to enter the inventory waiting state.
  • the second device may receive first indication information, select a first antenna from multiple antennas based on the first indication information, and send the selection signaling through the first antenna.
  • the first indication information may be used to instruct the second device to initiate an inventory of the first device.
  • the network device sends the first indication information to the second device.
  • Step 1002 If the second device does not detect the first information from the first device in 2 Q time slots, the second device switches to the second antenna to send a query signaling.
  • the first information may indicate a 16-bit random number, or the first information may be described as RN16 or RN16 information, etc., without limitation.
  • the second device After the second device sends the query signaling through the first antenna, it can detect in each of the 2 Q time slots whether the first information sent by the first device is received.
  • the second device sends a query repetition signaling to trigger the second device to detect the first information in each time slot of 2 Q time slots.
  • the query repetition signaling may also trigger the first device to reduce the value of the time slot counter by 1.
  • the second device can send a query repetition signaling to trigger the second device to detect whether the first information exists in the second time slot among 2 Q time slots, and then send a query repetition signaling to trigger the second device to detect whether the first information sent by the first device exists in the third time slot among 2 Q time slots, ... and then send a query repetition signaling to trigger the second device to detect whether the first information exists in the second Q time slot among the 2 Q time slots.
  • the second device detects whether the first information exists in each time slot of 2 Q time slots based on a round-robin algorithm.
  • the second device may detect whether the first information exists in the i-th time slot of 2 Q time slots, and determine whether the i-th time slot is the last time slot of the 2 Q time slots. If yes, the detection of the 2 Q time slots is completed. If not, the query repetition signaling is sent to detect whether the first information exists in the next time slot.
  • 1 ⁇ i ⁇ 2 Q or described as i traversing 1 to 2 Q .
  • the second device can directly switch to the second antenna for inventory.
  • the description of the process of the second device taking inventory of the first device through the second antenna can refer to the description of the process of the second device taking inventory of the first device through the first antenna, and will not be repeated.
  • the second device sets the collision probability to 0.
  • the second device switches to the second antenna to send the query signaling.
  • the collision probability may be a collision probability between one or more first devices.
  • the second device sets the first Q value to a smaller value such as 0, 1, or 2, that is, the second device sets one inventory cycle to 1 time slot or less time slots. If there is a first device to be inventoried within the coverage of the first antenna, the second device will receive the first information sent by the first device in the 1 or less time slots, such as If there is no first device to be inventoried within the coverage of the first antenna, the second device will not receive the first information sent by the first device in the one or fewer time slots, so that it can quickly detect whether there is a first device to be inventoried within the coverage of the first antenna.
  • the second device can directly switch to the second antenna, thereby reducing the idling delay of the first antenna, reducing the invalid inventory time, reducing the inventory time of the second device for the first device, realizing a fast inventory of the first device, and improving the inventory efficiency.
  • the Q value in the query signaling when each antenna of the second device starts the inventory, if the Q value in the query signaling is set to a large value, the probability that different first devices have the same initial value of the time slot counter determined according to the Q value will be reduced, that is, the collision between the first devices will be reduced, and the second device can quickly inventory a large number of first devices, thereby improving the success rate of the inventory of the first devices.
  • the idling delay of the antenna can be large. If the Q value in the query signaling is set to a small value, the idling delay of the antenna can be reduced, thereby achieving rapid switching of the antenna.
  • the probability that different first devices have the same initial value of the time slot counter determined according to the Q value will be increased, that is, the collision between the first devices will increase, thereby reducing the success rate of the inventory of the first device.
  • the initial Q value can be set to a larger value (for example, the Q value is 4, and can also be adjusted according to the number of first devices).
  • the Q value is adaptively adjusted during the inventory process, and finally the Q value converges to 0, completing the inventory of the current antenna, and then switching to other antennas for inventory, so as to achieve a relative balance between the inventory success rate and the inventory time.
  • the second device needs to go through [2 Q , 2 Q+ 2 Q-1 +...+2 0 ] inventory time slots to switch to the next antenna.
  • the idling time of a single antenna takes tens to hundreds of millimeter, and the idling delay of multiple antennas may reach hundreds of milliseconds.
  • the inconsistency of the remaining idle antennas of the second device due to the first device entering the antenna coverage range may easily lead to unstable inventory results.
  • the initial Q value may be set to a smaller value (for example, the Q value may be set to 0, or the Q value may be set to 1 or 2, etc., without limitation) to achieve rapid switching of antennas when the first device is not within the coverage of the antenna of the second device.
  • the Q value may be increased to achieve an inventory of the first device.
  • the idling delay of the single antenna can be reduced to one to five milliseconds, and when the initial Q value is set to 1 or 2, the idling delay of the single antenna can be reduced to five to twelve milliseconds.
  • the second device may increase the Q value by referring to the method shown in FIG. 12 below to implement an inventory of the first device.
  • FIG12 is a flow chart of a communication method provided in an embodiment of the present application.
  • the second device may adjust the Q value by the method shown in the following step 1203, or may adjust the Q value by the method shown in the following steps 1204 to 1206:
  • Step 1201 The second device communicates with the first antenna to send a query signaling; correspondingly, the first device receives the query signaling sent by the second device.
  • the query information may include a first Q value, and the first Q value may be 0.
  • Step 1202 The first device sends first information to the second device.
  • the first device may generate a random number belonging to [0, 2 Q -1] as the initial value of the time slot counter according to the first Q value, and when the value of the time slot counter is updated to 0, send the first information to the second device.
  • the second device after the second device sends the query signaling through the first antenna, it can also send a query repetition signaling through the first antenna to trigger the first device to reduce the value of the time slot counter by 1.
  • the first device sends the first information to the second device.
  • the description of the first information can refer to the description of the first information in the above-mentioned Figure 10, and will not be repeated here.
  • Step 1203 If the second device detects at least two conflicting first information in 2 Q time slots, the second device sends a query adjustment signaling.
  • the at least two conflicting first information may be at least two first information detected in the same time slot; the query adjustment signaling may include a second Q value, and the second Q value may be greater than the first Q value.
  • the second device detects at least two conflicting first information in 2 Q time slots, it may indicate that there are multiple first devices to be inventoried within the coverage of the first antenna.
  • the second device can adjust the Q value to the second Q value, thereby reducing the probability that different first devices have the same initial value of the time slot counter determined according to the second Q value, reducing collisions between first devices, thereby quickly inventorying a large number of first devices and improving the inventory success rate of the first devices.
  • the second device after the second device sends the query signaling through the first antenna, it can detect whether there are at least two conflicting first information in each time slot of 2 Q time slots.
  • the second device sends a query repetition signaling to trigger the second device to detect the first information in each time slot of 2 Q time slots.
  • the second device may send a query repetition signaling to trigger the second device to detect whether there are at least two conflicting first information in the second time slot among the 2 Q time slots, and then send a query repetition signaling to trigger the second device to detect whether there are at least two conflicting first information in the third time slot among the 2 Q time slots, ... and then send a query repetition signaling to trigger the second device to detect whether there are at least two conflicting first information in the second Q time slot among the 2 Q time slots.
  • the second device detects whether there are at least two conflicting first information in each time slot of 2 Q time slots based on a round-robin algorithm.
  • the second device may detect whether there are at least two conflicting first information in the i-th time slot of 2 Q time slots, and determine whether the i-th time slot is the last time slot of the 2 Q time slots, if yes, complete the detection of the 2 Q time slots, if no, send query repetition signaling to detect whether there are at least two conflicting first information in the next time slot.
  • 1 ⁇ i ⁇ 2 Q the number of conflicting first information in the next time slot.
  • the second device may adjust the collision probability once; for each time slot in which at least two conflicting first information can be detected, the second device may not adjust the collision probability.
  • the second device determines whether to adjust the collision probability in each of the 2 Q time slots based on a round-robin algorithm.
  • the second device may detect whether there are at least two conflicting first information in the i-th time slot of 2 Q time slots, and if so, adjust the collision probability once, and if not, do not adjust the collision probability.
  • the second device may also determine whether the i-th time slot is the last time slot of the 2 Q time slots, and if so, complete the detection of the 2 Q time slots, and if not, send a query repetition signaling to detect whether there are at least two conflicting first information in the next time slot.
  • 1 ⁇ i ⁇ 2 Q It can also be described as i traversing 1 to 2 Q .
  • the second device determines the collision probability according to the amount of conflicting first information.
  • the collision probability when the number of first devices within the coverage of the first antenna is constant, the more conflicting first information detected by the second device, the greater the collision probability, and the fewer conflicting first information detected by the second device, the smaller the collision probability.
  • the second device when the second device detects the first information in 2 Q time slots, if the collision probability is not 0, it indicates that there is a first device to be inventoried within the coverage of the first antenna, and the second device can send a query adjustment signaling through the first antenna to inventory the first device to be inventoried.
  • the second device determines a second Q value according to the collision probability.
  • Step 1204 If there is no conflict between the first information detected by the second device in the 2 Q time slots, the second device sends confirmation information to the first device associated with the first information.
  • the confirmation information sent by the second device to the first device associated with the first information may include the RN16.
  • Step 1205 The first device that receives the confirmation information sends second information to the second device.
  • the second information may include EPC information.
  • Step 1206 If the second device fails to successfully detect the second information from the first device associated with the first information, the second device sends Query adjustment signaling.
  • the query adjustment signaling may include a second Q value, and the second Q value is greater than the first Q value.
  • the second device failing to successfully detect the second information from the first device associated with the first information may include: the second device failing to detect the second information from the first device associated with the first information, or the second device detecting the second information from the first device associated with the first information but failing to demodulate the second information.
  • the second device fails to successfully detect the second information from the first device associated with the first information, it may indicate that there is a first device to be inventoried within the coverage of the first antenna.
  • the second device can adjust the Q value to the second Q value, thereby reducing the probability that different first devices have the same initial value of the time slot counter determined according to the second Q value, reducing collisions between first devices, thereby quickly inventorying a large number of first devices and improving the inventory success rate of the first devices.
  • the second device may adjust the collision probability once. If the second device successfully detects the second information sent by the first device associated with the first information, the collision probability does not need to be adjusted.
  • the second device determines whether to adjust the collision probability in each time slot in which the first information without conflict can be detected based on a round-robin algorithm.
  • the second device can adjust the collision probability once. If the second device successfully detects the second information sent by the first device associated with the first information, the collision probability does not need to be adjusted.
  • the second device can also determine whether the i-th time slot is the last time slot of 2 Q time slots. If so, the detection of 2 Q time slots is completed. If not, a query repetition signaling is sent to detect the first information in the next time slot. Wherein, 1 ⁇ i ⁇ 2 Q.
  • the second device may determine the collision probability according to the amount of undetected second information.
  • the collision probability when the number of first information detected by the second device within the coverage range of the first antenna is certain, the more second information the second device fails to detect successfully, the greater the collision probability, and the fewer second information the second device fails to detect successfully, the smaller the collision probability.
  • the second device when the second device detects the first information and the second information in 2 Q time slots, if the collision probability is not 0, it indicates that there is a first device to be inventoried within the coverage of the first antenna, and the second device can send a query adjustment signaling through the first antenna to inventory the first device to be inventoried.
  • the second device determines a second Q value according to the collision probability.
  • Step 1207 The first device sends the first information to the second device according to the second Q value in the query adjustment signaling.
  • the first device may update the initial value of the time slot counter according to the second Q value, and send the first information to the second device when the value of the time slot counter is updated to 0.
  • the second device can send a random number request command to the first device, and the first device sends a 16-bit random number handle to the second device, and then the second device can access the first device by sending an access command to the first device.
  • the second device can set the collision probability to 0, and then switch to the second antenna to implement inventory of the first device.
  • the second device and a single first device may communicate with each other with reference to the link timing shown in (a) of FIG. 13.
  • the second device and multiple first devices may communicate with each other with reference to the link timing shown in (b) of FIG. 13.
  • T1 may represent the time from the second device transmitting a signal to the first device responding
  • T2 may represent the time from the first device responding to the second device transmitting a signal
  • T3 may represent the waiting time of the second device after T1 until it transmits the next signal
  • T4 may represent the minimum time interval between signals transmitted by the second device.
  • the second device When the second device sends a query signaling carrying the first Q value through the first antenna, if the second device does not detect the first information within T1, the second device may consider that there is no first device to be inventoried within the coverage of the first antenna, and the second device may directly switch to the second antenna for inventory. If the second device detects the first information within T1, the second device may normally inventory the first device with reference to the method shown in FIG. 12 above.
  • each time the second device switches the antenna it can preferentially send the query with a Q value of 0.
  • the query command is used to quickly detect whether there is a first device to be inventoried within the coverage of the antenna of the second device. If there is no first device to be inventoried, the second device can directly switch to the next antenna for inventory. If there is a first device to be inventoried, the second device can normally inventory the first device. If a collision occurs with the first device, the second device can also increase the Q value to reduce the collision between the first devices and implement the inventory of the first device.
  • the first possible implementation method when the second device takes inventory of the first device, the first possible implementation method may be adopted to set the initial Q value to a larger value, and the Q value may be adaptively adjusted during the inventory process, and the Q value may eventually converge to 0, thereby reducing the probability of collision between first devices, quickly taking inventory of a large number of first devices, and improving the success rate of the inventory of first devices.
  • the second possible implementation method may also be adopted to set the initial Q value to a smaller value, and quickly detect whether there is a first device to be inventoried within the coverage of the first antenna. If there is no first device to be inventoried, directly switch to the second antenna, reduce the idling delay of the first antenna, and improve the inventory efficiency. If there is a first device to be inventoried, the Q value may be increased to reduce the probability of collision between first devices, implement the inventory of the first device, and improve the success rate of the inventory.
  • the second device further includes a first switch, and when the first switch is in an on state, the second device uses the first possible implementation method to inventory the first device, and when the first switch is in an off state, the second device uses the second possible implementation method to inventory the first device.
  • the second device uses the second possible implementation method to inventory the first device, and when the first switch is in an off state, the second device uses the first possible implementation method to inventory the first device, without limitation.
  • the execution subject may execute some or all of the steps in the embodiments of the present application, and these steps or operations are only examples, and the embodiments of the present application may also execute other operations or variations of various operations.
  • the various steps may be executed in different orders presented in the embodiments of the present application, and it is possible that not all operations in the embodiments of the present application need to be executed.
  • each device includes a hardware structure and/or software module corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware 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 the present application.
  • the embodiment of the present application can divide the functional modules of each device according to the above method example.
  • each functional module can be divided according to each function, or two or more functions can be integrated into one processing module.
  • the above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
  • Figure 14 shows a communication device 140, which can execute the actions performed by the first device in Figures 10 to 13 above, or execute the actions performed by the second device in Figures 10 to 13 above, without limitation.
  • the communication device 140 may include a transceiver module 1401 and a processing module 1402.
  • the communication device 140 may be a software module, a hardware circuit, or a software module plus a hardware circuit, or may be a chip applied to a communication device or other combined devices, components, etc. having the functions of the above-mentioned communication device.
  • the transceiver module 1401 may be a transceiver, and the transceiver may include an interface circuit, a pin, or an antenna and a radio frequency circuit, etc.
  • the processing module 1402 may be a processor (or a processing circuit), such as a baseband processor, and the baseband processor may include one or more CPUs.
  • the transceiver module 1401 may be a radio frequency unit; the processing module 1402 may be a processor (or a processing circuit), such as a baseband processor.
  • the transceiver module 1401 may be an input and output interface of a chip (such as a baseband chip); the processing module 1402 may be a processor (or a processing circuit) of the chip system, and may include one or more central processing units.
  • transceiver module 1401 in the embodiment of the present application can be implemented by a transceiver or a transceiver-related circuit component;
  • processing module 1402 can be implemented by a processor or a processor-related circuit component (or, referred to as a processing circuit).
  • the transceiver module 1401 can be used to perform all transceiver operations performed by the communication device in the embodiments shown in Figures 10 to 13, and/or to support other processes of the technology described in this document;
  • the processing module 1402 can be used to perform all operations except the transceiver operations performed by the communication device in the embodiments shown in Figures 10 to 13, and/or to support other processes of the technology described in this document.
  • the transceiver module 1401 in FIG14 may be replaced by a transceiver, which may integrate the functions of the transceiver module 1401; the processing module 1402 may be replaced by a processor, which may integrate the functions of the processing module 1402. Furthermore, the communication device 140 shown in FIG14 may also include a memory.
  • the communication device 140 involved in the embodiment of the present application may also be the communication device 150 shown in FIG15 , wherein the processor may be a logic circuit 1501 and the transceiver may be an interface circuit 1502. Further, the communication device 150 shown in FIG15 may also include a memory 1503.
  • the embodiments of the present application also provide a computer program product, which can implement the functions of any of the above method embodiments when executed by a computer.
  • the embodiments of the present application also provide a computer program, which can implement the functions of any of the above method embodiments when executed by a computer.
  • the embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by a computer program to instruct the relevant hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments.
  • the computer-readable storage medium can be an internal storage unit of the terminal (including the data sending end and/or the data receiving end) of any of the above embodiments, such as the hard disk or memory of the terminal.
  • the above computer-readable storage medium can also be an external storage device of the above terminal, such as a plug-in hard disk equipped on the above terminal, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. Further, the above computer-readable storage medium can also include both the internal storage unit of the above terminal and an external storage device.
  • the above computer-readable storage medium is used to store the above computer program and other programs and data required by the above terminal.
  • the above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.
  • At least one (item) means one or more, “more than one” means two or more, “at least two (items)” means two or three and more than three, and "and/or” is used to describe the association relationship of associated objects, indicating that three relationships may exist.
  • a and/or B can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural.
  • the character “/” generally indicates that the objects associated before and after are in an “or” relationship.
  • At least one of the following items” or similar expressions refers to any combination of these items, including any combination of single items or plural items.
  • At least one of a, b or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c", where a, b, c can be single or multiple.
  • the disclosed devices and methods can be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
  • Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or all or part of the technical solution. It can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for enabling a device (which may be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Toxicology (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application relates to the technical field of communications. Provided are a communication method and apparatus, which can reduce the antenna idling delay of a reader-writer, such that the time that the reader-writer takes to inventory labels is shortened, and the inventory rate is increased during an inventory process. The method may comprise: sending query signaling by means of first antenna; and if first information from a first device is not detected in 2Q slots, switching to a second antenna to send the query signaling, wherein the query signaling is used for indicating a first slot-count parameter (Q) value, the first Q value is 0, and the Q value is used for testing the first device.

Description

通信方法及装置Communication method and device
本申请要求于2022年10月21日提交中国国家知识产权局、申请号为202211296381.3、申请名称为“通信方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on October 21, 2022, with application number 202211296381.3 and application name “Communication Method and Device”, all contents of which are incorporated by reference in this application.
技术领域Technical Field
本申请涉及通信技术领域,尤其是涉及一种通信方法及装置。The present application relates to the field of communication technology, and in particular to a communication method and device.
背景技术Background technique
射频识别(radio frequency identification,RFID)技术,是一种非接触式的自动识别技术。RFID系统通常包括读写器和标签。读写器可以发送选择信令,以选择一个或多个标签进行盘存,读写器还可以向标签发送查询信令,以初始化一个盘存周期。Radio frequency identification (RFID) technology is a contactless automatic identification technology. RFID systems usually include readers and tags. The reader can send a selection signal to select one or more tags for inventory. The reader can also send a query signal to the tag to initiate an inventory cycle.
其中,查询信令可以包括时隙计数参数(slot-count parameter,Q)值,一个盘存周期可以包括2Q个时隙,读写器可以在每个时隙中确定是否有标签。标签接收到查询信令时,可以根据Q值生成一个属于[0,2Q-1]的随机数作为时隙计数器,每接收一个查询重复(QueryRep)信令,则时隙计数器减1,当时隙计数器等于0时,标签可以发送一个随机数。如果读写器成功接收标签发送的随机数,读写器可以向标签发送确认信息。当读写器结束对一个标签的盘存后,也可以发送查询重复信令,以触发对下一个标签的盘存。The query signaling may include a slot-count parameter (Q) value. An inventory cycle may include 2 Q slots. The reader may determine whether there is a tag in each slot. When the tag receives the query signaling, it may generate a random number belonging to [0, 2 Q -1] as a slot counter based on the Q value. Each time a query repetition (QueryRep) signaling is received, the slot counter is reduced by 1. When the slot counter is equal to 0, the tag may send a random number. If the reader successfully receives the random number sent by the tag, the reader may send a confirmation message to the tag. When the reader finishes the inventory of a tag, it may also send a query repetition signaling to trigger the inventory of the next tag.
为了降低成本,读写器通常可以支持多个天线,不同的天线之间可以采用时分复用的方式对标签进行盘存。读写器的每个天线对标签进行盘存时,如果当前天线的覆盖范围内没有待盘存标签,会导致天线空转。To reduce costs, readers usually support multiple antennas, and different antennas can use time division multiplexing to inventory tags. When each antenna of the reader takes inventory of tags, if there are no tags to be inventoried within the coverage of the current antenna, the antenna will be idle.
如何在盘存过程中降低读写器的天线空转时延,降低读写器对标签的盘存时间成为亟待解决的技术问题。How to reduce the antenna idling delay of the reader during the inventory process and shorten the inventory time of the reader for tags has become a technical problem that needs to be solved urgently.
发明内容Summary of the invention
本申请提供了一种通信方法及装置,能够在盘存过程中降低读写器的天线空转时延,实现天线的快速切换,降低读写器对标签的盘存时间,提高盘存速率。The present application provides a communication method and device, which can reduce the antenna idling delay of a reader during an inventory process, achieve rapid switching of the antenna, reduce the inventory time of the reader for tags, and improve the inventory rate.
第一方面,本申请实施例提供一种通信方法,该方法可以应用于第二设备,该方法可以包括:通过第一天线发送查询信令;如果在2Q个时隙中未检测到来自第一设备的第一信息,切换到第二天线发送查询信令;其中,查询信令用于指示第一时隙计数参数Q值,第一Q值为0,Q值用于检测第一设备。In a first aspect, an embodiment of the present application provides a communication method, which can be applied to a second device, and the method may include: sending a query signaling through a first antenna; if the first information from the first device is not detected in 2 Q time slots, switching to the second antenna to send a query signaling; wherein the query signaling is used to indicate a first time slot counting parameter Q value, the first Q value is 0, and the Q value is used to detect the first device.
基于第一方面,由于一个盘存周期是2Q个时隙,第二设备(如读写器)通过将第一Q值设置为0,即第二设备将一个盘存周期设置为1个时隙,如果第一天线的覆盖范围内存在待盘存的第一设备(如标签),则第二设备会在该1个时隙接收到第一设备发送的第一信息,如果第一天线的覆盖范围内不存在待盘存的第一设备,则第二设备不会在该1个时隙中接收到第一设备发送的第一信息,从而可以快速检测出第一天线的覆盖范围内是否存在待盘存的第一设备,如果没有待盘存的第一设备,第二设备可以直接切换到第二天线,从而降低第一天线的空转时延,减少无效盘存时间,降低第二设备对第一设备的盘存时间,实现对第一设备的快速盘存,提高盘存效率。Based on the first aspect, since an inventory cycle is 2 Q time slots, the second device (such as a reader) sets the first Q value to 0, that is, the second device sets an inventory cycle to 1 time slot. If there is a first device to be inventoried (such as a tag) within the coverage of the first antenna, the second device will receive the first information sent by the first device in the 1 time slot. If there is no first device to be inventoried within the coverage of the first antenna, the second device will not receive the first information sent by the first device in the 1 time slot, so that it can quickly detect whether there is a first device to be inventoried within the coverage of the first antenna. If there is no first device to be inventoried, the second device can directly switch to the second antenna, thereby reducing the idling delay of the first antenna, reducing invalid inventory time, and reducing the inventory time of the second device for the first device, so as to achieve rapid inventory of the first device and improve inventory efficiency.
一种可能的设计中,如果在2Q个时隙中未检测到第一信息,将碰撞概率设置为0;其中,碰撞概率为一个或多个第一设备之间的碰撞概率。In a possible design, if the first information is not detected in 2 Q time slots, the collision probability is set to 0; wherein the collision probability is the collision probability between one or more first devices.
一种可能的设计中,如果碰撞概率为0,切换到第二天线发送查询信令。In a possible design, if the collision probability is 0, the query signaling is switched to the second antenna.
基于上述两种可能的设计,第二设备还可以在2Q个时隙中未检测到第一信息时,将碰撞概率设置为0,以表明第一天线的覆盖范围内不存在待盘存的第一设备,进而第二设备可以切换到第二天线进行盘存,实现各个天线之间的切换。Based on the above two possible designs, the second device can also set the collision probability to 0 when the first information is not detected in 2 Q time slots, to indicate that there is no first device to be inventoried within the coverage of the first antenna, and then the second device can switch to the second antenna for inventory, thereby realizing switching between antennas.
一种可能的设计中,如果在2Q个时隙中检测到至少两个存在冲突的第一信息,发送查询调整信令;其中,至少两个存在冲突的第一信息是在相同时隙中检测到的至少两个第一信息;查询调整信令包括第二Q值,第二Q值大于第一Q值。In one possible design, if at least two conflicting first information are detected in 2 Q time slots, a query adjustment signaling is sent; wherein, the at least two conflicting first information are at least two first information detected in the same time slot; the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value.
基于该可能的设计,如果第二设备在2Q个时隙中检测到至少两个存在冲突的第一信息,则可以表明第一天线的覆盖范围内存在多个待盘存的第一设备,第二设备可以将Q值调整为第二Q值,降低不同的第一设备根据第二Q值确定的时隙计数器的初始值相同的概率,降低第一设备之间的碰撞,从而 快速盘存大量第一设备,提高第一设备的盘存成功率。Based on this possible design, if the second device detects at least two conflicting first information in 2 Q time slots, it can indicate that there are multiple first devices to be inventoried within the coverage of the first antenna. The second device can adjust the Q value to the second Q value, thereby reducing the probability that different first devices determine the same initial value of the time slot counter according to the second Q value, thereby reducing the collision between the first devices, thereby Rapidly inventory a large number of first devices to improve the success rate of the inventory of the first devices.
一种可能的设计中,对于第i个时隙,其中,1≤i≤2Q;如果在第i个时隙中检测到至少两个存在冲突的第一信息,对碰撞概率进行一次调整;如果在第i个时隙中未检测到至少两个存在冲突的第一信息,不对碰撞概率进行调整。其中,1≤i≤2Q还可以描述为i遍历1至2QIn one possible design, for the i-th time slot, where 1≤i≤2Q ; if at least two conflicting first information are detected in the i-th time slot, the collision probability is adjusted once; if at least two conflicting first information are not detected in the i-th time slot, the collision probability is not adjusted. Wherein, 1≤i≤2Q can also be described as i traversing 1 to 2Q .
基于该可能的设计,第二设备还可以在2Q个时隙中检测到至少两个存在冲突的第一信息时,对碰撞概率进行调整,以表明第一天线的覆盖范围内存在待盘存的第一设备。Based on this possible design, when the second device detects at least two conflicting first information in 2 Q time slots, it may adjust the collision probability to indicate that there is a first device to be inventoried within the coverage of the first antenna.
一种可能的设计中,如果在2Q个时隙中检测到的第一信息之间不存在冲突,向第一信息关联的第一设备发送确认信息;如果未成功检测到来自第一信息关联的第一设备的第二信息,发送查询调整信令;其中,查询调整信令包括第二Q值,第二Q值大于第一Q值。In one possible design, if there is no conflict between the first information detected in 2 Q time slots, a confirmation message is sent to the first device associated with the first information; if the second information from the first device associated with the first information is not successfully detected, a query adjustment signaling is sent; wherein the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value.
基于该可能的设计,如果第二设备未成功检测到来自第一信息关联的第一设备的第二信息,则可以表明第一天线的覆盖范围内存在多个待盘存的第一设备,第二设备可以将Q值调整为第二Q值,降低不同的第一设备根据第二Q值确定的时隙计数器的初始值相同的概率,降低第一设备之间的碰撞,从而快速盘存大量第一设备,提高第一设备的盘存成功率。Based on this possible design, if the second device fails to successfully detect the second information from the first device associated with the first information, it may indicate that there are multiple first devices to be inventoried within the coverage of the first antenna. The second device may adjust the Q value to the second Q value, thereby reducing the probability that different first devices have the same initial value of the time slot counter determined according to the second Q value, reducing collisions between first devices, thereby quickly inventorying a large number of first devices and improving the success rate of the inventory of first devices.
一种可能的设计中,对于第i个时隙,其中,1≤i≤2Q;如果在第i个时隙中检测到不存在冲突的第一信息,但未成功检测到来自第一信息关联的第一设备的第二信息,对碰撞概率进行一次调整;如果在第i个时隙中检测到不存在冲突的第一信息,且成功检测到来自第一信息关联的第一设备的第二信息,不对碰撞概率进行调整。其中,1≤i≤2Q还可以描述为i遍历1至2QIn one possible design, for the i-th time slot, where 1≤i≤2 Q ; if the first information without conflict is detected in the i-th time slot, but the second information from the first device associated with the first information is not successfully detected, the collision probability is adjusted once; if the first information without conflict is detected in the i-th time slot, and the second information from the first device associated with the first information is successfully detected, the collision probability is not adjusted. Wherein, 1≤i≤2 Q can also be described as i traversing 1 to 2 Q .
基于该可能的设计,第二设备还可以在未成功检测到来自第一信息关联的第一设备的第二信息时,对碰撞概率进行调整,以表明第一天线的覆盖范围内存在待盘存的第一设备。Based on this possible design, the second device may also adjust the collision probability when failing to successfully detect the second information from the first device associated with the first information to indicate that there is a first device to be inventoried within the coverage of the first antenna.
一种可能的设计中,在2Q个时隙中检测完第一信息时,如果碰撞概率不为0,发送查询调整信令。In a possible design, after the first information is detected in 2 Q time slots, if the collision probability is not 0, a query adjustment signaling is sent.
基于该可能的设计,如果碰撞概率不为0,则可以表明第一天线的覆盖范围内存在待盘存的第一设备,进而第二设备可以将Q值调整为第二Q值,降低不同的第一设备根据第二Q值确定的时隙计数器的初始值相同的概率,降低第一设备之间的碰撞,从而快速盘存大量第一设备,提高第一设备的盘存成功率。Based on this possible design, if the collision probability is not 0, it may indicate that there is a first device to be inventoried within the coverage range of the first antenna, and then the second device can adjust the Q value to the second Q value, thereby reducing the probability that different first devices have the same initial value of the time slot counter determined according to the second Q value, reducing collisions between first devices, thereby quickly inventorying a large number of first devices and improving the inventory success rate of the first devices.
一种可能的设计中,根据碰撞概率,确定第二Q值。In a possible design, the second Q value is determined according to the collision probability.
基于该可能的设计,第二设备通过根据碰撞概率确定第二Q值,可以使得第二Q值尽可能匹配第一天线的覆盖范围内待盘存的第一设备的数量,提高第一设备的盘存成功率。Based on this possible design, the second device can determine the second Q value according to the collision probability so that the second Q value matches the number of first devices to be inventoried within the coverage of the first antenna as much as possible, thereby improving the success rate of the first device inventory.
第二方面,本申请实施例提供一种通信方法,该方法可以应用于第一设备,该方法可以包括:接收来自第二设备的查询信息;其中;查询信息包括第一时隙计数参数Q值,第一Q值为0;根据第一Q值,确定时隙计数器的初始值;当时隙计数器的取值更新为0时,向第二设备发送第一信息。In the second aspect, an embodiment of the present application provides a communication method, which can be applied to a first device, and the method may include: receiving query information from a second device; wherein; the query information includes a first time slot counting parameter Q value, and the first Q value is 0; based on the first Q value, determining the initial value of the time slot counter; when the value of the time slot counter is updated to 0, sending the first information to the second device.
基于第一方面,由于一个盘存周期是2Q个时隙,第二设备(如读写器)通过将第一Q值设置为0,即第二设备将一个盘存周期设置为1个时隙,如果第一天线的覆盖范围内存在待盘存的第一设备(如标签),则第二设备会在该1个时隙接收到第一设备发送的第一信息,如果第一天线的覆盖范围内不存在待盘存的第一设备,则第二设备不会在该1个时隙中接收到第一设备发送的第一信息,从而可以快速检测出第一天线的覆盖范围内是否存在待盘存的第一设备,如果没有待盘存的第一设备,第二设备可以直接切换到第二天线,从而降低第一天线的空转时延,减少无效盘存时间,降低第二设备对第一设备的盘存时间,实现对第一设备的快速盘存,提高盘存效率。Based on the first aspect, since an inventory cycle is 2 Q time slots, the second device (such as a reader) sets the first Q value to 0, that is, the second device sets an inventory cycle to 1 time slot. If there is a first device to be inventoried (such as a tag) within the coverage of the first antenna, the second device will receive the first information sent by the first device in the 1 time slot. If there is no first device to be inventoried within the coverage of the first antenna, the second device will not receive the first information sent by the first device in the 1 time slot, so that it can quickly detect whether there is a first device to be inventoried within the coverage of the first antenna. If there is no first device to be inventoried, the second device can directly switch to the second antenna, thereby reducing the idling delay of the first antenna, reducing invalid inventory time, and reducing the inventory time of the second device for the first device, so as to achieve rapid inventory of the first device and improve inventory efficiency.
一种可能的设计中,接收来自第二设备的查询调整信令;其中,查询调整信令包括第二Q值,第二Q值大于第一Q值;根据第二Q值,更新时隙计数器的初始值。In one possible design, a query adjustment signaling is received from a second device, wherein the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value; and based on the second Q value, an initial value of the time slot counter is updated.
基于该可能的设计,如果第一天线的覆盖范围内存在待盘存的第一设备,第二设备可以将Q值调整为第二Q值,降低不同的第一设备根据第二Q值确定的时隙计数器的初始值相同的概率,降低第一设备之间的碰撞,从而快速盘存大量第一设备,提高第一设备的盘存成功率。Based on this possible design, if there is a first device to be inventoried within the coverage of the first antenna, the second device can adjust the Q value to the second Q value, thereby reducing the probability that different first devices have the same initial value of the time slot counter determined according to the second Q value, reducing collisions between first devices, thereby quickly inventorying a large number of first devices and improving the success rate of the inventory of first devices.
第三方面,本申请实施例提供一种通信装置,通信装置可以应用于上述第一方面或第一方面可能的设计中的第二设备,以实现上述第二设备所执行的功能,该通信装置可以是第二设备,也可以是第二设备的芯片或者片上系统等,通信装置可以通过硬件执行上述第二设备所执行的功能,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。如,收发模块和处理模块。收发模块,用于通过第一天线发送查询信令;其中,查询信令用于指示第一时隙计数参数Q值,第 一Q值为0,Q值用于检测第一设备;收发模块,还用于如果处理模块在2Q个时隙中未检测到来自第一设备的第一信息,切换到第二天线发送查询信令。In a third aspect, an embodiment of the present application provides a communication device, which can be applied to the second device in the first aspect or a possible design of the first aspect to implement the function performed by the second device. The communication device can be a second device, or a chip or system on chip of the second device, etc. The communication device can execute the function performed by the second device through hardware, or execute the corresponding software implementation through hardware. The hardware or software includes one or more modules corresponding to the above functions. For example, a transceiver module and a processing module. The transceiver module is used to send query signaling through the first antenna; wherein the query signaling is used to indicate the first time slot count parameter Q value, ... A Q value is 0, and the Q value is used to detect the first device; the transceiver module is also used to switch to the second antenna to send the query signaling if the processing module fails to detect the first information from the first device in 2 Q time slots.
一种可能的设计中,处理模块,还用于如果在2Q个时隙中未检测到第一信息,将碰撞概率设置为0;其中,碰撞概率为一个或多个第一设备之间的碰撞概率。In one possible design, the processing module is further used to set the collision probability to 0 if the first information is not detected in 2 Q time slots; wherein the collision probability is the collision probability between one or more first devices.
一种可能的设计中,收发模块,具体用于如果碰撞概率为0,切换到第二天线发送查询信令。In a possible design, the transceiver module is specifically configured to switch to the second antenna to send the query signaling if the collision probability is 0.
一种可能的设计中,收发模块,还用于如果处理模块在2Q个时隙中检测到至少两个存在冲突的第一信息,发送查询调整信令;其中,至少两个存在冲突的第一信息是在相同时隙中检测到的至少两个第一信息;查询调整信令包括第二Q值,第二Q值大于第一Q值。In one possible design, the transceiver module is also used to send a query adjustment signaling if the processing module detects at least two conflicting first information in 2 Q time slots; wherein the at least two conflicting first information are at least two first information detected in the same time slot; and the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value.
一种可能的设计中,对于第i个时隙,其中,1≤i≤2Q;处理模块,还用于如果在第i个时隙中检测到至少两个存在冲突的第一信息,对碰撞概率进行一次调整;处理模块,还用于如果在第i个时隙中未检测到至少两个存在冲突的第一信息,不对碰撞概率进行调整。其中,1≤i≤2Q还可以描述为i遍历1至2QIn one possible design, for the i-th time slot, 1≤i≤2 Q ; the processing module is further configured to adjust the collision probability once if at least two conflicting first information are detected in the i-th time slot; the processing module is further configured to not adjust the collision probability if at least two conflicting first information are not detected in the i-th time slot. 1≤i≤2 Q can also be described as i traversing from 1 to 2 Q .
一种可能的设计中,收发模块,还用于如果处理模块在2Q个时隙中检测到的第一信息之间不存在冲突,向第一信息关联的第一设备发送确认信息;收发模块,还用于如果处理模块未成功检测到来自第一信息关联的第一设备的第二信息,发送查询调整信令;其中,查询调整信令包括第二Q值,第二Q值大于第一Q值。In one possible design, the transceiver module is also used to send confirmation information to the first device associated with the first information if there is no conflict between the first information detected by the processing module in 2 Q time slots; the transceiver module is also used to send query adjustment signaling if the processing module fails to successfully detect the second information from the first device associated with the first information; wherein the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value.
一种可能的设计中,对于第i个时隙,其中,1≤i≤2Q;处理模块,还用于如果在第i个时隙中检测到不存在冲突的第一信息,但未成功检测到来自第一信息关联的第一设备的第二信息,对碰撞概率进行一次调整;处理模块,还用于如果在第i个时隙中检测到不存在冲突的第一信息,且成功检测到来自第一信息关联的第一设备的第二信息,不对碰撞概率进行调整。其中,1≤i≤2Q还可以描述为i遍历1至2QIn one possible design, for the i-th time slot, 1≤i≤2 Q ; the processing module is further configured to adjust the collision probability once if the first information without conflict is detected in the i-th time slot, but the second information from the first device associated with the first information is not successfully detected; the processing module is further configured to not adjust the collision probability if the first information without conflict is detected in the i-th time slot, and the second information from the first device associated with the first information is successfully detected. 1≤i≤2 Q can also be described as i traversing 1 to 2 Q .
一种可能的设计中,收发模块,还用于处理模块在2Q个时隙中检测完第一信息时,如果碰撞概率不为0,发送查询调整信令。In a possible design, the transceiver module is also used to send a query adjustment signaling if the collision probability is not 0 when the processing module detects the first information in 2 Q time slots.
一种可能的设计中,处理模块,还用于根据碰撞概率,确定第二Q值。In a possible design, the processing module is further used to determine a second Q value based on the collision probability.
需要说明的是,第三方面或第三方面的可能的设计中所涉及的模块可以执行上述第一方面的方法示例中的相应功能,具体可以参见方法示例中的详细描述,有益效果也可以参见上述第一方面的相关描述,此处不予赘述。It should be noted that the modules involved in the third aspect or the possible design of the third aspect can perform the corresponding functions in the method example of the first aspect mentioned above. For details, please refer to the detailed description in the method example. The beneficial effects can also refer to the relevant description of the first aspect mentioned above, which will not be repeated here.
第四方面,本申请实施例提供一种通信装置,通信装置可以应用于上述第二方面或第二方面可能的设计中的第一设备,以实现上述第一设备所执行的功能,该通信装置可以是第一设备,也可以是第一设备的芯片或者片上系统等,通信装置可以通过硬件执行上述第一设备所执行的功能,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。如,收发模块和处理模块。收发模块,用于接收来自第二设备的查询信息;其中;查询信息包括第一时隙计数参数Q值,第一Q值为0;处理模块,用于根据第一Q值,确定时隙计数器的初始值;收发模块,还用于当时隙计数器的取值更新为0时,向第二设备发送第一信息。In a fourth aspect, an embodiment of the present application provides a communication device, which can be applied to the first device in the second aspect or the possible design of the second aspect to implement the function performed by the first device. The communication device can be the first device, or it can be a chip or system on chip of the first device, etc. The communication device can perform the function performed by the first device through hardware, or it can perform the corresponding software implementation through hardware. The hardware or software includes one or more modules corresponding to the above functions. For example, a transceiver module and a processing module. The transceiver module is used to receive query information from the second device; wherein the query information includes a first time slot counting parameter Q value, and the first Q value is 0; the processing module is used to determine the initial value of the time slot counter according to the first Q value; the transceiver module is also used to send the first information to the second device when the value of the time slot counter is updated to 0.
一种可能的设计中,收发模块,还用于接收来自第二设备的查询调整信令;其中,查询调整信令包括第二Q值,第二Q值大于第一Q值;处理模块,还用于根据第二Q值,更新时隙计数器的初始值。In one possible design, the transceiver module is also used to receive query adjustment signaling from a second device; wherein the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value; the processing module is also used to update the initial value of the time slot counter according to the second Q value.
需要说明的是,第四方面或第四方面的可能的设计中所涉及的模块可以执行上述第二方面的方法示例中的相应功能,具体可以参见方法示例中的详细描述,有益效果也可以参见上述第二方面的相关描述,此处不予赘述。It should be noted that the modules involved in the fourth aspect or the possible design of the fourth aspect can perform the corresponding functions in the method example of the second aspect mentioned above. For details, please refer to the detailed description in the method example. The beneficial effects can also refer to the relevant description of the second aspect mentioned above, which will not be repeated here.
第五方面,本申请实施例提供一种通信装置,该通信装置包括一个或多个处理器;一个或多个处理器,用于运行计算机程序或指令,当一个或多个处理器执行计算机指令或指令时,使得通信装置执行如第一方面至第二方面中任一方面所述的通信方法。In a fifth aspect, an embodiment of the present application provides a communication device, which includes one or more processors; one or more processors are used to run computer programs or instructions, and when the one or more processors execute the computer instructions or instructions, the communication device executes the communication method described in any one of the first aspect to the second aspect.
一种可能的设计中,该通信装置还包括一个或多个存储器,一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储上述计算机程序或指令。在一种可能的实现方式中,存储器位于所述通信装置之外。在另一种可能的实现方式中,存储器位于所述通信装置之内。本申请实施例中,处理器和存储器还可能集成于一个器件中,即处理器和存储器还可以被集成在一起。在一种可能的实现方式中,所述通信装置还包括收发器,所述收发器,用于接收信息和/或发送信息。 In one possible design, the communication device further includes one or more memories, the one or more memories are coupled to one or more processors, and the one or more memories are used to store the above-mentioned computer programs or instructions. In one possible implementation, the memory is located outside the communication device. In another possible implementation, the memory is located inside the communication device. In an embodiment of the present application, the processor and the memory may also be integrated into one device, that is, the processor and the memory may also be integrated together. In one possible implementation, the communication device further includes a transceiver, and the transceiver is used to receive information and/or send information.
一种可能的设计中,该通信装置还包括一个或多个通信接口,一个或多个通信接口和一个或多个处理器耦合,一个或多个通信接口用于与通信装置之外的其它模块进行通信。In one possible design, the communication device also includes one or more communication interfaces, the one or more communication interfaces are coupled to the one or more processors, and the one or more communication interfaces are used to communicate with other modules outside the communication device.
第六方面,本申请实施例提供了一种通信装置,该通信装置包括输入输出接口和逻辑电路;输入输出接口,用于输入和/或输出信息;逻辑电路用于执行如第一方面至第二方面中任一方面所述的通信方法,根据信息进行处理和/或生成信息。In a sixth aspect, an embodiment of the present application provides a communication device, which includes an input/output interface and a logic circuit; the input/output interface is used to input and/or output information; the logic circuit is used to execute the communication method described in any one of the first to second aspects, and process and/or generate information based on the information.
第七方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机指令或程序,当计算机指令或程序在计算机上运行时,使得如第一方面至第二方面中任一方面所述的通信方法被执行。In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores computer instructions or programs. When the computer instructions or programs are run on a computer, the communication method described in any one of the first to second aspects is executed.
第八方面,本申请实施例提供了一种包含计算机指令的计算机程序产品,当其在计算机上运行时,使得如第一方面至第二方面中任一方面所述的通信方法被执行。In an eighth aspect, an embodiment of the present application provides a computer program product comprising computer instructions, which, when executed on a computer, enables the communication method described in any one of the first to second aspects to be executed.
第九方面,本申请实施例提供一种计算机程序,当其在计算机上运行时,使得如第一方面至第二方面中任一方面所述的通信方法被执行。In a ninth aspect, an embodiment of the present application provides a computer program, which, when executed on a computer, enables the communication method described in any one of the first to second aspects to be executed.
其中,第五方面至第九方面中任一种设计方式所带来的技术效果可参见上述第一方面至第二方面中任一方面所带来的技术效果。Among them, the technical effects brought about by any design method in the fifth to ninth aspects can refer to the technical effects brought about by any design method in the first to second aspects mentioned above.
第十方面,本申请实施例提供了一种通信系统,该通信系统可以包括如第三方面所述的第二设备和如第四方面所述的第一设备。In a tenth aspect, an embodiment of the present application provides a communication system, which may include the second device as described in the third aspect and the first device as described in the fourth aspect.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例提供的一种RFID系统通信原理示意图;FIG1 is a schematic diagram of a communication principle of an RFID system provided in an embodiment of the present application;
图2为本申请实施例提供的一种读写器对标签进行选择、盘存、访问的流程图;FIG2 is a flow chart of a reader/writer providing an embodiment of the present application for selecting, inventorying, and accessing tags;
图3为本申请实施例提供的一种读写器通信原理示意图;FIG3 is a schematic diagram of a reader-writer communication principle provided in an embodiment of the present application;
图4为本申请实施例提供的一种多门出入库场景示意图;FIG4 is a schematic diagram of a multi-door entry and exit scenario provided in an embodiment of the present application;
图5为本申请实施例提供的一种通信系统的示意图;FIG5 is a schematic diagram of a communication system provided in an embodiment of the present application;
图6为本申请实施例提供的一种通信系统的示意图;FIG6 is a schematic diagram of a communication system provided in an embodiment of the present application;
图7为本申请实施例提供的一种通信系统的示意图;FIG7 is a schematic diagram of a communication system provided in an embodiment of the present application;
图8为本申请实施例提供的一种通信系统的交互图;FIG8 is an interaction diagram of a communication system provided in an embodiment of the present application;
图9为本申请实施例提供的一种通信装置的组成结构示意图;FIG9 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application;
图10为本申请实施例提供的一种通信方法的流程图;FIG10 is a flow chart of a communication method provided in an embodiment of the present application;
图11为本申请实施例提供的一种通信方法的流程图;FIG11 is a flow chart of a communication method provided in an embodiment of the present application;
图12为本申请实施例提供的一种通信方法的流程图;FIG12 is a flow chart of a communication method provided in an embodiment of the present application;
图13为本申请实施例提供的一种链路时序示意图;FIG13 is a schematic diagram of a link timing provided in an embodiment of the present application;
图14为本申请实施例提供的一种通信装置的组成示意图;FIG14 is a schematic diagram of the composition of a communication device provided in an embodiment of the present application;
图15为本申请实施例提供的一种通信装置的结构图。FIG15 is a structural diagram of a communication device provided in an embodiment of the present application.
具体实施方式Detailed ways
下面结合说明书附图对本申请实施例的实施方式进行详细描述。The implementation of the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
射频识别(radio frequency identification,RFID)技术:是一种非接触式的自动识别技术,或者描述为是一种通过无线射频方式进行非接触双向数据通信的技术,主要用于身份识别,进一步的也可以用于用户数据读取和写入。RFID系统通常可以包括读写器(Reader)和标签(Tag)。Radio frequency identification (RFID) technology: It is a contactless automatic recognition technology, or described as a technology that performs contactless two-way data communication via radio frequency. It is mainly used for identity recognition, and can also be used to read and write user data. RFID systems usually include readers and tags.
其中,在1937年,由于雷达技术的发展和进步从而衍生出了RFID技术。1948年,哈里·斯托克曼的“利用反射功率的通信”奠定RFID技术的理论基础。RFID技术在国际标准化组织的分类中属于信息技术中的自动识别与数据采集领域(information technology,automatic identification and data capture techniques,AIDC),由国际标准化组织(international organization for standardization,ISO)和国际电工委员会(international electrotechnical commission,IEC)负责制定。RFID标准化工作最早可以追溯到20世纪80年代,1987年国际标准化组织和国际电工委员会在原信息处理系统技术委员会(ISO TC-97)、微处理机分技术委员会(IEC TC-47/SC47B)和信息技术设备技术委员会(IEC TC-83)基础上联合组建了JTC-1。自动识别与数据采集技术为信息化管理带来了高效率、高可靠性及自动化,是国际商品流通乃至整个供应链管理中普遍采用的技术,需要实现标准化、规范化。自动识别技术发展成为一个独立的 技术标准化工作领域,自此,RFID相关产品的生产成本进一步下降,应用领域逐渐增加。RFID技术被公认为21世纪重大应用技术之一。Among them, in 1937, RFID technology was derived due to the development and progress of radar technology. In 1948, Harry Stockman's "communication using reflected power" laid the theoretical foundation for RFID technology. In the classification of the International Organization for Standardization, RFID technology belongs to the field of automatic identification and data capture (AIDC) in information technology, and is formulated by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC). RFID standardization work can be traced back to the 1980s. In 1987, the International Organization for Standardization and the International Electrotechnical Commission jointly established JTC-1 on the basis of the original Information Processing System Technical Committee (ISO TC-97), the Microprocessor Sub-Technical Committee (IEC TC-47/SC47B) and the Information Technology Equipment Technical Committee (IEC TC-83). Automatic identification and data collection technology brings high efficiency, high reliability and automation to information management. It is a technology commonly used in international commodity circulation and even the entire supply chain management, which needs to be standardized and normalized. Automatic identification technology has developed into an independent Since then, the production cost of RFID-related products has further decreased, and the application areas have gradually increased. RFID technology is recognized as one of the major application technologies in the 21st century.
读写器:具有读写功能的设备,例如,可以是手持或固定式读取或写入标签信息的设备。或者,也可以理解为与标签通信的设备。Reader/Writer: A device with reading and writing functions, for example, a handheld or fixed device that reads or writes tag information. Alternatively, it can also be understood as a device that communicates with a tag.
标签:也可以称为电子标签、RFID标签,从标签属性来看,按照是否需要自带电池进行分类,可以分为无源标签、半有源标签、和有源标签。Tag: It can also be called an electronic tag or an RFID tag. From the tag properties, it can be divided into passive tags, semi-active tags, and active tags according to whether it needs to have its own battery.
对于无源标签,其内部不包括电池,其工作的能量可以由读写器提供。即读写器可以发射能量对标签进行激励,标签通过反射激励能量同时携带信息,再由读写器进行接收解调。例如,读写器发送的连续波(continuous wave,CW)的部分能量可以用于标签的编解码、调制解调等内部处理。此外,该连续波还可以作为载波用于承载标签的上行信息。无源标签也可以称为无源的物联网设备(passive internet of things,passive IOT)。基于这种工作模式,无源标签成本可以做得较低,工作寿命也较长。For passive tags, there is no battery inside, and the energy for their operation can be provided by the reader. That is, the reader can emit energy to stimulate the tag, and the tag reflects the excitation energy and carries information at the same time, which is then received and demodulated by the reader. For example, part of the energy of the continuous wave (CW) sent by the reader can be used for internal processing such as encoding and decoding, modulation and demodulation of the tag. In addition, the continuous wave can also be used as a carrier to carry the uplink information of the tag. Passive tags can also be called passive Internet of Things devices (passive IOT). Based on this working mode, the cost of passive tags can be made lower and the working life is longer.
对于半有源标签,其内部可以包括电池,编解码、调制解调等内部处理可以借助电池供电,但仍然需要读写器的连续波作为载波。For semi-active tags, a battery may be included inside, and internal processing such as encoding, decoding, modulation and demodulation may be powered by the battery, but the continuous wave of the reader is still required as a carrier.
对于有源标签,其内部可以包括电池,有源标签可以使用自身携带的电池主动发射信息,其价格较高且工作寿命受电池容量和使用频率限制。Active tags may include batteries inside. Active tags can use their own batteries to actively transmit information. They are relatively expensive and their working life is limited by the battery capacity and frequency of use.
示例性的,如图1所示,在RFID技术中,同时具备发射和接收能力的设备为一体化设计,可以在读写器中生成信号波形,通过天线进行信号发射,通过空口进行信号传播后到达标签。标签根据接收到的信号进行能量收集,如果功率大于激励门限,标签将会被激励,进行信号感知并反向散射信号到读写器,由读写器进行信号接收,以完成读写器和标签之间的通信。For example, as shown in Figure 1, in RFID technology, the device with both transmitting and receiving capabilities is an integrated design, which can generate a signal waveform in the reader, transmit the signal through the antenna, and propagate the signal through the air interface to reach the tag. The tag collects energy based on the received signal. If the power is greater than the excitation threshold, the tag will be excited, sense the signal and backscatter the signal to the reader, which receives the signal to complete the communication between the reader and the tag.
受限于标签接收灵敏度差和反射能量小,读写器与标签之间的通信距离比较短。例如:低频(low frequency,LF)RFID读写距离小于0.1米,高频(high frequency,HF)RFID读取距离为0.1~0.2米,超高频(ultra high frequency,UHF)RFID读取距离小于15米(如无源标签)等。Due to the poor receiving sensitivity and small reflection energy of the tag, the communication distance between the reader and the tag is relatively short. For example, the reading and writing distance of low frequency (LF) RFID is less than 0.1 meters, the reading distance of high frequency (HF) RFID is 0.1 to 0.2 meters, and the reading distance of ultra high frequency (UHF) RFID is less than 15 meters (such as passive tags).
在RFID系统中,读写器可以对标签进行选择(select)、盘存(inventory)、访问(access)等操作。选择操作用于为盘存和访问选择一个或一组标签。盘存操作可以理解为读写器识别标签的过程。访问操作可以理解为读写器与标签交互的过程。标签在访问前需要被读写器识别。In the RFID system, the reader can perform operations such as selection, inventory, and access on tags. The selection operation is used to select one or a group of tags for inventory and access. The inventory operation can be understood as the process of the reader identifying the tag. The access operation can be understood as the process of the reader interacting with the tag. The tag needs to be identified by the reader before access.
示例性的,读写器对标签进行选择、盘存、访问的流程可以如图2所示。参见图2,该流程包括如下步骤:Exemplarily, the process of selecting, inventorying, and accessing tags by a reader/writer may be shown in FIG2. Referring to FIG2, the process includes the following steps:
步骤201、读写器发送选择(Select)信令。Step 201: The reader sends a select signaling.
其中,读写器可以基于标签存储器中的一个或多个值来选择一个或多个标签,符合选择条件的标签被选中进入待盘存状态。步骤201为可选步骤,例如,待盘存的标签为当前标签存储器中存储的全部标签时,可以不用执行步骤201。The reader can select one or more tags based on one or more values in the tag memory, and tags that meet the selection conditions are selected to enter the inventory state. Step 201 is an optional step. For example, when the tags to be inventoried are all the tags stored in the current tag memory, step 201 may not be performed.
步骤202、读写器发送查询(Query)信令。Step 202: The reader sends a query signal.
其中,读写器发送查询信令可以用于初始化一个盘存周期。The query signaling sent by the reader can be used to initiate an inventory cycle.
其中,查询信令可以通知标签盘存的速率、编码方式和时隙计数参数(slot-count parameter,Q)值。Among them, query signaling can notify the tag of the inventory rate, encoding method and slot count parameter (slot-count parameter, Q) value.
其中,Q值指读写器用于调整标签响应概率的一个参数。一个盘存周期可以包括2Q个时隙,读写器可以在每个时隙中确定是否有标签。The Q value refers to a parameter used by the reader to adjust the probability of a tag responding. An inventory cycle can include 2 Q time slots, and the reader can determine whether there is a tag in each time slot.
对于读写器选择的多个标签,可以通过时分复用的方式进行盘存访问,即读写器结束对一个标签的盘存访问后,开始下一个标签的盘存访问。下述步骤以对1个标签的盘存访问为例进行说明。For multiple tags selected by the reader, the inventory access can be performed in a time-division multiplexing manner, that is, after the reader finishes the inventory access to one tag, it starts the inventory access to the next tag. The following steps are described using the inventory access to one tag as an example.
步骤203、标签向读写器发送随机数(random number,RN)。Step 203: The tag sends a random number (RN) to the reader.
示例性的,该随机数可以为16位随机数(RN16)。Exemplarily, the random number may be a 16-bit random number (RN16).
具体的,标签接收到查询信令时,可以根据Q值生成一个属于[0,2Q-1]的随机数作为时隙计数器。Specifically, when the tag receives the query signaling, it can generate a random number belonging to [0, 2 Q -1] as a time slot counter according to the Q value.
如果时隙计数器的取值为0,标签可以向读写器发送一个16位随机数作为握手信息,如果时隙计数器的取值不为0,标签可以不用给读写器发送任何响应信息。If the value of the time slot counter is 0, the tag can send a 16-bit random number to the reader as a handshake message. If the value of the time slot counter is not 0, the tag does not need to send any response message to the reader.
当时隙计数器的取值不为0时,标签还可以在每接收到一个查询重复(QueryRep)信令时,将时隙计数器减1,当时隙计数器等于0时,标签向读写器发送RN16。When the value of the slot counter is not 0, the tag can also reduce the slot counter by 1 each time it receives a query repeat (QueryRep) signaling. When the slot counter is equal to 0, the tag sends RN16 to the reader.
当时隙计数器的取值不为0时,标签还可以在接收到包括Q值的查询调整信令时,根据查询调整信令中的Q值调整时隙计数器的初始值。 When the value of the time slot counter is not 0, the tag may also adjust the initial value of the time slot counter according to the Q value in the query adjustment signaling when receiving the query adjustment signaling including the Q value.
步骤204、读写器向标签反馈确认(acknowledgment,ACK)信息。Step 204: The reader sends an acknowledgment (ACK) message to the tag.
其中,如果读写器成功接收标签发送的随机数,读写器可以向标签发送确认信息。该确认信息中可以包括标签发送给读写器的随机数。If the reader successfully receives the random number sent by the tag, the reader can send confirmation information to the tag, and the confirmation information can include the random number sent by the tag to the reader.
其中,标签在规定时间内收到携带自身发送的随机数的确认信息后,可以执行下述步骤205。After the tag receives the confirmation information carrying the random number sent by itself within the specified time, the following step 205 can be executed.
步骤205、标签向读写器发送产品电子码(electronic product code,EPC)信息。Step 205: The tag sends the electronic product code (EPC) information to the reader.
其中,当标签接收到读写器发送的确认信息时,说明读写器和标签握手成功,标签可以向读写器上报EPC信息,标签进入确认状态。When the tag receives the confirmation information sent by the reader, it means that the reader and the tag have successfully handshaked. The tag can report the EPC information to the reader and the tag enters the confirmation state.
步骤206、读写器向标签发送请求随机数命令。Step 206: The reader sends a random number request command to the tag.
其中,请求随机数命令可以用于请求标签重新上报新的随机数。The random number request command may be used to request the tag to re-report a new random number.
其中,读写器接收到标签发送的EPC信息时,可以向标签发送请求随机数命令,该请求随机数命令可以包括标签上报的RN16。When the reader receives the EPC information sent by the tag, it may send a random number request command to the tag, and the random number request command may include RN16 reported by the tag.
步骤207、标签向读写器发送16位随机数柄(handle)。Step 207: The tag sends a 16-bit random number handle to the reader.
其中,标签接收到请求随机数命令后,如果该请求随机数命令包括的RN16与标签自身的RN16相同,则标签可以生成并存储一个新的16位随机数柄(handle),并向读写器发送,进入开(open)状态或者安全(safe)状态或者被访问状态。如果该请求随机数命令包括的RN16与标签自身的RN16不同,则标签可以不用响应该请求随机数命令。Among them, after the tag receives the request random number command, if the RN16 included in the request random number command is the same as the RN16 of the tag itself, the tag can generate and store a new 16-bit random number handle, and send it to the reader, entering the open state or the safe state or the accessed state. If the RN16 included in the request random number command is different from the RN16 of the tag itself, the tag does not need to respond to the request random number command.
步骤208、读写器向标签发送访问命令。Step 208: The reader sends an access command to the tag.
其中,读写器接收到标签发送的16位随机数柄时,可以将其携带在访问命令中向标签发送。When the reader receives the 16-bit random number handle sent by the tag, it can carry it in the access command and send it to the tag.
步骤209、标签响应访问命令。Step 209: The tag responds to the access command.
其中,标签在接收到访问命令时,可以对访问命令中的16位随机数柄进行校验,如果匹配,则标签可以响应该访问命令,如果不匹配,则标签可以不用响应该访问命令。When receiving an access command, the tag may verify the 16-bit random number handle in the access command. If they match, the tag may respond to the access command. If they do not match, the tag may not respond to the access command.
当读写器结束对一个标签的盘存后,也可以发送查询重复信令,以触发对下一个标签的盘存。When the reader finishes taking inventory of a tag, it can also send a query repeat signaling to trigger the inventory of the next tag.
为了降低成本,如图3所示,读写器通常可以支持多个天线(如4~8个天线),由于读写器芯片收发链路只有单通道,不同的天线(或者描述为天线端口)之间采用时分复用(或描述为时分调度)的方式,导致读写器的盘存时间较长。In order to reduce costs, as shown in Figure 3, the reader can usually support multiple antennas (such as 4 to 8 antennas). Since the reader chip has only a single channel for transceiver link, different antennas (or antenna ports) use time division multiplexing (or time division scheduling), which results in a longer inventory time for the reader.
另外,读写器的每个天线对标签进行盘存时,如果当前天线的覆盖范围内没有待盘存标签,会导致天线空转。In addition, when each antenna of the reader/writer takes inventory of tags, if there are no tags to be inventoried within the coverage of the current antenna, the antenna will idle.
示例性的,如图4所示,在多门出入库场景,读写器中正在进行盘存的天线覆盖范围内不一定有标签,如果当前天线的覆盖范围内没有标签,会导致天线空转,如果其他天线的覆盖范围内有标签,由于不同的天线之间采用时分复用的方式,需等待当前天线盘存完成(如空转完成)后,该其他天线才能开始对其覆盖范围内的标签进行盘存,会导致读写器的盘存时间较长。For example, as shown in Figure 4, in a multi-door warehouse entry and exit scenario, there may not be any tags within the coverage range of the antenna that is currently taking inventory in the reader/writer. If there are no tags within the coverage range of the current antenna, the antenna will cause the antenna to idle. If there are tags within the coverage range of other antennas, due to the time division multiplexing method used between different antennas, it is necessary to wait for the current antenna to complete the inventory (such as idling completion) before the other antennas can start to inventory the tags within their coverage range, which will result in a longer inventory time for the reader/writer.
综上,如何在盘存过程中降低读写器的天线空转时延,降低读写器的盘存时间,实现对标签的快速盘存成为亟待解决的技术问题。In summary, how to reduce the antenna idling delay of the reader during the inventory process, reduce the inventory time of the reader, and realize the rapid inventory of tags has become a technical problem that needs to be solved urgently.
为了解决上述技术问题,本申请实施例提供了一种通信方法,该方法中,第二设备通过第一天线发送查询信令,如果在2Q个时隙中未检测到来自第一设备的第一信息,第二设备切换到第二天线发送查询信令;其中,查询信令用于指示第一时隙计数参数Q值,第一Q值为0或1或2等较小的值,Q值用于检测第一设备。In order to solve the above technical problems, an embodiment of the present application provides a communication method, in which the second device sends a query signaling through a first antenna. If the first information from the first device is not detected in 2 Q time slots, the second device switches to the second antenna to send a query signaling; wherein the query signaling is used to indicate the first time slot counting parameter Q value, the first Q value is a smaller value such as 0 or 1 or 2, and the Q value is used to detect the first device.
本申请实施例中,由于一个盘存周期是2Q个时隙,第二设备(如读写器)通过将第一Q值设置为0或1或2等较小的值,即第二设备可以将一个盘存周期设置为1个时隙或较少的时隙,如果第一天线的覆盖范围内存在待盘存的第一设备(如标签),则第二设备会在该1个或较少个时隙接收到第一设备发送的第一信息,如果第一天线的覆盖范围内不存在待盘存的第一设备,则第二设备不会在该1个或较少个时隙中接收到第一设备发送的第一信息,从而可以快速检测出第一天线的覆盖范围内是否存在待盘存的第一设备,如果没有待盘存的第一设备,第二设备可以直接切换到第二天线,从而降低第一天线的空转时延,减少无效盘存时间,降低第二设备对第一设备的盘存时间,实现对第一设备的快速盘存,提高盘存效率。In the embodiment of the present application, since one inventory cycle is 2 Q time slots, the second device (such as a reader) sets the first Q value to a smaller value such as 0, 1 or 2, that is, the second device can set one inventory cycle to 1 time slot or fewer time slots. If there is a first device (such as a tag) to be inventoried within the coverage of the first antenna, the second device will receive the first information sent by the first device in the 1 or fewer time slots. If there is no first device to be inventoried within the coverage of the first antenna, the second device will not receive the first information sent by the first device in the 1 or fewer time slots, so that it can quickly detect whether there is a first device to be inventoried within the coverage of the first antenna. If there is no first device to be inventoried, the second device can directly switch to the second antenna, thereby reducing the idling delay of the first antenna, reducing invalid inventory time, and reducing the inventory time of the second device for the first device, so as to achieve a fast inventory of the first device and improve the inventory efficiency.
下面结合说明书附图对本申请实施例的实施方式进行详细描述。The implementation of the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
本申请实施例提供的通信方法可用于任一通信系统,该通信系统可以为第三代合作伙伴计划(third  generation partnership project,3GPP)通信系统,例如,RFID系统、长期演进(long term evolution,LTE)系统、第五代(fifth generation,5G)移动通信系统、新无线(new radio,NR)通信系统、车联网(vehicle to everything,V2X)系统,还可以应用于LTE和5G混合组网的系统中,或者非陆地通信网络(non-terrestrial network,NTN)系统、设备到设备(device-to-device,D2D)通信系统、机器到机器(machine to machine,M2M)通信系统、物联网(internet of things,IoT)、近距离无线通信(near field communication,NFC)系统、微波通信(uWave)系统以及其他下一代通信系统,例如6G、未来3GPP定义的无源物联网等未来通信系统,也可以为非3GPP通信系统,例如无线局域网(wireless local area network,WLAN)等,不予限制。The communication method provided in the embodiment of the present application can be used in any communication system, and the communication system can be a third generation partnership project (Third Generation Partnership Project). The present invention relates to a fifth generation partnership project (3GPP) communication system, such as an RFID system, a long term evolution (LTE) system, a fifth generation (5G) mobile communication system, a new radio (NR) communication system, and a vehicle to everything (V2X) system. It can also be applied to a system in which LTE and 5G are hybrid networks, or a non-terrestrial network (NTN) system, a device-to-device (D2D) communication system, a machine-to-machine (M2M) communication system, an Internet of Things (IoT), a near field communication (NFC) system, a microwave communication (uWave) system, and other next generation communication systems, such as 6G and future 3GPP-defined passive Internet of Things and other future communication systems, and can also be a non-3GPP communication system, such as a wireless local area network (WLAN), etc., without limitation.
示例性的,本申请实施例提供的通信方法可以应用于RFID场景、X-IoT(X可以为无源,半无源物联网等)、仓储、物流、制造、零售、资产管理、卡口或者生产线等多类场景,不予限制。Exemplarily, the communication method provided in the embodiments of the present application can be applied to RFID scenarios, X-IoT (X can be passive, semi-passive Internet of Things, etc.), warehousing, logistics, manufacturing, retail, asset management, checkpoints or production lines, etc., without limitation.
需要说明的是,上述适用本申请的通信系统、通信场景仅是举例说明,适用本申请的通信系统不限于此,在此统一说明,以下不再赘述。It should be noted that the above-mentioned communication systems and communication scenarios applicable to the present application are merely examples, and the communication systems applicable to the present application are not limited to these. They are uniformly described here and will not be repeated below.
下面以图5为例,对本申请实施例提供的通信系统进行描述。The following describes the communication system provided in an embodiment of the present application by taking Figure 5 as an example.
图5为本申请实施例提供的一种通信系统的示意图,如图5所示,该通信系统可以包括一个或多个第一设备、一个或多个第二设备。FIG5 is a schematic diagram of a communication system provided in an embodiment of the present application. As shown in FIG5 , the communication system may include one or more first devices and one or more second devices.
其中,第一设备可以是与具备读写功能的设备(即第二设备)进行通信的设备。第一设备工作时所需的能量和/或载波可以由第二设备提供。第一设备可以通过第二设备提供的载波与第二设备进行通信。The first device may be a device that communicates with a device having a read/write function (i.e., a second device). The energy and/or carrier required for the first device to work may be provided by the second device. The first device may communicate with the second device via the carrier provided by the second device.
示例性的,第一设备可以是标签,也可以是能够实现标签功能的终端设备,或者,第一设备可以是能够实现标签功能的模块或芯片等,不予限制。Exemplarily, the first device may be a tag, or a terminal device capable of implementing a tag function, or the first device may be a module or chip capable of implementing a tag function, etc., without limitation.
其中,第二设备可以是具备读写功能的设备,可以是手持或固定式读取或写入第一设备信息的设备。第二设备可以包括多个天线,第二设备可以通过各个天线进行RFID标签信号(或者描述为激励信号、RFID信号)的发送、激励和解调,以实现对第一设备的盘存。第二设备还可以动态调整Q值,以在保证第二设备的天线空转时延较小的同时提高第一设备的盘存成功率。The second device may be a device with read/write functions, and may be a handheld or fixed device that reads or writes information of the first device. The second device may include multiple antennas, and the second device may transmit, excite, and demodulate RFID tag signals (or described as excitation signals, RFID signals) through each antenna to implement inventory of the first device. The second device may also dynamically adjust the Q value to improve the inventory success rate of the first device while ensuring that the idle delay of the antenna of the second device is small.
示例性的,第二设备可以是读写器,也可以是能够实现读写功能的终端设备,也可以是能够实现读写设备的网络设备,或者,第二设备可以是能够实现读写器功能的模块或芯片等,不予限制。Exemplarily, the second device may be a reader/writer, or a terminal device capable of reading and writing, or a network device capable of reading and writing. Alternatively, the second device may be a module or chip capable of reading and writing, etc., without limitation.
其中,第一设备可以位于第二设备提供的覆盖范围内。当第二设备为能够实现读写功能的终端设备时,第一设备与第二设备之间的通信可以看作是终端设备之间的通信。当第二设备为能够实现读写功能的网络设备时,第一设备与第二设备之间的通信可以看作是空口通信,即第一设备与第二设备之间通过Uu接口进行通信。The first device may be located within the coverage provided by the second device. When the second device is a terminal device capable of reading and writing functions, the communication between the first device and the second device may be regarded as communication between terminal devices. When the second device is a network device capable of reading and writing functions, the communication between the first device and the second device may be regarded as air interface communication, that is, the first device and the second device communicate through the Uu interface.
对于读写器,读写器可以是如图6中的(a)所示的一体式架构,也可以是如图6中的(b)所示的无线收发分离式架构,也可以是如图6中的(c)所示的有线收发分离式架构,不予限制。For the reader/writer, the reader/writer can be an integrated architecture as shown in (a) of Figure 6, or a wireless transceiver separation architecture as shown in (b) of Figure 6, or a wired transceiver separation architecture as shown in (c) of Figure 6, without limitation.
示例性的,在分离式架构下,读写器可以包括辅助器(helper)和接收器(receiver)。辅助器与第一设备(如标签)之间可以进行下行通信,与接收器之间可以通过空口或有线连接进行上下行通信。接收器可以对辅助器进行管理,还可以接收第一设备反射的信号,或者描述为接收第一设备发送的上行信号。辅助器可以根据接收器下发的信令向其覆盖范围内的第一设备发送激励信号。辅助器也可以称为激励源、激励器、激励节点等,不予限制。Exemplarily, in a separated architecture, the reader/writer may include a helper and a receiver. The helper can communicate downlink with the first device (such as a tag), and can communicate uplink and downlink with the receiver through an air interface or a wired connection. The receiver can manage the helper, and can also receive the signal reflected by the first device, or be described as receiving the uplink signal sent by the first device. The helper can send an excitation signal to the first device within its coverage range according to the signaling sent by the receiver. The helper may also be called an excitation source, an exciter, an excitation node, etc., without limitation.
其中,辅助器可以是一种终端设备,也可以是一个基站或者小站,该辅助器与第一设备之间只有下行,与接收器之间有上下行数据传输,可以通过空口,也可以通过有线连接。The assistant may be a terminal device, or a base station or a small station. There is only downlink between the assistant and the first device, and uplink and downlink data transmission between the assistant and the receiver, which may be through an air interface or a wired connection.
例如,如图6中的(b)所示,接收器可以与辅助器之间进行下行通信,如接收器可以向辅助器发送下行控制信令;辅助器根据该下行控制信令可以向标签发送激励信号,标签根据该激励信号可以向接收器发送上行信号,实现与接收器之间的通信。For example, as shown in (b) of FIG6 , the receiver can perform downlink communication with the assistant, such as the receiver can send downlink control signaling to the assistant; the assistant can send an excitation signal to the tag according to the downlink control signaling, and the tag can send an uplink signal to the receiver according to the excitation signal, thereby realizing communication with the receiver.
对于终端设备,终端设备可以是具有无线收发功能的设备或可设置于该设备的芯片或芯片系统。终端设备也可以称为用户设备(user equipment,UE)或者终端(terminal)或者移动台(mobile station,MS)或者移动终端(mobile terminal,MT)等。示例性的,终端设备可以是具有无线连接功能的手持式设备、车载设备等,如手机(mobile phone)、平板电脑、笔记本、掌上电脑或带无线收发功能的电脑。终端设备还可以是移动互联网设备(mobile internet device,MID)、可穿戴设备、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无 人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、车载终端、具有车对车(vehicle-to-vehicle,V2V)通信能力的车辆、智能网联车、有无人机对无人机(UAV to UAV,U2U)通信能力的无人机等等,不予限制。For terminal equipment, the terminal equipment can be a device with wireless transceiver function or a chip or chip system that can be set in the device. The terminal equipment can also be called user equipment (UE) or terminal (terminal) or mobile station (MS) or mobile terminal (MT), etc. Exemplarily, the terminal equipment can be a handheld device with wireless connection function, a vehicle-mounted device, etc., such as a mobile phone, a tablet computer, a notebook, a PDA or a computer with wireless transceiver function. The terminal equipment can also be a mobile Internet device (MID), a wearable device, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control (industrial control), a wireless Wireless terminals used in self-driving, remote medical surgery, smart grids, transportation safety, smart cities, smart homes, vehicle-mounted terminals, vehicles with vehicle-to-vehicle (V2V) communication capabilities, smart connected vehicles, drones with UAV to UAV (U2U) communication capabilities, etc. are not restricted.
对于网络设备,网络设备可以是任意一种部署在接入网中能够和终端设备进行无线通信的设备,主要用于实现无线物理控制功能、资源调度和无线资源管理、无线接入控制以及移动性管理等功能。具体的,网络设备可以为支持有线接入的设备,也可以为支持无线接入的设备。示例性的,该网络设备可以为接入网(access network,AN)/无线接入网(radio access network,RAN)设备,由多个AN/RAN节点组成。AN/RAN节点可以为:基站(nodeB,NB)、宏基站、微基站、中继站、增强型基站(enhance nodeB,eNB)、下一代基站(NR nodeB,gNB)、无线网络控制器(radio network controller,RNC)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,家庭演进型基站(home evolved nodeB)、家庭基站(home nodeB,HNB))、基带单元(base band unit,BBU)、接入点(access point,AP)、或无线保真AP(wireless fidelity AP,Wi-Fi AP)、传输接收点(transmission reception point,TRP)、传输点(transmission point,TP)、无线中继节点或接入回传一体化(integrated access and backhaul,IAB)中的无线回传节点(即IAB节点)或某种其它接入节点或读写器、读写装置等,不予限制。For network equipment, the network equipment can be any equipment deployed in the access network that can communicate wirelessly with the terminal equipment, and is mainly used to implement wireless physical control functions, resource scheduling and wireless resource management, wireless access control, and mobility management. Specifically, the network equipment can be a device that supports wired access or a device that supports wireless access. Exemplarily, the network equipment can be an access network (AN)/radio access network (RAN) device, which is composed of multiple AN/RAN nodes. The AN/RAN node may be: a base station (nodeB, NB), a macro base station, a micro base station, a relay station, an enhanced base station (enhance nodeB, eNB), a next-generation base station (NR nodeB, gNB), a radio network controller (radio network controller, RNC), a base station controller (base station controller, BSC), a base transceiver station (base transceiver station, BTS), a home base station (for example, a home evolved nodeB, a home base station (home nodeB, HNB)), a base band unit (base band unit, BBU), an access point (access point, AP), or a wireless fidelity AP (wireless fidelity AP, Wi-Fi AP), a transmission reception point (transmission reception point, TRP), a transmission point (transmission point, TP), a wireless relay node or a wireless backhaul node in an integrated access and backhaul (IAB) (i.e., an IAB node) or some other access node or reader, read-write device, etc., without limitation.
可选的,网络设备还可以是集中单元(centralized unit,CU)/分布单元(distributed unit,DU)架构的。此时,网络设备可以包括CU、或者包括DU、或者包括CU和DU。其中,包括CU和DU的网络设备可以将LTE、5G甚至将来的6G通信系统中eNB的协议层拆分开,部分协议层的功能放在CU集中控制,剩下部分或全部协议层的功能分布在DU中,由CU集中控制DU。进一步地,还可以将DU在物理层进行拆分,拆分为DU和无线单元(radio unit,RU)。其中,根据拆分的方式不同,DU和RU之间的接口可以是通用公共无线接口(common public radio interface,CPRI)接口、增强型通用公共无线电接口(enhanced common public radio interface,eCPRI)接口、或者开放式无线接入网(open radio access network,O-RAN或ORAN)中的前传接口。Optionally, the network device may also be a centralized unit (CU)/distributed unit (DU) architecture. In this case, the network device may include a CU, or a DU, or a CU and a DU. The network device including the CU and the DU may separate the protocol layer of the eNB in the LTE, 5G, and even future 6G communication systems, with the functions of some protocol layers being centrally controlled by the CU, and the functions of the remaining part or all of the protocol layers being distributed in the DU, which is centrally controlled by the CU. Furthermore, the DU may be split at the physical layer into a DU and a radio unit (RU). Depending on the splitting method, the interface between the DU and the RU may be a common public radio interface (CPRI) interface, an enhanced common public radio interface (eCPRI) interface, or a fronthaul interface in an open radio access network (O-RAN or ORAN).
基于上述描述,示例性的,如图7中的(a)所示,以第一设备为标签,第二设备为基站为例,基站可以为微基站(micro BS),该微基站可以通过Uu接口与标签通信。如图7中的(b)所示,以第一设备为标签,第二设备为终端设备为例,终端设备可以通过侧行链路(sidelink,SL)与标签通信。如图7中的(c)所示,以第一设备为标签,第二设备为基站为例,基站可以为IAB节点,该IAB节点可以与宏基站(Macro BS)通过Uu接口通信,以及通过Uu接口与标签通信。Based on the above description, exemplarily, as shown in (a) of FIG. 7 , taking the first device as a tag and the second device as a base station as an example, the base station may be a micro BS, which may communicate with the tag through a Uu interface. As shown in (b) of FIG. 7 , taking the first device as a tag and the second device as a terminal device as an example, the terminal device may communicate with the tag through a sidelink (SL). As shown in (c) of FIG. 7 , taking the first device as a tag and the second device as a base station as an example, the base station may be an IAB node, which may communicate with a macro BS through a Uu interface, and communicate with the tag through a Uu interface.
又一种示例中,第一设备与第二设备之间的通信也可以支持分离式架构。如图8所示,以标签作为第一设备,终端设备作为第二设备的激励源(helper)为例,终端设备与基站之间可以进行上行通信,也可以进行下行通信,如图8中的(a)所示,基站1可以为标签提供载波信号,基站1与标签之间可以进行上行通信,标签与终端设备之间可以进行下行通信。或者,如图8中的(b)所示,终端设备可以为标签提供载波信号,基站1与标签之间可以进行下行通信,标签与终端设备之间可以进行上行通信。或者,如图8中的(c)所示,终端设备可以为标签提供载波信号,基站1与标签之间可以进行上行通信,标签与终端设备之间可以进行下行通信。或者,如图8中的(d)所示,基站1可以为标签提供载波信号,基站1与标签之间可以进行下行通信,标签与终端设备之间可以进行上行通信。In another example, the communication between the first device and the second device can also support a separate architecture. As shown in Figure 8, taking the tag as the first device and the terminal device as the excitation source (helper) of the second device as an example, the terminal device and the base station can perform uplink communication or downlink communication. As shown in (a) in Figure 8, the base station 1 can provide a carrier signal for the tag, and the base station 1 and the tag can perform uplink communication, and the tag and the terminal device can perform downlink communication. Alternatively, as shown in (b) in Figure 8, the terminal device can provide a carrier signal for the tag, and the base station 1 and the tag can perform downlink communication, and the tag and the terminal device can perform uplink communication. Alternatively, as shown in (c) in Figure 8, the terminal device can provide a carrier signal for the tag, and the base station 1 and the tag can perform uplink communication, and the tag and the terminal device can perform downlink communication. Alternatively, as shown in (d) in Figure 8, the base station 1 can provide a carrier signal for the tag, and the base station 1 and the tag can perform downlink communication, and the tag and the terminal device can perform uplink communication.
需要说明的是,图8中,既可以与标签进行通信,也可以与终端设备进行通信的基站可以称为标签与终端设备的共站(如基站1)。只能与标签进行通信的基站,或者只能与终端设备进行通信的基站可以称为标签与终端设备的异站(如基站2)。It should be noted that in FIG8 , a base station that can communicate with both a tag and a terminal device can be referred to as a co-station of the tag and the terminal device (such as base station 1). A base station that can only communicate with a tag or a base station that can only communicate with a terminal device can be referred to as a different station of the tag and the terminal device (such as base station 2).
需要说明的是,本申请实施例的第一设备、第二设备都可以为一个或多个芯片,也可以为片上系统(system on chip,SOC)等。图5仅为示例性附图,其包括的设备数量不受限制。此外,除图5所示设备之外,该通信系统还可以包括其他设备。图5中各个设备的名称、各个链路的命名不受限制,除图5所示名称之外,各个设备、各个链路还可以命名为其他名称,不予限制。It should be noted that the first device and the second device of the embodiment of the present application can be one or more chips, or a system on chip (SOC), etc. FIG. 5 is only an exemplary figure, and the number of devices included therein is not limited. In addition, in addition to the devices shown in FIG. 5 , the communication system may also include other devices. The names of the various devices and the names of the various links in FIG. 5 are not limited. In addition to the names shown in FIG. 5 , the various devices and the various links may also be named with other names without limitation.
具体实现时,图5、图6、图7或图8所示,如:各个第一设备、第二设备均可以采用图9所示的组成结构,或者包括图9所示的部件。图9为本申请实施例提供的一种通信装置900的组成示意图,该 通信装置900可以为第一设备或者第一设备中的芯片或者片上系统;也可以为第二设备或者第二设备中的芯片或者片上系统。如图9所示,该通信装置900包括处理器901,收发器902以及通信线路903。In the specific implementation, as shown in Figure 5, Figure 6, Figure 7 or Figure 8, for example, each first device and second device can adopt the composition structure shown in Figure 9, or include the components shown in Figure 9. Figure 9 is a schematic diagram of the composition of a communication device 900 provided in an embodiment of the present application. The communication device 900 may be a first device or a chip or system on chip in the first device; or a second device or a chip or system on chip in the second device. As shown in FIG9 , the communication device 900 includes a processor 901 , a transceiver 902 and a communication line 903 .
进一步的,该通信装置900还可以包括存储器904。其中,处理器901,存储器904以及收发器902之间可以通过通信线路903连接。Furthermore, the communication device 900 may also include a memory 904. The processor 901, the memory 904 and the transceiver 902 may be connected via a communication line 903.
其中,处理器901是中央处理器(central processing unit,CPU)、通用处理器网络处理器(network processor,NP)、数字信号处理器(digital signal processing,DSP)、微处理器、微控制器、可编程逻辑器件(programmable logic device,PLD)或它们的任意组合。处理器901还可以是其它具有处理功能的装置,例如电路、器件或软件模块,不予限制。The processor 901 is a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 901 may also be other devices with processing functions, such as circuits, devices, or software modules, without limitation.
收发器902,用于与其他设备或其它通信网络进行通信。该其它通信网络可以为以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。收发器902可以是模块、电路、收发器或者任何能够实现通信的装置。The transceiver 902 is used to communicate with other devices or other communication networks. The other communication networks may be Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. The transceiver 902 may be a module, a circuit, a transceiver or any device capable of achieving communication.
通信线路903,用于在通信装置900所包括的各部件之间传送信息。The communication line 903 is used to transmit information between the components included in the communication device 900.
存储器904,用于存储指令。其中,指令可以是计算机程序。The memory 904 is used to store instructions, where the instructions may be computer programs.
其中,存储器904可以是只读存储器(read-only memory,ROM)或可存储静态信息和/或指令的其他类型的静态存储设备,也可以是随机存取存储器(random access memory,RAM)或可存储信息和/或指令的其他类型的动态存储设备,还可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或其他磁存储设备等,不予限制。Among them, the memory 904 can be a read-only memory (ROM) or other types of static storage devices that can store static information and/or instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and/or instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, etc., without limitation.
需要指出的是,存储器904可以独立于处理器901存在,也可以和处理器901集成在一起。存储器904可以用于存储指令或者程序代码或者一些数据等。存储器904可以位于通信装置900内,也可以位于通信装置900外,不予限制。处理器901,用于执行存储器904中存储的指令,以实现本申请下述实施例提供的通信方法。It should be noted that the memory 904 can exist independently of the processor 901, or can be integrated with the processor 901. The memory 904 can be used to store instructions or program codes or some data, etc. The memory 904 can be located in the communication device 900, or can be located outside the communication device 900, without limitation. The processor 901 is used to execute the instructions stored in the memory 904 to implement the communication method provided in the following embodiments of the present application.
在一种示例中,处理器901可以包括一个或多个CPU,例如图9中的CPU0和CPU1。In one example, the processor 901 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 9 .
作为一种可选的实现方式,通信装置900包括多个处理器,例如,除图9中的处理器901之外,还可以包括处理器907。As an optional implementation manner, the communication device 900 includes multiple processors. For example, in addition to the processor 901 in FIG. 9 , it may also include a processor 907 .
作为一种可选的实现方式,通信装置900还包括输出设备905和输入设备906。示例性地,输入设备906是键盘、鼠标、麦克风或操作杆等设备,输出设备905是显示屏、扬声器(speaker)等设备。As an optional implementation, the communication device 900 further includes an output device 905 and an input device 906. Exemplarily, the input device 906 is a device such as a keyboard, a mouse, a microphone or a joystick, and the output device 905 is a device such as a display screen and a speaker.
需要指出的是,通信装置900可以是台式机、便携式电脑、网络服务器、移动手机、平板电脑、无线终端、嵌入式设备、芯片系统或有图9中类似结构的设备。此外,图9中示出的组成结构并不构成对该通信装置的限定,除图9所示部件之外,该通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be noted that the communication device 900 may be a desktop computer, a portable computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system, or a device having a similar structure as shown in FIG9. In addition, the composition structure shown in FIG9 does not constitute a limitation on the communication device. In addition to the components shown in FIG9, the communication device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。In the embodiment of the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices.
此外,本申请的各实施例之间涉及的动作、术语等均可以相互参考,不予限制。本申请的实施例中各个设备之间交互的消息名称或消息中的参数名称等只是一个示例,具体实现中也可以采用其他的名称,不予限制。In addition, the actions, terms, etc. involved in the various embodiments of the present application can refer to each other without limitation. The message name or parameter name in the message exchanged between the various devices in the embodiments of the present application is only an example, and other names can also be used in the specific implementation without limitation.
结合图5至图8所示通信系统,参照下述图10,对本申请实施例提供的通信方法进行描述,其中,第一设备可以是图5至图8所示通信系统中任一第一设备,第二设备可以是图5至图8所示通信系统中任一第二设备。下述实施例所述的第一设备、第二设备均可以具备图9所示部件。本申请实施例中示出的单个执行主体(第一设备或第二设备)所执行的处理也可以被划分为由多个执行主体执行,这些执行主体可以在逻辑上和/或在物理上分离,不予限制。In conjunction with the communication system shown in Figures 5 to 8, the communication method provided in the embodiment of the present application is described with reference to Figure 10 below, wherein the first device may be any first device in the communication system shown in Figures 5 to 8, and the second device may be any second device in the communication system shown in Figures 5 to 8. The first device and the second device described in the following embodiments may both have the components shown in Figure 9. The processing performed by a single execution subject (first device or second device) shown in the embodiment of the present application may also be divided into executions by multiple execution subjects, and these execution subjects may be logically and/or physically separated without restriction.
图10为本申请实施例提供的一种通信方法,如图10所示,该方法可以包括:FIG10 is a communication method provided in an embodiment of the present application. As shown in FIG10 , the method may include:
步骤1001、第二设备通过第一天线发送查询信令。Step 1001: The second device sends a query signaling via the first antenna.
其中,查询信令可以用于指示第一Q值,第一Q值可以为0,Q值可以用于检测(或者描述为查询)第一设备。The query signaling may be used to indicate a first Q value, the first Q value may be 0, and the Q value may be used to detect (or be described as querying) the first device.
可替换的,第一Q值也可以为1或2或其他较小的值,本申请实施例中以第一Q值为0为例进行描述,对第一Q值为1或2或其他较小的值的描述可以参照第一Q值为0的相关描述,不予赘述。 Alternatively, the first Q value may be 1 or 2 or other smaller values. In the embodiment of the present application, the first Q value is described as 0 as an example. The description of the first Q value being 1 or 2 or other smaller values may refer to the relevant description of the first Q value being 0, and no further details are given.
示例性的,Q值可以用于接收到该Q值的第一设备根据该Q值生成一个属于[0,2Q-1]的随机数作为时隙计数器的初始值。当时隙计数器的取值更新为0时,第一设备可以向第二设备发送第一信息。Exemplarily, the Q value can be used by the first device that receives the Q value to generate a random number belonging to [0, 2 Q -1] as the initial value of the time slot counter according to the Q value. When the value of the time slot counter is updated to 0, the first device can send the first information to the second device.
由于第一Q值为0,则第二设备通过第一天线进行盘存的盘存周期为2Q=0=1个时隙,即第二设备可以通过第一天线在该1个时隙中检测第一天线的覆盖范围内是否存在第一设备,或者描述为第二设备可以通过第一天线在该1个时隙中检测是否可以接收到第一设备发送的第一信息,或者描述为第二设备可以通过第一天线在该1个时隙中检测是否存在第一设备发送的第一信息。Since the first Q value is 0, the inventory period of the second device through the first antenna is 2 Q = 0 = 1 time slot, that is, the second device can detect whether there is the first device within the coverage of the first antenna through the first antenna in the 1 time slot, or it can be described as the second device can detect whether the first information sent by the first device can be received in the 1 time slot through the first antenna, or it can be described as the second device can detect whether there is the first information sent by the first device in the 1 time slot through the first antenna.
可选的,第二设备采用轮训算法从第二设备的多个天线中确定第一天线,或者,第二设备采用其他算法(例如定时轮训算法、加权调度算法等)从第二设备的多个天线中确定第一天线,或者第二设备从第二设备的多个天线中随机选择一个天线作为第一天线,不予限制。Optionally, the second device uses a round-robin algorithm to determine the first antenna from multiple antennas of the second device, or the second device uses other algorithms (such as a timed round-robin algorithm, a weighted scheduling algorithm, etc.) to determine the first antenna from multiple antennas of the second device, or the second device randomly selects one antenna from multiple antennas of the second device as the first antenna, without restriction.
可选的,如图11所示,第二设备通过第一天线发送查询信令之前,通过第一天线发送选择信令,以选择一个或多个第一设备,符合选择条件的第一设备被选中进入待盘存状态。Optionally, as shown in FIG. 11 , before the second device sends the query signaling through the first antenna, it sends the selection signaling through the first antenna to select one or more first devices, and the first devices meeting the selection conditions are selected to enter the inventory waiting state.
可选的,如图11所示,第二设备通过第一天线发送选择信令之前,第二设备可以接收第一指示信息,根据该第一指示信息,从多个天线中选择第一天线,并通过第一天线发送选择信令。Optionally, as shown in FIG. 11 , before the second device sends the selection signaling through the first antenna, the second device may receive first indication information, select a first antenna from multiple antennas based on the first indication information, and send the selection signaling through the first antenna.
其中,第一指示信息可以用于指示第二设备启动对第一设备的盘存。The first indication information may be used to instruct the second device to initiate an inventory of the first device.
可选的,网络设备向第二设备发送上述第一指示信息。Optionally, the network device sends the first indication information to the second device.
步骤1002、如果第二设备在2Q个时隙中未检测到来自第一设备的第一信息,第二设备切换到第二天线发送查询信令。Step 1002: If the second device does not detect the first information from the first device in 2 Q time slots, the second device switches to the second antenna to send a query signaling.
其中,第一信息可以指示16位随机数,或者,第一信息也可以描述为RN16或RN16信息等,不予限制。The first information may indicate a 16-bit random number, or the first information may be described as RN16 or RN16 information, etc., without limitation.
其中,第二设备通过第一天线发送查询信令后,可以在2Q个时隙中的每个时隙中检测是否接收到第一设备发送的第一信息。After the second device sends the query signaling through the first antenna, it can detect in each of the 2 Q time slots whether the first information sent by the first device is received.
可选的,第二设备通过发送查询重复信令,触发第二设备在2Q个时隙中的各个时隙中检测第一信息。Optionally, the second device sends a query repetition signaling to trigger the second device to detect the first information in each time slot of 2 Q time slots.
其中,查询重复信令还可以触发第一设备将时隙计数器的取值减1。The query repetition signaling may also trigger the first device to reduce the value of the time slot counter by 1.
示例性的,第二设备可以在2Q个时隙中的第1个时隙中检测是否存在第一信息后,发送查询重复信令,触发第二设备在2Q个时隙中的第2个时隙中检测是否存在第一信息,然后发送查询重复信令,触发第二设备在2Q个时隙中的第3个时隙中检测是否存在第一设备发送的第一信息,……,然后发送查询重复信令,触发第二设备在该2Q个时隙中的第2Q个时隙中检测是否存在第一信息。Exemplarily, after detecting whether the first information exists in the first time slot among 2 Q time slots, the second device can send a query repetition signaling to trigger the second device to detect whether the first information exists in the second time slot among 2 Q time slots, and then send a query repetition signaling to trigger the second device to detect whether the first information sent by the first device exists in the third time slot among 2 Q time slots, ... and then send a query repetition signaling to trigger the second device to detect whether the first information exists in the second Q time slot among the 2 Q time slots.
可选的,第二设备基于循环算法在2Q个时隙中的每个时隙中检测是否存在第一信息。Optionally, the second device detects whether the first information exists in each time slot of 2 Q time slots based on a round-robin algorithm.
例如,如图11所示,第二设备可以在2Q个时隙中的第i个时隙中检测是否存在第一信息,并判断该第i个时隙是否为2Q个时隙的最后一个时隙,如果是,则完成对2Q个时隙的检测,如果否,则发送查询重复信令,以在下一个时隙中检测是否存在第一信息。其中,1≤i≤2Q;或者描述为i遍历1至2QFor example, as shown in FIG11 , the second device may detect whether the first information exists in the i-th time slot of 2 Q time slots, and determine whether the i-th time slot is the last time slot of the 2 Q time slots. If yes, the detection of the 2 Q time slots is completed. If not, the query repetition signaling is sent to detect whether the first information exists in the next time slot. Wherein, 1≤i≤2 Q ; or described as i traversing 1 to 2 Q .
当查询信令中的Q值为第一Q值时,如果第一天线的覆盖范围内不存在第一设备,则第二设备不会在该2Q=0=1个时隙中检测到第一设备发送的第一信息。如果第一天线的覆盖范围内存在一个或多个第一设备,该一个或多个第一设备根据第一Q值可以生成一个属于[0,2Q=0-1]的随机数作为时隙计数器,即该一个或多个第一设备确定的时隙计数器的初始值均为0,进而可以在该1个时隙中向第二设备发送第一信息,即第二设备可以在该2Q=0=1个时隙中检测到一个或多个第一设备发送的第一信息。从而可以快速检测出第一天线的覆盖范围内是否存在待盘存的第一设备。When the Q value in the query signaling is the first Q value, if there is no first device within the coverage of the first antenna, the second device will not detect the first information sent by the first device in the 2 Q = 0 = 1 time slot. If there are one or more first devices within the coverage of the first antenna, the one or more first devices can generate a random number belonging to [0, 2 Q = 0 -1] as a time slot counter according to the first Q value, that is, the initial value of the time slot counter determined by the one or more first devices is 0, and then the first information can be sent to the second device in the 1 time slot, that is, the second device can detect the first information sent by one or more first devices in the 2 Q = 0 = 1 time slot. In this way, it is possible to quickly detect whether there is a first device to be inventoried within the coverage of the first antenna.
当第一天线的覆盖范围内没有待盘存的第一设备时,第二设备可以直接切换到第二天线进行盘存。本申请中,对第二设备通过第二天线对第一设备进行盘存的过程的描述,可以参照第二设备通过第一天线对第一设备进行盘存的过程的描述,不予赘述。When there is no first device to be inventoried within the coverage of the first antenna, the second device can directly switch to the second antenna for inventory. In this application, the description of the process of the second device taking inventory of the first device through the second antenna can refer to the description of the process of the second device taking inventory of the first device through the first antenna, and will not be repeated.
可选的,如果第二设备在2Q个时隙中未检测到第一信息,第二设备将碰撞概率设置为0。Optionally, if the second device does not detect the first information in 2 Q time slots, the second device sets the collision probability to 0.
可选的,当碰撞概率为0时,第二设备切换到第二天线发送查询信令。Optionally, when the collision probability is 0, the second device switches to the second antenna to send the query signaling.
其中,碰撞概率可以为一个或多个第一设备之间的碰撞概率。The collision probability may be a collision probability between one or more first devices.
基于上述图10所示的方法,由于一个盘存周期是2Q个时隙,第二设备通过将第一Q值设置为0或1或2等较小的值,即第二设备将一个盘存周期设置为1个时隙或较少的时隙,如果第一天线的覆盖范围内存在待盘存的第一设备,则第二设备会在该1个或较少个时隙接收到第一设备发送的第一信息,如 果第一天线的覆盖范围内不存在待盘存的第一设备,则第二设备不会在该1个或较少个时隙中接收到第一设备发送的第一信息,从而可以快速检测出第一天线的覆盖范围内是否存在待盘存的第一设备,如果没有待盘存的第一设备,第二设备可以直接切换到第二天线,从而降低第一天线的空转时延,减少无效盘存时间,降低第二设备对第一设备的盘存时间,实现对第一设备的快速盘存,提高盘存效率。Based on the method shown in FIG. 10 , since one inventory cycle is 2 Q time slots, the second device sets the first Q value to a smaller value such as 0, 1, or 2, that is, the second device sets one inventory cycle to 1 time slot or less time slots. If there is a first device to be inventoried within the coverage of the first antenna, the second device will receive the first information sent by the first device in the 1 or less time slots, such as If there is no first device to be inventoried within the coverage of the first antenna, the second device will not receive the first information sent by the first device in the one or fewer time slots, so that it can quickly detect whether there is a first device to be inventoried within the coverage of the first antenna. If there is no first device to be inventoried, the second device can directly switch to the second antenna, thereby reducing the idling delay of the first antenna, reducing the invalid inventory time, reducing the inventory time of the second device for the first device, realizing a fast inventory of the first device, and improving the inventory efficiency.
上述图10所示的方法中,当第二设备的天线覆盖范围大部分不确定是否有第一设备,盘存速率又有一定要求时,通过优先下发Q值为0的查询信令,可以快速检测天线的覆盖范围内是否有待盘存的第一设备,如果当前天线(如第一天线)的覆盖范围内没有待盘存的第一设备,可以快速切换到其他天线(如第二天线)进行盘存。但是,如果当前天线的覆盖范围内存在较多待盘存的第一设备,将Q值设置为0则无法实现对第一设备的快速盘存。In the method shown in FIG. 10 above, when it is uncertain whether there is a first device in the antenna coverage of the second device and there are certain requirements for the inventory rate, by preferentially sending a query signaling with a Q value of 0, it is possible to quickly detect whether there is a first device to be inventoried in the antenna coverage. If there is no first device to be inventoried in the coverage of the current antenna (such as the first antenna), it is possible to quickly switch to other antennas (such as the second antenna) for inventory. However, if there are many first devices to be inventoried in the coverage of the current antenna, setting the Q value to 0 will not enable a fast inventory of the first device.
即第二设备的每个天线在启动盘存时,如果查询信令中的Q值设置较大,不同的第一设备根据该Q值确定的时隙计数器的初始值相同的概率会降低,即第一设备之间的碰撞会降低,第二设备可以快速盘存大量第一设备,提高第一设备的盘存成功率,但是,对于第一设备数量较少的场景,会导致天线的空转时延较大。如果查询信令中的Q值设置较小,可以降低天线的空转时延,进而实现天线的快速切换,但是,对于第一设备数量较多的场景,会导致不同的第一设备根据该Q值确定的时隙计数器的初始值相同的概率增高,即第一设备之间的碰撞会增加,降低第一设备的盘存成功率。That is, when each antenna of the second device starts the inventory, if the Q value in the query signaling is set to a large value, the probability that different first devices have the same initial value of the time slot counter determined according to the Q value will be reduced, that is, the collision between the first devices will be reduced, and the second device can quickly inventory a large number of first devices, thereby improving the success rate of the inventory of the first devices. However, for scenarios with a small number of first devices, the idling delay of the antenna can be large. If the Q value in the query signaling is set to a small value, the idling delay of the antenna can be reduced, thereby achieving rapid switching of the antenna. However, for scenarios with a large number of first devices, the probability that different first devices have the same initial value of the time slot counter determined according to the Q value will be increased, that is, the collision between the first devices will increase, thereby reducing the success rate of the inventory of the first device.
因此,如何在盘存过程中设置Q值,以在保证第二设备的天线空转时延较小的同时提高第一设备的盘存成功率成为亟待解决的技术问题。Therefore, how to set the Q value during the inventory process to improve the inventory success rate of the first device while ensuring that the antenna idle delay of the second device is small has become a technical problem that needs to be solved urgently.
为解决上述技术问题,第一种可能的实现方式中,可以将初始Q值设置为较大的值(例如Q值为4,也可以根据第一设备的数量进行调整),根据第一设备的空闲、碰撞概率和成功率,在盘存过程中自适应调整Q值,最终将Q值收敛为0,完成对当前天线的盘存,然后切换到其他天线进行盘存,实现盘存成功率和盘存时间的相对平衡。To solve the above technical problems, in a first possible implementation method, the initial Q value can be set to a larger value (for example, the Q value is 4, and can also be adjusted according to the number of first devices). According to the idleness, collision probability and success rate of the first device, the Q value is adaptively adjusted during the inventory process, and finally the Q value converges to 0, completing the inventory of the current antenna, and then switching to other antennas for inventory, so as to achieve a relative balance between the inventory success rate and the inventory time.
但是,在该可能的实现方式中,即使天线的覆盖范围内没有第一设备,第二设备也需要经过[2Q,2Q+2Q-1+……+20]个盘存时隙才能切换到下一个天线,单天线空转耗时几十至几百毫米,多个天线空转时延可能会达到几百毫秒,在出入库时间或流水线时间等时间要求较高的场景中,由于第一设备进入天线覆盖范围内,第二设备剩余空转天线的不一致,容易导致盘存结果不稳定。However, in this possible implementation, even if the first device is not within the coverage range of the antenna, the second device needs to go through [2 Q , 2 Q+ 2 Q-1 +...+2 0 ] inventory time slots to switch to the next antenna. The idling time of a single antenna takes tens to hundreds of millimeter, and the idling delay of multiple antennas may reach hundreds of milliseconds. In scenarios with high time requirements such as warehousing time or assembly line time, the inconsistency of the remaining idle antennas of the second device due to the first device entering the antenna coverage range may easily lead to unstable inventory results.
基于此,第二种可能的实现方式中,可以将初始Q值设置为较小的值(例如将Q值设置为0,也可以将Q值设置为1或2等,不予限制),以在第二设备的天线的覆盖范围内没有第一设备时,实现对天线的快速切换。当第二设备的天线的覆盖范围内存在第一设备时,可以将Q值增大,以实现对第一设备的盘存。Based on this, in a second possible implementation, the initial Q value may be set to a smaller value (for example, the Q value may be set to 0, or the Q value may be set to 1 or 2, etc., without limitation) to achieve rapid switching of antennas when the first device is not within the coverage of the antenna of the second device. When the first device is within the coverage of the antenna of the second device, the Q value may be increased to achieve an inventory of the first device.
示例性的,相比于上述第一种可能的实现方式中单天线的空转时延长达几十至几百毫秒,当初始Q值设置为0时,单天线的空转时延可以下降到一至五毫秒,当初始Q值设置为1或2时,单天线的空转时延可以下降到五至十二毫秒。Exemplarily, compared to the idling delay of a single antenna of tens to hundreds of milliseconds in the first possible implementation method mentioned above, when the initial Q value is set to 0, the idling delay of the single antenna can be reduced to one to five milliseconds, and when the initial Q value is set to 1 or 2, the idling delay of the single antenna can be reduced to five to twelve milliseconds.
该第二种可能的实现方式中,以第二设备通过第一天线对第一设备进行盘存为例,当第二设备的第一天线的覆盖范围内存在第一设备时,第二设备可以参照下述图12所示的方法将Q值增大,以实现对第一设备的盘存。In the second possible implementation, taking the example of the second device taking inventory of the first device through the first antenna, when the first device exists within the coverage range of the first antenna of the second device, the second device may increase the Q value by referring to the method shown in FIG. 12 below to implement an inventory of the first device.
图12为本申请实施例提供的一种通信方法的流程图,如图12所示,第二设备可以采用下述步骤1203所示的方法对Q值进行调整,也可以采用下述步骤1204至步骤1206所示的方法对Q值进行调整:FIG12 is a flow chart of a communication method provided in an embodiment of the present application. As shown in FIG12 , the second device may adjust the Q value by the method shown in the following step 1203, or may adjust the Q value by the method shown in the following steps 1204 to 1206:
步骤1201、第二设备通信第一天线发送查询信令;相应的,第一设备接收第二设备发送的查询信令。Step 1201: The second device communicates with the first antenna to send a query signaling; correspondingly, the first device receives the query signaling sent by the second device.
其中,查询信息可以包括第一Q值,第一Q值可以为0。The query information may include a first Q value, and the first Q value may be 0.
步骤1202、第一设备向第二设备发送第一信息。Step 1202: The first device sends first information to the second device.
其中,第一设备可以根据第一Q值,生成一个属于[0,2Q-1]的随机数作为时隙计数器的初始值,当时隙计数器的取值更新为0时,向第二设备发送第一信息。The first device may generate a random number belonging to [0, 2 Q -1] as the initial value of the time slot counter according to the first Q value, and when the value of the time slot counter is updated to 0, send the first information to the second device.
可选的,第二设备通过第一天线发送查询信令后,还可以通过第一天线发送查询重复信令,触发第一设备将时隙计数器的取值减1,当时隙计数器的取值更新为0时,第一设备向第二设备发送第一信息。Optionally, after the second device sends the query signaling through the first antenna, it can also send a query repetition signaling through the first antenna to trigger the first device to reduce the value of the time slot counter by 1. When the value of the time slot counter is updated to 0, the first device sends the first information to the second device.
其中,对第一信息的描述可以参照上述图10中对第一信息的描述,不予赘述。 Among them, the description of the first information can refer to the description of the first information in the above-mentioned Figure 10, and will not be repeated here.
步骤1203、如果第二设备在2Q个时隙中检测到至少两个存在冲突的第一信息,第二设备发送查询调整信令。Step 1203: If the second device detects at least two conflicting first information in 2 Q time slots, the second device sends a query adjustment signaling.
其中,至少两个存在冲突的第一信息可以是在相同时隙中检测到的至少两个第一信息;查询调整信令可以包括第二Q值,第二Q值可以大于第一Q值。The at least two conflicting first information may be at least two first information detected in the same time slot; the query adjustment signaling may include a second Q value, and the second Q value may be greater than the first Q value.
其中,如果第二设备在2Q个时隙中检测到至少两个存在冲突的第一信息,则可以表明第一天线的覆盖范围内存在多个待盘存的第一设备,第二设备可以将Q值调整为第二Q值,降低不同的第一设备根据第二Q值确定的时隙计数器的初始值相同的概率,降低第一设备之间的碰撞,从而快速盘存大量第一设备,提高第一设备的盘存成功率。Among them, if the second device detects at least two conflicting first information in 2 Q time slots, it may indicate that there are multiple first devices to be inventoried within the coverage of the first antenna. The second device can adjust the Q value to the second Q value, thereby reducing the probability that different first devices have the same initial value of the time slot counter determined according to the second Q value, reducing collisions between first devices, thereby quickly inventorying a large number of first devices and improving the inventory success rate of the first devices.
可选的,第二设备通过第一天线发送查询信令后,可以在2Q个时隙中的每个时隙中检测是否存在至少两个存在冲突的第一信息。Optionally, after the second device sends the query signaling through the first antenna, it can detect whether there are at least two conflicting first information in each time slot of 2 Q time slots.
可选的,第二设备通过发送查询重复信令,触发第二设备在2Q个时隙中的每个时隙中检测第一信息。Optionally, the second device sends a query repetition signaling to trigger the second device to detect the first information in each time slot of 2 Q time slots.
示例性的,第二设备可以在2Q个时隙中的第1个时隙中检测是否存在至少两个存在冲突的第一信息后,发送查询重复信令,触发第二设备在2Q个时隙中的第2个时隙中检测是否存在至少两个存在冲突的第一信息,然后发送查询重复信令,触发第二设备在2Q个时隙中的第3个时隙中检测是否存在至少两个存在冲突的第一信息,……,然后发送查询重复信令,触发第二设备在该2Q个时隙中的第2Q个时隙中检测是否存在至少两个存在冲突的第一信息。Exemplarily, after the second device detects whether there are at least two conflicting first information in the first time slot among the 2 Q time slots, it may send a query repetition signaling to trigger the second device to detect whether there are at least two conflicting first information in the second time slot among the 2 Q time slots, and then send a query repetition signaling to trigger the second device to detect whether there are at least two conflicting first information in the third time slot among the 2 Q time slots, ... and then send a query repetition signaling to trigger the second device to detect whether there are at least two conflicting first information in the second Q time slot among the 2 Q time slots.
可选的,第二设备基于循环算法在2Q个时隙中的每个时隙中检测是否存在至少两个存在冲突的第一信息。Optionally, the second device detects whether there are at least two conflicting first information in each time slot of 2 Q time slots based on a round-robin algorithm.
例如,如图11所示,第二设备可以在2Q个时隙中的第i个时隙中检测是否存在至少两个存在冲突的第一信息,并判断该第i个时隙是否为2Q个时隙的最后一个时隙,如果是,则完成对2Q个时隙的检测,如果否,则发送查询重复信令,以在下一个时隙中检测是否存在至少两个存在冲突的第一信息。其中,1≤i≤2QFor example, as shown in FIG11 , the second device may detect whether there are at least two conflicting first information in the i-th time slot of 2 Q time slots, and determine whether the i-th time slot is the last time slot of the 2 Q time slots, if yes, complete the detection of the 2 Q time slots, if no, send query repetition signaling to detect whether there are at least two conflicting first information in the next time slot. Wherein, 1≤i≤2 Q .
可选的,对于每个能够检测到至少两个存在冲突的第一信息的时隙,第二设备可以对碰撞概率进行一次调整;对于每个未检测到至少两个存在冲突的第一信息的时隙,第二设备可以不用对碰撞概率进行调整。Optionally, for each time slot in which at least two conflicting first information can be detected, the second device may adjust the collision probability once; for each time slot in which at least two conflicting first information are not detected, the second device may not adjust the collision probability.
可选的,第二设备基于循环算法在2Q个时隙中的各个时隙中确定是否对碰撞概率进行调整。Optionally, the second device determines whether to adjust the collision probability in each of the 2 Q time slots based on a round-robin algorithm.
例如,如图11所示,第二设备可以在2Q个时隙中的第i个时隙中检测是否存在至少两个存在冲突的第一信息,如果是,则对碰撞概率进行一次调整,如果否,则不对碰撞概率进行调整。第二设备还可以判断该第i个时隙是否为2Q个时隙的最后一个时隙,如果是,则完成对2Q个时隙的检测,如果否,则发送查询重复信令,以在下一个时隙中检测是否存在至少两个存在冲突的第一信息。其中,1≤i≤2Q。还可以描述为,i遍历1至2QFor example, as shown in FIG11 , the second device may detect whether there are at least two conflicting first information in the i-th time slot of 2 Q time slots, and if so, adjust the collision probability once, and if not, do not adjust the collision probability. The second device may also determine whether the i-th time slot is the last time slot of the 2 Q time slots, and if so, complete the detection of the 2 Q time slots, and if not, send a query repetition signaling to detect whether there are at least two conflicting first information in the next time slot. Wherein, 1≤i≤2 Q . It can also be described as i traversing 1 to 2 Q .
可选的,第二设备根据存在冲突的第一信息的数量,确定碰撞概率。Optionally, the second device determines the collision probability according to the amount of conflicting first information.
其中,当第一天线的覆盖范围内的第一设备的数量一定时,第二设备检测到的存在冲突的第一信息的数量越多,碰撞概率越大,第二设备检测到的存在冲突的第一信息的数量越少,碰撞概率越小。Among them, when the number of first devices within the coverage of the first antenna is constant, the more conflicting first information detected by the second device, the greater the collision probability, and the fewer conflicting first information detected by the second device, the smaller the collision probability.
可选的,第二设备在2Q个时隙中检测完第一信息时,如果碰撞概率不为0,则表明第一天线的覆盖范围内存在待盘存的第一设备,第二设备可以通过第一天线发送查询调整信令,以对待盘存的第一设备进行盘存。Optionally, when the second device detects the first information in 2 Q time slots, if the collision probability is not 0, it indicates that there is a first device to be inventoried within the coverage of the first antenna, and the second device can send a query adjustment signaling through the first antenna to inventory the first device to be inventoried.
可选的,第二设备根据碰撞概率,确定第二Q值。Optionally, the second device determines a second Q value according to the collision probability.
其中,碰撞概率越大,第二Q值越大,碰撞概率越小,第二Q值越小。The greater the collision probability, the greater the second Q value, and the smaller the collision probability, the smaller the second Q value.
步骤1204、如果第二设备在2Q个时隙中检测到的第一信息之间不存在冲突,第二设备向第一信息关联的第一设备发送确认信息。Step 1204: If there is no conflict between the first information detected by the second device in the 2 Q time slots, the second device sends confirmation information to the first device associated with the first information.
其中,当第一信息指示RN16时,第二设备向第一信息关联的第一设备发送的确认信息可以包括该RN16。When the first information indicates RN16, the confirmation information sent by the second device to the first device associated with the first information may include the RN16.
步骤1205、接收到确认信息的第一设备向第二设备发送第二信息。Step 1205: The first device that receives the confirmation information sends second information to the second device.
其中,第二信息可以包括EPC信息。The second information may include EPC information.
步骤1206、如果第二设备未成功检测到来自第一信息关联的第一设备的第二信息,第二设备发送 查询调整信令。Step 1206: If the second device fails to successfully detect the second information from the first device associated with the first information, the second device sends Query adjustment signaling.
其中,查询调整信令可以包括第二Q值,第二Q值大于第一Q值。The query adjustment signaling may include a second Q value, and the second Q value is greater than the first Q value.
示例性的,第二设备未成功检测到来自第一信息关联的第一设备的第二信息可以包括:第二设备未检测到来自第一信息关联的第一设备的第二信息,或者,第二设备检测到来自第一信息关联的第一设备的第二信息,但对该第二信息解调失败。Exemplarily, the second device failing to successfully detect the second information from the first device associated with the first information may include: the second device failing to detect the second information from the first device associated with the first information, or the second device detecting the second information from the first device associated with the first information but failing to demodulate the second information.
其中,如果第二设备未成功检测到来自第一信息关联的第一设备的第二信息,则可以表明第一天线的覆盖范围内存在待盘存的第一设备,第二设备可以将Q值调整为第二Q值,降低不同的第一设备根据第二Q值确定的时隙计数器的初始值相同的概率,降低第一设备之间的碰撞,从而快速盘存大量第一设备,提高第一设备的盘存成功率。Among them, if the second device fails to successfully detect the second information from the first device associated with the first information, it may indicate that there is a first device to be inventoried within the coverage of the first antenna. The second device can adjust the Q value to the second Q value, thereby reducing the probability that different first devices have the same initial value of the time slot counter determined according to the second Q value, reducing collisions between first devices, thereby quickly inventorying a large number of first devices and improving the inventory success rate of the first devices.
可选的,对于能够检测到不存在冲突的第一信息的每个时隙,如果第二设备在该时隙中未成功检测到第一信息关联的第一设备发送的第二信息,第二设备可以对碰撞概率进行一次调整。如果第二设备成功检测到第一信息关联的第一设备发送的第二信息,则可以不用对碰撞概率进行调整。Optionally, for each time slot in which the first information without conflict can be detected, if the second device fails to successfully detect the second information sent by the first device associated with the first information in the time slot, the second device may adjust the collision probability once. If the second device successfully detects the second information sent by the first device associated with the first information, the collision probability does not need to be adjusted.
可选的,第二设备基于循环算法在能够检测到不存在冲突的第一信息的各个时隙中确定是否对碰撞概率进行调整。Optionally, the second device determines whether to adjust the collision probability in each time slot in which the first information without conflict can be detected based on a round-robin algorithm.
例如,如图11所示,以第二设备在第i个时隙中检测到不存在冲突的第一信息为例,如果第二设备在第i个时隙中未成功检测到第一信息关联的第一设备发送的第二信息,第二设备可以对碰撞概率进行一次调整。如果第二设备成功检测到第一信息关联的第一设备发送的第二信息,则可以不用对碰撞概率进行调整。第二设备还可以判断该第i个时隙是否为2Q个时隙的最后一个时隙,如果是,则完成对2Q个时隙的检测,如果否,则发送查询重复信令,以在下一个时隙中检测第一信息。其中,1≤i≤2QFor example, as shown in FIG11, taking the case where the second device detects the first information without conflict in the i-th time slot as an example, if the second device fails to successfully detect the second information sent by the first device associated with the first information in the i-th time slot, the second device can adjust the collision probability once. If the second device successfully detects the second information sent by the first device associated with the first information, the collision probability does not need to be adjusted. The second device can also determine whether the i-th time slot is the last time slot of 2 Q time slots. If so, the detection of 2 Q time slots is completed. If not, a query repetition signaling is sent to detect the first information in the next time slot. Wherein, 1≤i≤2 Q.
可选的,第二设备可以根据未检测到的第二信息的数量,确定碰撞概率。Optionally, the second device may determine the collision probability according to the amount of undetected second information.
其中,当第二设备在第一天线的覆盖范围内检测到的第一信息的数量一定时,第二设备未成功检测到的第二信息的数量越多,碰撞概率越大,第二设备未成功检测到的第二信息的数量越少,碰撞概率越小。Among them, when the number of first information detected by the second device within the coverage range of the first antenna is certain, the more second information the second device fails to detect successfully, the greater the collision probability, and the fewer second information the second device fails to detect successfully, the smaller the collision probability.
可选的,第二设备在2Q个时隙中检测完第一信息和第二信息时,如果碰撞概率不为0,则表明第一天线的覆盖范围内存在待盘存的第一设备,第二设备可以通过第一天线发送查询调整信令,以对待盘存的第一设备进行盘存。Optionally, when the second device detects the first information and the second information in 2 Q time slots, if the collision probability is not 0, it indicates that there is a first device to be inventoried within the coverage of the first antenna, and the second device can send a query adjustment signaling through the first antenna to inventory the first device to be inventoried.
可选的,第二设备根据碰撞概率,确定第二Q值。Optionally, the second device determines a second Q value according to the collision probability.
其中,碰撞概率越大,第二Q值越大,碰撞概率越小,第二Q值越小。The greater the collision probability, the greater the second Q value, and the smaller the collision probability, the smaller the second Q value.
步骤1207、第一设备根据查询调整信令中的第二Q值,向第二设备发送第一信息。Step 1207: The first device sends the first information to the second device according to the second Q value in the query adjustment signaling.
其中,第一设备可以根据第二Q值,更新时隙计数器的初始值,并在时隙计数器的取值更新为0时向第二设备发送第一信息。The first device may update the initial value of the time slot counter according to the second Q value, and send the first information to the second device when the value of the time slot counter is updated to 0.
可选的,与上述步骤1206所不同的,如果第二设备成功检测到来自第一信息关联的第一设备的第二信息,第二设备可以向第一设备发送请求随机数命令,第一设备向第二设备发送16位随机数柄,进而第二设备可以通过向第一设备发送访问命令,实现对第一设备的访问。Optionally, different from the above step 1206, if the second device successfully detects the second information from the first device associated with the first information, the second device can send a random number request command to the first device, and the first device sends a 16-bit random number handle to the second device, and then the second device can access the first device by sending an access command to the first device.
可选的,如果第二设备在2Q个时隙中检测到的第一信息之间不存在冲突,且第二设备成功检测到来自第一信息关联的第一设备的第二信息,则第二设备可以将碰撞概率设置为0,进而切换到第二天线实现对第一设备的盘存。Optionally, if there is no conflict between the first information detected by the second device in 2 Q time slots, and the second device successfully detects the second information from the first device associated with the first information, the second device can set the collision probability to 0, and then switch to the second antenna to implement inventory of the first device.
基于上述图12所示的方法,示例性的,如图13所示,第二设备与单个第一设备之间可以参照图13中的(a)所示的链路时序进行通信。第二设备与多个第一设备之间可以参照图13中的(b)所示的链路时序进行通信。其中,T1可以表示从第二设备发射信号到第一设备响应的时间;T2可以表示从第一设备响应到第二设备发射信号的时间;T3可以表示第二设备在T1之后至其发出下一个信号前的等待时间;T4可以表示第二设备发送的信号之间的最小时间间隔。Based on the method shown in FIG. 12 above, illustratively, as shown in FIG. 13, the second device and a single first device may communicate with each other with reference to the link timing shown in (a) of FIG. 13. The second device and multiple first devices may communicate with each other with reference to the link timing shown in (b) of FIG. 13. Among them, T1 may represent the time from the second device transmitting a signal to the first device responding; T2 may represent the time from the first device responding to the second device transmitting a signal; T3 may represent the waiting time of the second device after T1 until it transmits the next signal; and T4 may represent the minimum time interval between signals transmitted by the second device.
当第二设备通过第一天线下发携带第一Q值的查询信令时,如果第二设备在T1时间内没有检测到第一信息,则第二设备可以认为第一天线的覆盖范围内没有待盘存的第一设备,第二设备可以直接切换到第二天线进行盘存。如果第二设备在T1时间内检测到第一信息,则第二设备可以参照上述图12所示的方法正常盘存第一设备。When the second device sends a query signaling carrying the first Q value through the first antenna, if the second device does not detect the first information within T1, the second device may consider that there is no first device to be inventoried within the coverage of the first antenna, and the second device may directly switch to the second antenna for inventory. If the second device detects the first information within T1, the second device may normally inventory the first device with reference to the method shown in FIG. 12 above.
基于上述图10至图13所示的方法,第二设备每次切换天线时,可以优先下发携带Q值为0的查 询命令,以快速检测第二设备的天线的覆盖范围内是否存在待盘存的第一设备。如果没有待盘存的第一设备,则第二设备可以直接切换到下一个天线进行盘存,如果存在待盘存的第一设备,第二设备可以正常对第一设备进行盘存,如果第一设备发生碰撞,第二设备还可以增大Q值,以降低第一设备之间的碰撞,实现对第一设备的盘存。Based on the method shown in FIG. 10 to FIG. 13, each time the second device switches the antenna, it can preferentially send the query with a Q value of 0. The query command is used to quickly detect whether there is a first device to be inventoried within the coverage of the antenna of the second device. If there is no first device to be inventoried, the second device can directly switch to the next antenna for inventory. If there is a first device to be inventoried, the second device can normally inventory the first device. If a collision occurs with the first device, the second device can also increase the Q value to reduce the collision between the first devices and implement the inventory of the first device.
可选的,基于上述对第一种可能的实现方式和第二种可能的实现方式的描述,第二设备对第一设备进行盘存时,可以采用上述第一种可能的实现方式,将初始Q值设置为较大的值,在盘存过程中自适应调整Q值,最终将Q值收敛为0,从而降低第一设备之间的碰撞概率,快速盘存大量第一设备,提高第一设备的盘存成功率。也可以采用上述第二种可能的实现方式,将初始Q值设置为较小的值,快速检测出第一天线的覆盖范围内是否存在待盘存的第一设备,如果没有待盘存的第一设备,直接切换到第二天线,降低第一天线的空转时延,提高盘存效率,如果存在待盘存的第一设备,可以将Q值增大,降低第一设备之间的碰撞概率,实现对第一设备的盘存,提高盘存成功率。Optionally, based on the description of the first possible implementation method and the second possible implementation method, when the second device takes inventory of the first device, the first possible implementation method may be adopted to set the initial Q value to a larger value, and the Q value may be adaptively adjusted during the inventory process, and the Q value may eventually converge to 0, thereby reducing the probability of collision between first devices, quickly taking inventory of a large number of first devices, and improving the success rate of the inventory of first devices. The second possible implementation method may also be adopted to set the initial Q value to a smaller value, and quickly detect whether there is a first device to be inventoried within the coverage of the first antenna. If there is no first device to be inventoried, directly switch to the second antenna, reduce the idling delay of the first antenna, and improve the inventory efficiency. If there is a first device to be inventoried, the Q value may be increased to reduce the probability of collision between first devices, implement the inventory of the first device, and improve the success rate of the inventory.
可选的,第二设备还包括第一开关,当第一开关处于开启状态时,第二设备采用上述第一种可能的实现方式对第一设备进行盘存,当第一开关处于关闭状态时,第二设备采用上述第二种可能的实现方式对第一设备进行盘存。或者,当第一开关处于开启状态时,第二设备采用上述第二种可能的实现方式对第一设备进行盘存,当第一开关处于关闭状态时,第二设备采用上述第一种可能的实现方式对第一设备进行盘存,不予限制。Optionally, the second device further includes a first switch, and when the first switch is in an on state, the second device uses the first possible implementation method to inventory the first device, and when the first switch is in an off state, the second device uses the second possible implementation method to inventory the first device. Alternatively, when the first switch is in an on state, the second device uses the second possible implementation method to inventory the first device, and when the first switch is in an off state, the second device uses the first possible implementation method to inventory the first device, without limitation.
需要说明的是,本申请实施例提供的各个方法可以单独实施,也可以结合起来实施,不予限制。It should be noted that the various methods provided in the embodiments of the present application can be implemented separately or in combination without limitation.
可以理解的,本申请实施例中,执行主体可以执行本申请实施例中的部分或全部步骤,这些步骤或操作仅是示例,本申请实施例还可以执行其它操作或者各种操作的变形。此外,各个步骤可以按照本申请实施例呈现的不同的顺序来执行,并且有可能并非要执行本申请实施例中的全部操作。It is understandable that in the embodiments of the present application, the execution subject may execute some or all of the steps in the embodiments of the present application, and these steps or operations are only examples, and the embodiments of the present application may also execute other operations or variations of various operations. In addition, the various steps may be executed in different orders presented in the embodiments of the present application, and it is possible that not all operations in the embodiments of the present application need to be executed.
上述主要从设备之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,各个设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the solution provided by the embodiment of the present application from the perspective of interaction between devices. It is understandable that, in order to realize the above functions, each device includes a hardware structure and/or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware 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 the present application.
本申请实施例可以根据上述方法示例对各个设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application can divide the functional modules of each device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,图14示出了一种通信装置140,通信装置140可以执行上述图10至图13中第一设备执行的动作,或者执行上述图10至图13中第二设备执行的动作,不予限制。In the case of dividing each functional module according to each function, Figure 14 shows a communication device 140, which can execute the actions performed by the first device in Figures 10 to 13 above, or execute the actions performed by the second device in Figures 10 to 13 above, without limitation.
其中,通信装置140可以包括收发模块1401和处理模块1402。示例性地,通信装置140可以是软件模块、硬件电路、或软件模块加硬件电路,或者可以是应用于通信装置中的芯片或者其他具有上述通信装置功能的组合器件、部件等。当通信装置140是硬件装置时,收发模块1401可以是收发器,收发器可以包括接口电路、管脚、或天线和射频电路等;处理模块1402可以是处理器(或者,处理电路),例如基带处理器,基带处理器中可以包括一个或多个CPU。当通信装置140是具有上述通信装置功能的部件时,收发模块1401可以是射频单元;处理模块1402可以是处理器(或者,处理电路),例如基带处理器。当通信装置140是芯片系统时,收发模块1401可以是芯片(例如基带芯片)的输入输出接口;处理模块1402可以是芯片系统的处理器(或者,处理电路),可以包括一个或多个中央处理单元。应理解,本申请实施例中的收发模块1401可以由收发器或收发器相关电路组件实现;处理模块1402可以由处理器或处理器相关电路组件(或者,称为处理电路)实现。Wherein, the communication device 140 may include a transceiver module 1401 and a processing module 1402. Exemplarily, the communication device 140 may be a software module, a hardware circuit, or a software module plus a hardware circuit, or may be a chip applied to a communication device or other combined devices, components, etc. having the functions of the above-mentioned communication device. When the communication device 140 is a hardware device, the transceiver module 1401 may be a transceiver, and the transceiver may include an interface circuit, a pin, or an antenna and a radio frequency circuit, etc.; the processing module 1402 may be a processor (or a processing circuit), such as a baseband processor, and the baseband processor may include one or more CPUs. When the communication device 140 is a component having the functions of the above-mentioned communication device, the transceiver module 1401 may be a radio frequency unit; the processing module 1402 may be a processor (or a processing circuit), such as a baseband processor. When the communication device 140 is a chip system, the transceiver module 1401 may be an input and output interface of a chip (such as a baseband chip); the processing module 1402 may be a processor (or a processing circuit) of the chip system, and may include one or more central processing units. It should be understood that the transceiver module 1401 in the embodiment of the present application can be implemented by a transceiver or a transceiver-related circuit component; the processing module 1402 can be implemented by a processor or a processor-related circuit component (or, referred to as a processing circuit).
例如,收发模块1401可以用于执行图10至图13所示的实施例中由通信装置所执行的全部收发操作,和/或用于支持本文所描述的技术的其它过程;处理模块1402可以用于执行图10至图13所示的实施例中由通信装置所执行的除了收发操作之外的全部操作,和/或用于支持本文所描述的技术的其它过程。 For example, the transceiver module 1401 can be used to perform all transceiver operations performed by the communication device in the embodiments shown in Figures 10 to 13, and/or to support other processes of the technology described in this document; the processing module 1402 can be used to perform all operations except the transceiver operations performed by the communication device in the embodiments shown in Figures 10 to 13, and/or to support other processes of the technology described in this document.
作为又一种可实现方式,图14中的收发模块1401可以由收发器代替,该收发器可以集成收发模块1401的功能;处理模块1402可以由处理器代替,该处理器可以集成处理模块1402的功能。进一步的,图14所示通信装置140还可以包括存储器。As another possible implementation, the transceiver module 1401 in FIG14 may be replaced by a transceiver, which may integrate the functions of the transceiver module 1401; the processing module 1402 may be replaced by a processor, which may integrate the functions of the processing module 1402. Furthermore, the communication device 140 shown in FIG14 may also include a memory.
可替换的,当处理模块1402由处理器代替,收发模块1401由收发器代替时,本申请实施例所涉及的通信装置140还可以为图15所示的通信装置150,其中,处理器可以为逻辑电路1501,收发器可以是接口电路1502。进一步的,图15所示通信装置150还可以包括存储器1503。Alternatively, when the processing module 1402 is replaced by a processor and the transceiver module 1401 is replaced by a transceiver, the communication device 140 involved in the embodiment of the present application may also be the communication device 150 shown in FIG15 , wherein the processor may be a logic circuit 1501 and the transceiver may be an interface circuit 1502. Further, the communication device 150 shown in FIG15 may also include a memory 1503.
本申请实施例还提供了一种计算机程序产品,该计算机程序产品被计算机执行时可以实现上述任一方法实施例的功能。The embodiments of the present application also provide a computer program product, which can implement the functions of any of the above method embodiments when executed by a computer.
本申请实施例还提供了一种计算机程序,该计算机程序被计算机执行时可以实现上述任一方法实施例的功能。The embodiments of the present application also provide a computer program, which can implement the functions of any of the above method embodiments when executed by a computer.
本申请实施例还提供了一种计算机可读存储介质。上述方法实施例中的全部或者部分流程可以由计算机程序来指令相关的硬件完成,该程序可存储于上述计算机可读存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。计算机可读存储介质可以是前述任一实施例的终端(包括数据发送端和/或数据接收端)的内部存储单元,例如终端的硬盘或内存。上述计算机可读存储介质也可以是上述终端的外部存储设备,例如上述终端上配备的插接式硬盘,智能存储卡(smart media card,SMC),安全数字(secure digital,SD)卡,闪存卡(flash card)等。进一步地,上述计算机可读存储介质还可以既包括上述终端的内部存储单元也包括外部存储设备。上述计算机可读存储介质用于存储上述计算机程序以及上述终端所需的其他程序和数据。上述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。The embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by a computer program to instruct the relevant hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The computer-readable storage medium can be an internal storage unit of the terminal (including the data sending end and/or the data receiving end) of any of the above embodiments, such as the hard disk or memory of the terminal. The above computer-readable storage medium can also be an external storage device of the above terminal, such as a plug-in hard disk equipped on the above terminal, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. Further, the above computer-readable storage medium can also include both the internal storage unit of the above terminal and an external storage device. The above computer-readable storage medium is used to store the above computer program and other programs and data required by the above terminal. The above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.
需要说明的是,本申请的说明书、权利要求书及附图中的术语“第一”和“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the specification, claims and drawings of the present application are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上,“至少两个(项)”是指两个或三个及三个以上,“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。It should be understood that in the present application, "at least one (item)" means one or more, "more than one" means two or more, "at least two (items)" means two or three and more than three, and "and/or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and/or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character "/" generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者该技术方案的全部或部分 可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。 If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or all or part of the technical solution. It can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for enabling a device (which may be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or optical disk and other media that can store program codes.

Claims (27)

  1. 一种通信方法,其特征在于,包括:A communication method, comprising:
    通过第一天线发送查询信令;其中,所述查询信令用于指示第一时隙计数参数Q值,所述第一Q值为0,所述Q值用于检测第一设备;Sending a query signaling through the first antenna; wherein the query signaling is used to indicate a first time slot counting parameter Q value, the first Q value is 0, and the Q value is used to detect the first device;
    如果在2Q个时隙中未检测到来自所述第一设备的第一信息,切换到第二天线发送所述查询信令。If the first information from the first device is not detected in 2 Q time slots, the second antenna is switched to send the query signaling.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, characterized in that the method further comprises:
    如果在2Q个时隙中未检测到所述第一信息,将碰撞概率设置为0;其中,所述碰撞概率为一个或多个所述第一设备之间的碰撞概率。If the first information is not detected in 2 Q time slots, the collision probability is set to 0; wherein the collision probability is a collision probability between one or more of the first devices.
  3. 根据权利要求2所述的方法,其特征在于,所述切换到所述第二天线发送所述查询信令,包括:The method according to claim 2, characterized in that the switching to the second antenna to send the query signaling comprises:
    如果所述碰撞概率为0,切换到所述第二天线发送所述查询信令。If the collision probability is 0, switching to the second antenna to send the query signaling.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, characterized in that the method further comprises:
    如果在所述2Q个时隙中检测到至少两个存在冲突的第一信息,发送查询调整信令;其中,所述至少两个存在冲突的第一信息是在相同时隙中检测到的至少两个第一信息;所述查询调整信令包括第二Q值,所述第二Q值大于所述第一Q值。If at least two conflicting first information are detected in the 2 Q time slots, a query adjustment signaling is sent; wherein the at least two conflicting first information are at least two first information detected in the same time slot; the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, characterized in that the method further comprises:
    对于第i个时隙,其中,1≤i≤2QFor the i-th time slot, where 1≤i≤2 Q ;
    如果在第i个时隙中检测到至少两个存在冲突的第一信息,对碰撞概率进行一次调整;If at least two conflicting first information are detected in the i-th time slot, the collision probability is adjusted once;
    如果在第i个时隙中未检测到至少两个存在冲突的第一信息,不对碰撞概率进行调整。If at least two conflicting first information are not detected in the i-th time slot, the collision probability is not adjusted.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, characterized in that the method further comprises:
    如果在所述2Q个时隙中检测到的第一信息之间不存在冲突,向所述第一信息关联的第一设备发送确认信息;If there is no conflict between the first information detected in the 2 Q time slots, sending confirmation information to the first device associated with the first information;
    如果未成功检测到来自所述第一信息关联的第一设备的第二信息,发送查询调整信令;If the second information from the first device associated with the first information is not successfully detected, sending a query adjustment signaling;
    其中,所述查询调整信令包括第二Q值,所述第二Q值大于所述第一Q值。The query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, characterized in that the method further comprises:
    对于第i个时隙,其中,1≤i≤2QFor the i-th time slot, where 1≤i≤2 Q ;
    如果在第i个时隙中检测到不存在冲突的第一信息,但未成功检测到来自所述第一信息关联的第一设备的第二信息,对碰撞概率进行一次调整;If a non-conflicting first message is detected in the i-th time slot, but a second message from a first device associated with the first message is not successfully detected, adjusting the collision probability once;
    如果在第i个时隙中检测到不存在冲突的第一信息,且成功检测到来自所述第一信息关联的第一设备的第二信息,不对碰撞概率进行调整。If non-conflicting first information is detected in the i-th time slot, and second information from a first device associated with the first information is successfully detected, no adjustment is made to the collision probability.
  8. 根据权利要求5或7所述的方法,其特征在于,所述发送所述查询调整信令,包括:The method according to claim 5 or 7, characterized in that the sending of the query adjustment signaling comprises:
    在所述2Q个时隙中检测完所述第一信息时,如果所述碰撞概率不为0,发送所述查询调整信令。When the first information is detected in the 2 Q time slots, if the collision probability is not 0, the query adjustment signaling is sent.
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, characterized in that the method further comprises:
    根据所述碰撞概率,确定所述第二Q值。The second Q value is determined according to the collision probability.
  10. 一种通信方法,其特征在于,包括:A communication method, comprising:
    接收来自第二设备的查询信息;其中;所述查询信息包括第一时隙计数参数Q值,所述第一Q值为0;Receive query information from a second device; wherein the query information includes a first time slot count parameter Q value, and the first Q value is 0;
    根据所述第一Q值,确定时隙计数器的初始值;Determining an initial value of a time slot counter according to the first Q value;
    当所述时隙计数器的取值更新为0时,向所述第二设备发送第一信息。When the value of the time slot counter is updated to 0, first information is sent to the second device.
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method according to claim 10, characterized in that the method further comprises:
    接收来自所述第二设备的查询调整信令;其中,所述查询调整信令包括第二Q值,所述第二Q值大于所述第一Q值;receiving a query adjustment signaling from the second device; wherein the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value;
    根据所述第二Q值,更新所述时隙计数器的初始值。According to the second Q value, an initial value of the time slot counter is updated.
  12. 一种通信装置,其特征在于,包括:A communication device, comprising:
    收发模块,用于通过第一天线发送查询信令;其中,所述查询信令用于指示第一时隙计数参数Q值,所述第一Q值为0,所述Q值用于检测第一设备;A transceiver module, configured to send a query signaling through a first antenna; wherein the query signaling is used to indicate a first time slot counting parameter Q value, the first Q value is 0, and the Q value is used to detect a first device;
    收发模块,还用于如果处理模块在2Q个时隙中未检测到来自所述第一设备的第一信息,切换到第二天线发送所述查询信令。 The transceiver module is further configured to switch to the second antenna to send the query signaling if the processing module fails to detect the first information from the first device in 2 Q time slots.
  13. 根据权利要求12所述的装置,其特征在于,The device according to claim 12, characterized in that
    所述处理模块,还用于如果在2Q个时隙中未检测到所述第一信息,将碰撞概率设置为0;其中,所述碰撞概率为一个或多个所述第一设备之间的碰撞概率。The processing module is further configured to set the collision probability to 0 if the first information is not detected in 2 Q time slots; wherein the collision probability is a collision probability between one or more of the first devices.
  14. 根据权利要求13所述的装置,其特征在于,The device according to claim 13, characterized in that
    所述收发模块,具体用于如果所述碰撞概率为0,切换到所述第二天线发送所述查询信令。The transceiver module is specifically configured to switch to the second antenna to send the query signaling if the collision probability is 0.
  15. 根据权利要求12-14任一项所述的装置,其特征在于,The device according to any one of claims 12 to 14, characterized in that
    所述收发模块,还用于如果所述处理模块在所述2Q个时隙中检测到至少两个存在冲突的第一信息,发送查询调整信令;其中,所述至少两个存在冲突的第一信息是在相同时隙中检测到的至少两个第一信息;所述查询调整信令包括第二Q值,所述第二Q值大于所述第一Q值。The transceiver module is also used to send a query adjustment signaling if the processing module detects at least two conflicting first information in the 2 Q time slots; wherein the at least two conflicting first information are at least two first information detected in the same time slot; the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value.
  16. 根据权利要求15所述的装置,其特征在于,The device according to claim 15, characterized in that
    对于第i个时隙,其中,1≤i≤2QFor the i-th time slot, where 1≤i≤2 Q ;
    所述处理模块,还用于如果在第i个时隙中检测到至少两个存在冲突的第一信息,对碰撞概率进行一次调整;The processing module is further configured to adjust the collision probability once if at least two conflicting first information are detected in the i-th time slot;
    所述处理模块,还用于如果在第i个时隙中未检测到至少两个存在冲突的第一信息,不对碰撞概率进行调整。The processing module is further configured to not adjust the collision probability if at least two conflicting first information are not detected in the i-th time slot.
  17. 根据权利要求12-16任一项所述的装置,其特征在于,The device according to any one of claims 12 to 16, characterized in that
    所述收发模块,还用于如果所述处理模块在所述2Q个时隙中检测到的第一信息之间不存在冲突,向所述第一信息关联的第一设备发送确认信息;The transceiver module is further configured to send confirmation information to the first device associated with the first information if there is no conflict between the first information detected by the processing module in the 2 Q time slots;
    所述收发模块,还用于如果所述处理模块未成功检测到来自所述第一信息关联的第一设备的第二信息,发送查询调整信令;The transceiver module is further configured to send a query adjustment signaling if the processing module fails to successfully detect the second information from the first device associated with the first information;
    其中,所述查询调整信令包括第二Q值,所述第二Q值大于所述第一Q值。The query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value.
  18. 根据权利要求17所述的装置,其特征在于,The device according to claim 17, characterized in that
    对于第i个时隙,其中,1≤i≤2QFor the i-th time slot, where 1≤i≤2 Q ;
    所述处理模块,还用于如果在第i个时隙中检测到不存在冲突的第一信息,但未成功检测到来自所述第一信息关联的第一设备的第二信息,对碰撞概率进行一次调整;The processing module is further configured to adjust the collision probability once if first information without conflict is detected in the i-th time slot, but second information from the first device associated with the first information is not successfully detected;
    所述处理模块,还用于如果在第i个时隙中检测到不存在冲突的第一信息,且成功检测到来自所述第一信息关联的第一设备的第二信息,不对碰撞概率进行调整。The processing module is further configured to not adjust the collision probability if non-conflicting first information is detected in the i-th time slot and second information from a first device associated with the first information is successfully detected.
  19. 根据权利要求16或18所述的装置,其特征在于,The device according to claim 16 or 18, characterized in that
    所述收发模块,还用于所述处理模块在所述2Q个时隙中检测完所述第一信息时,如果所述碰撞概率不为0,发送所述查询调整信令。The transceiver module is further configured to send the query adjustment signaling if the collision probability is not 0 when the processing module detects the first information in the 2 Q time slots.
  20. 根据权利要求19所述的装置,其特征在于,The device according to claim 19, characterized in that
    所述处理模块,还用于根据所述碰撞概率,确定所述第二Q值。The processing module is further used to determine the second Q value according to the collision probability.
  21. 一种通信装置,其特征在于,包括:A communication device, comprising:
    收发模块,用于接收来自第二设备的查询信息;其中;所述查询信息包括第一时隙计数参数Q值,所述第一Q值为0;A transceiver module, configured to receive query information from a second device; wherein the query information includes a first time slot counting parameter Q value, and the first Q value is 0;
    处理模块,用于根据所述第一Q值,确定时隙计数器的初始值;A processing module, used to determine an initial value of a time slot counter according to the first Q value;
    所述收发模块,还用于当所述时隙计数器的取值更新为0时,向所述第二设备发送第一信息。The transceiver module is further configured to send first information to the second device when the value of the time slot counter is updated to 0.
  22. 根据权利要求21所述的装置,其特征在于,The device according to claim 21, characterized in that
    所述收发模块,还用于接收来自所述第二设备的查询调整信令;其中,所述查询调整信令包括第二Q值,所述第二Q值大于所述第一Q值;The transceiver module is further used to receive a query adjustment signaling from the second device; wherein the query adjustment signaling includes a second Q value, and the second Q value is greater than the first Q value;
    所述处理模块,还用于根据所述第二Q值,更新所述时隙计数器的初始值。The processing module is further used to update the initial value of the time slot counter according to the second Q value.
  23. 一种通信装置,其特征在于,所述通信装置包括处理器;所述处理器,用于运行计算机程序或指令,以使所述通信装置执行如权利要求1-9任一项所述的通信方法。A communication device, characterized in that the communication device comprises a processor; the processor is used to run a computer program or instruction so that the communication device executes the communication method as described in any one of claims 1-9.
  24. 一种通信装置,其特征在于,所述通信装置包括处理器;所述处理器,用于运行计算机程序或指令,以使所述通信装置执行如权利要求10-11任一项所述的通信方法。A communication device, characterized in that the communication device comprises a processor; the processor is used to run a computer program or instruction so that the communication device executes the communication method as described in any one of claims 10-11.
  25. 一种计算机可读存储介质,其特征在于,计算机可读存储介质存储有计算机指令或程序,当计算机指令或程序在计算机上运行时,使得如权利要求1-9任一项所述的通信方法被执行,或者如权利要 求10-11任一项所述的通信方法被执行。A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions or programs, and when the computer instructions or programs are run on a computer, the communication method according to any one of claims 1 to 9 is executed, or the communication method according to any one of claims 1 to 9 is executed. The communication method described in any one of items 10-11 is executed.
  26. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机指令;当部分或全部所述计算机指令在计算机上运行时,使得如权利要求1-9任一项所述的通信方法被执行,或者如权利要求10-11任一项所述的通信方法被执行。A computer program product, characterized in that the computer program product includes computer instructions; when part or all of the computer instructions are run on a computer, the communication method as described in any one of claims 1 to 9 is executed, or the communication method as described in any one of claims 10 to 11 is executed.
  27. 一种通信系统,其特征在于,包括权利要求12-20和23任一项所述的通信装置和权利要求21或22或24所述的通信装置。 A communication system, characterized by comprising the communication device described in any one of claims 12-20 and 23 and the communication device described in claim 21, 22 or 24.
PCT/CN2023/123230 2022-10-21 2023-10-07 Communication method and apparatus WO2024082967A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211296381.3A CN117917670A (en) 2022-10-21 2022-10-21 Communication method and device
CN202211296381.3 2022-10-21

Publications (1)

Publication Number Publication Date
WO2024082967A1 true WO2024082967A1 (en) 2024-04-25

Family

ID=90729730

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/123230 WO2024082967A1 (en) 2022-10-21 2023-10-07 Communication method and apparatus

Country Status (2)

Country Link
CN (1) CN117917670A (en)
WO (1) WO2024082967A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103039036A (en) * 2011-08-09 2013-04-10 华为技术有限公司 Method and system for calculating number of users
CN105224970A (en) * 2015-10-09 2016-01-06 上海电机学院 A kind of RFID anti-collision method
CN108052855A (en) * 2018-01-08 2018-05-18 广西大学 Suitable for the new Q values anti-collision algorithm of RFID system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103039036A (en) * 2011-08-09 2013-04-10 华为技术有限公司 Method and system for calculating number of users
CN105224970A (en) * 2015-10-09 2016-01-06 上海电机学院 A kind of RFID anti-collision method
CN108052855A (en) * 2018-01-08 2018-05-18 广西大学 Suitable for the new Q values anti-collision algorithm of RFID system

Also Published As

Publication number Publication date
CN117917670A (en) 2024-04-23

Similar Documents

Publication Publication Date Title
US11546013B2 (en) Electronic device performing ranging operation by using ultra wide-band and operation method of the electronic device
KR100912076B1 (en) Apparatus and method for Integrated Reader and Tag
CN107516057B (en) Label anti-collision method and active radio frequency identification label
WO2014113988A1 (en) Anti-collision method and device for multi-reader
WO2022160265A1 (en) Communication method and communication apparatus
US9628149B2 (en) Emulation of multiple NFC devices inside a communication device
WO2024082967A1 (en) Communication method and apparatus
CN112528688B (en) Radio frequency tag control method, response method and device, storage medium, reader and radio frequency tag
WO2023077917A1 (en) Communication method and device
KR101465661B1 (en) Method for recognizing tag in environment using same frequency band, NFC device for the same
US10796112B2 (en) Protocol layer coordination of wireless energy transfer systems
WO2024093740A1 (en) Communication method and apparatus
JP5143464B2 (en) DATA READING DEVICE, DATA READING SYSTEM, AND DATA READING METHOD
WO2024088147A1 (en) Communication method and apparatus
WO2023124985A1 (en) Identification method and apparatus
WO2024041309A1 (en) Communication method and apparatus
WO2022178850A1 (en) Information transmission method and apparatus
WO2024092414A1 (en) Collision arbitration based on energy levels
CN115618908B (en) Article turnover checking method, device and system based on RFID
JP4451334B2 (en) Data communication method and reader / writer
Su et al. Multichannel reader collision avoidance mechanism in RFID-sensor integrated networks
WO2023045814A1 (en) Inventory counting method and apparatus for terminal devices
WO2024093744A1 (en) Cell selection method and terminal device
WO2023092945A1 (en) Communication method, node, device, communication system, and storage medium
WO2008013418A1 (en) Apparatus and method for integrated reader and tag