Wireless transmission method, apparatus, electronic device, and system
Patent Information
- Application Number
- CN202310199494.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2043-02-24
AI Technical Summary
[0017]通过采用无线终端集合的方式进行信道抢占,无线终端集合中任一无线终端抢占信道成功的情况下,该无线终端集合中各无线终端均可以使用该信道进行数据传输,有效减少了集合内STA的空口资源竞争,提高了数据传输效率和稳定性。
Smart Images

Figure CN116347649B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a wireless transmission method, apparatus, electronic device and system. Background Technology
[0002] In existing wireless transmission schemes, after multiple STAs (Stations, wireless terminals) are associated with an AP (Access Point), when a STA needs to transmit data, it needs to listen for air interface access. If the air interface is occupied, it needs to back off. After a specified backoff time, it listens for the air interface again. If the air interface is not occupied, data can be transmitted; if the air interface is still occupied, backoff must be performed again. This process is called channel contention. Each STA must compete for channel access before transmitting data; only after successfully acquiring the channel can data transmission occur. Summary of the Invention
[0003] In view of the above, this application provides a wireless transmission method, apparatus, electronic device and system.
[0004] Specifically, this application is implemented through the following technical solution:
[0005] According to a first aspect of the embodiments of this application, a wireless transmission method is provided, applied to a target wireless terminal, the method comprising:
[0006] Channel preemption is performed when there is data to be transmitted;
[0007] If any wireless terminal within the set of wireless terminals to which this terminal belongs successfully preempts the channel, and it is determined that this terminal meets the conditions for using the channel, then the channel shall be used for data transmission.
[0008] According to a second aspect of the embodiments of this application, a wireless transmission device is provided, deployed on a target wireless terminal, the device comprising:
[0009] The channel preemption unit is used to preempt the channel when there is data to be transmitted;
[0010] The data transmission unit is configured to use the channel for data transmission when any wireless terminal in the set of wireless terminals to which the target wireless terminal belongs successfully preempts the channel and it is determined that the target wireless terminal meets the conditions for using the channel.
[0011] According to a third aspect of the present application, an electronic device is provided, including a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being configured to execute the machine-executable instructions to implement the method provided in the first aspect.
[0012] According to a fourth aspect of the embodiments of this application, a machine-readable storage medium is provided, wherein machine-executable instructions are stored therein, and when the machine-executable instructions are executed by a processor, the method provided in the first aspect is implemented.
[0013] According to a fifth aspect of the embodiments of this application, a wireless transmission system is provided, comprising: a wireless terminal and a wireless access point, wherein the wireless terminal is connected to the wireless access point via a wireless network; wherein:
[0014] The wireless terminal is used to preempt the channel when there is data to be transmitted;
[0015] The wireless terminal is further configured to use the channel to transmit data to the wireless access point when any wireless terminal in the set of wireless terminals to which this terminal belongs successfully preempts the channel and it is determined that this terminal meets the conditions for using the channel.
[0016] The technical solution provided in this application can bring at least the following beneficial effects:
[0017] By using a wireless terminal set for channel preemption, if any wireless terminal in the set successfully preempts the channel, all wireless terminals in the set can use the channel for data transmission. This effectively reduces air interface resource contention among STAs within the set and improves data transmission efficiency and stability. Attached Figure Description
[0018] Figure 1 This is a flowchart illustrating a wireless transmission method according to an exemplary embodiment of this application;
[0019] Figure 2A This is a schematic diagram illustrating a process for assembling a collection, as shown in an exemplary embodiment of this application;
[0020] Figure 2B This is a schematic diagram illustrating another process for assembling a collection, as shown in an exemplary embodiment of this application;
[0021] Figure 2C This is a schematic diagram illustrating the process of adding a new STA to a set, as shown in an exemplary embodiment of this application;
[0022] Figure 3 This is a schematic diagram of STA set transmission time shown in an exemplary embodiment of this application;
[0023] Figure 4 This is a schematic diagram illustrating data transmission within a STA set according to an exemplary embodiment of this application;
[0024] Figure 5This is a schematic diagram illustrating the processing flow of an STA going offline within a STA set, as shown in an exemplary embodiment of this application;
[0025] Figure 6 This is a schematic diagram illustrating the data transmission process within a STA set according to an exemplary embodiment of this application;
[0026] Figure 7 This is a schematic diagram illustrating the structure of a wireless transmission device according to an exemplary embodiment of this application;
[0027] Figure 8 This is a schematic diagram of the structure of another wireless transmission device illustrated in an exemplary embodiment of this application;
[0028] Figure 9 This is a schematic diagram of the structure of another wireless transmission device illustrated in an exemplary embodiment of this application;
[0029] Figure 10 This is a schematic diagram of the hardware structure of an electronic device illustrated in an exemplary embodiment of this application;
[0030] Figure 11 This is a schematic diagram illustrating the structure of a wireless transmission system according to an exemplary embodiment of this application. Detailed Implementation
[0031] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0032] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0033] To enable those skilled in the art to better understand the technical solutions provided in the embodiments of this application, and to make the above-mentioned objectives, features and advantages of the embodiments of this application more apparent and understandable, the technical solutions in the embodiments of this application will be further described in detail below with reference to the accompanying drawings.
[0034] It should be noted that the sequence number of each step in the embodiments of this application does not imply 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 embodiments of this application.
[0035] Please see Figure 1 This is a flowchart illustrating a wireless transmission method provided in an embodiment of this application. The wireless transmission method can be applied to any STA (referred to herein as the target STA, i.e., the target wireless terminal), such as... Figure 1 As shown, the wireless transmission method may include the following steps:
[0036] Step S100: If there is data to be transmitted, perform channel preemption.
[0037] In this embodiment of the application, the target STA can preempt the channel when data transmission is required, i.e., when there is data to be transmitted.
[0038] For example, a target STA can preempt the channel by sending an RTS (Request To Send) message.
[0039] For example, during the channel preemption process, all STAs participating in the channel preemption can obtain the identification information of the STA that successfully preempted the channel.
[0040] Step S110: If any wireless terminal in the set of wireless terminals to which this terminal belongs successfully preempts the channel, and it is determined that this terminal meets the conditions for using the channel, then the channel is used for data transmission.
[0041] In this embodiment, channel preemption can be performed using a set (which can be called a wireless terminal set, or simply a STA set). When any STA in the set successfully preempts the channel, all STAs in the set share the channel and can use it for data transmission (each STA uses the channel for data transmission in turn), thereby reducing air interface resource contention among STAs in the set and improving data transmission efficiency and stability.
[0042] Accordingly, if the target wireless terminal determines that any wireless terminal in its set of wireless terminals has successfully preempted the channel, it can determine that the target wireless terminal is qualified to use the channel. In this case, the target wireless terminal can suspend the preemption of the channel and, if it determines that the terminal meets the conditions for using the channel, use the channel preempted by the set of wireless terminals to which the target terminal belongs to for data transmission.
[0043] It can be seen that, in Figure 1 In the method shown, channel preemption is performed by using a set of wireless terminals. If any wireless terminal in the set successfully preempts the channel, all wireless terminals in the set can use the channel for data transmission, which effectively reduces air interface resource contention among STAs in the set and improves data transmission efficiency and stability.
[0044] In some embodiments, the conditions for the terminal to use the channel described above may include:
[0045] This terminal is a wireless terminal within the wireless terminal set that successfully preempted the channel; or,
[0046] This terminal is not a wireless terminal that successfully preempted the channel within the wireless terminal set, and the data transmission of the designated wireless terminal within the wireless terminal set has ended; wherein, the designated wireless terminal is the previous wireless terminal of this terminal, determined according to the data transmission order of each wireless terminal within the wireless terminal set.
[0047] For example, when channel preemption is performed using a set-based approach, for any set of STAs, if any STA in the set successfully preempts a channel, that STA will use the channel for data transmission first. Other STAs in the set will then use the channel for data transmission in sequence according to the data transmission order of each STA in the set.
[0048] Accordingly, if any STA in the STA set to which the target STA belongs successfully preempts the channel, and the target STA is the STA that successfully preempts the channel, then the target STA can determine that its terminal meets the conditions for using the channel and use the channel for data transmission. After the target STA completes a data transmission, other STAs in the STA set can use the channel for data transmission.
[0049] If the target STA is not a STA that successfully preempted the channel, the target STA can determine the previous STA (referred to as the designated STA in this document) based on the data transmission order of each wireless terminal in the STA set to which this terminal belongs. If the data transmission of the designated STA has ended, the target STA can determine that this terminal meets the conditions for using the channel.
[0050] For example, assuming the STA set includes STA1, STA2, and STA3, and the preset data transmission order is STA1→STA2→STA3, then if STA1 successfully preempts the channel, the actual data transmission order is: STA1→STA2→STA3; if STA2 successfully preempts the channel, the actual data transmission order is: STA2→STA3→STA1 (i.e., STA3 can be the previous STA of STA1); if STA3 successfully preempts the channel, the actual data transmission order is: STA3→STA1→STA2.
[0051] For example, if any STA completes a single data transmission using a channel preempted by its STA set, the AP can reply with an ACK (acknowledgment) message to that STA. The ACK message can carry the identification information (such as the MAC (Media Access Control) address) of the STA currently transmitting data. Thus, each STA within the STA can determine the STA that has completed data transmission based on the identification information of the STA currently transmitting data carried in the ACK message, and if it is determined that the specified STA has completed data transmission, it can determine that the terminal meets the conditions for using the channel.
[0052] For example, each STA in the same STA set is associated with the same AP.
[0053] In some embodiments, after data transmission using the channel, the method further includes:
[0054] If, based on the data transmission order of each wireless terminal in the wireless terminal set, this terminal is determined to be the last wireless terminal in the set to transmit data, then channel resources are released upon completion of data transmission.
[0055] For example, to prevent channel resources from being occupied by the same set of STAs for too long, which would prevent other STAs outside the set from transmitting data, for any set of STAs, if any STA in the set successfully preempts the channel, each STA in the set can use the channel in sequence to transmit data once, and release the preempted channel resources after each STA has completed one data transmission.
[0056] Accordingly, if the target STA determines that it is the last STA in the STA set to transmit data based on the data transmission order of each STA in the STA set, the target STA can release channel resources when it completes data transmission.
[0057] It should be noted that, in the embodiments of this application, if any STA in the STA set successfully preempts the channel, each STA in the STA set can also release the channel resources after performing n (n≥2, the specific value can be set according to actual needs) data transmissions in a cyclic manner.
[0058] Correspondingly, the STAs in the STA set can count the number of times they use the channel preempted by the set to output data. When the STA determines that its terminal is the last STA to transmit data according to the data transmission order of the STA set, and the number of data transmissions reaches n, the channel resources are released.
[0059] In some embodiments, a target wireless terminal can be added to a wireless terminal set in the following ways:
[0060] If a wireless access point is associated and it is determined that no wireless terminal set currently exists, a wireless terminal set is created, and this terminal is determined to be the master device of the wireless terminal set.
[0061] If a wireless access point is associated and it is determined that at least one set of wireless terminals exists, the terminal sends a set join request to the master device of a specified wireless terminal set in the at least one set of wireless terminals based on the master device information of the at least one set of wireless terminals. If a set join success response is received from the master device of the specified wireless terminal set, the terminal is determined to have joined the specified wireless terminal set.
[0062] For example, when a STA associates with an AP, the AP sends a STA set notification message to the STA. If a STA set already exists, this notification message can carry the master device information of the existing STA set so that the STA can know the master device information of the existing STA set. If a STA set does not currently exist, this notification message does not carry the master device information of the STA set so that the STA can know that a STA set does not currently exist.
[0063] Accordingly, if a target STA is associated with an AP, but it is determined that no STA set currently exists, the target STA can create an STA set and determine that the terminal is the master device of that STA set.
[0064] For example, once the target STA has completed the creation of the STA set, it can also send the master device information of the STA set (i.e., the device information of the target STA, such as the device identifier) to the AP.
[0065] For example, when a target STA is associated with an AP and it is determined that at least one STA set exists, the target STA can send a set join request to the master device of any STA set (which may be referred to as a specified STA set) based on the master device information of the at least one STA set obtained. Upon receiving a set join success response from the master device of the specified STA set, the target STA determines that it has joined the specified STA set.
[0066] In one example, given the associated wireless access point and the existence of multiple wireless terminal sets, the target wireless terminal can join the wireless terminal set in the following way:
[0067] For any set of wireless terminals in the plurality of sets of wireless terminals, if the difference between the average signal strength of each wireless terminal in the set and the signal strength of the current terminal does not exceed a first threshold, the set of wireless terminals is determined as a candidate set of wireless terminals.
[0068] In the presence of at least one candidate wireless terminal set, a set join request is sent to the master device of a specified candidate wireless terminal set within the at least one candidate wireless terminal set.
[0069] If no candidate wireless terminal set exists, create a wireless terminal set and determine that this terminal is the master device of the wireless terminal set.
[0070] For example, when there are multiple STA sets, the target STA can determine which STA set to join based on the signal strength of the STAs in each STA set.
[0071] For example, a target STA can compare its own signal strength with the average signal strength of the set of STAs.
[0072] The average signal strength of a set of STAs can be the average of the signal strengths of all STAs in that set.
[0073] For any set of STAs, if the difference between the signal strength of the target STA and the average signal strength of the set of STAs does not exceed a first threshold, that is, if the absolute value of the difference between the signal strength of the target STA and the average signal strength of the set of STAs does not exceed the first threshold, the set of STAs can be identified as a candidate set of STAs.
[0074] The specific value of the first threshold can be set according to the actual scenario, such as 10dB, or it can be dynamically determined based on the average signal strength of the STA set.
[0075] For example, if there is at least one candidate STA set, the target STA may send a set join request to the master device of one of the candidate STA sets (referred to herein as the designated candidate STA set) to request to join the designated candidate STA set.
[0076] For example, the target STA can compare the average signal strength of each candidate STA set and join the candidate STA set with the highest average signal strength; or, the target STA can compare the lowest signal strength of each candidate STA set and join the STA set with the highest lowest signal strength, so as to reduce the impact of weak signal strength STAs on the data transmission of the target STA.
[0077] in,
[0078] The lowest signal strength of a set of STAs can be the minimum signal strength of all STAs in that set.
[0079] In the absence of a candidate set of wireless terminals, the target STA can create a set of wireless terminals and determine itself as the master device of that set.
[0080] Accordingly, when the AP sends STA set information to the STA, it may also include the signal strength information of the STA set, such as the signal strength of each STA in the STA set, the average signal strength of the STA set, or the lowest signal strength of the STA set.
[0081] In one example, STAs associated with the same AP can be added to the same STA set.
[0082] In one example, the wireless transmission method provided in this application embodiment may further include:
[0083] When this terminal is the master device of its wireless terminal set and receives a set joining request from another wireless terminal, the signal strength of the other wireless terminal is compared with the signal strength of the wireless terminal with the weakest signal strength in the wireless set to which this terminal belongs.
[0084] If the difference between the two exceeds the second threshold, the other wireless terminal will be refused entry into the wireless set to which this terminal belongs.
[0085] For example, to avoid excessive differences in signal strength among STAs within the same STA set, which could cause data transmission of STAs with strong signals to be significantly affected by STAs with weak signals, the master device of the STA set can compare the signal strength of the STA requesting to join the set with the signal strength of the STA with the weakest signal in the STA set when it receives a request to join the set.
[0086] If the difference between the two exceeds the second threshold, that is, if the absolute value of the difference exceeds the second threshold, the STA requesting to join the set can be rejected.
[0087] The specific value of the second threshold can be set according to the actual scenario, such as 30dB, or it can be dynamically determined based on the signal strength of the STA with the weakest signal strength in the STA set.
[0088] In one example, if this terminal is the master device of its wireless terminal set, and a new wireless terminal joins the wireless terminal set to which this terminal belongs, it may also include:
[0089] The master device of the wireless terminal set to which this terminal belongs is re-determined, and the newly determined master device information is sent to other wireless terminals in the wireless terminal set to which this terminal belongs, as well as the wireless access point associated with this terminal.
[0090] For example, if the target STA is the master device of the STA set, and a new STA joins the STA set to which this terminal belongs, the target STA can redetermine the master device of the STA set to which this terminal belongs.
[0091] For example, when each STA joins the STA set, it can send its AID (Association Identifier) to the master device of the STA set. The master device of the STA set can redetermine the master device of the STA set based on the AID of each STA in the current STA set. For example, the STA with the smallest AID can be determined as the master device.
[0092] For example, if the target STA redetermines the master device of the STA set, it can send the newly determined master device information to other STAs in the STA set to which this terminal belongs, as well as the AP associated with this terminal, so that each STA in the STA set and the AP associated with the target STA can know the master device information of the STA set.
[0093] In one example, if this terminal is the master device of its wireless terminal set, and a new wireless terminal joins the wireless terminal set to which this terminal belongs, it may also include:
[0094] The system receives the association identifier and single data transmission time sent by the newly joined wireless terminal, updates the data transmission order of the wireless terminal set to which this terminal belongs, as well as the total data transmission time of the wireless terminal set to which this terminal belongs, based on the received association identifier and single data transmission time, and sends the updated data transmission order and total data transmission time to other wireless terminals in the wireless terminal set to which this terminal belongs.
[0095] For example, for any STA, when the STA joins the STA set, the STA can send its own AID and the single data transmission time to the master device of the STA set, so that the master device of the STA set can determine the data transmission order of each STA in the STA set and the total data transmission time of the STA set.
[0096] Accordingly, when the target STA is the master device of its STA set and a new STA joins the STA set to which this terminal belongs, it can receive the AID and single data transmission time sent by the newly joined STA, update the data transmission order of the STA set to which this terminal belongs and the total data transmission time of the STA set to which this terminal belongs based on the received AID and single data transmission time, and send the updated data transmission order and total data transmission time to other wireless terminals in the STA set to which this terminal belongs.
[0097] For example, each STA in the STA set can determine the total usage time of the channel to be preempted based on the total data transmission time, and determine the time when any STA in the STA successfully preempts the channel as the starting time. After the duration corresponding to the total usage time, the next channel preemption will begin.
[0098] It should be noted that when multiple STA sets are supported, that is, different STAs associated with the same AP can join different STA sets. When a STA joins a STA set, in addition to sending its association identifier and single data transmission time to the master device of the STA set, it can also send its signal strength to the master device of the STA set. This allows the master device of the STA set to determine the signal strength of each STA in the STA set. Subsequently, it can notify the AP of the signal strength information of the STA set, such as the signal strength of each STA in the STA set, the average signal strength of the STA set, or the lowest signal strength.
[0099] In some embodiments, the wireless transmission scheme provided in this application may further include:
[0100] Upon receiving a master device offline notification message from the wireless access point associated with this terminal, the device is identified as the master device of the wireless terminal set to which this terminal belongs, and sends a set update notification message to other wireless terminals in the wireless terminal set to which this terminal belongs; wherein, the master device offline notification message is sent by the wireless access point to the target wireless terminal when it detects that the master device of the wireless terminal set to which the target wireless terminal belongs is offline, and determines that the target wireless terminal is the new master device.
[0101] The device receives the association identifier and single data transmission time sent by other wireless terminals in the wireless terminal set to which this terminal belongs. Based on the received association identifier and single data transmission time, the device updates the data transmission order of the wireless terminal set to which this terminal belongs, as well as the total data transmission time of the wireless terminal set to which this terminal belongs. The device then sends the updated data transmission order and total data transmission time to the other wireless terminals in the wireless terminal set to which this terminal belongs.
[0102] For example, when the AP detects that the STA is offline, it can determine whether the STA has joined the STA set. If the STA has joined the STA set, it can further determine whether the STA is the master device of the STA set.
[0103] When the STA is the master device of the STA set, the AP can identify another STA in the STA set as the new master device and send a master device offline notification message to the other STA so that the other STA can switch to become the new master device of the STA set.
[0104] For example, the AP can determine the next STA of the original master device as another STA to be the new master device based on the data transmission order of each STA in the STA set (notified to the AP by the master STA of the STA set).
[0105] For example, suppose the STA set includes STA1, STA2 and STA3, and the data transmission order of the STA set is STA1→STA2→STA3, and STA1 is the master device. Then, if STA1 is offline, the AP can determine STA2 as another STA to be the new master device.
[0106] Accordingly, when the target STA receives a master device offline notification message sent by the AP associated with this terminal, it determines itself as the master device of the STA set to which this terminal belongs, and sends a set update notification message to other wireless terminals in the STA set to which this terminal belongs.
[0107] When an STA in a set receives a set update notification message from the master device, it can send its own AID and the time of a single data transmission to the master device.
[0108] When a target STA receives the AID and single data transmission time from other STAs in its STA set, it can update the data transmission order and total data transmission time of its STA set based on the received AID and single data transmission time, and then send the updated data transmission order and total data transmission time to other STAs in its STA set.
[0109] In some embodiments, the wireless transmission scheme provided in this application may further include:
[0110] Upon receiving a slave device offline notification message from the wireless access point associated with this terminal, the terminal sends a set update notification message to other wireless terminals in the set of wireless terminals to which this terminal belongs; wherein, the slave device offline notification message is sent by the wireless access point to the target wireless terminal when it detects that a slave device in the set of wireless terminals to which the target wireless terminal belongs is offline, and the target wireless terminal is the master device.
[0111] The device receives the association identifier and single data transmission time sent by other wireless terminals in the wireless terminal set to which this terminal belongs. Based on the received association identifier and single data transmission time, the device updates the data transmission order of the wireless terminal set to which this terminal belongs, as well as the total data transmission time of the wireless terminal set to which this terminal belongs. The device then sends the updated data transmission order and total data transmission time to the other wireless terminals in the wireless terminal set to which this terminal belongs.
[0112] For example, if the AP determines that a slave device in the STA set is offline, it can send a slave device offline notification message to the master device in the STA set so that the master device is aware that there is a slave device offline in the STA set.
[0113] Accordingly, when the target STA receives a slave device offline notification message sent by the AP associated with this terminal (i.e., the target STA is the master device of the STA set to which this terminal belongs), it can send a set update notification message to other wireless terminals in the STA set to which this terminal belongs.
[0114] When an STA in a set receives a set update notification message from the master device, it can send its own AID and the time of a single data transmission to the master device.
[0115] When a target STA receives the AID and single data transmission time from other STAs in its STA set, it can update the data transmission order and total data transmission time of its STA set based on the received AID and single data transmission time, and then send the updated data transmission order and total data transmission time to other STAs in its STA set.
[0116] To enable those skilled in the art to better understand the technical solutions provided in the embodiments of this application, the technical solutions provided in the embodiments of this application are described below with reference to specific examples.
[0117] In this embodiment, multiple STAs form a STA set. STAs within the STA set and STAs outside the set jointly compete for the channel. When any STA within the STA set successfully competes for the channel, the other STAs within the STA set share the channel at that time. Each STA within the STA set transmits data according to the agreed data transmission order. When the last STA in the STA set finishes transmitting data, it releases the channel resources and then begins the next channel competition.
[0118] In this embodiment, after the STA is associated with the AP, devices that support grouping begin to automatically perform grouping. Grouping is performed in two ways:
[0119] Method 1:
[0120] After the first STA associates with the AP, it creates an STA set and defaults to being the master device. When the second STA associates with the AP, the AP sends the master device information of the existing STA set to that STA. This STA (the second STA) initiates a DLS (Direct Link Protocol) connection request to the STA that is the master device of the set, requesting to establish a connection with the STA that is the master device of the set. After the connection is established, the STA sends a request to join the set to the master device. After the request is approved, the STA sends its AID and the single data transmission time to the master device. The master device determines the master device by comparing the AID values (the smaller AID is the master device) and informs the STA device of the master device information, transmission order (i.e., the data transmission order of each STA in the STA set), and total transmission time (i.e., the total time of a single data transmission of each STA in the STA set). The flowchart can be shown as follows. Figure 2A As shown.
[0121] Method 2:
[0122] Once a STA is associated with an AP, requests for joining sets and related information between STAs need to be forwarded through the AP.
[0123] like Figure 2B As shown, after the first STA associates with the AP, it creates an STA set and defaults to being the master device. When the second STA associates with the AP, the AP sends the master device information of the existing STA set to the STA. The STA (the second STA mentioned above) initiates a request to join the set to the AP, which forwards the request to the STA that is the master device of the STA set. After the request is approved, the slave device sends its AID and the single data transmission time to the AP, which forwards the request to the master device of the STA set. The master device determines the master device by judging the size of the AID (the smaller AID is the master device) and informs the slave device of the master device information, transmission order (i.e., the data transmission order of each STA in the STA set), and total transmission time (i.e., the total data transmission time of the STA set).
[0124] For example, each time a new STA is added to the set, the master device can be re-determined. For instance, the STA with the smallest AID can be determined as the master device of the STA set, and the data transmission order and total data transmission time can be updated. A schematic diagram can be shown below. Figure 2C As shown.
[0125] In one example, for any set of STAs, the total data transmission time of the set of STAs is determined based on the single data transmission time of each STA in the set, the time of AP replying with an acknowledgment message (ACK message), and the time interval between each data transmission.
[0126] For example, the total data transmission time of an STA set can be determined by the following formula:
[0127]
[0128] Where Ti is the time of a single data transmission of STAi, n is the number of STAs in the STA set, Ack is the time for the AP to reply with an ACK message, and SIFS (Short InterFrame Space) is the interval between each data transmission (including STA data transmission and AP sending ACK messages).
[0129] For example, such as Figure 3 As shown, assuming the STA set includes 4 STAs, and their single data transmission times are T1, T2, T3, and T4 respectively, then the total data transmission time of the STAs is:
[0130] T = T1 + T2 + T3 + T4 + 4*Ack + 7*SIFS
[0131] In this embodiment, the data transmission order of each STA within the STA set can be customized. For example, they can be arranged according to AID size, as illustrated in the diagram below. Figure 4 As shown.
[0132] like Figure 4 As shown, when STA2 successfully acquires the channel, STA2 begins data transmission; when STA2 completes transmission (which can be determined by the ACK message received from the AP), STA3 begins data transmission; when STA3 completes data transmission, STA4 begins data transmission, and so on, until STA1 completes data transmission. In this case, the acquired channel resources can be released.
[0133] In this embodiment, it is considered that the STA may disconnect from the AP during operation. In this case, the aggregation information needs to be updated. If the master device of the STA aggregation is offline, a new master device needs to be re-established. The specific process can be as follows: Figure 5 As shown.
[0134] In this embodiment, after the set is created and the STA joins the set, data transmission needs to begin. When a STA starts transmitting data, STAs within the set simultaneously begin to compete for channel resources. However, STAs within the set compete for channel resources through RTS packets, which carry the channel occupancy time. This allows them to inform other devices. When the AP replies with a CTS, it indicates that the STA has successfully competed for the channel and then begins transmitting data. Other STAs transmit in sequence. A schematic diagram can be seen as follows: Figure 6 As shown.
[0135] The method provided in this application has been described above. The apparatus provided in this application is described below:
[0136] Please see Figure 7 This is a schematic diagram of the structure of a wireless transmission device provided in an embodiment of this application, as shown below. Figure 7 As shown, the wireless transmission device may include:
[0137] The channel preemption unit 710 is used to preempt the channel when there is data to be transmitted;
[0138] The data transmission unit 720 is used to transmit data using the channel when any wireless terminal in the set of wireless terminals to which the target wireless terminal belongs successfully preempts the channel and it is determined that the target wireless terminal meets the conditions for using the channel.
[0139] In some embodiments, the target wireless terminal meets the conditions for using the channel, including:
[0140] The target wireless terminal is a wireless terminal within the set of wireless terminals that has successfully preempted the channel; or...
[0141] The target wireless terminal is not a wireless terminal that successfully preempted the channel within the set of wireless terminals, and the data transmission of the designated wireless terminal within the set of wireless terminals has ended; wherein, the designated wireless terminal is the previous wireless terminal of the target wireless terminal determined according to the data transmission order of each wireless terminal within the set of wireless terminals.
[0142] In some embodiments, such as Figure 8 As shown, the wireless transmission device may further include:
[0143] The resource release unit 730 is used to release channel resources when the target wireless terminal is determined to be the last wireless terminal in the wireless terminal set to transmit data based on the data transmission order of each wireless terminal in the wireless terminal set.
[0144] In some embodiments, such as Figure 9As shown, the wireless transmission device may further include:
[0145] The collection management unit 740 is used to create a wireless terminal collection when the target wireless terminal is associated with a wireless access point and it is determined that there is no wireless terminal collection at present, and to determine that the target wireless terminal is the master device of the wireless terminal collection.
[0146] When the target wireless terminal is associated with a wireless access point and it is determined that at least one set of wireless terminals exists, a set join request is sent to the master device of a specified wireless terminal set in the at least one set of wireless terminals based on the master device information of the at least one set of wireless terminals. Upon receiving a set join success response from the master device of the specified wireless terminal set, it is determined that the target wireless terminal has joined the specified wireless terminal set.
[0147] In some embodiments, the collection management unit 740 is further configured to, when associating with a wireless access point and determining that multiple wireless terminal collections exist, determine any one of the multiple wireless terminal collections as a candidate wireless terminal collection if the average signal strength of each wireless terminal in that wireless terminal collection differs from the signal strength of the current terminal by no more than a first threshold; if at least one candidate wireless terminal collection exists, send a collection join request to the master device of a designated candidate wireless terminal collection among the at least one candidate wireless terminal collection; if no candidate wireless terminal collection exists, create a wireless terminal collection and determine the current terminal as the master device of that wireless terminal collection.
[0148] In some embodiments, the collection management unit 740 is further configured to, when the terminal is the master device of the wireless terminal collection to which it belongs and receives a collection join request sent by another wireless terminal, compare the signal strength of the other wireless terminal with the signal strength of the wireless terminal with the weakest signal strength in the wireless collection to which the terminal belongs; and if the difference between the two exceeds a second threshold, refuse the other wireless terminal to join the wireless collection to which the terminal belongs.
[0149] In some embodiments, the collection management unit 740 is further configured to, when the target wireless terminal is the master device of its wireless terminal collection and a new wireless terminal has joined the wireless terminal collection to which the target wireless terminal belongs, re-determine the master device of the wireless terminal collection to which the target wireless terminal belongs, and send the newly determined master device information to other wireless terminals in the wireless terminal collection to which the target wireless terminal belongs and the wireless access point associated with the target wireless terminal; and / or, receive the association identifier and single data transmission time sent by the newly joined wireless terminal, update the data transmission order of the wireless terminal collection to which the target wireless terminal belongs, and the total data transmission time of the wireless terminal collection to which the target wireless terminal belongs, based on the received association identifier and single data transmission time, and send the updated data transmission order and total data transmission time to other wireless terminals in the wireless terminal collection to which the target wireless terminal belongs.
[0150] In some embodiments, the collection management unit 740 is further configured to, upon receiving a master device offline notification message sent by a wireless access point associated with the target wireless terminal, determine that the target wireless terminal is the master device of the wireless terminal set to which the target wireless terminal belongs, and send a collection update notification message to other wireless terminals in the wireless terminal set to which the target wireless terminal belongs; wherein, the master device offline notification message is sent by the wireless access point to the target wireless terminal when it detects that the master device of the wireless terminal set to which the target wireless terminal belongs is offline and determines that the target wireless terminal is a new master device;
[0151] The system receives association identifiers and single data transmission times sent by other wireless terminals in the set of wireless terminals to which the target wireless terminal belongs. Based on the received association identifiers and single data transmission times, the system updates the data transmission order of the set of wireless terminals to which the target wireless terminal belongs, as well as the total data transmission time of the set of wireless terminals to which the target wireless terminal belongs. The system then sends the updated data transmission order and total data transmission time to the other wireless terminals in the set of wireless terminals to which the target wireless terminal belongs.
[0152] In some embodiments, the collection management unit 740 is further configured to send a collection update notification message to other wireless terminals in the wireless terminal collection to which the target wireless terminal belongs when it receives a slave device offline notification message sent by a wireless access point associated with the target wireless terminal; wherein the slave device offline notification message is sent by the wireless access point to the target wireless terminal when it detects that a slave device in the wireless terminal collection to which the target wireless terminal belongs is offline and the target wireless terminal is the master device.
[0153] The system receives association identifiers and single data transmission times sent by other wireless terminals in the set of wireless terminals to which the target wireless terminal belongs. Based on the received association identifiers and single data transmission times, the system updates the data transmission order of the set of wireless terminals to which the target wireless terminal belongs, as well as the total data transmission time of the set of wireless terminals to which the target wireless terminal belongs. The system then sends the updated data transmission order and total data transmission time to the other wireless terminals in the set of wireless terminals to which the target wireless terminal belongs.
[0154] In some embodiments, for any set of wireless terminals, the total data transmission time of the set of wireless terminals is determined based on the single data transmission time of each wireless terminal in the set, the time of the wireless access point replying with an acknowledgment message, and the time interval between each data transmission.
[0155] Please see Figure 10 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. The electronic device may include a processor 1001 and a memory 1002 storing machine-executable instructions. The processor 1001 and the memory 1002 can communicate via a system bus 1003. Furthermore, by reading and executing the machine-executable instructions in the memory 1002 corresponding to the pseudo-matching point pair removal control logic, the processor 1001 can execute the pseudo-matching point pair removal method described above.
[0156] The memory 1002 mentioned in this document can be any electronic, magnetic, optical, or other physical storage device that can contain or store information, such as executable instructions, data, etc. For example, machine-readable storage media can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or combinations thereof.
[0157] In some embodiments, a machine-readable storage medium, such as Figure 10 The memory 1002 in the machine-readable storage medium stores machine-executable instructions, which, when executed by a processor, implement the pseudo-matching point pair removal method described above. For example, the machine-readable storage medium may be ROM, RAM, CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0158] Please see Figure 11 This is a schematic diagram of the structure of a wireless transmission system provided in an embodiment of this application, as shown below. Figure 11 As shown, the wireless transmission system may include: a wireless terminal and a wireless access point, wherein the wireless terminal is connected to the wireless access point via a wireless network; wherein:
[0159] The wireless terminal is used to preempt the channel when there is data to be transmitted;
[0160] The wireless terminal is further configured to use the channel to transmit data to the wireless access point when any wireless terminal in the set of wireless terminals to which this terminal belongs successfully preempts the channel and it is determined that this terminal meets the conditions for using the channel.
[0161] For example, the specific implementation of a wireless terminal joining a wireless terminal set and transmitting data can be found in the relevant descriptions in the above embodiments.
[0162] By joining a wireless terminal ensemble and competing for a channel in the form of a wireless terminal ensemble, if any wireless terminal in the ensemble successfully competes for a channel, all wireless terminals in the ensemble can transmit data. This can improve the transmission stability of wireless terminals in the ensemble and ensure that all wireless terminals in the ensemble have the opportunity to transmit data.
[0163] Among them, when a wireless terminal with weak signal strength joins the set, it can still transmit data if any other wireless terminal in the set successfully preempts the channel, thus avoiding the situation where a wireless terminal cannot transmit data due to weak signal strength.
[0164] It should be noted that, unless otherwise specified, the wireless terminal and wireless access point mentioned in the embodiments of this application refer to wireless terminals and wireless access points that support the wireless transmission method provided in the embodiments of this application.
[0165] In some embodiments, the wireless terminal includes an IPC (Internet Protocol Camera) and the wireless access point includes an NVR (Network Video Recorder) that integrates wireless access point functionality.
[0166] For example, IPCs can be used in the form of an IPC set to preempt channels. If any IPC in the IPC set successfully preempts a channel, all IPCs in the set can transmit video data to the NVR through the successfully preempted channel resources. The NVR then performs on-demand storage, management, and forwarding of the IPC's video data.
[0167] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0168] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A wireless transmission method applied to a target wireless terminal, characterized in that, The method includes: Channel preemption is performed when there is data to be transmitted; If any wireless terminal in the set of wireless terminals to which this terminal belongs successfully preempts the channel, and it is determined that this terminal meets the conditions for using the channel, then the channel shall be used for data transmission. The target wireless terminal is added to the wireless terminal set in the following manner: If a wireless access point is associated and it is determined that no wireless terminal set currently exists, a wireless terminal set is created, and this terminal is determined to be the master device of the wireless terminal set. When a wireless access point is associated and it is determined that at least one set of wireless terminals exists, the terminal sends a set join request to the master device of a specified wireless terminal set in the at least one set of wireless terminals based on the master device information of the at least one set of wireless terminals. Upon receiving a set join success response from the master device of the specified wireless terminal set, the terminal determines that it has joined the specified wireless terminal set.
2. The method according to claim 1, characterized in that, The conditions under which this terminal meets the requirements for using the channel include: This terminal is a wireless terminal within the aforementioned set of wireless terminals that successfully preempted the channel; or... This terminal is not a wireless terminal that successfully preempted the channel within the set of wireless terminals, and the data transmission of the designated wireless terminal within the set of wireless terminals has ended; wherein, the designated wireless terminal is the previous wireless terminal of this terminal, determined according to the data transmission order of each wireless terminal within the set of wireless terminals.
3. The method according to claim 1, characterized in that, When a wireless access point is associated and it is determined that multiple sets of wireless terminals exist, the method further includes: For any set of wireless terminals in the plurality of sets of wireless terminals, if the difference between the average signal strength of each wireless terminal in the set and the signal strength of the current terminal does not exceed a first threshold, the set of wireless terminals is determined as a candidate set of wireless terminals. In the presence of at least one candidate wireless terminal set, a set join request is sent to the master device of a specified candidate wireless terminal set in the at least one candidate wireless terminal set. If no candidate wireless terminal set exists, create a wireless terminal set and determine that this terminal is the master device of the wireless terminal set.
4. The method according to claim 1, characterized in that, The method further includes: When this terminal is the master device of its wireless terminal set and receives a set joining request from another wireless terminal, the signal strength of the other wireless terminal is compared with the signal strength of the wireless terminal with the weakest signal strength in the wireless set to which this terminal belongs. If the difference between the two exceeds the second threshold, the other wireless terminal will be refused entry into the wireless set to which this terminal belongs.
5. The method according to claim 1, characterized in that, When this terminal is the master device of its wireless terminal set, and a new wireless terminal joins the wireless terminal set to which this terminal belongs, the method further includes: The master device of the wireless terminal set to which this terminal belongs is re-determined, and the newly determined master device information is sent to other wireless terminals in the wireless terminal set to which this terminal belongs, as well as the wireless access point associated with this terminal. And / or, The system receives the association identifier and single data transmission time sent by a newly joined wireless terminal, updates the data transmission order of the wireless terminal set to which this terminal belongs, and the total data transmission time of the wireless terminal set to which this terminal belongs, based on the received association identifier and single data transmission time, and sends the updated data transmission order and total data transmission time to other wireless terminals in the wireless terminal set to which this terminal belongs.
6. The method according to claim 1, characterized in that, The method further includes: Upon receiving a master device offline notification message from the wireless access point associated with this terminal, the system determines that this terminal is the master device of the wireless terminal set to which this terminal belongs, and sends a set update notification message to other wireless terminals in the wireless terminal set to which this terminal belongs; wherein, the master device offline notification message is sent by the wireless access point to the target wireless terminal when it detects that the master device of the wireless terminal set to which the target wireless terminal belongs is offline, and determines that the target wireless terminal is the new master device; The device receives association identifiers and single data transmission times from other wireless terminals in the wireless terminal set to which it belongs. Based on the received association identifiers and single data transmission times, the device updates the data transmission order of the wireless terminal set to which it belongs, as well as the total data transmission time of the wireless terminal set to which it belongs. The device then sends the updated data transmission order and total data transmission time to the other wireless terminals in the wireless terminal set to which it belongs.
7. The method according to claim 1, characterized in that, The method further includes: Upon receiving a slave device offline notification message from a wireless access point associated with this terminal, the terminal sends a set update notification message to other wireless terminals in the set of wireless terminals to which this terminal belongs; wherein, the slave device offline notification message is sent by the wireless access point to the target wireless terminal when it detects that a slave device in the set of wireless terminals to which the target wireless terminal belongs is offline, and the target wireless terminal is the master device. The device receives association identifiers and single data transmission times from other wireless terminals in the wireless terminal set to which it belongs. Based on the received association identifiers and single data transmission times, the device updates the data transmission order of the wireless terminal set to which it belongs, as well as the total data transmission time of the wireless terminal set to which it belongs. The device then sends the updated data transmission order and total data transmission time to the other wireless terminals in the wireless terminal set to which it belongs.
8. The method according to any one of claims 5-7, characterized in that, For any set of wireless terminals, the total data transmission time of the set is determined based on the single data transmission time of each wireless terminal in the set, the time of the wireless access point's reply confirmation message, and the time interval between each data transmission.
9. A wireless transmission device, deployed on a target wireless terminal, characterized in that, The device includes: The channel preemption unit is used to preempt the channel when there is data to be transmitted; The data transmission unit is used to transmit data using the channel when any wireless terminal in the set of wireless terminals to which the target wireless terminal belongs successfully preempts the channel and it is determined that the target wireless terminal meets the conditions for using the channel. The device further includes: The collection management unit is used to create a wireless terminal collection when the target wireless terminal is associated with a wireless access point and it is determined that there is no wireless terminal collection at present, and to determine that the target wireless terminal is the master device of the wireless terminal collection. When the target wireless terminal is associated with a wireless access point and it is determined that at least one set of wireless terminals exists, a set join request is sent to the master device of a specified wireless terminal set in the at least one set of wireless terminals based on the master device information of the at least one set of wireless terminals. Upon receiving a set join success response from the master device of the specified wireless terminal set, it is determined that the target wireless terminal has joined the specified wireless terminal set.
10. The apparatus according to claim 9, characterized in that, The target wireless terminal meets the conditions for using the channel, including: The target wireless terminal is a wireless terminal within the set of wireless terminals that has successfully preempted the channel; or... The target wireless terminal is not a wireless terminal that successfully preempted the channel within the wireless terminal set, and the data transmission of the designated wireless terminal within the wireless terminal set has ended; wherein, the designated wireless terminal is the previous wireless terminal of the target wireless terminal determined according to the data transmission order of each wireless terminal within the wireless terminal set. And / or, The collection management unit is further configured to, when associated with a wireless access point and determining that multiple wireless terminal collections exist, identify any one of the multiple wireless terminal collections as a candidate wireless terminal collection if the average signal strength of each wireless terminal in that wireless terminal collection differs from the signal strength of the current terminal by no more than a first threshold; if at least one candidate wireless terminal collection exists, send a collection join request to the master device of a designated candidate wireless terminal collection among the at least one candidate wireless terminal collection; and if no candidate wireless terminal collection exists, create a wireless terminal collection and identify the current terminal as the master device of that wireless terminal collection. And / or, The collection management unit is further configured to, when this terminal is the master device of its wireless terminal collection and receives a collection join request from another wireless terminal, compare the signal strength of the other wireless terminal with the signal strength of the wireless terminal with the weakest signal strength in the wireless collection to which this terminal belongs; and if the difference between the two exceeds a second threshold, refuse the other wireless terminal to join the wireless collection to which this terminal belongs. And / or, The collection management unit is further configured to, when the target wireless terminal is the master device of its wireless terminal collection and a new wireless terminal joins the wireless terminal collection to which the target wireless terminal belongs, re-determine the master device of the wireless terminal collection to which the target wireless terminal belongs, and send the newly determined master device information to other wireless terminals in the wireless terminal collection to which the target wireless terminal belongs and the wireless access point associated with the target wireless terminal; and / or, receive the association identifier and single data transmission time sent by the newly joined wireless terminal, update the data transmission order of the wireless terminal collection to which the target wireless terminal belongs, and the total data transmission time of the wireless terminal collection to which the target wireless terminal belongs, based on the received association identifier and single data transmission time, and send the updated data transmission order and total data transmission time to other wireless terminals in the wireless terminal collection to which the target wireless terminal belongs; And / or, The collection management unit is further configured to, upon receiving a master device offline notification message sent by a wireless access point associated with the target wireless terminal, determine that the target wireless terminal is the master device of the wireless terminal set to which the target wireless terminal belongs, and send a collection update notification message to other wireless terminals in the wireless terminal set to which the target wireless terminal belongs; wherein, the master device offline notification message is sent by the wireless access point to the target wireless terminal when it detects that the master device of the wireless terminal set to which the target wireless terminal belongs is offline and determines that the target wireless terminal is a new master device; Receive association identifiers and single data transmission times sent by other wireless terminals in the wireless terminal set to which the target wireless terminal belongs; update the data transmission order and the total data transmission time of the wireless terminal set to which the target wireless terminal belongs based on the received association identifiers and single data transmission times; and send the updated data transmission order and the total data transmission time to other wireless terminals in the wireless terminal set to which the target wireless terminal belongs. And / or, The collection management unit is further configured to send a collection update notification message to other wireless terminals in the wireless terminal collection to which the target wireless terminal belongs when it receives a slave device offline notification message sent by a wireless access point associated with the target wireless terminal; wherein, the slave device offline notification message is sent by the wireless access point to the target wireless terminal when it detects that a slave device in the wireless terminal collection to which the target wireless terminal belongs is offline and the target wireless terminal is the master device. Receive association identifiers and single data transmission times sent by other wireless terminals in the wireless terminal set to which the target wireless terminal belongs; update the data transmission order and the total data transmission time of the wireless terminal set to which the target wireless terminal belongs based on the received association identifiers and single data transmission times; and send the updated data transmission order and the total data transmission time to other wireless terminals in the wireless terminal set to which the target wireless terminal belongs. And / or, For any set of wireless terminals, the total data transmission time of the set is determined based on the single data transmission time of each wireless terminal in the set, the time of the wireless access point's reply confirmation message, and the time interval between each data transmission.
11. An electronic device, characterized in that, The method includes a processor and a memory, the memory storing machine-executable instructions that can be executed by the processor, the processor executing the machine-executable instructions to implement the method as described in any one of claims 1-8.
12. A wireless transmission system, characterized in that, include: A wireless terminal and a wireless access point, wherein the wireless terminal is connected to the wireless access point via a wireless network; wherein: The wireless terminal is used to preempt the channel when there is data to be transmitted; The wireless terminal is also used to transmit data to the wireless access point using the channel when any wireless terminal in the set of wireless terminals to which this terminal belongs successfully preempts the channel and it is determined that this terminal meets the conditions for using the channel. The wireless terminal is further configured to create a wireless terminal set when it is associated with a wireless access point and it is determined that there is no wireless terminal set at present, and to determine that the terminal is the master device of the wireless terminal set. When a wireless access point is associated and it is determined that at least one set of wireless terminals exists, the terminal sends a set join request to the master device of a specified wireless terminal set in the at least one set of wireless terminals based on the master device information of the at least one set of wireless terminals. Upon receiving a set join success response from the master device of the specified wireless terminal set, the terminal determines that it has joined the specified wireless terminal set.
13. The system according to claim 12, characterized in that, The wireless terminal includes a network camera (IPC), and the wireless access point includes a network video recorder (NVR) with integrated wireless access point functionality.
Citation Information
Patent Citations
Coordinated WIFI station with shared TXOP between DL and UL in time domain
CN115699971A
