Dynamic time slice adjustment method under WiFi STAtion+P2P GO MCC

By counting the STA and P2P path throughput and channel occupation time of terminal devices, dynamically adjusting the channel ratio, the lag and screen loss caused by different channels during WiFi STAtion+P2P screen projection is solved, and more stable screen projection performance is achieved.

CN119967596APending Publication Date: 2025-05-09AIC SEMICON LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510137372.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-07
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

When the terminal device performs WiFi STAtion + P2P screen projection, if the STA and P2P work on different channels, it cannot be effectively adjusted and switched, resulting in stuttering of screen projection and screen loss.

Method used

By counting the throughput of STA and P2P channels respectively, the channel occupancy time is estimated, and the channel ratio is dynamically adjusted according to the hardware channel occupancy rate and comprehensive traffic. The specific steps include dividing 50% of the time slot, counting the data volume and channel occupancy time, analyzing the switching ratio to P2P high time slot under the conditions of increasing the GO time slot, and re-establishing NoA.

Benefits of technology

It realizes flexible switching of screen projection channels, avoids screen projection lag and screen loss, and improves screen projection performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119967596A_ABST
    Figure CN119967596A_ABST
Patent Text Reader

Abstract

The invention discloses a dynamic time slice adjustment method under WiFi STAtion + P2P GO MCC, and the adjustment method comprises the steps: carrying out the statistics of the throughput of STA and P2P channels, estimating the channel occupation time through rate, obtaining the channel information according to the channel occupation rate of the current hardware statistics, and synthesizing the flow, and then carrying out the proportional selection. According to the invention, throughput of STA and P2P channels is respectively counted, channel occupancy time is estimated through rate, channel information is obtained according to the channel occupancy rate counted by current hardware, and proportional selection is carried out according to a comprehensive flow evaluation scene, so that screen projection channels can be flexibly switched, and phenomena of screen projection lagging, screen projection blurred screen and the like are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of dynamic adjustment and switching of channel information and traffic in terminal device screen projection, and in particular to a method for dynamic time slice adjustment under WiFi STAtion+P2P GO MCC. Background Art

[0002] In daily use, terminal devices often need to project screens. If the screen is projected by connecting STA to AP, the STA mode of the terminal device will be occupied, resulting in the inability to obtain data from the Internet. Therefore, many terminal devices will choose STA+P2P to run the WiFi function. STA connects to the router, and P2P connects to devices such as the projector, which is the concurrent STA and P2P modes. However, as STA+P2P, the projected device may also be STA+P2P, so it is very likely that the STA and P2P of the terminal device will work on different channels, that is, Multi-Chan-Concurrent (MCC). If the adjustment and switching cannot be done well, the projection screen will be stuck, the screen will be distorted, and other phenomena will occur.

[0003] Therefore, a dynamic time slice adjustment method under WiFi STAtion+P2P GO MCC is proposed. Summary of the invention

[0004] In order to solve the problems existing in the prior art, the present invention provides a method for dynamic time slice adjustment under WiFi STAtion+P2PGO MCC to solve the technical problems proposed in the above background technology part.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] The present invention proposes a method for dynamic time slice adjustment under WiFi STAtion+P2P GO MCC, where STA: STAtion P2P: Peer to Peer AP: Access Point, and the adjustment method is to count the throughput of STA and P2P channels respectively, estimate the channel occupancy time by rate, and then obtain channel information according to the current hardware channel occupancy rate, and then select the proportion based on the comprehensive traffic, specifically:

[0007] The S1, STA, and P2P channels divide the time slots in a 50% ratio;

[0008] S2. Count the data volume, WiFi transmission rate and channel occupancy time in STA mode and GO mode in the time slot;

[0009] S3. Analyze the above data. If the conditions for improving the GO time slot are met, switch the ratio to the P2P high time slot ratio and re-establish NoA (Notice of Absence).

[0010] Compared with the prior art, the present invention has the following beneficial effects:

[0011] The present invention counts the throughput of STA and P2P channels respectively, estimates the channel occupancy time through rate, obtains channel information according to the current hardware channel occupancy rate, and selects the proportion based on the comprehensive traffic, so that the screen projection channel can be flexibly switched to avoid screen projection freeze, screen projection flower and other phenomena. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a schematic diagram of explaining the P2P protocol for NoA in the present invention;

[0013] Figure 2 It is a working diagram of allocating time slots in a 50% ratio between STA and P2P MCC in the present invention. DETAILED DESCRIPTION

[0014] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0015] In daily use, terminal devices often need to project screens. If you use STA to connect to AP for screen projection, the STA mode of the terminal device will be occupied, making it impossible to obtain data from the Internet. Therefore, many terminal devices will choose STA+P2P to run the WiFi function. STA connects to the router, and P2P connects to devices such as the projector, which is the concurrent STA and P2P modes. However, as STA+P2P, the projected device may also be STA+P2P, so it is very likely that the STA and P2P of our terminal device will work on different channels, which is Multi-Chan-Concurrent (MCC).

[0016] In MCC, different roles usually work in time-sharing mode. For example, STA works in channel 1 and P2P works in channel 36. Then, it usually stays in channel 1 for M milliseconds and in channel 36 for N milliseconds. NoA (Notice of Absence) is a way for P2P to implement channel time-sharing. The start time, absence interval, and absence duration of NoA are all determined by GO. Figure 1 This is the P2P protocol's interpretation of NoA.

[0017] The present invention provides a method for dynamic time slice adjustment under WiFi STAtion+P2P GO MCC. The WiFi STAtion and P2P (WiFi Direct) GO (group owner) roles MCC (Multi-Chan-Concurrent) dynamically adjust the channels switched to STAtion and P2P according to channel information and traffic, that is, the throughput of STA and P2P channels is counted respectively, the channel occupancy time is estimated by rate, and then the channel information is obtained according to the current channel occupancy rate, and the proportion is selected based on the comprehensive traffic, specifically:

[0018] The S1, STA, and P2P channels divide the time slots in a 50% ratio;

[0019] S2. Count the data volume, WiFi transmission rate and channel occupancy time in STA mode and GO mode in the time slot;

[0020] S3. Analyze the above data. If the conditions for improving the GO time slot are met, switch the ratio to the P2P high time slot ratio and re-establish NoA (Notice of Absence).

[0021] Generally, when GO decides the NoA start time, it is staggered with STA by 50% / 50%, that is, 102.4 milliseconds, 51.2 milliseconds in channel 1, and the other half in channel 36. However, sometimes the channel environment affects, such as STA getting the video stream from the AP on channel 1 and then projecting it on the screen projector, then the 50% / 50% ratio may be able to run; but on the other hand, for example, the data of a desk lamp camera needs to be displayed on a tablet in real time through P2P, but the STAtion of the desk lamp needs to interact with the AP network with very little data, then the STAtion may not need so many time slots, so it may be possible to allocate 40% / 60% or even 30% / 70% to STA / P2P.

[0022] Figure 2Schematic diagram of the operation of allocating time slots to STA and P2P MCC at a ratio of 50%, with a BCN Interval of 102.4 milliseconds.

[0023] Among them, BCN: Beacon; BCN Interval: BCN period; TBTT: Target Beacon Transmission Time.

[0024] Assume a scenario where the device APP plays a high-definition video from the Internet at a ratio of 50% / 50%, and then the screen projection freezes. At this time, you choose to switch to the local video for screen projection. At this time, STA does not need to download from the Internet, so the ratio can be switched from 50% to 30% / 70% during screen projection. This can greatly reduce the possibility of screen distortion and improve the performance of screen projection.

[0025] Our switching standard is to count the throughput of STA and P2P channels respectively, estimate the channel occupancy time through the physical layer sending rate, obtain channel information based on the current channel occupancy rate, and make a proportional selection based on the comprehensive traffic.

[0026] For example, according to the statistics of P2P GO when it is working, the throughput of playing videos is 30Mbps, and the current optimal transmission rate is 1ss 40M bandwidth he su mcs7. Then according to the physical rate of he mcs71.6us GI is 162.5Mbps, the channel occupancy time is about 185 milliseconds (that is, 185 milliseconds are needed for transmission in 1 second). At the same time, according to the receiving statistics of the internal information of the chip, the CCA on the channel is pulled up within 50 milliseconds (others have sent and received data packets) The total channel occupancy time is 15 milliseconds, so the estimated time of receiving the channel within 1 second is 300 milliseconds. We need at least 485 milliseconds to play P2P data without lag. Then according to the proportion of NoA 50%, we only have 500 milliseconds in this channel within 1 second. Looking at the same data statistics of STA in the same period, it is found that the data volume is not large, only 5 megabits per second and the channel environment is not bad. So in order to have more margin when projecting the screen, we switch the ratio to 30% / 70%, which can reduce the possibility of screen distortion.

[0027] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

[0028] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A method for dynamic time slice adjustment under WiFi STAtion+P2P GO MCC, characterized in that: The adjustment method is to count the throughput of STA and P2P channels respectively, estimate the channel occupancy time through rate, and then obtain channel information according to the current channel occupancy rate, and then select the ratio based on the comprehensive traffic, specifically: The S1, STA, and P2P channels divide the time slots in a 50% ratio; S2. Count the data volume, WiFi transmission rate and channel occupancy time in STA mode and GO mode in the time slot; S3. Analyze the above data. If the conditions for improving the GO time slot are met, switch the ratio to the P2P high time slot ratio and re-establish NoA (Notice of Absence).