Communication methods, and apparatus

By carrying random access opportunity numbering and adjusting counter policies in RFID signaling, the problem of access conflicts in RFID systems after enhanced coverage is solved, and access efficiency and system performance are improved.

WO2024244908A1PCT designated stage expired Publication Date: 2024-12-05HUAWEI TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/091252
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-26
Filing Date
2024-05-06
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

In RFID technology, tags in poor coverage areas after the coverage is enhanced may not receive certain QueryRep signaling, resulting in inaccurate counting, which in turn causes a large number of tags to initiate random access at the same time, causing access conflicts and reducing access efficiency.

Method used

By carrying information of random access opportunity number in signaling, the tag can determine the current random access opportunity, avoid initiating access in other opportunities, reduce the chance of conflict, and improve access by adjusting the counter and inventory flag bits strategy Enter efficiency.

Benefits of technology

It effectively reduces the chance of access conflicts, improves access efficiency, ensures that the tag accurately selects random access opportunities, avoids data transmission conflicts, and improves the overall performance of the communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024091252_05122024_PF_FP_ABST
    Figure CN2024091252_05122024_PF_FP_ABST
Patent Text Reader

Abstract

Communication methods, and an apparatus. A method comprises: a second communication apparatus (such as a reader-writer) sends a first signaling, indicating the number N of random access opportunities, N being a positive integer; the second communication apparatus further sends a second signaling, the second signaling comprising first information, the first information indicating the serial number of a first random access opportunity, and the serial number of the first random access opportunity being less than or equal to N-1; and a first communication apparatus (such as a tag) receives the first signaling and the second signaling, and according to the first information, determines whether to initiate random access in the first random access opportunity. On the basis of the solution, the second communication apparatus indicates the serial number of a random access opportunity, such that the first communication apparatus can determine whether the current random access opportunity is a random access opportunity of the first communication apparatus, then initiates random access in the random access opportunity of its own so as to avoid initiation of random access in other random access opportunities, thus reducing the probability of occurrence of access conflicts with other communication apparatuses, and improving access efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method and device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 26, 2023, with application number 202310613884.7 and application name “A Communication Method and Device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of communications, and in particular to a communication method and apparatus. Background Art

[0003] Radio frequency identification (RFID) is a contactless, automatic identification technology. An RFID system typically consists of a reader and a tag. The reader can transmit a continuous wave (CW) to provide energy or a carrier wave to the tag. It can also send signaling to page the tag, instructing it to initiate random access, and perform other operations.

[0004] For example, the tag may select a random number as the initial value of a counter based on the Q value provided by the reader, and then decrement the counter by 1 each time a QueryRep signaling is received. When the counter is equal to 0, the tag initiates random access.

[0005] However, after coverage enhancement, tags in poor coverage areas may not receive one or more QuerpRep signalings, resulting in inaccurate tag counting, which may cause a large number of tags to initiate random access simultaneously in later random access opportunities, leading to access conflicts.

[0006] Summary of the Invention

[0007] The present application provides a communication method and device, which can reduce the probability of access conflicts and improve access efficiency.

[0008] In a first aspect, a communication method is provided. The method can be performed by a first communication device, or by a component of the first communication device, such as a processor, chip, or chip system of the first communication device. The method can also be implemented by a logic module or software that implements all or part of the functions of the first communication device. The method includes: receiving first signaling, the first signaling indicating a number N of random access opportunities, where N is a positive integer; receiving second signaling, the second signaling including first information indicating a number of a first random access opportunity, where the number of the first random access opportunity is less than or equal to N-1; and determining whether to initiate random access in the first random access opportunity based on the first information.

[0009] Based on this solution, the second communication device carries information indicating the random access opportunity number in the signaling it sends, so that the first communication device can determine the number of the current random access opportunity, thereby determining whether the current random access opportunity is the random access opportunity of the first communication device, and then initiate random access in its own random access opportunity, avoiding initiating random access in other random access opportunities, reducing the probability of access conflicts with other communication devices, and improving access efficiency.

[0010] In one possible design, determining whether to initiate random access in the first random access opportunity based on the first information includes: when the number of the first random access opportunity is equal to the first numerical value, determining to initiate random access in the first random access opportunity; when the number of the first random access opportunity is not equal to the first numerical value, determining not to initiate random access in the first random access opportunity.

[0011] Based on this possible design, the first communications device can determine whether to initiate random access in the first random access opportunity by comparing the first random access opportunity number with the first value. Compared to maintaining a counter, this can reduce implementation complexity, thereby reducing the design complexity of the first communications device.

[0012] In a second aspect, a communication method is provided. The method can be performed by a second communication device, or by a component of the second communication device, such as a processor, chip, or chip system of the second communication device. It can also be implemented by a logic module or software that implements all or part of the functions of the second communication device. The method includes: sending first signaling, where the first signaling indicates the number N of random access opportunities, where N is a positive integer; and sending second signaling, where the second signaling includes first information, where the first information indicates the number of a first random access opportunity, where the number of the first random access opportunity is less than or equal to N-1. The technical effects of the second aspect can be referenced to the technical effects of the first aspect described above and are not further elaborated here.

[0013] In one possible design, the first signaling also includes second information, where the second information indicates a number of a second random access opportunity, and the number of the second random access opportunity is smaller than the number of the first random access opportunity.

[0014] In combination with the first aspect or the second aspect, in one possible design, the first information is P-bit information, 2 P ≥N, P is a positive integer. Based on this possible design, the number of the first random access opportunity can be directly indicated by the value of the P-bit information, thereby reducing the complexity of the first communication device in calculating the random access opportunity number.

[0015] In combination with the first aspect or the second aspect, in one possible design, the first information is M bits of information, 2 M<N and M are positive integers.

[0016] Combined with the first aspect or the second aspect, in a possible design, the value of the M-bit information is greater than or equal to 0 and less than or equal to 2 M -1, the value of the M-bit information is an integer, and the number counter of the first random access opportunity satisfies: counter = (K - 1) × 2 M +x+1;

[0017] where K is the number of rounds, K is a positive integer, and x is the value of the M-bit information.

[0018] Based on the above two possible designs, indicating the number of the random access opportunity through the M-bit information can save signaling overhead.

[0019] Combined with the first aspect, in a possible design, when the value of the M-bit information is less than or equal to the second value, the value of K is equal to the third value plus 1; when the value of the M-bit information is greater than the second value, the value of K is equal to the third value. The second value is the latest relative number before receiving the second signaling, and the third value is the latest number of rounds before receiving the second signaling.

[0020] Based on this possible design, the first communication device can adjust the current number of rounds according to the latest relative number and the latest number of rounds it maintains, improve the accuracy of the determined random access opportunity number, thereby improving the accuracy of the first communication device to determine its own random access opportunity, avoiding access conflicts with other communication devices caused by initiating random access in other random access opportunities, and improving access efficiency.

[0021] In a third aspect, a communication method is provided. This method can be executed by the first communication device, or by components of the first communication device, such as the processor, chip, or chip system of the first communication device, etc., and can also be implemented by a logic module or software that can implement all or part of the functions of the first communication device. The method includes: sending data to the second communication device in the third random access opportunity; receiving second information from the second communication device, where the second information indicates that the first communication device does not flip the state of the first inventory flag bit, and the first inventory flag bit is the inventory flag bit of the second communication device's inventory in this round; determining not to flip the state of the first inventory flag bit according to the second information.

[0022] Based on this solution, the second communication device instructs the first communication device not to flip the inventory flag bit of this round of inventory. In the case where the data of the first communication device is not successfully transmitted, it can enable the first communication device to still have the opportunity to initiate random access in subsequent inventory cycles to send data to the second communication device, avoiding missing some first communication devices and improving communication efficiency.

[0023] In a fourth aspect, a communication method is provided. This method can be performed by a second communication device, or by a component of the second communication device, such as a processor, chip, or chip system of the second communication device. It can also be implemented by a logic module or software that implements all or part of the functions of the second communication device. The method includes: determining that data from multiple first communication devices collides in a third random access opportunity; and sending second information to the multiple first communication devices, the second information instructing the first communication devices not to flip the state of a first inventory flag, where the first inventory flag is the inventory flag of the second communication device in the current round of inventory.

[0024] Based on this solution, when the second communication device determines that a data collision occurs in a random access opportunity, it can instruct multiple first communication devices that have collided not to flip the inventory flag bits of this round of inventory, so that the multiple first communication devices can still have the opportunity to initiate random access in subsequent inventory cycles to send data to the second communication device, avoiding missing some first communication devices and improving communication efficiency.

[0025] In one possible design, determining that data of the plurality of first communications devices collides in the third random access opportunity includes: failing to correctly decode data received in the third random access opportunity.

[0026] In combination with the third aspect or the fourth aspect, in one possible design, the second information indicates that the first communication device does not flip the state of the first inventory flag, including at least one of the following: the second information indicates that the data transmission of the first communication device fails; the second information indicates that the access of the first communication device fails; the second information indicates that the data transmission of the first communication device collides.

[0027] In a fifth aspect, a communication method is provided. The method can be performed by a second communication device, or by a component of the second communication device, such as a processor, chip, or chip system of the second communication device, or by a logic module or software capable of implementing all or part of the functions of the second communication device. The method includes: sending a first signaling indicating the number of random access opportunities, N, where N is a positive integer; and sending L third signalings, each corresponding to a random access opportunity, where L is a positive integer greater than N.

[0028] Based on this scheme, the second communication device sends L third signalings so that the number of random access opportunities actually triggered is greater than the number N of random access opportunities indicated by the first signaling, thereby providing random access opportunities to the first communication device that has not successfully received certain third signalings, so that the first communication device can initiate random access as much as possible, thereby improving the efficiency of random access.

[0029] In one possible design, the value of L is determined according to a channel bit error rate between the target first communication device and the second communication device.

[0030] In one possible design, the value of L satisfies the following relationship:

[0031] Where y represents the channel bit error rate. Indicates rounding up.

[0032] In a sixth aspect, a communication device is provided for implementing the various methods described above. The communication device includes modules, units, or means corresponding to the implementation methods. The modules, units, or means can be implemented in hardware, software, or by hardware executing corresponding software implementations. The hardware or software includes one or more modules or units corresponding to the functions.

[0033] In some possible designs, the communication device may include a processing module and a transceiver module. The processing module may be used to implement the processing functions in any of the above aspects and any possible implementations thereof. The transceiver module, also referred to as a transceiver unit, is used to implement the sending and / or receiving functions in any of the above aspects and any possible implementations thereof. The transceiver module may be composed of a transceiver circuit, a transceiver, a transceiver, or a communication interface.

[0034] In some possible designs, the transceiver module includes a sending module and / or a receiving module, which are used to implement the sending or receiving functions in any of the above aspects and any possible implementation methods.

[0035] In the seventh aspect, a communication device is provided, comprising: a processor and a communication interface; the communication interface is used to communicate with a module outside the communication device; the processor is used to execute a computer program or instruction so that the communication device executes the method described in any aspect.

[0036] In an eighth aspect, a communication device is provided, comprising: at least one processor; the processor is configured to execute a computer program or instruction stored in a memory, so that the communication device performs the method described in any one of the aspects. The memory may be coupled to the processor, or the memory may exist independently of the processor, for example, the memory and the processor are two independent modules. The memory may be located externally or internally of the communication device.

[0037] In a ninth aspect, a computer-readable storage medium is provided, in which a computer program or instruction is stored. When the computer-readable storage medium is run on a communication device, the communication device can execute the method described in any one of the aspects.

[0038] In a tenth aspect, a computer program product comprising instructions is provided, which, when executed on a communication device, enables the communication device to execute the method described in any one of the aspects.

[0039] The communication device provided in any of aspects 6 to 10 may be the first communication device of aspect 1 or aspect 3, or a device included in the first communication device, such as a chip or a chip system; or the communication device may be the second communication device of aspect 2, aspect 4, or aspect 5, or a device included in the second communication device, such as a chip or a chip system. When the device is a chip system, it may be composed of a chip or may include a chip and other discrete components.

[0040] It can be understood that when the communication device provided in any one of the sixth to tenth aspects is a chip, the sending action / function of the communication device can be understood as output information, and the receiving action / function of the communication device can be understood as input information.

[0041] Among them, the technical effects brought about by any design method in the sixth to tenth aspects can refer to the technical effects brought about by different design methods in the first to fifth aspects, and will not be repeated here.

[0042] In an eleventh aspect, a communication system is provided, which includes the first communication device described in the above aspect and the second communication device described in the above aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] FIG1 is a schematic diagram of the working principle of an RFID system provided by this application;

[0044] FIG2 is a schematic diagram of a communication link between a reader and a tag in a distributed architecture provided by this application;

[0045] FIG3 is a schematic diagram of a random access process provided by the present application;

[0046] FIG4 is a schematic diagram of an access conflict scenario provided by the present application;

[0047] FIG5 is a schematic structural diagram of a communication system provided by the present application;

[0048] FIG6 is a schematic diagram of the structure of another communication system provided by the present application;

[0049] FIG7 is a schematic structural diagram of another communication system provided by the present application;

[0050] FIG8 is a flow chart of a communication method provided by the present application;

[0051] FIG9 is a schematic diagram of a random access opportunity provided by the present application;

[0052] FIG10 is a schematic diagram of a signaling provided by this application;

[0053] FIG11 is a schematic diagram illustrating a random access opportunity number provided by the present application;

[0054] FIG12 is a schematic diagram of a data conflict scenario provided by this application;

[0055] FIG13 is a flow chart of another communication method provided by the present application;

[0056] FIG14 is a flow chart of another communication method provided by the present application;

[0057] FIG15 is a schematic diagram of a random access opportunity provided by the present application;

[0058] FIG16 is a schematic structural diagram of a communication device provided by the present application;

[0059] FIG17 is a schematic structural diagram of another communication device provided by the present application;

[0060] FIG18 is a schematic structural diagram of another communication device provided in this application. DETAILED DESCRIPTION

[0061] In the description of this application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in this application is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.

[0062] In the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or plural.

[0063] In addition, to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first" and "second" do not limit the quantity or execution order, and the words "first" and "second" do not necessarily mean different.

[0064] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner to facilitate understanding.

[0065] It will be understood that the “embodiment” mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It will be understood that in the various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0066] It is understood that some optional features in the embodiments of the present application may, in certain scenarios, be implemented independently of other features, such as the solution on which they are currently based, to solve corresponding technical problems and achieve corresponding effects. They may also be combined with other features in certain scenarios as needed. Accordingly, the devices provided in the embodiments of the present application may also implement these features or functions accordingly, which will not be described in detail here.

[0067] In this application, unless otherwise specified, the same or similar parts between the various embodiments can refer to each other. In this application, unless otherwise specified and there is no logical conflict between the various embodiments, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other. Different embodiments can be combined to form new embodiments based on their inherent logical relationships. The following description of the embodiments of this application does not constitute a limitation on the scope of protection of this application.

[0068] Radio frequency identification (RFID) is a contactless, automatic identification technology. RFID systems involve readers and tags. Tags can also be called RFID tags or RFID terminals.

[0069] Tags can be divided into passive tags, semi-passive tags, and active tags. For passive tags, the energy for their operation is provided by the reader. For example, part of the energy of the continuous wave (CW) sent by the reader is used for internal processing such as encoding, decoding, modulation and demodulation. In addition, this continuous wave is also used as a carrier to carry the tag's uplink information. That is, when the tag is operating, its operating power and carrier are provided by the reader. For semi-passive tags, they may include an internal battery, and internal processing such as encoding, decoding, modulation and demodulation can be powered by the battery, but they still need the continuous wave of the reader as a carrier. In other words, for passive tags and semi-passive tags, communication is based on backscatter carriers. For example, as shown in Figure 1, after the reader sends a carrier, the tag modulates and transmits the carrier based on the carrier sent by the reader. Active tags have the ability to actively generate carriers.

[0070] A reader / writer is a device with reading and writing functions, for example, it can be a device that reads or writes tag information. Alternatively, a reader / writer can be understood as a device that communicates with a tag. Exemplarily, in a separated architecture, as shown in FIG2 , the reader / writer may include an excitation source (helper) and a receiver (receiver). Among them, the link from the helper to the tag can be called a forward link or downlink, the link from the tag to the receiver can be called a reverse link or uplink, the link from the receiver to the helper can be called a forward downlink, and the link from the helper to the receiver can be called a forward uplink. Transmission between the receiver and the helper can be via an air interface or via a wired connection.

[0071] For example, the helper is mainly used to send continuous waves to the tag on the forward link, and the signal sent by the tag is received by the receiver on the reverse link. In addition, the receiver can generate RFID signaling, send it to the helper via the forward downlink, and then forward it to the tag via the forward link.

[0072] In RFID technology, readers can perform operations such as tag selection, inventory, and access. The selection operation selects one or a group of tags for inventory and access. Inventory can be understood as the process by which a reader identifies a tag. Access can be understood as the interaction between a reader and a tag. Tags must be identified by the reader before they can be accessed.

[0073] With the diversification of communication needs and the development of communication technologies, the use of RFID technology in cellular networks has become an important research direction. In this scenario, the reader's selection of tags can be understood as a paging operation. The reader's inventory operation of tags can be understood as a random access process. The reader's access operation of tags can be understood as a data transmission process, etc.

[0074] For example, the process of selecting (paging), taking inventory (random access), and accessing (data transmission) a tag by a reader / writer can be shown in FIG3 . Referring to FIG3 , the process includes the following steps:

[0075] S301: The reader sends a paging message, which is used to select one or a group of tags.

[0076] Optionally, the paging message may include a select command. Exemplarily, the select command may include memory information, where the tag whose data stored in the storage area indicated by the memory information is consistent with the mask value is the tag selected by the select command (or paging message). The mask value may be indicated in the select command.

[0077] For example, the select command may include the following fields: Command field, Target field, Action field, MemBank field, Pointer field, Length field, Mask field, Truncate field, and cyclic redundancy check (CRC) field.

[0078] Command field: When its value is 1010, it indicates that the command is the select command.

[0079] Target field: indicates whether the select command is used to change the state of the select flag (SL) bit or the inventory flag (Inventoried) bit.

[0080] The inventory flag has four types (or sessions), each corresponding to two states: State A and State B. The inventory flag of a tag currently being inventoried flips its state to prevent the same tag from being identified multiple times during an inventory round. SL includes two states: declared and undeclared.

[0081] Action field: Used to indicate the change strategy of the SL or inventory flag status. Tags paged by the reader can change the status of the SL or inventory flag according to this strategy.

[0082] MemBank field, Pointer field, and Length field: collectively indicate the above memory information.

[0083] Mask field: indicates the Mask value.

[0084] Truncate field: Instructs the tag to return part or all of the electronic product code (EPC).

[0085] CRC field: used to carry CRC.

[0086] It should be noted that step S301 is an optional step, that is, step S301 may not be performed.

[0087] S302: The reader triggers random access (RA).

[0088] Optionally, the reader can send a Query command to trigger random access. The Query command can indicate a certain type of inventory flag (i.e., Sx, where x can be 0, 1, 2, or 3) and its status X (X can be A or B), indicating that the reader selects tags with inventory flag Sx in status X for access. Furthermore, the Query command can also indicate the parameter Q, which can indicate the maximum access time slot range.

[0089] Optionally, a timeslot can refer to a continuous duration triggered (or activated) by a Query / QueryRep command. The duration of a timeslot is determined by the Query / QueryRep command that triggered the timeslot and the next Query / QueryRep command that followed it. Tags can initiate random access within a timeslot. Furthermore, data transmission can also occur within a timeslot.

[0090] The reader performs inventory access on multiple tags selected using time-division multiplexing. That is, after the reader completes inventory access on one tag, it begins accessing the next. The following steps use inventory access on a single tag as an example.

[0091] S303: The tag sends a random number (RN) A. Exemplarily, the random number A may be a 16-bit random number (RN16).

[0092] If a tag matches the reader's selection, or is the tag selected by the reader, and the status of the tag's inventory flag Sx is consistent with the status of the inventory flag Sx indicated by the Query command, then after receiving the Query command, the tag can select the tag in the range [0,2 Q-1] as the initial value of the counter. This initial value can be understood as the timeslot number selected by the tag. After the timeslot is queried, the tag decrements the counter by 1 for each QueryRep command it receives. When the counter reaches 0, the tag sends a random number A.

[0093] Optionally, the random number A may be carried in a message A and sent. The message A may be analogous to or understood as message 3 (Msg3) of a random access procedure in a cellular network.

[0094] It should be noted that the reader can trigger time slot 0 after sending the Query command in step S302. Therefore, a tag in the range [0,2 Q -1] selects 0 as the initial value of the counter, the tag can execute step S303 after receiving the Query command.

[0095] S304: If the reader successfully receives the random number A, it sends an acknowledgment (ACK) message, which includes the random number A.

[0096] Optionally, the ACK message may be analogous to or understood as message 4 (Msg4) of a random access procedure in a cellular network, or the ACK message may be understood as a random access response message or a contention resolution message.

[0097] After the tag receives the confirmation message carrying the random number A sent by itself within the specified time, the tag may execute the following step S305.

[0098] S305: The label sends the electronic product code (EPC).

[0099] S306-S307, after step S305, the reader / writer optionally sends a command to the tag, performs operations such as reading or writing on the tag, and interacts with the tag. After receiving the command, the tag can respond to the command.

[0100] After completing the inventory access for the current tag, the reader can send a QueryRep command to begin the inventory access for the next tag. Upon receiving the QueryRep command, the current tag needs to flip the state of its inventory flag, Sx. For example, if X is B, the current tag flips the state of Sx from B to A to prevent duplicate inventories. Upon receiving the QueryRep command, if the counter of the other tags decreases to 0, the reader executes steps S303-S307 described above.

[0101] For example, let's assume that the reader selects three tags (Tag 1, Tag 2, and Tag 3) via the Select command and indicates that the number of time slots is 4 via the Query command, i.e., Q equals 2. As shown in Figure 4, the Query command sent by the reader triggers time slot 0, QueryRep#1 triggers time slot 1, Query#2 triggers time slot 2, and Query#3 triggers time slot 3. Assuming that the initial value of the counter selected by Tag 1 is 0, Tag 1 can execute the above steps S303-S305 after receiving the Query command (i.e., in time slot 0). Assuming that the initial value of the counter selected by Tag 2 is 2, the counter value of Tag 2 is reduced to 1 after receiving QueryRep#1, and the counter value is reduced to 0 after receiving QueryRep#2. Therefore, Tag 2 will be connected in time slot 2.

[0102] With the widespread adoption of machine-type communications (MTC) and the Internet of Things (IoT), the number of connected IoT devices is increasing. Consequently, the industry is increasingly demanding lower costs and power consumption for IoT devices.

[0103] During the fourth generation (4G) era, the 3rd Generation Partnership Project (3GPP) introduced the narrowband IoT (NB-IoT) system. In NB-IoT systems, NB-IoT terminals require external power (such as batteries) and are capable of generating a local high-frequency local oscillator carrier, resulting in milliwatt-level power consumption. With the evolution and development of the fifth generation (5G) IoT, the demand for even lower-power terminals within 5G networks is increasing. RFID technology provides a valuable technical reference for this low-power approach.

[0104] For example, RFID tags operate with power and carrier frequencies derived from the reader, enabling them to use low-precision, low-power, medium- and low-frequency ring oscillators or downlink signal reception with no local oscillator, thus achieving microwatt-level power consumption. Given the low-power advantages of RFID technology, the 5G Ambient IoT has emerged. To meet ultra-low power requirements, terminals in Ambient IoT, similar to RFID terminals, also use low-precision, low-power, medium- and low-frequency ring oscillators or downlink signal reception with no local oscillator, thus reducing terminal power consumption.

[0105] However, the low cost and design complexity of RFID terminals result in poor coverage. During the 5G Ambient IoT research process, coverage enhancement designs were implemented, such as increasing network coverage. However, continuing to use the access process in RFID technology could result in access conflicts.

[0106] For example, after coverage enhancement, some tags (such as tags at the edge of coverage) may not be able to correctly receive each QueryRep signaling, resulting in missed QueryRep signaling. This will cause the counter to count inaccurately, that is, the time slot when the counter is actually reduced to 0 is later than the time slot when the counter is reduced to 0 during normal reception. In other words, the tag will initiate random access in a relatively later time slot. At this time, if the tag that originally selected the later time slot can normally receive the QueryRep signaling, then the tag that did not normally receive the QueryRep signaling and the tag that normally received the QueryRep signaling will have an access conflict in the later time slot, resulting in low access efficiency.

[0107] For example, based on the example shown in FIG4 , the initial value of the counter selected by tag 2 is 2, and the initial value of the counter selected by tag 3 is 1. Assuming that tag 3 fails to successfully receive QueryRep#1 but successfully receives QueryRep#2, the counter of tag 3 is decremented to 0 after receiving QueryRep#2, and tag 3 will initiate random access in time slot 2. Assuming that tag 2 successfully receives QueryRep#1 and QueryRep#2, the counter of tag 2 is decremented to 0 after receiving QueryRep#2, and tag 2 also initiates random access in time slot 2. At this time, if the random numbers sent by tag 2 and tag 3 during random access are inconsistent, an access collision will occur between tag 2 and tag 3 in time slot 2. In addition, even if the random numbers sent by tag 2 and tag 3 during random access are consistent, the data sent by the two will collide during subsequent data transmission, resulting in data transmission failure.

[0108] Based on this, the present application provides a communication method in which the reader / writer can indicate the number of the random access opportunity in the signaling, so that the tag can determine whether the current random access opportunity is the random access opportunity selected by it according to the number of the random access opportunity, thereby accurately initiating random access in the random access opportunity selected by itself, reducing the probability of access conflict with other tags and improving access efficiency.

[0109] The technical solutions provided in this application can be used in various communication systems, which may be 3GPP communication systems, such as 4G long term evolution (LTE) systems, 5G new radio (NR) systems, vehicle to everything (V2X) systems, LTE and NR hybrid networking systems, or device-to-device (D2D) systems, machine to machine (M2M) communication systems, Internet of Things (IoT), passive IoT (PIoT), and other next-generation communication systems, such as sixth-generation (6G) mobile communication systems. Alternatively, the communication system may also be a non-3GPP communication system, such as a wireless local area network (WLAN), without limitation.

[0110] Among them, the above-mentioned communication system applicable to the present application is only an example, and the communication system applicable to the present application is not limited to this. It is uniformly described here and will not be repeated below.

[0111] 5 , which shows an exemplary communication system according to an embodiment of the present application, including at least one first communication device and a second communication device.

[0112] Optionally, the first communication device may be located within the coverage provided by the second communication device. Different first communication devices may be located at different locations within the coverage provided by the second communication device. A downlink data connection may exist between the first communication device and the second communication device, or an uplink data connection and a downlink data connection may exist between the first communication device and the second communication device. Downlink refers to the transmission direction from the second communication device to the first communication device, and uplink refers to the transmission direction from the first communication device to the second communication device.

[0113] Optionally, the first communication device is a low-power terminal, such as a terminal that uses a low-precision, low-power medium-low frequency ring oscillator or a terminal that uses a downlink signal receiver without a local oscillator. The first communication device can serve as a tag, or the first communication device can be a device that includes a tag, or the first communication device can implement the function of a tag. Exemplarily, the first communication device can be in the form of a terminal or other forms, without limitation. The first communication device can also be called a terminal, an IoT terminal, an Ambient IoT terminal, etc. Of course, the first communication device can also have other names, and this application does not specifically limit this.

[0114] Optionally, the second communication device can function as a reader / writer, or can include a reader / writer, or can implement some or all of the functions of a reader / writer. Exemplarily, the second communication device can be in the form of a network device, a terminal, a relay node, an integrated access and backhaul (IAB) node, an amplifier, etc., without limitation.

[0115] Optionally, a terminal is a device with wireless transceiver capabilities and may also be referred to as user equipment (UE), terminal equipment, access terminal, user unit, user station, mobile station (MS), remote station, remote terminal, mobile terminal (MT), user terminal, wireless communication device, user agent, or user device. A terminal can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; on water (such as a ship); or in the air (such as on an airplane, balloon, or satellite).

[0116] Exemplarily, the terminal may be a wireless terminal in IoT, V2X, D2D, M2M, 5G network, or a future evolved public land mobile network (PLMN). For example, the terminal may be a drone, an IoT device (e.g., a sensor, an electricity meter, a water meter, etc.), a V2X device, a station (STA) in a WLAN, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA) device, a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device (also referred to as a wearable smart device), a tablet computer or a computer with wireless transceiver capabilities, a virtual reality (VR) terminal, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical care, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a smart home, or a similar device. The present application does not specifically limit the terminals to mobile or fixed devices.

[0117] Optionally, the network device is a device that connects a terminal to a wireless network, and may be an evolutionary Node B (eNB or eNodeB) in an LTE or evolved LTE system (LTE-Advanced, LTE-A), such as a traditional macro base station eNB and a micro base station eNB in ​​a heterogeneous network scenario; or it may be a next generation node B (gNodeB or gNB) in a 5G system; or it may be a transmission reception point (TRP); or it may be a base station in a future evolved PLMN; or it may be a broadband network gateway (BNG), an aggregation switch or a non-3GPP access device; or it may be a wireless controller in a cloud radio access network (CRAN); or it may be an access point (AP) in a WiFi system; or it may be a wireless relay node or a wireless backhaul node; or it may be a device that implements base station functions in IoT, V2X, D2D, or M2M. The embodiments of the present application do not specifically limit this. Exemplarily, the base stations in the embodiments of the present application may include various forms of base stations, such as: macro base stations, micro base stations (also called small stations), relay stations, access points, etc., and the embodiments of the present application do not specifically limit this.

[0118] In a network structure, a network device may also be a module or unit that can implement some or all of the functions of a base station. For example, the network device may be a centralized unit (CU), a distributed unit (DU), a CU and DU, a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU). The CU and DU may be configured separately or included in the same network element, such as a baseband unit (BBU). The RU may be included in a radio frequency device or radio frequency unit, such as a remote radio unit (RRU), an active antenna unit (AAU), or a remote radio head (RRH).

[0119] In different systems, CU (or CU-CP and CU-UP), DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, the network device may be a network device or a module of a network device in an open radio access network (open RAN, ORAN) system. In the ORAN system, CU may also be referred to as open (open, O)-CU, DU may also be referred to as O-DU, CU-CP may also be referred to as O-CU-CP, CU-UP may also be referred to as O-CU-UP, and RU may also be referred to as O-RU. Any of the CU (or CU-CP, CU-UP), DU and RU in this application may be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.

[0120] Optionally, as shown in (a) of Figure 6 , the second communication device may be in the form of a network device, and the communication between the first communication device and the second communication device is Uu port communication, i.e., air interface communication. Alternatively, as shown in (b) of Figure 6 , the second communication device may be in the form of a terminal, and the communication between the first communication device and the second communication device may be regarded as communication between terminals, and the two may communicate via a sidelink (SL). Alternatively, as shown in (c) of Figure 6 , the second communication device may be in the form of an IAB node or a relay node, and the first communication device is connected to the IAB node via a Uu interface, and the IAB node is connected to the base station via a Uu interface.

[0121] Optionally, in a split architecture, a downlink data connection is established between the second communication device and the first communication device, as shown in (a) and (b) of FIG7 , in which the second communication device may be in the form of a terminal. As shown in (c) and (d) of FIG7 , the second communication device may be in the form of a base station.

[0122] As shown in Figures 7(a) and 7(b), the first communication device has a downlink data connection with a terminal (i.e., the second communication device), and an uplink data connection with base station 1. The terminal communicates with base stations 1 and 2 via the Uu interface. In the architecture of Figure 7(a), base station 1 provides carrier waves or energy to the first communication device. In the architecture of Figure 7(b), the terminal provides carrier waves or energy to the first communication device.

[0123] As shown in Figures 7(c) and 7(d), the first communication device has a downlink data connection with base station 1 (i.e., the second communication device), and an uplink data connection with the terminal. The terminal communicates with base stations 1 and 2 via the Uu interface. In the architecture of Figure 7(c), the terminal provides carrier or energy to the first communication device, while in the architecture of Figure 7(d), base station 1 provides carrier or energy to the first communication device.

[0124] The method provided in the embodiment of the present application will be described below in detail with reference to the accompanying drawings, taking the interaction between the first communication device and the second communication device shown in FIG5 as an example.

[0125] It is understood that in the embodiments of the present application, the execution subject may perform some or all of the steps in the embodiments of the present application. These steps or operations are merely examples, and the embodiments of the present application may also perform other operations or variations of various operations. In addition, the various steps may be performed in a different order than those 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 performed.

[0126] It should be noted that the message names between the devices or the names of the parameters in the messages in the following embodiments of the present application are only examples. Other names may be used in specific implementations, and the embodiments of the present application do not specifically limit this.

[0127] For example, the methods provided in the following embodiments of this application can be used in scenarios where RFID technology is applied to mobile communication systems, or can be applied to scenarios where the reader / writer has a large coverage area, or can be used in scenarios where low-power terminals are introduced into mobile communication systems. Of course, this is only an example of the application scenario of this application, and the application scenario does not impose any limitation on this application, and this application does not specifically limit the application scenario of the method provided below.

[0128] As shown in FIG8 , a communication method provided in an embodiment of the present application includes the following steps:

[0129] S801: The second communication device sends a first signaling. Correspondingly, the first communication device receives the first signaling from the second communication device.

[0130] Optionally, after the second communication device sends the first signaling, at least one first communication device within the coverage provided by the second communication device may receive the first signaling. This application is described by taking any first communication device within the coverage provided by the second communication device as an example.

[0131] The first signaling indicates the number of random access opportunities (RA occasion, RO) N, where N is a positive integer. Exemplarily, N can also be understood as the maximum number of random access opportunities.

[0132] Optionally, the random access opportunity may be a time unit of fixed length. Alternatively, the random access opportunity may also refer to a continuous period of variable length, that is, the random access opportunity is not a time unit of fixed length. The first communication device may initiate random access in the random access opportunity. Exemplarily, after the first communication device successfully accesses the random access opportunity, it may be considered that a communication connection, such as a radio resource control (RRC) connection, has been established between the first communication device and the second communication device.

[0133] Furthermore, the first communication device and the second communication device may also perform data transmission during a random access opportunity. Furthermore, a random access opportunity may also be referred to as a random access opportunity, a slot, an access slot, or a random access slot. Of course, a random access opportunity may also have other names, which are not specifically limited in this application.

[0134] Optionally, the durations of different random access opportunities may be the same or different. The number N of random access opportunities indicated by the first signaling is used to indicate the number of random access opportunities. The random access opportunity may be triggered, activated, or indicated by a specific signaling sent by the second communication device. The second communication device may send N specific signalings, each of which triggers a random access opportunity, that is, send N specific signalings to trigger N random access opportunities. The starting time of a random access opportunity and the duration of the random access opportunity may be determined by the specific signaling. The start of the next random access opportunity may also be understood as the end of the previous random access opportunity, or as the end of the transmission process performed in the previous random access opportunity. The later specific signaling of two consecutive specific signalings may be used to release the previous random access opportunity, or to release the communication connection established in the previous random access opportunity, and the later specific information may also be used to trigger the next random access opportunity. The previous random access opportunity is the random access opportunity triggered by the earlier specific signaling of the two consecutive specific signalings.

[0135] Exemplarily, the specific signaling may be the first signaling or the second signaling. The first signaling and the second signaling may be a Query command or a QueryRep command or a signaling capable of implementing the Query / QueryRep command function, or other signaling capable of triggering a random access opportunity; alternatively, the first signaling and the second signaling may also be RRC signaling or media access control (MAC) signaling. When the first signaling or the second signaling is RRC signaling, the first signaling or the second signaling may also be referred to as an RRC connection release message, an RRC time interval message, or the like.

[0136] For example, the start time of a random access opportunity triggered by a specific signaling may be the end time of the specific signaling, and the end time of a specific signaling trigger may be the end time of the next specific signaling of the specific signaling.

[0137] For example, taking the specific signaling as a Query command or a QueryRep command, as shown in FIG9 , the start time of the random access opportunity triggered by the specific signaling is the end time of the specific signaling, and the end time of the random access opportunity is the end time of the next specific signaling.

[0138] Optionally, specific signaling used to trigger a random access opportunity can also be understood as specific signaling used to trigger RRC connection establishment. Alternatively, in addition to triggering a random access opportunity, specific signaling can also be used to trigger RRC connection establishment. RRC connection establishment can be performed in a random access opportunity. Random access in the embodiments of the present application can also be understood or replaced by RRC connection establishment.

[0139] Optionally, the first signaling may include a first field, the first field including at least one bit. The value of the first field may indicate the number of random access opportunities N. For example, N=2 Y , Y is the number of bits included in the first field.

[0140] Optionally, the first signaling is further used to trigger a random access opportunity, that is, the first signaling can be the specific signaling that can trigger the random access opportunity. The first signaling can be the first specific signaling among N specific signalings, and the random access opportunity triggered by the first signaling can be the first random access opportunity among the N random access opportunities. In this scenario, the remaining N-1 random access opportunities can be triggered by N-1 second signalings.

[0141] Alternatively, the first signaling is not used to trigger a random access opportunity, that is, the first signaling is not a specific signaling that can trigger a random access opportunity. In this scenario, N random access opportunities are triggered by N second signalings. Unless otherwise specified, the following embodiments of this application are described as an example in which the first signaling can trigger a random access opportunity, that is, the first signaling is a specific signaling.

[0142] Optionally, the first signaling may further indicate a first inventory flag and a first state of the first inventory flag, for triggering access by a first communication device whose first inventory flag is in the first state. The first inventory flag may also be understood as the inventory flag of the second communication device in this round of inventory.

[0143] Optionally, the second communication device may further transmit signaling A for selecting at least one first communication device. Exemplarily, the second communication device may transmit signaling A after receiving a paging instruction or an inventory instruction from the core network. The implementation of signaling A may be the same as or similar to the implementation of a select command or a paging message. For details, refer to the description of the select command and are not further described here.

[0144] Optionally, the content included in the signaling A and the content included in the first signaling can be carried in one message and sent, or can be carried in two messages and sent. When the content included in the signaling A and the content included in the first signaling are carried in two messages, the second communication device can send the signaling A first and then send the first signaling.

[0145] Optionally, the second communication device may not send signaling A. In this case, the first signaling may be used to select at least one first communication device and to trigger the first communication device whose first inventory flag is in the first state to access.

[0146] Optionally, the implementation of the first signaling may be the same as or similar to the implementation of the Query command or the QueryRep command. For details, refer to the relevant description of the Query command or the QueryRep command, which will not be repeated here. The first signaling may also be referred to as Query signaling or QueryRep signaling. This application does not specifically limit the name of the first signaling. Alternatively, the implementation of the first signaling may be the same as or similar to the implementation of RRC signaling or MAC signaling.

[0147] S802: The second communication device sends a second signaling. Correspondingly, the first communication device receives the second signaling from the second communication device.

[0148] The second signaling includes first information, and the first information indicates a number of the first random access opportunity. The number of the first random access opportunity is less than or equal to N-1; or the number of the first random access opportunity is less than or equal to N.

[0149] For example, when the first random access opportunity among N random access opportunities is numbered 0, that is, when the N random access opportunities are numbered 0 to N-1, the number of the first random access opportunity is less than or equal to N-1. When the first random access opportunity among N random access opportunities is numbered 1, that is, when the N random access opportunities are numbered 1 to N, the number of the first random access opportunity is less than or equal to N. The following embodiments of the present application are described using the example of N random access opportunities being numbered 0 to N-1, and appropriate modifications (such as adjusting the numbering, counting, value range, and numerical value involved in the following embodiments) may be made to apply to the case where the N random access opportunities are numbered 1 to N.

[0150] Optionally, if the first signaling is not used to trigger a random access opportunity, that is, the first signaling is not a specific signaling that can trigger a random access opportunity, when the N random access opportunities are numbered from 0 to N-1, the number of the first random access opportunity can be in the range of [0, N-1]; when the N random access opportunities are numbered from 1 to N, the number of the first random access opportunity can be in the range of [1, N].

[0151] If the first signaling is used to trigger a random access opportunity, that is, the first signaling is a specific signaling that can trigger a random access opportunity, when the N random access opportunities are numbered from 0 to N-1, the number of the first random access opportunity may be in the range of [1, N-1]; when the N random access opportunities are numbered from 1 to N, the number of the first random access opportunity may be in the range of [2, N].

[0152] Optionally, the first random access opportunity among the N random access opportunities may also be numbered X, where X is a positive integer greater than 1. In this case, the N random access opportunities are numbered from X to X+N-1, respectively. The schemes of the following embodiments of the present application may also be appropriately modified (such as adjusting the numbering, counting, value range, numerical value, etc. involved in the following embodiments) to be applicable to the case where the N random access opportunities are numbered from X to N+X-1, respectively. Optionally, the first random access opportunity is a random access opportunity triggered by the second signaling, that is, the second signaling may be the above-mentioned specific signaling that can trigger the random access opportunity. The sending time of the second signaling is after the sending time of the first signaling.

[0153] Optionally, unless otherwise specified, the "number of a random access opportunity" in the embodiments of the present application refers to the absolute number of the random access opportunity among N random access opportunities.

[0154] Optionally, each of the N specific signaling messages sent by the second communication device may carry information indicating the number of the random access opportunity triggered by the signaling message. For example, the first signaling message may include second information indicating the number of a second random access opportunity, where the second random access opportunity may be the random access opportunity triggered by the first signaling message. The number of the second random access opportunity is smaller than the number of the first random access opportunity. Exemplarily, the number of the second random access opportunity is 0.

[0155] Of course, the first specific signaling among the N specific signalings may not carry information indicating the random access opportunity number. That is, the first signaling may not carry the second information. In this case, the random access opportunity number triggered by the first specific signaling may be defaulted to 0, or it may be considered that the first specific signaling itself indicates that the random access opportunity number it triggers is 0.

[0156] For example, taking N equal to 5 and the specific signaling being a Query command and a QueryRep command, as shown in Figure 10, both QueryRep commands may carry information indicating the random access opportunity number. The Query command may or may not carry the information indicating the random access opportunity number.

[0157] Optionally, the implementation of the second signaling may be the same or similar to the implementation of the QueryRep command, and reference may be made to the relevant description of the QueryRep command, which will not be repeated here. The second signaling may also be referred to as the QueryRep signaling, and this application does not specifically limit the name of the second signaling.

[0158] Optionally, the second communication device may not send the first signaling. In this scenario, the number of random access opportunities N may be a predefined value. Alternatively, the functions of the first signaling and the second signaling may be combined and implemented through one signaling, for example, the functions of the first signaling are implemented through the second signaling.

[0159] S803. The first communication device determines whether to initiate random access or RRC connection establishment in a first random access opportunity according to the first information.

[0160] Optionally, when the first communication device determines to initiate random access in the first random access opportunity, the first communication device may initiate random access in the first random access opportunity. Exemplarily, the first communication device may send a random number or a random access request message or an RRC connection establishment request or a preamble or an orthogonal code to the second communication device in the first random access opportunity to perform random access. If the second communication device successfully receives the random number or random access request message or the RRC connection establishment request or the preamble or the orthogonal code, it may reply to the first communication device with a random access response or an RRC connection establishment message. Subsequently, the first communication device and the second communication device may also perform data transmission in the first random access opportunity.

[0161] Optionally, there may be multiple first communication devices that select and determine to initiate random access in the first random access opportunity. In this case, each first communication device may determine the order in which it initiates random access in the first random access opportunity according to a preset rule.

[0162] Exemplarily, the second communication device may divide multiple first communication devices into multiple user groups based on information such as identifiers of the first communication devices. The multiple first communication devices may determine the order in which they initiate random access opportunities in the first random access opportunity based on the user groups they belong to. For example, the first communication device in user group 1 may initiate random access in the first random access opportunity first. After the random access is successful, the second communication device may send signaling to trigger the first communication device in the next user group (such as user group 2) to initiate random access in the first random access opportunity, and so on.

[0163] Alternatively, illustratively, multiple first communication devices may determine the order in which they initiate random access opportunities in the first random access opportunity based on the random numbers they generate. For example, the first communication device whose generated random number is within the first value range may initiate random access first in the first random access opportunity. After the random access is successful, the second communication device may send signaling to trigger the first communication device whose generated random number is within the second value range to initiate random access in the first random access opportunity, and so on. Alternatively, the first communication device whose generated random number is the first value may initiate random access first in the first random access opportunity, and the first communication device whose generated random number is the second value may subsequently initiate random access in the first random access opportunity, and so on.

[0164] Based on this solution, the probability of collision when multiple first communication devices initiate random access in the first random access opportunity can be reduced, thereby improving random access performance.

[0165] Optionally, if the first communication device determines not to initiate random access in the first random access opportunity, and if the first random access opportunity precedes the random access opportunity of the first communication device, the first communication device continues to receive specific signaling and executes a scheme similar to step S803 above. If the first random access opportunity follows the random access opportunity of the first communication device, the first communication device determines not to flip the state of the first inventory flag.

[0166] Optionally, the random access opportunity of the first communication device is one of N random access opportunities. The random access opportunity of the first communication device can be understood as: a random access opportunity selected by the first communication device, or a random access opportunity configured or designated by the second communication device for the first communication device, or a random access opportunity used for random access by the first communication device.

[0167] Optionally, the first communication device determining to initiate random access in the first random access opportunity can also be understood as: the first communication device determining that the first random access opportunity is the random access opportunity of the first communication device. The first communication device determining not to initiate random access in the first random access opportunity can also be understood as: the first communication device determining that the first random access opportunity is not the random access opportunity of the first communication device.

[0168] Optionally, if the first random access opportunity occurs after the random access opportunity of the first communication device, this indicates that the first communication device has not successfully received the specific signaling that triggered random access opportunity #A. Random access opportunity #A is the random access opportunity of the first communication device. In this scenario, the first communication device does not flip the state of the first inventory flag. This allows the first communication device to access when a second communication device subsequently triggers access to a communication device whose first inventory flag is in the first state, thereby preventing the first communication device from being missed.

[0169] Based on this solution, the second communication device carries information indicating the random access opportunity number in the signaling it sends, so that the first communication device can determine the number of the current random access opportunity, thereby determining whether the current random access opportunity is the random access opportunity of the first communication device, and then initiate random access in its own random access opportunity, avoiding initiating random access in other random access opportunities, reducing the probability of access conflicts with other communication devices, and improving access efficiency.

[0170] The above describes the overall process of the communication method provided by this application. The following describes the detailed implementation of the relevant steps in the method.

[0171] For the above step S802:

[0172] As a first possible implementation, the first information is P-bit information, or in other words, the size of the first information is P bits. P ≥N, P is a positive integer.

[0173] Optionally, when the N random access opportunities are numbered from 0 to N-1, the number of the first random access opportunity is the value (or value) of the P-bit information. For example, taking P equal to 2 as an example, when the P-bit information is "01", it indicates that the first random access opportunity is numbered 1; when the P-bit information is "10", it indicates that the first random access opportunity is numbered 2.

[0174] Optionally, when the numbers of the N random access opportunities are 1 to N respectively, the number of the first random access opportunity is the value of the P-bit information plus 1. Exemplarily, taking P equal to 2 as an example, when the P-bit information is "01", it indicates that the number of the first random access opportunity is 2; when the P-bit information is "10", it indicates that the number of the first random access opportunity is 3.

[0175] Based on this first possible implementation manner, the number of the random access opportunity can be directly indicated by the value of the P-bit information, reducing the complexity of the first communication device calculating the number of the random access opportunity.

[0176] As a second possible implementation manner, the first information is M-bit information, or rather, the size of the first information is M bits. Among them, 2 M <N, and M is a positive integer.

[0177] Optionally, since 2 M <N, it is impossible to indicate the numbers of the N random access opportunities only by the value of the M-bit information. At this time, the numbers of the N random access opportunities can be indicated by the value of the M-bit information and the number of rounds. Among them, the number of rounds can be understood as the number of usage rounds of the value of the M-bit information. The value of the M-bit information can be understood as the relative number of the random access opportunity in a certain round.

[0178] Among them, the value of the M-bit information is an integer. When the numbers of the N random access opportunities are 0 to N-1 respectively and the first signaling can trigger a random access opportunity, there may be the following two situations for the number counter of the first random access opportunity:

[0179] Situation 1: The value of the M-bit information is greater than or equal to 0 and less than or equal to 2 [[ID=2@]] M -1. When the number of rounds starts counting (or numbering) from 1, the number counter of the first random access opportunity satisfies: counter = (K - 1) × 2 M +x + 1;

[0180] Among them, K is the number of rounds, K is a positive integer, and x is the value of the M-bit information.

[0181] Situation 2: The value of the M-bit information is greater than or equal to 0 and less than or equal to 2 M -1. When the number of rounds starts counting (or numbering) from 0, the number counter of the first random access opportunity satisfies: counter = K × 2 M +x + 1;

[0182] Among them, K is the number of rounds, K is an integer greater than or equal to 0, and x is the value of the M-bit information.

[0183] For example, taking N as 128, the N random access opportunities being numbered from 0 to 127, and M as 4, as shown in FIG11 , the value of the M-bit information is from 0 to 15, and the numbering of the N random access opportunities can be indicated by repeatedly using the value of the M-bit information for 8 rounds. When the round number is counted (or numbered) starting from 1, the relationship between the round number, the value of the M-bit information, and the numbering of the random access opportunity is shown in Table 1 below. When the round number is counted (or numbered) starting from 0, the relationship between the round number, the value of the M-bit information, and the numbering of the random access opportunity is shown in Table 2 below.

[0184] Table 1

[0185] Table 2

[0186] Illustratively, in the second possible implementation manner, after receiving the first information, the first communication device may determine the number of the first random access opportunity according to the first information based on the above relationship, thereby determining whether to initiate random access in the first random access opportunity.

[0187] Based on the second possible implementation, the numbers of the N random access opportunities are indicated by using the value of the M-bit information and the round number, which can reduce the number of bits required to indicate the random access opportunity numbers, thereby saving signaling overhead.

[0188] Optionally, in this second possible implementation, the round number can be represented as Round, and the M-bit value (i.e., relative number) can be represented as SN. Round and SN can both be binary numbers. In this scenario, the number counter of the random access opportunity can be indicated by [Round, SN]. For example, in the above case 2, the number of the random access opportunity can be represented as: counter = [Round, SN] + 1

[0189] For example, based on the example shown in Table 2 above, Round can be represented as a 3-bit binary number, and SN can be represented as a 4-bit (i.e., M=4) binary number. When Round=0, SN=0, counter=[000 0000]+1=1; when Round=0, SN=1, counter=[0000001]+1=2; and so on, when Round=0, SN=15, counter=[000 1111]+1=16; when Round=1, SN=0, counter=[0010000]+1=17. And so on, when Round=7, SN=14, counter=[111 1110]+1=127.

[0190] In the above situation, assuming the total number of rounds is W, then the number of random access opportunities in the first W-1 rounds can be expressed as: counter = [Round, SN] - 2 M +1

[0191] In the last round, i.e., round W, the random access opportunity number can be expressed as: counter = [Round, SN] + 1

[0192] Among them, in the Wth round and the W-1th round, the x-bit binary numbers corresponding to Round are equal.

[0193] For example, based on the example shown in Table 1 above, Round can be represented as a 3-bit binary number, and SN can be represented as a 4-bit (i.e., M=4) binary number. When Round=1 and SN=0, counter=[001 0000]-16+1=1. Similarly, when Round=7 and SN=15, counter=[111 1111]-16+1=112. When Round=8 and SN=0, counter=[111 0000]+1=113. Similarly, when Round=8 and SN=14, counter=[111 1110]+1=127.

[0194] Optionally, in addition to the above indication mode of counter, counter may also be expressed as counter=[Round, SN]. The first communication device may determine the counter value according to the SN indicated by the specific signaling, or adjust the counter value.

[0195] For example, taking Round as a 3-bit binary number and SN as a 4-bit binary number, if the first communication device receives specific signaling indicating SN=0 for the first time, the first communication device sets the counter to [000,0000]. If the first communication device receives specific signaling indicating SN=1 for the first time, the first communication device sets the counter to [000,0001]. Similarly, if the first communication device receives specific signaling indicating SN=15 for the first time, the first communication device sets the counter to [000,1111]. If, after receiving specific signaling indicating SN=15 for the first time, the first communication device receives signaling indicating SN=0, the first communication device sets the counter to [001,0000]. Similarly, the next time the first communication device receives signaling indicating SN=0, the first communication device may set the counter to [011,0000].

[0196] Optionally, in this representation, the first signaling may be considered as specific signaling, and the N random access opportunities are numbered from 0 to N-1, respectively.

[0197] Optionally, the first communication device may maintain a first variable and a second variable, where the first variable is a relative number of the random access opportunity in each round, and the second variable is the round number. Upon receiving each specific signaling, the first communication device may update the values ​​of the first variable and the second variable based on the M-bit information carried in the specific signaling.

[0198] Exemplarily, taking the receipt of the second signaling as an example, the first communication device may update the value of the first variable to the value of the M-bit information carried by the second signaling. In addition, when the value of the M-bit information is less than or equal to the second value, the value of K (i.e., the value of the second variable) is equal to the third value plus 1; when the value of the M-bit information is greater than the second value, the value of K is equal to the third value. The second value is the latest relative number before receiving the second signaling. The third value is the latest round number before receiving the second signaling.

[0199] Optionally, when the round number is represented as Round and the M-bit value (i.e., relative number) is represented as SN, the updating of the first variable and the second variable can also be represented as the following process:

[0200] if SN<=SN(latest):

[0201] SN=SN, Round=Round(latest)+1;

[0202] else:

[0203] SN=SN, Round=Round(latest).

[0204] Wherein, SN(latest) indicates the latest relative number before receiving the second signaling, and Round(latest) indicates the latest round number before receiving the second signaling.

[0205] It should be noted that this embodiment uses SN to represent the relative number and Round to represent the round number for illustrative purposes only. Of course, other symbols or forms can also be used to represent the relative number or round number. In addition, the round number and relative number can also have other names, which are not specifically limited in this application.

[0206] For example, assuming that signaling B is the last signaling received before the second signaling, and signaling B is a specific signaling, and the value of the M-bit information carried by signaling B is 5 (i.e., the second value is 5), the third value is 1, and the value of the M-bit information carried by the second signaling is 1, then it means that the first communication device has not successfully received the specific signaling between signaling B and the second signaling, and has currently entered the next round of indication. At this time, according to the above rules, the first communication device can update the value of the first variable to 1 and the value of the second variable to 2, and then determine the number of the first random access opportunity based on the relationship in the above case 1 or case 2.

[0207] Alternatively, assuming the second value is 5, the third value is 1, and the value of the M-bit information carried by the second signaling is 10, this indicates that the next round of indications has not yet begun, and the first communications device has not successfully received five specific signalings in this round, meaning that the first communications device has missed approximately five random access opportunities. In this case, according to the above rules, the first communications device can update the value of the first variable to 10, while keeping the value of the second variable unchanged (i.e., the value of the second variable is 1), and then determine the number of the first random access opportunity based on the relationship in Case 1 or Case 2 above.

[0208] It should be noted that the adjustment rules of the first and second variables are applicable to the following scenarios: the number of specific signalings that the first communication device has not successfully received (or the number of random access opportunities that have been missed) is less than or equal to 2. M That is, the first communication device cannot miss more than 2 M For example, this scenario can be ensured by a physical layer transmission mechanism. The physical layer transmission mechanism can be, for example, low bit rate transmission, narrowband transmission, or repeated transmission.

[0209] Optionally, in the second possible implementation, the number of rounds can be replaced by the number of random access groups. In this case, the second possible implementation can also be understood as follows: the last N-1 random access opportunities in the N random access opportunities belong to the K random access opportunity groups. Among them, the first K-1 random access opportunity groups in the K random access opportunity groups include 2 M Assuming that the first random access opportunity belongs to random access opportunity group k among the K random access opportunity groups, the value of the M-bit information can be understood as the number of the first random access opportunity in the random access opportunity group k.

[0210] For example, based on the example shown in FIG11 and Tables 1 and 2, the last 127 random access opportunities of the 128 random access opportunities are random access opportunities 1-127, and random access opportunity 0 is a random access opportunity triggered by the first signaling. Among them, random access opportunities 1-16 constitute a random access opportunity group, random access opportunities 17-32 constitute a random access opportunity group, and so on, random access opportunities 113-127 constitute a random access opportunity group.

[0211] In the first and second possible implementations described above, it can be assumed that each of the N specific signaling messages carries information indicating the random access opportunity number. Furthermore, some of the N specific signaling messages may carry information indicating the random access opportunity number (referred to as first-type specific signaling messages), while another portion of the specific signaling messages may not carry information indicating the random access opportunity number (referred to as second-type specific signaling messages).

[0212] For example, information indicating the random access opportunity number can be carried in odd-numbered specific signaling among N specific signalings, such as the 1st, 3rd, 5th, 7th... specific signaling carries information indicating the random access opportunity number, or information indicating the random access opportunity number can be carried in even-numbered specific signaling, such as the 2nd, 4th, 6th, 8th... specific signaling carries signals indicating the random access opportunity number.

[0213] Optionally, the information indicating the random access opportunity number carried by the first type of specific signaling may be a value n. For example, the values ​​n indicating the random access opportunity numbers carried by the first, third, fifth, seventh, ... specific signaling are 0, 1, 2, 3, ..., respectively. The number of the current random access opportunity may be determined based on the value n. For example, the number of the current random access opportunity is 2n+1.

[0214] Furthermore, the number of the random access opportunity triggered by the second-type specific signaling may be determined based on the value n. For example, for the currently received second-type specific signaling, if the last received specific signaling indicates that the number of the random access opportunity triggered by the specific signaling is 2n+1, that is, the last received specific signaling is the first-type specific signaling, then it can be determined that the number of the current random access opportunity may be 2n+1+1.

[0215] Optionally, the above-mentioned scheme for determining the number of the random access opportunity triggered by the second-class specific signaling based on the value n carried by the first-class specific signaling can be applicable to the scenario where there is no other first-class and second-class specific signaling between the first-class specific signaling last received by the first communication device and the second-class specific signaling currently received. That is, between the first-class specific signaling last received by the first communication device and the second-class specific signaling currently received, the second communication device did not send other first-class and second-class specific signaling. For example, if the first-class specific signaling last received by the first communication device is the third specific signaling among N specific signalings, then the second-class specific signaling currently received needs to be the fourth specific signaling among the N specific signalings. If the second-class specific signaling currently received is the sixth specific signaling, that is, the fifth specific signaling is not received successfully, then the above-mentioned scheme for determining the number of the current random access opportunity based on the value n may no longer be applicable.

[0216] Based on this possible implementation, it is not necessary to carry information indicating the random access opportunity number in every specific signaling, thereby reducing signaling overhead. Furthermore, the first communications device can adjust and align the random access opportunity numbers based on the information indicating the random access opportunity numbers carried in some specific signaling. This means that while reducing signaling overhead, the random access opportunity numbers can be determined more accurately.

[0217] For the above step S803:

[0218] As a first possible implementation, when the number of the first random access opportunity is equal to a first value, the first communications device determines to initiate random access in the first random access opportunity. When the number of the first random access opportunity is not equal to the first value, the first communications device determines not to initiate random access in the first random access opportunity. The first value indicates a random access opportunity of the first communications device. The first value may be the number of the random access opportunity of the first communications device.

[0219] Optionally, the first value may be selected by the first communication device itself. For example, after receiving the first signaling, the first communication device may select a random number from 0 to N-1 as the first value. Alternatively, the first value may be configured by the second communication device. For example, before step S802, the second communication device may further send signaling to the first communication device to configure or indicate the first value. In this case, it can be considered that the second communication device can specify a random access opportunity for initiating random access for the first communication device. Alternatively, the first value may be preconfigured or predefined. For example, the first value may be preconfigured or predefined when the first communication device leaves the factory. This application does not specifically limit the method for determining the first value.

[0220] Based on this first possible implementation, the first communications device can determine whether to initiate random access in the first random access opportunity by comparing the first random access opportunity number with the first value. Compared to maintaining a counter, this can reduce implementation complexity, thereby reducing the design complexity of the first communications device.

[0221] As a second possible implementation, the first communications device determines a current value of the counter based on the first information. If the current value of the counter is 0, the first communications device determines to initiate random access in the first random access opportunity. If the current value of the counter is not 0, the first communications device determines not to initiate random access in the first random access opportunity.

[0222] Optionally, the initial value of the counter is a first value. The first value can refer to the relevant description in the first possible implementation manner above and is not repeated here. After the first signaling, the first communication device can determine the current value of the counter based on the information indicating the random access opportunity number carried in the specific signaling, the latest value of the counter before receiving the specific signaling, and the number of the random access opportunity triggered by the most recently received specific signaling before the specific signaling after each reception of the specific signaling.

[0223] For example, taking the latest value of the counter before receiving the second signaling as a, the random access opportunity triggered by the latest specific signaling received before the second signaling as b, and the first random access opportunity indicated by the first information as c, the current value a′ of the counter satisfies: a′=a-(cb).

[0224] For example, based on the example shown in FIG10 , assuming that the initial value of the counter is 4 and the first communications device does not correctly receive QueryRep#2 but correctly receives QueryRep#1 and QueryRep#3, and assuming that the second signaling is QueryRep#3, then the most recent value of the counter before receiving the second signaling is 3 (the counter value is decremented by 1 after receiving QueryRep#1), and the most recently received specific signaling before the second signaling is QueryRep#1. If the random access opportunity triggered by QueryRep#1 is numbered 1 and the random access opportunity triggered by QueryRep#3 is numbered 3, then after receiving the second signaling, the current value of the counter is: a′=a-(cb)=3-(3-1)=1.

[0225] As a third possible implementation, the first communications device determines a current value of a counter based on the first information. If the current value of the counter is a first value, the first communications device determines to initiate random access in the first random access opportunity. If the current value of the counter is not the first value, the first communications device determines not to initiate random access in the first random access opportunity. For the first value, reference may be made to the relevant description in the first possible implementation above and will not be repeated here.

[0226] Optionally, the initial value of the counter is 0. After the first signaling, the first communications device may determine the current value of the counter each time it receives specific signaling based on the information indicating the random access opportunity number carried in the specific signaling, the latest value of the counter before receiving the specific signaling, and the number of the random access opportunity triggered by the most recently received specific signaling before the specific signaling.

[0227] For example, taking the latest value of the counter before receiving the second signaling as d, the random access opportunity triggered by the latest specific signaling received before the second signaling as b, and the first random access opportunity indicated by the first information as c, the current value d′ of the counter satisfies: d′=d+(cb).

[0228] For example, based on the example shown in FIG10 , assuming that the first value is 4, the first communications device does not correctly receive QueryRep#2, but correctly receives QueryRep#1 and QueryRep#3, and the second signaling is QueryRep#3, then the most recent value of the counter before receiving the second signaling is 1 (the counter value is incremented by 1 after receiving QueryRep#1), and the most recently received specific signaling before the second signaling is QueryRep#1. If the random access opportunity triggered by QueryRep#1 is numbered 1, and the random access opportunity triggered by QueryRep#3 is numbered 3, then after receiving the second signaling, the current value of the counter is: d′ = d + (cb) = 1 + (3-1) = 3.

[0229] Based on the second or third possible implementation method, the first communication device can adjust the value of the counter according to the information indicating the random access opportunity number carried in the specific signaling, thereby improving the accuracy of the counting, thereby improving the accuracy of the first communication device in determining its own random access opportunity, avoiding access conflicts with other communication devices caused by initiating random access in other random access opportunities, and improving access efficiency.

[0230] Optionally, the second communication device may send indication information before step S802, and the indication information may indicate whether the specific signaling (such as the second signaling) that can trigger the random access opportunity carries the numbering information of the random access opportunity. If the indication information indicates that the specific signaling carries the numbering information of the random access opportunity, the first communication device performs the method of the embodiment shown in Figure 8 of the present application; if the indication information indicates that the specific signaling does not carry the numbering information of the random access opportunity, the first communication device may adopt a counting method based on the reception of specific signaling. The method of counting based on the reception of specific signaling can refer to the relevant description in the process shown in Figure 3 and will not be repeated here.

[0231] Alternatively, after receiving the specific signaling, the first communications device may determine whether the specific signaling carries the numbering information of the random access opportunity. If it is determined that the specific signaling carries the numbering information of the random access opportunity, the first communications device executes the method of the embodiment shown in FIG8 of the present application; if it is determined that the specific signaling does not carry the numbering information of the random access opportunity, the first communications device may adopt a counting method based on the reception of the specific signaling.

[0232] In addition to access conflicts, data transmission conflicts may also occur between multiple first communication devices. For example, multiple first communication devices select the same random access opportunity to initiate random access, and the multiple first communication devices send the same random number at the same time. Then the second communication device can correctly decode the random number and send a confirmation message carrying the random number, but the second communication device cannot recognize that the random number is sent by multiple first communication devices. After receiving the confirmation message, the multiple first communication devices that sent the random number at the same random access opportunity will all believe that they have accessed normally, and thus will all send uplink data (such as EPC), that is, multiple first communication devices may send uplink data at the same time. However, the uplink data of the multiple first communication devices is likely to be different, and at this time, a data transmission conflict will occur.

[0233] For example, as shown in FIG12 , taking the case where both the first communication device #1 and the first communication device #2 select random access opportunity 2 and both the first communication device #1 and the first communication device #2 send random number 3 in random access opportunity 2, the first communication device #1 and the first communication device #2 can access normally in random access opportunity 2. However, a conflict occurs when the first communication device #1 and the first communication device #2 send their respective EPCs in random access opportunity 2.

[0234] Based on this, the present application also provides a communication method, in which the second communication device can instruct the first communication device not to flip the flag bit in the event of a data collision, so that the first communication device still has the opportunity to initiate random access in a subsequent inventory cycle to send data to the second communication device, thereby avoiding missing some first communication devices during the inventory process.

[0235] FIG13 is a flow chart of the communication method provided in an embodiment of the present application. The method is described using an example of a data conflict between the first communication device #1 and the first communication device #2. The communication method includes the following steps:

[0236] S1301: First communication device #1 sends data 1 to second communication device in a third random access opportunity. First communication device #2 sends data 2 to second communication device in a third random access opportunity.

[0237] The third random access opportunity is a random access opportunity for the first communication device #1 and the first communication device #2. For an explanation of the random access opportunity, please refer to the description of the random access opportunity in the method shown in FIG8 , which will not be repeated here.

[0238] For example, data 1 may be the EPC of the first communication device #1, and data 2 may be the EPC of the first communication device #2. Of course, data 1 and data 2 may also be other uplink data, which is not specifically limited in this application.

[0239] Optionally, before step S1301, the communication method may further include the following steps:

[0240] S1300a: The second communication device sends a first signaling. Correspondingly, the first communication device #1 and the first communication device #2 receive the first signaling from the second communication device.

[0241] The first signaling indicates a first inventory flag and a first state of the first inventory flag. The first inventory flag is a flag indicating the second communication device's inventory in this round. The first signaling may also indicate the number N of random access opportunities. The first signaling may also be used to trigger random access opportunities. For a description of the first signaling, please refer to the description of the first signaling in the method shown in FIG. 8 above and will not be repeated here.

[0242] Optionally, after receiving the first signaling, the first communication device #1 and the first communication device #2 may determine their own random access opportunities. This embodiment is described by taking the random access opportunities of the first communication device #1 and the first communication device #2 as the third random access opportunity as an example.

[0243] S1300b: The second communication device sends at least one specific signaling. For the description of the specific signaling, please refer to the relevant description of the specific signaling in the method shown in FIG8 , which will not be repeated here.

[0244] Optionally, the implementation of the specific signaling may be similar to the implementation of the second signaling, that is, the specific signaling may carry information indicating the random access opportunity number. Please refer to the relevant description of the second signaling in the method shown in Figure 8, which will not be repeated here.

[0245] Optionally, the first communication device #1 and the first communication device #2 may determine whether the random access opportunity triggered by the specific signaling is the third random access opportunity using the method in step S803. After determining that the random access opportunity triggered by the specific signaling is the third random access opportunity, the following step S1300c is performed.

[0246] S1300c: First communication device #1 sends a random number B, a random access request message, or an RRC connection establishment request message to the second communication device in a third random access opportunity. First communication device #2 sends a random number B, a random access request message, or an RRC connection establishment request message to the second communication device in the third random access opportunity. Accordingly, the second communication device receives the random number B, the random access request message, or the RRC connection establishment request message in the third random access opportunity. Exemplarily, the random access request message or the RRC connection establishment request message may include the random number B.

[0247] The random access request messages sent by first communication device #1 and first communication device #2 in the third random access opportunity contain the same content, or the RRC connection establishment request messages sent by first communication device #1 and first communication device #2 in the third random access opportunity contain the same content. For step S1300c, reference can be made to the description of step S303 above and will not be repeated here. Furthermore, in step S1300c, the second communication device is unaware that the random number B, random access request message, or RRC connection establishment request message originates from multiple first communication devices. That is, the second communication device cannot recognize that the random number B was sent simultaneously by multiple first communication devices.

[0248] S1300d: The second communication device sends a confirmation message. Correspondingly, the first communication device #1 and the first communication device #2 receive the confirmation message.

[0249] The confirmation message includes the random number B. After receiving the confirmation message, the first communication device #1 and the first communication device #2 know that the random number carried in the confirmation message is the random number sent by themselves, and thus execute step S1301.

[0250] Optionally, the confirmation message may also be referred to as a conflict resolution message or a contention resolution message, and the three may be interchangeable, and this application does not impose any specific limitations thereon. Alternatively, the confirmation message may also be referred to as an RRC connection establishment message.

[0251] S1302: The second communication device determines that data of multiple first communication devices collides in a third random access opportunity.

[0252] Optionally, when the second communication apparatus cannot correctly decode the data received in the third random access opportunity, it is determined that data of multiple first communication apparatuses collide in the third random access opportunity.

[0253] S1303: The second communication device sends second information to multiple first communication devices. Correspondingly, first communication device #1 and first communication device #2 receive the second information.

[0254] The second information indicates that the first communication device does not flip the first inventory flag. Exemplarily, the second information may include a random number B, which can be used to identify a target first communication device. The target first communication device is the first communication device that sent the random number B, namely, first communication device #1 and first communication device #2. The second information indicates that the first communication device does not flip the first inventory flag, that is, the second information indicates that the target first communication device does not flip the first inventory flag.

[0255] Optionally, the second information indicating that the first communication device does not flip the state of the first inventory flag bit can also be replaced by: the second information indicating that the data transmission of the first communication device fails; or, the second information indicating that the access of the first communication device fails, where access may include the data transmission process; or, the second information indicating that the data transmission of the first communication device collides or conflicts.

[0256] Optionally, data transmission failure, access failure, and data transmission collision may be understood as data transmission failure, access failure, or data transmission collision in this round, respectively. This round may refer to an inventory cycle triggered by the first signaling.

[0257] Optionally, the second information may be carried in a newly defined signaling message. Alternatively, the second information may be carried in existing signaling. For example, the second information may be a field in a QueryRep command or other existing command, or the second information may be a field in an RRC Connection Reject message or an RRC Connection Release message.

[0258] This embodiment is described using an example of a data transmission collision occurring between multiple first communication devices. If a second communication device does not detect a data transmission collision in a random access opportunity, the second communication device may also send third information to instruct the first communication device initiating random access in the random access opportunity to flip the state of the inventory flag, or to indicate that the access or data transmission of the first communication device is successful.

[0259] S1304: The first communication device #1 and the first communication device #2 determine not to flip the state of the first inventory flag based on the second information.

[0260] Optionally, determining not to flip the state of the first inventory flag bit can be understood or replaced by: determining that the current round of access is unsuccessful, or determining that the data transmission fails, or determining that a data collision or conflict occurs with other first communication devices in the third random access opportunity.

[0261] Optionally, based on the second information, after receiving the specific signaling triggering the next random access opportunity, the first communication device #1 and the first communication device #2 may not flip the state of the first inventory flag, that is, maintain the state of the first inventory flag in the first state. Exemplarily, the next random access opportunity may be the first random access opportunity after the third random access opportunity. Subsequently, when the second communication device performs the next round of inventory on the first communication device whose first inventory flag is in the first state or triggers its access, the first communication device #1 and the first communication device #2 may initiate random access. That is, the first communication device that receives the second information needs to access again, for example, when the second communication device triggers the next round of random access, the first communication device accesses, or the first communication device proactively initiates access again.

[0262] Based on this solution, when the second communication device determines that a data collision occurs in a random access opportunity, it can instruct multiple first communication devices that have collided not to flip the inventory flag bits of this round of inventory, so that the multiple first communication devices can still have the opportunity to initiate random access in subsequent inventory cycles to send data to the second communication device, avoiding missing some first communication devices and improving communication efficiency.

[0263] It can be understood that if the process shown in Figure 3 is followed, in the event of a data collision, the second communication device does not send the second information, then the multiple first communication devices will flip the state of the first inventory flag, resulting in the multiple first communication devices not initiating random access again in subsequent inventory cycles, thereby missing the multiple first communication devices that collided.

[0264] In addition to the communication methods shown in Figures 8 and 13, the present application also provides a communication method that can be applied to scenarios where some first communication devices cannot correctly receive each specific signaling after coverage enhancement. As shown in Figure 14, the communication method includes the following steps:

[0265] S1401: The second communication device sends a first signaling. Correspondingly, the first communication device receives the first signaling from the second communication device.

[0266] The first signaling indicates the number of random access opportunities, N. Furthermore, the first signaling also indicates a first inventory flag and a first state of the first inventory flag. The first signaling can also be used to trigger a random access opportunity. For an explanation of the first signaling, refer to the description of the first signaling in the method shown in FIG. 8 above and will not be repeated here.

[0267] S1402: The second communication device sends L third signalings. Each third signaling corresponds to a random access opportunity. L is a positive integer greater than N-1 or greater than N.

[0268] The third signaling corresponds to a random access opportunity, which can be understood as: the third signaling triggers the random access opportunity, or the random access opportunity is triggered by the third signaling. In other words, the third signaling is the specific signaling described in the method shown in Figure 8 above. Please refer to the relevant description of the specific signaling in the method shown in Figure 8, and will not be repeated here.

[0269] Optionally, when the first signaling is used to trigger a random access opportunity, L may be a positive integer greater than N-1. When the first signaling is not used to trigger a random access opportunity, that is, only the third signaling is used to trigger a random access opportunity, L may be a positive integer greater than N.

[0270] Optionally, when multiple random access opportunities are jointly triggered by the first signaling and L third signalings, the sum of the number of random access opportunities triggered by the first signaling and the L third signalings may be greater than N, that is, more than N random access opportunities are triggered by the first signaling and the L third signalings.

[0271] That is, although the second communication device indicates that the number of random access opportunities is N through the first signaling, the second communication device triggers more than N random access opportunities through the first signaling and / or L third signalings. That is, the actual number of random access opportunities is greater than the number N of random access opportunities indicated by the first signaling.

[0272] As one possible implementation, after receiving the first signaling, the first communications device may select a random number from [0, N-1] as the initial value of a counter. Each subsequent time a specific signaling is received, the counter value may be decremented by 1 until the counter value reaches 0, at which point random access is initiated. If, according to existing procedures, the second communications device triggers N random access opportunities, the first communications device that selects a larger random number may fail to receive certain specific signaling, causing the counter to be unable to decrement to 0 and, therefore, being unable to initiate random access.

[0273] For example, as shown in FIG15 , taking the specific signaling of Query and QueryRep as an example, assuming that the number of random access opportunities N indicated by the first signaling is 12, a first communications device selects a random number of 10, and the first communications device fails to successfully receive QueryRep#4 and QueryRep#5, then after the first communications device receives QueryRep#11, the value of the counter can only be reduced to 1. If the existing process is followed, the second communications device will no longer send QueryRep signaling to trigger a random access opportunity, and therefore the first communications device cannot initiate random access.

[0274] Based on the solution of this embodiment, after QueryRep #11, the second communication device can send at least one additional specific signaling. After receiving the additional specific signaling, the first communication device can decrement the counter value to 0, thereby initiating random access. Figure 15 illustrates the example of the second communication device sending two additional QueryReps.

[0275] As another possible implementation, after receiving the first signaling, the first communications device may select a random number from [0, N-1] as the fourth value and set the initial value of the counter to 0. Upon receiving each subsequent specific signaling, the counter value may be incremented by 1 until the counter value reaches the fourth value, at which point random access is initiated. If, according to existing procedures, the second communications device triggers N random access opportunities, the first communications device that selects a larger random number may fail to receive certain specific signalings, causing the counter value to fail to reach the fourth value, thereby failing to initiate random access.

[0276] Based on the solution of this embodiment, the second communication device can send at least one additional specific signaling, so that the first communication device can add the value of the counter to the fourth value according to the additional specific signaling, thereby initiating random access in the random access opportunity triggered by the specific signaling.

[0277] As a possible implementation, the value of L may be determined based on channel quality. The channel quality may be the channel quality between the second communication device and the target first communication device. The target first communication device may be the first communication device farthest from the second communication device within the coverage area of ​​the second communication device.

[0278] Optionally, the channel quality between the second communication device and the target first communication device may be obtained by the second communication device through measurement, or may be measured by the target first communication device and reported to the second communication device, which is not specifically limited in this application.

[0279] For example, the channel quality can be represented by the channel bit error rate, that is, the value of L can be determined based on the channel bit error rate. For example, the value of L can satisfy the following relationship:

[0280] or,

[0281] Where y represents the channel bit error rate. Indicates rounding up. Of course, the above relationship can also be transformed to obtain the value of L, for example, by adding a positive integer to the left of the equal sign in the above relationship, that is, Wherein, Q is a positive integer.

[0282] Alternatively, the value of L can satisfy the following relationship:

[0283] or,

[0284] Illustratively, the above relationships (1.1) and (1.2) can be applied to a scenario where the first signaling triggers a random access opportunity, or to a scenario where the first signaling does not trigger a random access opportunity. The above relationships (2.1) and (2.2) can be applied to a scenario where the first signaling triggers a random access opportunity.

[0285] As another possible implementation, the value of L may be determined by the second communication device itself, or may be predefined by the protocol, and this application does not make any specific limitations on this.

[0286] Based on this solution, the second communication device sends L third signalings, so that the number of random access opportunities actually triggered is greater than the number N of random access opportunities indicated by the first signaling. This allows random access opportunities to be provided to first communication devices that have not successfully received certain third signalings. In other words, even if a first communication device fails to successfully receive certain specific signalings, it still has the opportunity to obtain random access later. This allows the first communication device to initiate random access as much as possible, improving random access efficiency, especially for first communication devices that select a larger random number or a later random access opportunity.

[0287] It is understood that in each of the above embodiments, the methods and / or steps implemented by the first communication device may also be implemented by components applicable to the first communication device (e.g., a processor, chip, chip system, circuit, logic module, or software); and the methods and / or steps implemented by the second communication device may also be implemented by components applicable to the second communication device (e.g., a processor, chip, chip system, circuit, logic module, or software). The chip system may be composed of a chip, or may include a chip and other discrete components.

[0288] It is understandable that, in order to realize the above functions, the communication device includes hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and 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 be beyond the scope of this application.

[0289] The embodiment of the present application can divide the functional modules of the communication device according to the above method embodiment. 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 modules 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 functional division. In actual implementation, there may be other division methods.

[0290] Communication Device Figure 16 shows a schematic structural diagram of a communication device 160. The communication device 160 includes a processing module 1601 and a transceiver module 1602. The communication device 160 can be used to implement the functions of the first communication device or the second communication device described above.

[0291] In some embodiments, the communication device 160 may further include a storage module (not shown in FIG. 16 ) for storing program instructions and data.

[0292] In some embodiments, the transceiver module 1602, which may also be referred to as a transceiver unit, is configured to implement a transmitting and / or receiving function. The transceiver module 1602 may be composed of a transceiver circuit, a transceiver, a transceiver, or a communication interface.

[0293] In some embodiments, the transceiver module 1602 may include a receiving module and a sending module, which are respectively used to execute the receiving and sending steps performed by the first communication device or the second communication device in the above method embodiment, and / or used to support other processes of the technology described herein; the processing module 1601 may be used to execute the processing steps (such as determination, etc.) performed by the first communication device or the second communication device in the above method embodiment, and / or used to support other processes of the technology described herein.

[0294] In some embodiments, when the communication device 160 is used to implement the functions of the first communication device:

[0295] Transceiver module 1602 is configured to receive first signaling indicating a number N of random access opportunities, where N is a positive integer. Transceiver module 1602 is further configured to receive second signaling including first information indicating a number of a first random access opportunity, where the number of the first random access opportunity is less than or equal to N-1. Processing module 1601 is configured to determine whether to initiate random access in the first random access opportunity based on the first information.

[0296] Optionally, the processing module 1601 is used to determine whether to initiate random access in the first random access opportunity based on the first information, including: the processing module 1601 is used to determine whether to initiate random access in the first random access opportunity when the number of the first random access opportunity is equal to the first numerical value; and determine not to initiate random access in the first random access opportunity when the number of the first random access opportunity is not equal to the first numerical value.

[0297] In other embodiments, when the communication device 160 is used to implement the functions of the first communication device:

[0298] Transceiver module 1602 is configured to send data to the second communication device in a third random access opportunity. Transceiver module 1602 is further configured to receive second information from the second communication device, the second information indicating that the first communication device does not flip a first inventory flag, where the first inventory flag is the inventory flag of the second communication device in the current inventory round. Processing module 1601 is configured to determine, based on the second information, whether to flip the first inventory flag.

[0299] In some embodiments, when the communication device 160 is used to implement the functions of the second communication device:

[0300] The transceiver module 1602 is configured to send a first signaling message indicating a number N of random access opportunities, where N is a positive integer. The transceiver module 1602 is further configured to send a second signaling message including first information indicating a number of a first random access opportunity, where the number of the first random access opportunity is less than or equal to N-1.

[0301] In some other embodiments, when the communication device 160 is used to implement the functions of the second communication device:

[0302] Processing module 1601 is configured to determine whether data from multiple first communication devices collide in a third random access opportunity. Transceiver module 1602 is configured to send second information to the multiple first communication devices, where the second information indicates that the first communication devices do not flip the state of a first inventory flag, where the first inventory flag is the inventory flag of the second communication devices in the current inventory round.

[0303] Optionally, the processing module 1601 is configured to determine that data of multiple first communication devices collides in the third random access opportunity, including: the processing module 1601 is configured to determine that data received in the third random access opportunity cannot be correctly decoded.

[0304] In some further embodiments, when the communication device 160 is used to implement the functions of the second communication device:

[0305] The transceiver module 1602 is configured to send a first signaling indicating the number of random access opportunities N, where N is a positive integer. The transceiver module 1602 is further configured to send L third signalings, each corresponding to a random access opportunity, where L is a positive integer greater than N.

[0306] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0307] Optionally, in this application, "the transceiver module receives / sends information" can also be understood as the processing module receiving / sending information via the transceiver module. "The processing module receives / sends information via the transceiver module" can also be understood as the processing module controlling the transceiver module to receive / send information. Alternatively, "the processing module sends information via the transceiver module" can be understood as the processing module outputs information to the transceiver module, which then sends the information; "the processing module receives information via the transceiver module" can be understood as the transceiver module receiving the information and inputting the information to the processing module.

[0308] In the present application, the communication device 160 may be presented in the form of various functional modules divided in an integrated manner. The "module" here may refer to a specific application-specific integrated circuit (ASIC), a circuit, a processor and memory that executes one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions.

[0309] In some embodiments, when the communication device 160 in Figure 16 is a chip or a chip system, the function / implementation process of the transceiver module 1602 can be implemented through the input and output interface (or communication interface) of the chip or chip system, and the function / implementation process of the processing module 1601 can be implemented through the processor (or processing circuit) of the chip or chip system.

[0310] Since the communication device 160 provided in this embodiment can execute the above method, the technical effects that can be obtained can refer to the above method embodiments and will not be repeated here.

[0311] As a possible product form, the second communication device or the first communication device described in the embodiments of the present application can also be implemented using the following: one or more field programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits capable of performing the various functions described throughout this application.

[0312] As another possible product form, the second communication device or the first communication device described in the embodiment of the present application can be implemented by a general bus architecture. For ease of explanation, refer to Figure 17, which is a structural diagram of a communication device 1700 provided in an embodiment of the present application, wherein the communication device 1700 includes a processor 1701 and a transceiver 1702. The communication device 1700 can be a first communication device, or a chip or chip system therein; or, the communication device 1700 can be a second communication device, or a chip or module therein. Figure 17 only shows the main components of the communication device 1700. In addition to the processor 1701 and the transceiver 1702, the communication device 1700 may further include a memory 1703, and an input and output device (not shown).

[0313] Optionally, processor 1701 is primarily used to process communication protocols and communication data, as well as control the entire communication device, execute software programs, and process software program data. Memory 1703 is primarily used to store software programs and data. Transceiver 1702 may include a radio frequency circuit and an antenna. The radio frequency circuit is primarily used to convert baseband signals into radio frequency signals and process radio frequency signals. The antenna is primarily used to transmit and receive radio frequency signals in the form of electromagnetic waves. Input and output devices, such as a touch screen, display, and keyboard, are primarily used to receive user input and output data to the user.

[0314] Optionally, the processor 1701 , the transceiver 1702 , and the memory 1703 may be connected via a communication bus.

[0315] When the communication device is powered on, the processor 1701 can read the software program in the memory 1703, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor 1701 performs baseband processing on the data to be sent and outputs the baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal and then transmits the radio frequency signal to the outside in the form of electromagnetic waves through the antenna. When data is sent to the communication device, the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor 1701. The processor 1701 converts the baseband signal into data and processes the data.

[0316] In another implementation, the RF circuit and antenna may be provided independently of the processor performing baseband processing. For example, in a distributed scenario, the RF circuit and antenna may be remotely arranged independent of the communication device.

[0317] In some embodiments, in terms of hardware implementation, those skilled in the art may conceive that the above-mentioned communication device 160 may take the form of a communication device 1700 shown in FIG. 17 .

[0318] As an example, the functions / implementation process of the processing module 1601 in FIG16 can be implemented by the processor 1701 in the communication device 1700 shown in FIG17 calling the computer-executable instructions stored in the memory 1703. The functions / implementation process of the transceiver module 1602 in FIG16 can be implemented by the transceiver 1702 in the communication device 1700 shown in FIG17.

[0319] As another possible product form, the first communication device or the second communication device in the present application may adopt the structure shown in Figure 18, or include the components shown in Figure 18. Figure 18 is a schematic diagram of the structure of a communication device 1800 provided in the present application.

[0320] As shown in FIG18 , a communication device 1800 includes at least one processor 1801. Optionally, the communication device further includes a communication interface 1802.

[0321] When the program instructions are executed in the at least one processor 1801, the apparatus 1800 can implement the method provided in any of the aforementioned embodiments and any possible designs thereof. Alternatively, the processor 1801 implements the method provided in any of the aforementioned embodiments and any possible designs thereof through logic circuits or by executing code instructions.

[0322] The communication interface 1802 may be used to receive program instructions and transmit them to the processor. Alternatively, the communication interface 1802 may be used for communication between the communication device 1800 and other communication devices, such as exchanging control signaling and / or service data. Exemplarily, the communication interface 1802 may be used to receive signals from devices other than the communication device 1800 and transmit them to the processor 1801, or to send signals from the processor 1801 to communication devices other than the communication device 1800.

[0323] Optionally, the communication interface 1802 may be a code and / or data read and write interface circuit, or the communication interface 1802 may be a signal transmission interface circuit between a communication processor and a transceiver, or a pin of a chip.

[0324] Optionally, the communication device 1800 may further include at least one memory 1803, which may be used to store required program instructions and / or data. It should be noted that the memory 1803 may exist independently of the processor 1801 or may be integrated with the processor 1801. The memory 1803 may be located within or outside the communication device 1800, without limitation.

[0325] Optionally, the communication device 1800 may further include a power supply circuit 1804, which may be used to supply power to the processor 1801. The power supply circuit 1804 may be located in the same chip as the processor 1801, or in another chip other than the chip where the processor 1801 is located.

[0326] Optionally, the communication device 1800 may further include a bus 1805 , and various parts of the communication device 1800 may be interconnected via the bus 1805 .

[0327] In some embodiments, in terms of hardware implementation, those skilled in the art may conceive that the communication device 160 shown in FIG. 16 may take the form of the communication device 1800 shown in FIG. 18 .

[0328] As an example, the functions / implementation process of the processing module 1601 in FIG16 can be implemented by the processor 1801 in the communication device 1800 shown in FIG18 calling the computer-executable instructions stored in the memory 1803. The functions / implementation process of the transceiver module 1602 in FIG16 can be implemented by the communication interface 1802 in the communication device 1800 shown in FIG18.

[0329] It should be noted that the structure shown in FIG18 does not constitute a specific limitation on the first communication device or the second communication device. For example, in other embodiments of the present application, the first communication device or the second communication device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0330] Optionally, the processor in the present application may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, etc.

[0331] Optionally, the memory in the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), or direct rambus RAM (DR RAM).

[0332] Optionally, the power supply circuit described in the embodiment of the present application includes but is not limited to at least one of the following: a power supply line, a power supply subsystem, a power management chip, a power consumption management processor, or a power consumption management control circuit.

[0333] In some embodiments, an embodiment of the present application further provides a communication device, which includes a processor for implementing the method in any of the above method embodiments.

[0334] As a possible implementation, the communication device further includes a memory. The memory is used to store necessary computer programs and data. The computer program may include instructions, and the processor may invoke the instructions in the computer program stored in the memory to instruct the communication device to execute any of the above-described method embodiments. Of course, the memory may not be located in the communication device.

[0335] As another possible implementation, the communication device also includes an interface circuit, which is a code / data read / write interface circuit, and the interface circuit is used to receive computer execution instructions (computer execution instructions are stored in a memory, may be read directly from the memory, or may pass through other devices) and transmit them to the processor.

[0336] As another possible implementation, the communication device further includes a communication interface, where the communication interface is used to communicate with a module outside the communication device.

[0337] It can be understood that the communication device can be a chip or a chip system. When the communication device is a chip system, it can be composed of chips or include chips and other discrete devices. The embodiments of the present application do not specifically limit this.

[0338] The present application also provides a computer-readable storage medium having a computer program or instruction stored thereon, which implements the functions of any of the above method embodiments when executed by a computer.

[0339] The present application also provides a computer program product, which implements the functions of any of the above method embodiments when executed by a computer.

[0340] Those skilled in the art will appreciate that, for the sake of convenience and brevity of description, the specific working processes of the above-described systems, devices, and units may refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0341] It is understood that the systems, devices, and methods described in this application may also be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection shown or discussed may be through some interface, indirect coupling or communication connection of devices or units, and may be electrical, mechanical, or other forms.

[0342] The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network units. Components shown as units may or may not be physical units. Some or all of these units may be selected to achieve the objectives of this embodiment as needed.

[0343] 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.

[0344] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using a software program, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state drive (SSD)). In the embodiment of the present application, the computer may include the aforementioned device.

[0345] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art can understand and implement other changes to the disclosed embodiments by reviewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple situations. A single processor or other unit can implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0346] Although the present application has been described with reference to specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely illustrative of the present application as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, the present application is intended to include such modifications and variations as fall within the scope of the claims of the present application and their equivalents.

Claims

1. A communication method, characterized in that: The method comprises: Receiving a first signaling, where the first signaling indicates a number N of random access opportunities, where N is a positive integer; receiving second signaling, where the second signaling includes first information, where the first information indicates a number of a first random access opportunity, where the number of the first random access opportunity is less than or equal to N-1; Determine whether to initiate random access in the first random access opportunity according to the first information.

2. The method according to claim 1, characterized in that The determining, according to the first information, whether to initiate random access in the first random access opportunity includes: When the number of the first random access opportunity is equal to the first value, determining to initiate random access in the first random access opportunity; When the number of the first random access opportunity is not equal to the first value, it is determined not to initiate random access in the first random access opportunity.

3. The method according to claim 1 or 2, characterized in that: The first information is P-bit information, 2 P ≥N, P is a positive integer.

4. The method according to claim 1 or 2, characterized in that: The first information is M-bit information, 2 M where N and M are positive integers.

5. The method according to claim 4, characterized in that The value of the M-bit information is greater than or equal to 0 and less than or equal to 2 M -1, the value of the M-bit information is an integer, and the number of the first random access opportunity counter satisfies: counter = (K-1) × 2 M +x+1; Wherein, K is the number of rounds, K is a positive integer, and x is the value of the M-bit information.

6. The method according to claim 5, characterized in that When the value of the M-bit information is less than or equal to the second value, the value of K is equal to the third value plus 1; When the value of the M-bit information is greater than the second value, the value of K is equal to the third value; The second value is the latest relative number before receiving the second signaling, and the third value is the latest round number before receiving the second signaling.

7. A communication method, characterized in that: The method comprises: Sending a first signaling, where the first signaling indicates a number N of random access opportunities, where N is a positive integer; Sending second signaling, where the second signaling includes first information, where the first information indicates a number of a first random access opportunity, and the number of the first random access opportunity is less than or equal to N-1.

8. The method according to claim 7, characterized in that The first information is P-bit information, 2 P ≥N, P is a positive integer.

9. The method according to claim 7, characterized in that: The first piece of information is M-bit information, 2 M <N and M are positive integers.

10. The method according to claim 9, characterized in that The value of the M-bit information is greater than or equal to 0 and less than or equal to 2 M -1, the value of the M-bit information is an integer, and the number of the first random access opportunity counter satisfies: counter = (K-1) × 2 M +x+1; Wherein, K is the number of rounds, K is a positive integer, and x is the value of the M-bit information.

11. The method according to any one of claims 7 to 10, characterized in that: The first signaling further includes second information, where the second information indicates a number of a second random access opportunity, and the number of the second random access opportunity is smaller than the number of the first random access opportunity.

12. A communication method, characterized in that: The method comprises: sending data to the second communication device in a third random access opportunity; receiving second information from the second communication device, the second information indicating that the first communication device does not flip the state of the first inventory flag, the first inventory flag being the inventory flag of the second communication device in the current round of inventory; According to the second information, it is determined not to flip the state of the first inventory flag.

13. The method according to claim 12, characterized in that The second information indicating that the first communication device does not flip the state of the first inventory flag bit includes at least one of the following: The second information indicates that data transmission by the first communication device has failed; The second information indicates that the first communication device fails to access; The second information indicates that a collision occurs in data transmission of the first communication device.

14. A communication method, characterized in that: The method comprises: determining that data of the plurality of first communication devices collides in a third random access opportunity; Sending second information to the plurality of first communication devices, wherein the second information instructs the first communication device not to flip the first inventory flag bit The first inventory flag is the inventory flag of the second communication device in this round of inventory.

15. The method according to claim 14, characterized in that The second information indicating that the first communication device does not flip the state of the first inventory flag bit includes at least one of the following: The second information indicates that data transmission by the first communication device has failed; The second information indicates that the first communication device fails to access; The second information indicates that a collision occurs in data transmission of the first communication device.

16. The method according to claim 14 or 15, characterized in that The determining that data of the plurality of first communication devices collides in the third random access opportunity includes: failing to correctly decode data received in the third random access opportunity.

17. A communication method, characterized in that: The method comprises: Sending a first signaling, where the first signaling indicates a number N of random access opportunities, where N is a positive integer; L third signalings are sent, each of the third signalings corresponds to a random access opportunity, and L is a positive integer greater than N.

18. The method according to claim 17, characterized in that The value of L is determined according to the channel bit error rate between the target first communication device and the second communication device.

19. The method according to claim 18, characterized in that The value of L satisfies the following relationship: Wherein, y represents the channel bit error rate, Indicates rounding up.

20. A communication device, characterized in that: The communication device comprises a processor; the processor is configured to run a computer program or instruction so that the communication device executes the method according to any one of claims 1 to 19.

21. 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 executed on the communication device, the method according to any one of claims 1 to 19 is executed.

22. 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 communication device, the method according to any one of claims 1 to 19 is executed.

23. A chip, characterized in that: include: a memory for storing computer program instructions; A processor, configured to execute the computer program instructions so that a communication device including the chip executes the method according to any one of claims 1 to 19.

Citation Information

Patent Citations

  • Communication method and device

    CN119052945A

  • Multi-tag identification method of RFID reader

    CN101944171A

  • Method for preventing multiple tags from collision based on hybrid tree

    CN102013002A

  • Method for identifying and authenticating rfid tag by reader

    CN102823222A

  • Anti-knocking method for RFID system

    CN104268493A