Data sending method and communication equipment
By selecting incomplete overlapping back windows in the communication device, and adaptively selecting the target back window according to the data type and priority, the problem of multi-device transmission conflict is solved, and data transmission is efficient and reliable.
Patent Information
- Application Number
- CN202510439887.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2025-08-05
AI Technical Summary
In existing communication systems, multiple devices are prone to conflicts and interference when sending simultaneously, and it is impossible to guarantee priority transmission of important data, and it is impossible to adapt different back-off windows according to the data content and scenarios.
By selecting multiple incomplete overlapping back windows in the communication device, the target back window is adaptively selected according to the type and priority of the data to be sent for data transmission, ensuring that different devices send data in different time periods and reducing the probability of air interface collision.
It effectively reduces the conflict probability of multiple devices sending simultaneously, improves the success rate of data transmission, ensures priority transmission of important data and efficient utilization of channel resources.
Smart Images

Figure CN120434826A_ABST
Abstract
Description
Technical Field
[0001] The disclosed embodiments of the present application relate to the field of wireless communication technology, and more specifically, to a data transmission method and a communication device. Background Art
[0002] Currently, most communication systems support random access. However, to prevent collisions and interference caused by multiple devices transmitting simultaneously, collisions can be prevented by random backoffs between devices. For example, before transmitting, the channel is checked. If the channel is idle, transmission is allowed. If the channel is busy, a fixed-time random backoff window is initiated. Each device performs a random backoff within this window. After the backoff time expires, the device checks again to see if the channel is busy and attempts to transmit again. However, if too many devices back off within a time window, the probability of simultaneous transmission increases, and it is impossible to ensure that important data is sent first, which is not very effective in practice. Summary of the Invention
[0003] The present application proposes a data transmission method and communication device to solve the problem of conflict and interference caused by simultaneous transmission of multiple devices, which can reduce the probability of conflict and improve the transmission success rate.
[0004] The first aspect of the present application discloses a method for data transmission, which is applied to a communication device, including: determining data to be sent in response to a transmission requirement; selecting a backoff window from multiple backoff windows as a target backoff window based on the data to be sent, and sending the data to be sent in the target backoff window; wherein the multiple backoff windows do not completely overlap.
[0005] In some embodiments, based on the data type of the data to be sent, a backoff window is selected from the multiple backoff windows as the target backoff window, including: when the data type of the data to be sent is general data, a backoff window with a window type of a special backoff window is selected from the multiple backoff windows as the target backoff window; when the data type of the data to be sent is non-general data, a backoff window with a window type of an ordinary backoff window is selected from the multiple backoff windows as the target backoff window; wherein the general data is the same common data of the air interface data frames sent by different communication devices, and the general data corresponds one-to-one to the special backoff window, and the non-general data is data other than the general data.
[0006] In some embodiments, selecting a backoff window from multiple backoff windows as the target backoff window based on the priority corresponding to the data to be sent by the communication device includes: selecting a backoff window corresponding to the priority from multiple backoff windows as the target backoff window based on the priority of the data to be sent by the communication device, wherein the higher the priority, the closer the target backoff window is to the multiple backoff windows, and the time when the communication device sends data in the front backoff window is earlier than the time when it sends data in the backoff window.
[0007] In some embodiments, selecting a backoff window from a plurality of backoff windows as a target backoff window based on the data to be sent includes: when the data type of the data to be sent is general data, selecting a special backoff window corresponding to the general data as the target backoff window, wherein the general data corresponds one-to-one to the special backoff window; when the data type of the data to be sent is non-general data, selecting a backoff window corresponding to the priority from a plurality of ordinary backoff windows as the target backoff window based on the priority of the communication device for sending the data to be sent, wherein the higher the priority, the closer the target backoff window is in the plurality of backoff windows, and the time when the communication device sends data in the front backoff window is earlier than the time when the communication device sends data in the backoff window; wherein the general data is common data with the same air interface data frame sent by different communication devices, and the non-general data is data other than the general data.
[0008] In some embodiments, selecting a backoff window as a target backoff window from a plurality of backoff windows based on the data to be sent includes: selecting a backoff window corresponding to the priority of the communication device sending the data to be sent, wherein the higher the priority, the closer the target backoff window is in the plurality of backoff windows, and the communication device sends data in an earlier backoff window earlier than in a later backoff window; when the data type of the data to be sent is general data, selecting a special backoff window corresponding to the general data from the backoff window corresponding to the priority as the target backoff window, wherein the general data has a one-to-one correspondence with the special backoff window; when the data type of the data to be sent is non-general data, selecting a normal backoff window corresponding to the non-general data from the backoff window corresponding to the priority as the target backoff window; wherein the general data is common data with the same air interface data frame sent by different communication devices, and the non-general data is data other than the general data.
[0009] In some embodiments, after the data to be sent in the target backoff window fails to be sent, another backoff window located after the target backoff window is selected from the multiple backoff windows, and the data to be sent is resent; and / or, after the data to be sent in the target backoff window fails to be sent, the sending information is recorded, and in the next service transmission, when the communication device sends another new data to be sent, another backoff window located before the target backoff window is selected according to the record to send the new data to be sent, and the sending information includes service priority, service ID, or service type.
[0010] In some embodiments, the time length between the earliest time point for sending the data to be sent and the latest time point for sending the data to be sent is the longest transmission duration of the data to be sent.
[0011] In some embodiments, the priority includes: the service priority of the data to be sent, the device type of the communication device, or the device status, wherein different device types have different priorities, and different device statuses have different priorities.
[0012] In some embodiments, the multiple backoff windows are determined based on the number of devices and / or the number of services expected to be distributed in each backoff window, with a minimum collision probability.
[0013] In some embodiments, the multiple backoff windows are obtained by dividing the backoff time according to at least one of the following rules: the priority of the data sent by the communication device; and the data type of the data sent by the communication device.
[0014] In some embodiments, the number of the multiple backoff windows is related to the priority level and / or data type; the data type includes general data and non-general data, wherein the general data is the same data in the air interface data frame sent by different communication devices, and there is at least one type of general data; the non-general data is data other than the general data; among the multiple backoff windows, the window type corresponding to the general data is a special backoff window, and the window type corresponding to the non-general data is a normal backoff window.
[0015] In some embodiments, the multiple backoff windows are arranged according to priority, wherein a first backoff window with a high priority is located before a second backoff window with a corresponding low priority, and a communication device sending data within the first backoff window takes precedence over a communication device sending data within the second backoff window.
[0016] In some embodiments, the multiple backoff windows are pre-configured or set according to an instruction message sent by the system.
[0017] In some embodiments, the multiple backoff windows include at least two ordinary backoff windows, or at least two ordinary backoff windows and at least one special backoff window; the duration of the special backoff window can be zero or less than the duration of any ordinary backoff window, and multiple terminals can send data simultaneously within the special backoff window; the time length of the ordinary backoff window is a non-zero value, which is related to the number of devices and / or the number of services that use the ordinary backoff window to send data.
[0018] A second aspect of the present application discloses a communication device, comprising a memory and a processor coupled to each other, wherein the processor is configured to execute program instructions stored in the memory to implement the data sending method described in the first aspect.
[0019] Different from the existing technology, the present application provides a data transmission method and a communication device that can realize that when multiple devices transmit data in the same time period, each device adaptively adapts to a more appropriate backoff window in the time period, thereby reducing the probability of air interface collisions and conflicts and improving the success rate of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The present application will be further described below with reference to the accompanying drawings and implementation methods, in which:
[0021] Figure 1 Schematic diagram of the DMR / PDT uplink TDMA frame structure according to an embodiment of the present application;
[0022] Figure 2 Schematic diagram of the DMR / PDT downlink TDMA frame structure according to an embodiment of the present application;
[0023] Figure 3 is a schematic diagram of a channel access control indication according to an embodiment of the present application;
[0024] Figure 4 1 is a flow chart of a method for sending data according to an embodiment of the present application;
[0025] Figure 5 is a flowchart of a data transmission method according to another embodiment of the present application;
[0026] Figure 6 is a flowchart of a data transmission method according to another embodiment of the present application;
[0027] Figure 7 Schematic diagram of the division of the backoff window in one embodiment of the present application;
[0028] Figure 8 Schematic diagram of the division of the backoff window according to another embodiment of the present application;
[0029] Figure 9is a schematic structural diagram of a communication device according to an embodiment of the present application;
[0030] Figure 10 It is a structural diagram of the non-volatile computer-readable storage medium of an embodiment of the present application. DETAILED DESCRIPTION
[0031] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0032] The term "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 three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship. In addition, "many" in this article means two or more than two. In addition, the term "at least one" in this article means any combination of at least two of any one or more of a plurality of, for example, including at least one of A, B, and C, can mean including any one or more elements selected from the set consisting of A, B, and C. In addition, the terms "first", "second", and "third" in this application are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0033] In narrowband wireless standards such as DMR (Digital Mobile Radio) / PDT (Police Digital Trunking), when a device has data to send, if it is a polite access method, it needs to first detect whether the channel is busy. If the channel is busy, it starts a random backoff process with a fixed time window. When the backoff time is up, it checks whether the channel is idle. If it is idle, it starts sending. If it is busy, it continues to back off until the predetermined time window is exceeded. For example, in the DMR / PDT standard, each frame includes 2 time slots, each time slot is 30ms. The uplink time slot includes a 2.5ms protection time, and the downlink time slot includes a 2.5ms CACH (Common Announcement Channel) signaling. Its structure is as follows: Figure 1 and Figure 2 As shown, Figure 1Schematic diagram of the DMR / PDT uplink TDMA (Time Division Multiple Access) frame structure according to an embodiment of the present application. Figure 2 This is a schematic diagram of the DMR / PDT downlink TDMA frame structure of the embodiment of the present application. If the channel access mode is courtesy access mode, for the same-frequency transmission and reception working mode, it can be determined whether the current channel is busy based on whether the carrier is detected. For the different-frequency transmission and reception working mode, it is necessary to confirm whether the uplink time slot is busy based on the indication in the CACH. The specific process is as follows Figure 3 As shown, Figure 3 This is a schematic diagram of a channel access control indication according to an embodiment of the present application. Before transmitting, the terminal device first checks whether the uplink timeslot is idle. If so, it transmits (TX) on the idle timeslot. If not, it backs off for a period of time and then checks again whether the channel is idle. If so, it transmits.
[0034] However, if all multiple terminal devices back off within a unified time window, for example, they all back off randomly within 2 seconds, collisions are likely to occur when there are a large number of terminal devices. Moreover, if all devices are completely random when sending, it is impossible to guarantee priority sending of special cases and important data, and different backoff windows will not be adapted according to the content and scenario of the sent data.
[0035] To this end, the present application proposes a data sending method, a communication device and a storage medium to solve the above problems.
[0036] In order to enable those skilled in the art to better understand the technical solution of the present application, the technical solution of the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0037] See also Figure 4 , Figure 4 The embodiment of the present invention is a flowchart of a method for sending data. The method is performed by a communication device, which may be a wireless intercom device, such as a DMR device, a PDT device, etc.
[0038] It should be noted that if there are substantially the same results, the method of this application is not limited to Figure 4 The process sequence shown is limited.
[0039] In some possible implementations, the method may be implemented by a processor calling computer-readable instructions stored in a memory, such as Figure 4 As shown, the method may include the following steps:
[0040] S41: In response to a transmission requirement, determine data to be sent.
[0041] The data to be sent is determined in response to the transmission demand. For example, after the user presses the PTT (Push-to-Talk) button, the communication device is triggered to enter the transmission mode, and the data to be sent and / or information related to the corresponding communication device type, device status, data transmission scenario, etc. can be determined, where the data to be sent can be voice data.
[0042] S42: Selecting a backoff window from a plurality of backoff windows as a target backoff window according to the data to be sent, and sending the data to be sent in the target backoff window, wherein the plurality of backoff windows do not completely overlap.
[0043] In some examples, multiple backoff windows are obtained by dividing a predetermined backoff time. The predetermined backoff time is a fixed time window initiated by a communication device after detecting that the channel is busy. Within this backoff time, the communication device generally adopts a random backoff mechanism, that is, randomly backing off for a period of time. After the random backoff period expires, the communication device will again check whether the channel is idle. If the communication device still fails to transmit after the random backoff period expires, the random backoff time can be activated again until the transmission is successful or the predetermined backoff time expires, resulting in transmission failure. This embodiment divides the predetermined backoff time to obtain multiple backoff windows, for example, N backoff windows with non-overlapping time or N backoff windows with partial overlap.
[0044] Based on the data to be sent, a backoff window is selected from multiple backoff windows as a target backoff window, and the data to be sent is sent within the target backoff window. For example, each communication device separately confirms its own data to be sent, and then selects a target backoff window corresponding to the data to be sent from its respective N backoff windows based on the data to be sent. Due to inconsistencies in the data to be sent, such as inconsistencies in the transmission authority, transmission priority, and priority of the data to be sent, the target backoff windows selected by each communication device may be inconsistent. This allows multiple communication devices to use their corresponding target backoff windows to send data. The target backoff windows of each communication device do not completely overlap in time. Even if the selected target backoff window is the same, the probability of collision is reduced because each communication device transmits data distributed across different backoff windows.
[0045] In this embodiment, the data to be sent is determined in response to the transmission demand, and based on the data to be sent, a backoff window is selected from multiple backoff windows as the target backoff window. By using the target backoff window to send data, adaptive adaptation of a more suitable backoff window is achieved, thereby reducing the probability of air interface collisions and conflicts.
[0046] In some embodiments, based on the data to be sent, a backoff window is selected from multiple backoff windows as the target backoff window, including: based on the data type of the data to be sent and / or the priority corresponding to the communication device sending the data to be sent, a backoff window is selected from multiple backoff windows as the target backoff window.
[0047] For example, based on the data type of the data to be sent, a backoff window can be directly selected from multiple backoff windows as the corresponding target backoff window to transmit the data to be sent; or, based on the priority corresponding to the data to be sent by the communication device, a backoff window can be directly selected from multiple backoff windows as the corresponding target backoff window to transmit the data to be sent; or, based on both the data type of the data to be sent and the priority corresponding to the data to be sent by the communication device, a backoff window can be selected from multiple backoff windows as the corresponding target backoff window to transmit the data to be sent.
[0048] In some embodiments, based on the data type of the data to be sent, a backoff window is selected from multiple backoff windows as a target backoff window, including: when the data type of the data to be sent is general data, a backoff window with a window type of a special backoff window is selected from multiple backoff windows as the target backoff window; when the data type of the data to be sent is non-general data, a backoff window with a window type of a normal backoff window is selected from multiple backoff windows as the target backoff window.
[0049] The data types of the data to be sent include general data and non-general data, wherein general data refers to the common data with the same air interface data frame sent by different communication devices, for example, it can be data with the same content and the same encoding format sent by different terminals in the system; non-general data refers to data other than general data, for example, regular business information such as voice information and GPS information sent by each terminal. It can be understood that the data sent by each terminal usually carries its own identity information / identification information, that is, the data sent by each terminal may be different even in the same business type. The window types of the backoff window include special backoff windows and ordinary backoff windows, wherein general data corresponds to special backoff windows one by one. For example, there is only one type of general data type sent by the terminal, and correspondingly, the number of special backoff windows is 1. When all terminals choose to transmit data of the general data type, they can select the special backoff window for data transmission. In one embodiment, the special backoff window duration can be set to a shorter time. Since the universal data has exactly the same content, even if multiple communication devices send universal data and a collision occurs, no interference will occur and the decoding will not be affected. In another embodiment, the special backoff window duration can be set to 0. When all communication devices send universal data, since the data to be sent is the same content, they can send it together at the same time without affecting the decoding of the universal data.
[0050] In some examples, the N backoff windows include backoff window 1 whose window type is a special backoff window and backoff window 2 whose window type is a normal backoff window. At this time, when the data type of the data to be sent is general data, backoff window 1 can be selected from the N backoff windows as the target backoff window, and the data to be sent can be sent in backoff window 1, or when the data type of the data to be sent is non-general data, backoff window 2 can be selected from the N backoff windows as the target backoff window, and the data to be sent can be sent in backoff window 2.
[0051] In some embodiments, selecting a backoff window from multiple backoff windows as a target backoff window based on the priority corresponding to the data to be sent by the communication device includes: selecting a backoff window corresponding to the priority from multiple backoff windows as the target backoff window based on the priority of the data to be sent by the communication device, wherein the higher the priority, the closer the target backoff window is to the multiple backoff windows, and the time when the communication device sends data in the front backoff window is earlier than the time when it sends data in the backoff window.
[0052] The priority corresponding to the communication device sending the data to be sent may include a service priority, a transmission priority, or a user priority. The communication device selects different backoff windows for sending the data to be sent depending on the priority. In some examples, a higher priority indicates an earlier backoff window in the multiple backoff windows, and the communication device sends data in an earlier backoff window earlier than in a later backoff window.
[0053] For example, the priorities corresponding to the data to be sent by the communication device include priority A and priority B. Priority A corresponds to backoff window 1, and priority B corresponds to backoff window 2. Priority A is higher than priority B, and thus backoff window 1 is before backoff window 2. If the priority of the data to be sent by the communication device is A, backoff window 1 can be selected as the target backoff window from multiple backoff windows. If the priority of the data to be sent by the communication device is B, backoff window 2 can be selected as the target backoff window from multiple backoff windows. That is, the data corresponding to priority A is sent earlier than the data corresponding to priority B.
[0054] Among them, according to at least one backoff window corresponding to the priority of the data to be sent by the communication device, the backoff window corresponding to the priority information is selected as the target backoff window, wherein the higher the priority corresponding to the priority information, the closer the target backoff window is to the multiple backoff windows, thereby achieving more flexible setting and adaptation of different backoff windows according to the needs of the application scenario, reducing the probability of air interface collision and conflict by adaptively adapting more appropriate backoff windows by different communication devices, ensuring that high-priority data can be sent first, and improving channel resource utilization and the success rate of important services.
[0055] In some embodiments, when the data type of the data to be sent is general data, a special backoff window corresponding to the general data is selected as the target backoff window; when the data type of the data to be sent is non-general data, based on the priority of the communication device sending the data to be sent, a backoff window corresponding to the priority is selected from multiple ordinary backoff windows as the target backoff window.
[0056] The backoff window types include special backoff windows and normal backoff windows, and the data types of the data to be sent include general data and non-general data. General data refers to the same common data in air interface data frames sent by different communication devices, and has a one-to-one correspondence with special backoff windows. Non-general data refers to data other than general data. Furthermore, the higher the priority of the data to be sent by the communication device, the earlier the corresponding backoff window is among the multiple backoff windows. The communication device sends data in an earlier backoff window earlier than in a later backoff window.
[0057] In some examples, the priority level corresponding to the data to be sent by the communication device includes a high priority level and a low priority level, such as Figure 5 As shown, Figure 5 This is a flow chart of a data sending method according to an embodiment of the present application. In response to a transmission requirement, data to be sent is determined, and whether the data type of the data to be sent is general data is judged. If the data type of the data to be sent is general data, a special backoff window corresponding to the general data is selected as the target backoff window. If the data type of the data to be sent is non-general data, whether the priority of the communication device for sending the data to be sent is high priority is judged. If it is high priority, an ordinary backoff window corresponding to the high priority can be selected from multiple ordinary backoff windows as the target backoff window. If it is low priority, an ordinary backoff window corresponding to the low priority can be selected from multiple ordinary backoff windows as the target backoff window.
[0058] In some embodiments, based on the priority of the data to be sent by the communication device, a backoff window corresponding to the priority is selected. When the data type of the data to be sent is general data, a special backoff window corresponding to the general data is selected from the backoff window corresponding to the priority as the target backoff window; or, when the data type of the data to be sent is non-general data, an ordinary backoff window corresponding to the non-general data is selected from the backoff window corresponding to the priority as the target backoff window.
[0059] In some examples, the priority level corresponding to the data to be sent by the communication device includes a high priority level and a low priority level, such as Figure 6 As shown, Figure 6 This is a flow chart of a data transmission method according to another embodiment of the present application. The method comprises determining the data to be transmitted in response to a transmission requirement, determining whether the priority of the communication device for transmitting the data to be transmitted is a high priority, wherein if it is a high priority, a backoff window corresponding to the high priority is selected; if it is a low priority, a backoff window corresponding to the low priority is selected. Furthermore, the method comprises determining whether the data type of the data to be transmitted is general data. If the data type of the data to be transmitted is general data, a special backoff window corresponding to the general data is selected from the backoff windows corresponding to the high / low priority as the target backoff window; if the data type of the data to be transmitted is non-general data, a normal backoff window corresponding to the non-general data is selected from the backoff windows corresponding to the high / low priority as the target backoff window.
[0060] Furthermore, in some embodiments, after the data to be sent fails to be sent in the target backoff window, another common backoff window located after the target backoff window is selected from the multiple backoff windows to resend the data to be sent.
[0061] For example, if the communication device sends data to be sent with a low priority and non-general purpose data, and has determined that the backoff windows corresponding to the low priority include sub-window 2-1, sub-window 2-2, and sub-window 2-3, and that sub-window 2-1 is a special backoff window, and sub-window 2-2 and sub-window 2-3 are both normal backoff windows, then if the device selects sub-window 2-2 as the target backoff window, and if data transmission fails using the target backoff window, then a normal backoff window located after the target backoff window can be selected from the multiple backoff windows to attempt to send data again. That is, if backoff transmission fails using sub-window 2-2, then sub-window 2-3 can be used for backoff and the data to be sent can be resent.
[0062] In one embodiment, if the transmission fails within the target transmission window, the communication device will record the transmission information. When sending new data to be transmitted next time, if it matches the information in the record, a more forward backoff window will be selected as the target backoff window. For example, the service priority of the data to be transmitted that failed to be transmitted this time is recorded, and when the data to be transmitted for the service of that priority is transmitted next time, an earlier backoff window will be selected as the target backoff window. In this embodiment, the failed transmission information includes service priority, service ID, service type, target receiving terminal, etc., which is not required by this application. That is, the communication device can dynamically adjust the selected target backoff window based on the transmission record. For data to be transmitted with a low transmission success rate, it can be dynamically adjusted to select a forward backoff window for transmission to improve the transmission success rate.
[0063] In some embodiments, the time between the earliest time point for sending the data to be sent and the latest time point for sending the data to be sent is the maximum transmission time for the data to be sent. This maximum transmission time is generally the service transmission time set by the user. If the maximum transmission time is exceeded, it is considered a transmission failure. Alternatively, it is the maximum transmission time allocated by the system for the service. If the maximum transmission time is exceeded, the system considers the terminal's transmission to have failed.
[0064] Based on the data to be sent, a backoff window is selected from multiple backoff windows as a target backoff window, and the data to be sent is sent within the target backoff window. The multiple backoff windows are obtained by dividing a predetermined backoff time. The time between the earliest time point for sending the data to be sent and the latest time point for sending the data to be sent is the total time length of the multiple backoff windows, i.e., the time length corresponding to the predetermined backoff time. For example, if the predetermined backoff time is divided into N backoff windows, the earliest time point for sending the data to be sent corresponds to the time corresponding to the first backoff window of the N backoff windows, and the latest time point for sending the data to be sent corresponds to the time corresponding to the last backoff window of the N backoff windows. In a communication system, the predetermined backoff time is the maximum transmission time for the user or system for the data. Generally, if the predetermined backoff time is exceeded, the transmission is deemed to have failed.
[0065] In some embodiments, the priority corresponding to the data to be sent by the communication device includes: the service priority of the data to be sent, the device type of the communication device, or the device status, where different device types have different priorities, and different device statuses have different priorities.
[0066] The priority level corresponding to the data to be sent by the communication device may be pre-set. In some examples, the priority level corresponding to the data sent by the communication device may be determined based on at least one of the service scenario corresponding to the data sent by the communication device, the device type of the communication device, and the device status of the communication device. For example, the priority level may include service priority, transmission priority, or user priority. Different device types have different priorities, and different device statuses have different priorities. For example, data required in a synchronous scenario may be prioritized for transmission, data sent by high-power devices may be prioritized for transmission, or data sent by high-power devices may be prioritized for transmission.
[0067] In some embodiments, multiple backoff windows are determined based on the number of devices and / or services expected to be distributed within each backoff window, with a minimum collision probability. For example, the greater the number of devices expected to be distributed within a backoff window, the longer the backoff time needs to be set to ensure the minimum collision probability. In some examples, multiple backoff windows are set within a communication terminal device based on the number of devices and / or services. The duration of a single backoff window can be set based on the minimum collision probability or can be set based on empirical values.
[0068] In some embodiments, the multiple backoff windows are obtained by dividing the backoff time according to at least one of the following rules: the priority of the data sent by the communication device; and the data type of the data sent by the communication device.
[0069] The predetermined backoff time is a fixed-length time window used by all terminal devices for random backoff. Dividing the predetermined backoff time, i.e., the fixed-length time window, can yield multiple sub-backoff windows. For example, the predetermined backoff time can be divided based on the priority of the data transmitted by the communication device and / or the type of data transmitted by the communication device, yielding multiple, non-overlapping backoff windows. Each backoff window can have the same or different durations. For example, if a communication terminal has four priority levels, the predetermined backoff time can be divided into four sub-time windows, each corresponding to a priority level.
[0070] In some embodiments, the number of multiple backoff windows is related to the priority level and / or data type; the data types include general data and non-general data, where general data refers to common data that is common to air interface data frames sent by different communication devices, and there is at least one type of general data; non-general data refers to data other than general data; in multiple backoff windows, the window type corresponding to general data is a special backoff window, and the window type corresponding to non-general data is a normal backoff window. General data refers to common data that is common to air interface data frames sent by different communication devices, and can be, for example, data with the same content and encoding format sent by different terminals in the system, such as a detection signal, a pilot signal, a synchronization signal, etc., and there is at least one type of general data; non-general data refers to data other than general data, such as regular service information such as voice information and GPS information sent by each terminal. It is understandable that the data sent by each terminal typically carries its own identity information / identification information, that is, the data sent by each terminal may be different even for the same service type.
[0071] In some examples, the backoff time is divided according to the priority of data sent by the communication device and / or the data type of the data sent by the communication device, resulting in multiple non-completely overlapping backoff windows. The number of the multiple backoff windows is related to the priority level and / or the data type. For example, the number of backoff windows can be determined according to the priority of data sent by the communication device. For example, if there are N levels of priority corresponding to the data to be sent by the communication device, the backoff time can be divided into N backoff windows; or the number of backoff windows can be determined according to the data type of the data to be sent. For example, according to whether the corresponding data content is general data, the backoff time can be divided into at least two backoff windows, one of which can be used to send general data, and the other backoff windows can be used to send non-general data; or the number of multiple backoff windows can be determined according to the priority and data content of data sent by the communication device. For example, after dividing the backoff time into N backoff windows based on the priority, the backoff window corresponding to each priority can be further divided into multiple ordinary backoff windows and special backoff windows according to whether the corresponding data type is general data.
[0072] In other words, if the same priority level contains both general and non-general data types, the backoff window corresponding to that priority level can be further divided into multiple backoff windows. The special backoff window for general data can be placed at the front or back of the regular backoff window for non-general data of the same priority level, and the special backoff window does not overlap with other regular backoff windows.
[0073] In other examples, the window type corresponding to a general data type is a special backoff window, while the window type corresponding to a non-general data type is a normal backoff window. For example, when the backoff time is divided into three backoff windows based on three priority levels, the backoff time can be further divided into different types of sub-backoff windows based on whether the data type of the data to be transmitted is general data, as shown in Table 1 below. The high-priority backoff window is further divided into sub-windows 1, 2, and 3 based on whether the data type contains general data. If it contains general data, it is divided into sub-window 1, sub-window 2, and sub-window 3. Sub-window 1 is a special backoff window used by the communication terminal to send data to be transmitted of general data types, while sub-windows 2 and 3 are normal backoff windows used by the communication terminal to send data to be transmitted of non-general data types. If it does not contain general data types, it is further divided into sub-window 1, sub-window 2, and sub-window 3, all of which are normal backoff windows used by the communication terminal to send data to be transmitted of general data types. The same rules apply to the backoff window division for the middle and third levels.
[0074]
[0075] Table 1
[0076] In some embodiments, multiple backoff windows are arranged according to priority, wherein a first backoff window with a high priority is located before a second backoff window with a corresponding low priority, and a communication device sending data within the first backoff window has priority over a communication device sending data within the second backoff window.
[0077] For example, the communication device has three priority levels corresponding to the data to be sent, namely level A, level B and level C, and level A is better than level B, which is better than level C. At this time, the backoff time can be divided into three backoff windows, namely sub-window 1, sub-window 2 and sub-window 3, where sub-window 1 corresponds to level A, sub-window 2 corresponds to level B, and sub-window 3 corresponds to level C.
[0078] In some embodiments, the multiple backoff windows are preconfigured or issued by the system. For example, before determining the data to be sent, the communication device has preconfigured relevant information about the multiple backoff windows, or has received relevant information about the multiple backoff windows issued by the system, where the relevant information about the multiple backoff windows includes the number, type, and transmission duration of the backoff windows.
[0079] In some embodiments, the multiple backoff windows include at least two ordinary backoff windows, or at least two ordinary backoff windows and at least one special backoff window; the duration of the special backoff window can be zero or less than the duration of any ordinary backoff window, and multiple terminals can send data simultaneously within the special backoff window; the time length of the ordinary backoff window is a non-zero value, which is related to the number of devices and / or the number of services that use the ordinary backoff window to send data.
[0080] The backoff time may be divided according to the priority of data sent by the communication device and / or the data type of the data sent by the communication device to obtain multiple backoff windows, wherein the multiple backoff windows may include at least two ordinary backoff windows, or at least two ordinary backoff windows and at least one special backoff window.
[0081] In some examples, the multiple backoff windows may include a special backoff window and multiple normal backoff windows. For example, the backoff time may be divided into N backoff windows, each of which includes a special backoff window S and N-1 normal backoff windows O. The duration of the special backoff window S is a fixed value, for example, set to 0 or less than the duration of any normal backoff window O, or, for example, set to 1 second, to allow different communication devices to simultaneously transmit the same general data at a specified time. The duration of the special backoff window S is independent of the number of devices using the special backoff window S for data transmission; regardless of the number of communication devices transmitting general data, the duration of the special backoff window S remains fixed. The duration of the N-1 normal backoff windows O is a non-fixed value, dependent on the number of devices using the corresponding normal backoff window in the N-1 normal backoff windows O for data transmission. Note that the duration of a normal backoff window cannot be set to 0.
[0082] In some embodiments, the at least one normal backoff window includes a first normal backoff window and a second normal backoff window, wherein the first normal backoff window corresponds to a first number of devices, and the second normal backoff window corresponds to a second number of devices; if the first number of devices is greater than the second number of devices, then the time length of the first normal backoff window is greater than the time length of the second normal backoff window.
[0083] For example, the N-1 normal backoff windows O include a first normal backoff window O1 and a second normal backoff window O2. The number of devices corresponding to the first normal backoff window O1 is Q1, and the number of devices corresponding to the second normal backoff window O2 is Q2. If Q1 > Q2, the duration of the first normal backoff window O1 is greater than the duration of the second normal backoff window O2. If Q2 > Q1, the duration of the second normal backoff window O2 is greater than the duration of the first normal backoff window O1.
[0084] To facilitate understanding of the above division of backoff time, the following description is based on an application scenario.
[0085] Application scenario 1:
[0086] 60 devices need to send data, of which 30 devices send exactly the same data, 10 devices send different data, and 20 devices send different data. The priorities of their data transmission correspond to high, medium, and low levels respectively. Moreover, since the data sent by 30 devices are exactly the same, the data they send is universal data.
[0087] Assume that 60 devices need to send data and the backoff window used is set to 6 seconds. The backoff window is divided according to the priority information as follows:
[0088] 3 backoff windows, such as Figure 7 As shown in Figure 7 1 is a schematic diagram of the division of the backoff window according to an embodiment of the present application, which includes sub-window 1, sub-window 2, and sub-window 3.
[0089] Since the data sent by all 30 devices is identical and has the highest priority, subwindow 1 is set to a duration of 0s-1s and is a special backoff window, while subwindows 2 and 3 are standard backoff windows. Since 10 devices send data, taking precedence over 20 devices, and the number of 10 devices is smaller than 20, subwindow 2 is set to a duration of 1s-3s and subwindow 3 is set to a duration of 3s-6s.
[0090] Application scenario 2:
[0091] 60 devices need to send data, of which 30 devices send exactly the same data, 10 devices send different data, and 20 devices send different data. The priorities of their data transmission correspond to low, medium, and high levels respectively. Moreover, since the data sent by 30 devices are exactly the same, the data they send is universal data.
[0092] Assume that 60 devices need to send data and the backoff window used is set to 6 seconds. The backoff window is divided according to the priority information as follows:
[0093] 3 backoff windows, such as Figure 8 As shown in Figure 8 This is a schematic diagram of the division of the backoff window in another embodiment of the present application, which are sub-window 1, sub-window 2, and sub-window 3.
[0094] Because the data sent by 20 devices has the highest priority and there are more devices than 10, the duration of subwindow 1 is 0-3 seconds, and the duration of subwindow 2 is 3-5 seconds. Because the data sent by 30 devices is identical and has the lowest priority, the duration of subwindow 3 is 5-6 seconds and is a special backoff window, while subwindows 1 and 2 are normal backoff windows.
[0095] Furthermore, taking a device in the above-mentioned application scenario 1 as an example, in some examples, based on the priority corresponding to the data to be sent by the communication device, a backoff window corresponding to the priority is selected from multiple backoff windows as the target backoff window. For example, if the corresponding priority of the data sent by the device is high and the content is general data, then sub-window 1 can be selected as the target backoff window; or if the corresponding priority of the data sent by the device is medium and the content is non-general data, then sub-window 2 can be selected as the target backoff window; or if the corresponding priority of the data sent by the device is low and the content is non-general data, then sub-window 3 can be selected as the target backoff window.
[0096] Alternatively, in the above-mentioned application scenario 1, in the absence of data type distinction, the sub-window does not distinguish between special backoff windows and ordinary backoff windows. The backoff window corresponding to the priority of the data to be sent by the communication device can be directly selected from multiple backoff windows as the target backoff window. For example, if the corresponding priority of the data transmission of the device is high, sub-window 1 can be selected as the target backoff window; or if the corresponding priority of the data transmission of the device is medium, sub-window 2 can be selected as the target backoff window; or if the corresponding priority of the data transmission of the device is low, sub-window 3 can be selected as the target backoff window.
[0097] Alternatively, in the above-mentioned application scenario 1, in the absence of priority distinction, sub-windows are not distinguished by priority, but only by type, and a backoff window with a window type of a special backoff window is selected from multiple backoff windows as the target backoff window. For example, if the corresponding content of the data sent by the device is general data, sub-window 1 can be selected as the target backoff window; or if the corresponding content of the data sent by the device is non-general data, sub-window 2 or sub-window 3 can be selected as the target backoff window.
[0098] Those skilled in the art will understand that in the above-mentioned method of the specific implementation method, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0099] See also Figure 9 , Figure 9is a schematic diagram of the structure of a communication device according to an embodiment of the present application. Communication device 90 includes a memory 91 and a processor 92 coupled to each other. Processor 92 is configured to execute program instructions stored in memory 91 to implement the steps of the wireless communication method embodiment described above. In a specific implementation scenario, communication device 90 may include, but is not limited to, a walkie-talkie, a mobile radio, a relay station, and a base station, without limitation herein.
[0100] Specifically, the processor 92 is used to control itself and the memory 91 to implement the steps of the above-mentioned wireless communication method embodiment. The processor 92 can also be called a CPU (Central Processing Unit). The processor 92 may be an integrated circuit chip with signal processing capabilities. The processor 92 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 92 can be implemented by an integrated circuit chip.
[0101] See also Figure 10 , Figure 10 The non-volatile computer-readable storage medium 100 is used to store a computer program 1001. When the computer program 1001 is executed by a processor, for example, the computer program 1001 is executed by the processor. Figure 9 When executed by the processor 92 in the embodiment, it is used to implement the steps of the above-mentioned wireless communication method embodiment.
[0102] The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced with each other and will not be repeated herein for the sake of brevity.
[0103] In the several embodiments provided in this application, it should be understood that the disclosed methods and related devices can be implemented in other ways. For example, the above-described related device implementation methods are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication disconnection shown or discussed can be through some interfaces, indirect coupling or communication disconnection of devices or units, which can be electrical, mechanical or other forms.
[0104] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0105] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0106] It is easy for a person skilled in the art to know that many modifications and variations can be made to the apparatus and method while maintaining the teaching content of the present application.Therefore, the above disclosure should be considered as being limited only by the scope of the appended claims.
Claims
1. A method for transmitting data, characterized in that: Applied to communication equipment, including: In response to a transmission requirement, determining data to be transmitted; Selecting a backoff window from a plurality of backoff windows as a target backoff window according to the data to be sent, and sending the data to be sent in the target backoff window; The multiple backoff windows do not completely overlap.
2. The method according to claim 1, characterized in that The selecting, based on the data to be sent, a backoff window from a plurality of backoff windows as a target backoff window comprises: A backoff window is selected from a plurality of backoff windows as the target backoff window according to the data type of the to-be-sent data and / or the priority corresponding to the communication device sending the to-be-sent data.
3. The method according to claim 2, characterized in that The selecting, according to the data type of the to-be-sent data, a backoff window from the multiple backoff windows as the target backoff window comprises: When the data type of the to-be-sent data is general data, selecting a backoff window whose window type is a special backoff window from the multiple backoff windows as the target backoff window; When the data type of the to-be-sent data is non-universal data, selecting a backoff window whose window type is a common backoff window from the multiple backoff windows as the target backoff window; The common data is the same public data in air interface data frames sent by different communication devices, and the common data corresponds to the special backoff window one by one, and the non-common data is data other than the common data.
4. The method according to claim 2, characterized in that The selecting, according to the priority corresponding to the data to be sent by the communication device, a backoff window from a plurality of backoff windows as the target backoff window comprises: Based on the priority of the communication device for sending the data to be sent, a backoff window corresponding to the priority is selected from multiple backoff windows as the target backoff window, wherein the higher the priority is, the closer the target backoff window is to the multiple backoff windows, and the time when the communication device sends data in the front backoff window is earlier than the time when it sends data in the backoff window.
5. The method according to claim 1, wherein The selecting, based on the data to be sent, a backoff window from a plurality of backoff windows as a target backoff window comprises: When the data type of the data to be sent is general data, selecting a special backoff window corresponding to the general data as a target backoff window, wherein the general data and the special backoff window have a one-to-one correspondence; When the data type of the to-be-transmitted data is non-universal data, selecting, from a plurality of common backoff windows, a backoff window corresponding to a priority of the to-be-transmitted data according to the communication device, as the target backoff window, wherein a higher priority leads to an earlier position of the target backoff window among the plurality of backoff windows, and the communication device transmits data in an earlier backoff window earlier than in a later backoff window; The general data is the common data in the same air interface data frames sent by different communication devices, and the non-general data is data other than the general data.
6. The method according to claim 1, characterized in that The selecting, based on the data to be sent, a backoff window from a plurality of backoff windows as a target backoff window comprises: selecting, according to a priority of the communication device for sending the data to be sent, a backoff window corresponding to the priority, wherein a higher priority is, a closer the target backoff window is to the front of the multiple backoff windows, and the communication device sends data in the front backoff window earlier than in the backoff window; When the data type of the data to be sent is general data, selecting a special backoff window corresponding to the general data from the backoff window corresponding to the priority as the target backoff window, wherein the general data and the special backoff window have a one-to-one correspondence; When the data type of the data to be sent is non-general data, selecting a common backoff window corresponding to the non-general data from the backoff window corresponding to the priority as a target backoff window; The general data is the common data in the same air interface data frames sent by different communication devices, and the non-general data is data other than the general data.
7. The method according to any one of claims 2 to 6, The method further comprises: After the data to be sent fails to be sent in the target backoff window, selecting another backoff window located after the target backoff window from the multiple backoff windows and resending the data to be sent; And / or, after the data to be sent in the target backoff window fails to be sent, the sending information is recorded. In the next service transmission, when the communication device sends another new data to be sent, another backoff window located before the target backoff window is selected according to the record to send the new data to be sent, and the sending information includes service priority, service ID, or service type.
8. The method according to any one of claims 1 to 6, characterized in that The time length between the earliest time point for sending the data to be sent and the latest time point for sending the data to be sent is the maximum transmission duration of the data to be sent.
9. The method according to claim 2, characterized in that The priorities include: The service priority of the data to be sent, the device type or device status of the communication device, wherein different device types have different priorities, and different device statuses have different priorities.
10. The method according to claim 1, characterized in that The multiple backoff windows are determined based on the number of devices and / or the number of services expected to be distributed in each backoff window with a minimum collision probability.
11. The method according to claim 1, wherein The multiple backoff windows are obtained by dividing the backoff time according to at least one of the following rules: The priority of data sent by the communication device; and The data type of the data sent by the communication device.
12. The method according to claim 1, characterized in that The number of the plurality of backoff windows is related to the priority level and / or data type; The data types include general data and non-general data, wherein the general data is the same data in the air interface data frames sent by different communication devices, and there is at least one type of general data; the non-general data is data other than the general data; Among the multiple backoff windows, the window type corresponding to the general data is a special backoff window, and the window type corresponding to the non-general data is a common backoff window.
13. The method according to claim 1, wherein The multiple backoff windows are arranged according to priority, wherein a first backoff window with a high priority is located before a second backoff window with a corresponding low priority, and a communication device sending data within the first backoff window has priority in sending data over a communication device sending data within the second backoff window.
14. The method according to claim 1, wherein The multiple backoff windows are pre-configured or set according to an instruction message sent by the system.
15. The method according to claim 1, wherein The multiple backoff windows include at least two common backoff windows, or at least two common backoff windows and at least one special backoff window; The duration of the special backoff window may be zero or less than the duration of any common backoff window, and multiple terminals may send data simultaneously within the special backoff window; The time length of the common backoff window is a non-zero value, and is related to the number of devices and / or the number of services that use the common backoff window to send data.
16. A communication device, characterized in that: The invention comprises a memory and a processor coupled to each other, wherein the processor is used to execute program instructions stored in the memory to implement the data sending method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Data streams with different priorities in contention-based systems and adjusting of contention window parameters
CN108141882A
Self-organizing network for guaranteeing reliable transmission of high-priority time-sensitive service
CN113766658A
Contention window size adjustment process for sidelink multicast
CN117981248A
Method for controlling back-off of random access andits program recording record medium
KR1020050023701A