Method and apparatus for wireless local area network

By monitoring the receive buffer space in the wireless LAN and entering power-saving mode when it is insufficient, and using the access point to cache data, the problem of workstation receive buffer overflow is solved, saving power consumption and improving throughput.

CN118540774APending Publication Date: 2024-08-23SAMSUNG SEMICON CHINA RES & DEV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410759594.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

A receive buffer overflow may occur when a workstation in a wireless LAN receives data, resulting in data discarding and increased power consumption, thereby reducing throughput and increasing latency.

Method used

The workstation monitors the remaining space in the receive buffer and sends a notification message to the access point to enter power-saving mode when it is insufficient. The access point caches data to avoid overflow and transmits the data to the workstation when appropriate.

Benefits of technology

It reduces the probability of buffer overflow and data discarding, saves power consumption, and improves system efficiency and throughput.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540774A
    Figure CN118540774A
Patent Text Reader

Abstract

The invention provides a method and a device for a wireless local area network. The method for the wireless local area network is applied to a workstation, and comprises the following steps: monitoring the size of the residual space of a receiving buffer area; in response to determining that the size of the residual space of the receiving buffer area is insufficient, sending notification information indicating that the workstation is about to enter a power-saving mode to the access point; receiving response information sent by the access point in response to the received notification information; and entering a power saving mode based on the received response information, the notification information being used for triggering the access point to cache the data sent to the workstation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to communication technology, and more particularly to a method and device for a wireless local area network. Background Art

[0002] When a workstation in a wireless local area network (WLAN) receives data, a receive (RX) buffer overflow may occur, and when the RX buffer overflows, the workstation will discard the data and will not send a confirmation (ACK) frame to the access point. This may cause the following problems: 1) The access point will think that the data is lost and compete to obtain the medium to repeatedly send the discarded data, thereby occupying or consuming medium resources; 2) The workstation needs to try to receive data, for example, some operations will be performed at the physical layer and the media access control (MAC) layer, which will generate power consumption; 3) Since a lot of data is discarded, the access point is likely to reduce the rate at which data is sent, thereby reducing throughput and increasing latency. Summary of the invention

[0003] The present disclosure provides a method and apparatus for a wireless local area network to solve part or all of the above problems.

[0004] According to one aspect of an example embodiment, a method for a wireless local area network is provided, which is applied to a workstation, and the method includes: monitoring the size of remaining space in a receiving buffer; in response to determining that the size of remaining space in the receiving buffer is insufficient, sending notification information to an access point indicating that the workstation will enter a power saving mode; receiving response information sent by the access point in response to receiving the notification information; and entering the power saving mode based on receiving the response information, wherein the notification information is used to trigger the access point to cache data sent to the workstation.

[0005] Optionally, the monitoring of the remaining space size of the receive buffer includes: monitoring the remaining space size of the internal receive buffer of the workstation and the remaining space size of the host receive buffer, wherein when at least one of the remaining space size of the internal receive buffer of the workstation and the remaining space size of the host receive buffer is less than a threshold value, it is determined that the remaining space size of the receive buffer is insufficient.

[0006] Optionally, in response to determining that the remaining space size of the receiving buffer is insufficient, sending notification information to the access point indicating that the workstation will enter a power saving mode includes: in response to the remaining space size of the receiving buffer being less than a threshold, determining whether the workstation has data to be sent, and if it is determined that the workstation has no data to be sent, sending notification information to the access point indicating that the workstation will enter a power saving mode.

[0007] Optionally, the method further includes: after entering the power saving mode, continuing to process the data in the receiving buffer and releasing corresponding space in the receiving buffer.

[0008] Optionally, after entering the power saving mode, the method further includes: receiving a beacon frame sent by the access point during a beacon listening time; exiting the power saving mode in response to information included in the beacon frame indicating that the access point has cached data to be sent to the workstation; sending a request to the access point to obtain the data cached by the access point; and receiving the cached data sent by the access point in response to the request.

[0009] Optionally, the receiving the cached data sent by the access point in response to the request includes: receiving a data frame including the cached data sent by the access point, and based on information included in the data frame indicating that the cached data has not been fully acquired, returning to the step of sending a request to the access point.

[0010] According to one aspect of an example embodiment, there is provided a method for a wireless local area network, applied to an access point, the method comprising: receiving notification information sent by a workstation in response to insufficient remaining space size in a receiving buffer, indicating that the workstation will enter a power saving mode; and in response to receiving the notification information, sending response information to the workstation and caching data sent to the workstation, wherein the workstation monitors the remaining space size in the receiving buffer of the workstation.

[0011] Optionally, the method further includes: sending a beacon frame to the workstation, wherein the beacon frame includes information indicating that the access point has cached data to be sent to the workstation so as to trigger the workstation to exit the power saving mode; receiving a request sent by the workstation to obtain the data cached by the access point; and sending the cached data to the workstation in response to the request.

[0012] Optionally, sending cached data to the workstation includes: based on the presence of cached data in addition to the cached data included in the data frame to be sent, including information indicating that the cached data has not been fully acquired in the data frame to be sent; and sending the data frame to the workstation, and returning to the step of receiving the request sent by the workstation.

[0013] According to one aspect of an example embodiment, a workstation is provided, wherein the workstation includes: a monitoring module configured to monitor the size of remaining space in a receiving buffer; a notification sending module configured to send notification information indicating that the workstation will enter a power saving mode to an access point in response to determining that the size of remaining space in the receiving buffer is insufficient; a response receiving module configured to receive response information sent by the access point in response to receiving the notification information; and a power saving module configured to enter the power saving mode based on receiving the response information, wherein the notification information is used to trigger the access point to cache data sent to the workstation.

[0014] Optionally, the monitoring module is configured to: monitor the remaining space size of the internal receive buffer of the workstation and the remaining space size of the host receive buffer, wherein when at least one of the remaining space size of the internal receive buffer of the workstation and the remaining space size of the host receive buffer is less than a threshold, it is determined that the remaining space size of the receive buffer is insufficient.

[0015] Optionally, the notification sending module is configured to: in response to the remaining space size of the receiving buffer being less than a threshold, determine whether the workstation has data to be sent, and if it is determined that the workstation has no data to be sent, send notification information to the access point indicating that the workstation will enter a power saving mode.

[0016] Optionally, the workstation further includes: a data processing module configured to continue processing the data in the receiving buffer and release corresponding space in the receiving buffer after entering the power saving mode.

[0017] Optionally, the workstation also includes: a data request module, configured to receive a beacon frame sent by the access point during a beacon listening time; exit a power saving mode in response to information included in the beacon frame indicating that the access point has cached data to be sent to the workstation; send a request to the access point to obtain the data cached by the access point; and receive the cached data sent by the access point in response to the request.

[0018] Optionally, the data request module is configured to: receive a data frame including cached data sent by the access point, and based on information included in the data frame indicating that the cached data has not been completely acquired, return an operation of sending a request to the access point.

[0019] According to an aspect of an example embodiment, an access point is provided, wherein the access point comprises: a notification receiving module configured to receive notification information sent by a workstation in response to insufficient remaining space size of a receiving buffer, indicating that the workstation will enter a power saving mode; and a response sending module configured to send response information to the workstation and cache data sent to the workstation in response to receiving the notification information, wherein the workstation monitors the remaining space size of the receiving buffer of the workstation.

[0020] Optionally, the access point further includes: a cache sending module, configured to send a beacon frame to the workstation, wherein the beacon frame includes information indicating that the access point has cached data to be sent to the workstation so as to trigger the workstation to exit the power saving mode; receive a request sent by the workstation to obtain the data cached by the access point; and send the cached data to the workstation in response to the request.

[0021] Optionally, the cache sending module is configured to: based on the existence of cached data in addition to the cached data included in the data frame to be sent, also include information indicating that the cached data has not been fully acquired in the data frame to be sent; and send the data frame to the workstation, and return the operation of receiving the request sent by the workstation.

[0022] According to a method of an example embodiment, a system for a wireless local area network is provided, the system comprising a workstation and an access point, wherein the workstation is configured to: monitor the size of the remaining space in a receiving buffer; in response to determining that the size of the remaining space in the receiving buffer is insufficient, send notification information to the access point indicating that the workstation will enter a power saving mode; receive response information sent by the access point in response to receiving the notification information; and enter the power saving mode based on receiving the response information; wherein the access point is configured to: receive notification information sent by the workstation in response to the size of the remaining space in the receiving buffer being insufficient, indicating that the workstation will enter a power saving mode; and in response to receiving the notification information, send response information to the workstation and cache data sent to the workstation.

[0023] According to one aspect of an exemplary embodiment, there is provided an electronic device, characterized in that it comprises: a processor; and a memory storing a computer program, wherein when the computer program is executed by the processor, the method for a wireless local area network as described above is implemented.

[0024] According to one aspect of an exemplary embodiment, there is provided a computer-readable storage medium, characterized in that a computer program is stored thereon, and when the program is executed, the method for a wireless local area network as described above is implemented.

[0025] The technical solution provided according to the embodiment of the present disclosure brings at least the following beneficial effects: reducing the probability of buffer overflow and data discard of the workstation, and saving power consumption.

[0026] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0028] Figure 1 A receive buffer in a workstation according to an example embodiment is shown.

[0029] Figure 2 A flow chart showing a method for a wireless local area network applied to a workstation according to an example embodiment.

[0030] Figure 3 A schematic diagram illustrating a frame sent to an access point according to an example embodiment.

[0031] Figure 4 A schematic diagram illustrating a data frame sent to a workstation according to an example embodiment.

[0032] Figure 5 A schematic diagram of a PS-Poll flow according to an example embodiment is shown.

[0033] Figure 6 A flow chart showing a method for a wireless local area network applied to an access point according to an example embodiment is shown.

[0034] Figure 7 A detailed flow chart of a method for a wireless local area network according to an example embodiment is shown.

[0035] Figure 8 A schematic block diagram of a workstation according to an example embodiment is shown.

[0036] Fig. 9 A schematic block diagram of an access point according to an example embodiment is shown.

[0037] Fig.10 A schematic diagram of a system for a wireless local area network is shown according to an example embodiment.

[0038] Fig.11 A block diagram of an electronic device according to an example embodiment is shown. DETAILED DESCRIPTION

[0039] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0040] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The implementation methods described in the following examples do not represent all implementation methods consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the attached claims.

[0041] It should be noted that the phrase "at least one of the items" in the present disclosure includes three types of parallel situations: "any one of the items", "a combination of any number of the items", and "all of the items". For example, "including at least one of A and B" includes the following three parallel situations: (1) including A; (2) including B; (3) including A and B. Another example is "executing at least one of step 1 and step 2" which means the following three parallel situations: (1) executing step 1; (2) executing step 2; (3) executing step 1 and step 2.

[0042] Figure 1 FIG. 2 shows a receive buffer in a workstation according to an example embodiment. Figure 1, a station device can communicate wirelessly with an access point (AP) via a wireless local area network (WLAN) (e.g., a WLAN based on the IEEE 802.11 standard, such as WiFi or other networks applicable to the IEEE 802.11 standard), and the access point can communicate (wired or wirelessly) with another peer device. The station here can be, for example, a mobile terminal (such as a smart phone, a mobile phone, a video phone, etc.), a wearable device (such as smart glasses, a head-mounted display (HMD), electronic clothing, an electronic bracelet, an electronic necklace, an electronic accessory, an electronic tattoo or a smart watch, etc.), a sensor (such as a posture sensor, a gyroscope sensor, an acceleration sensor, a grip sensor, an infrared (IR) sensor, a biosensor, a temperature sensor, a humidity sensor, and an illumination sensor, etc.), a mobile medical device, an Internet of Things device, a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, a netbook, a personal digital assistant (PDA), an augmented reality (AR) / virtual reality (VR) and other devices. An access point may be, for example, a NodeB, a radio network controller (RNC), an eNodeB, a base station controller (BSC), a base transceiver station (BTS), a base station (BS), a transceiver function (TF), a wireless router, a wireless transceiver, a connection point, etc.

[0043] exist Figure 1 In the wireless local area network, WiFi is used as an example for explanation, but the present disclosure is not limited thereto. The workstation device may include two components: an application processor and a WiFi processor. The two may communicate via a memory bus, a secure digital input and output card (SDIO) bus, a universal serial bus (USB), or other buses. Among them, the WiFi processor has an internal receive (RX) buffer, which is usually implemented by a static random access memory (SRAM). The application processor has a host receive (RX) buffer, which is usually implemented by a dynamic random access memory (DRAM). Both RX buffers are allocated after the system starts and have a fixed size. The workstation can control the radio (e.g., a radio module) and the antenna to receive and send data. When receiving data from an access point, the WiFi processor stores the data in an internal RX buffer, and after processing the data, copies the data to the host RX buffer. The WiFi driver running on the application processor processes the data in the host RX buffer, passes it to the TCP / IP layer, and then passes it to the socket buffer, and finally the application can read the data.

[0044] In some cases, the workstation may experience an RX buffer overflow when receiving data for the following reasons: 1. The CPU utilization of the WiFi processor is very high at an instant, and the data in the internal RX buffer cannot be processed in time, and the data cannot be passed to the host RX buffer, so the space cannot be released, and the old received data may occupy the entire buffer. When new data arrives, there is no space to store the data, an overflow will occur and the data will be discarded. 2. There are many applications running on the application processor, and the CPU utilization may be very high at a certain moment, or the temperature may be very high, which will reduce the CPU frequency. In this way, the data in the host RX buffer cannot be processed in time, and the data cannot be passed to the TCP / IP layer, so the space cannot be released, and the buffer will be full. When new data arrives, the buffer will overflow. 3. The application reads data from the socket buffer or the TCP / IP layer slowly, and a large amount of data resides in the host RX buffer, which may cause a buffer overflow. 4. Many modules compete to access the communication bus. If the WiFi driver and the WiFi processor cannot get the opportunity to access the bus, the data will be stranded in the RX buffer, and an overflow may occur.

[0045] In order to reduce the probability of workstation RX buffer overflow, considering that the access point has a cache buffer that can temporarily store data, the present disclosure proposes a method and apparatus for a wireless local area network to utilize the data cache function of the access point when the RX buffer is nearly full.

[0046] It should be understood that the above Figure 1 The components in the workstation in are merely examples and the present disclosure is not limited thereto.

[0047] In the embodiment of the present disclosure, the workstation Figure 1 In addition to the components included in the , two related components may also be included: an RX buffer monitor and a power saving controller, wherein the RX buffer monitor may evaluate whether the RX buffer has enough space to store subsequent data, and the power saving controller may determine when and how to enter the power saving mode, and after entering the power saving mode, the access point may help the workstation cache data. The power saving mode may also be referred to as, for example, a power saving mode, a sleep mode, or a sleep mode, and the power saving mode of the workstation may be a mode in which the workstation turns off the radio (e.g., a radio module) and the antenna, and stops receiving and sending data.

[0048] It should be understood that the power saving mode of the workstation is not limited to the above operations, but may also include other operations such as reducing the performance and brightness of the device to reduce power consumption.

[0049] Figure 2 A flow chart showing a method for a wireless local area network applied to a workstation according to an example embodiment.

[0050] In step S210, the remaining space size of the receiving buffer is monitored.

[0051] According to an embodiment of the present disclosure, the remaining space size of the workstation's internal receive buffer and the remaining space size of the host receive buffer can be monitored, wherein when at least one of the remaining space size of the workstation's internal receive buffer and the remaining space size of the host receive buffer is less than a threshold, it is determined that the remaining space size of the receive buffer is insufficient.

[0052] In an embodiment of the present disclosure, the workstation may monitor the size of the remaining space in the buffer when receiving data. For example, if the size of the remaining space in the RX buffer is less than a threshold, it can be determined that the size of the remaining space in the RX buffer is insufficient. For example, the threshold may be the current data rate * 200ms. Since the workstation side includes an internal RX buffer and a host RX buffer, and overflow may occur in either buffer, when receiving data sent by an access point, the workstation (e.g., an RX buffer monitor) may monitor the internal RX buffer and the host RX buffer, and when the size of the remaining space in at least one buffer is less than a threshold, it can be determined that the size of the remaining space in the buffer is insufficient. In addition, the threshold for the internal RX buffer and the threshold for the host RX buffer may be the same or different.

[0053] In step S220, in response to determining that the remaining space in the receiving buffer is insufficient, a notification message indicating that the station will enter a power saving mode is sent to the access point.

[0054] According to an embodiment of the present disclosure, in response to the remaining space size of the receiving buffer being less than a threshold, it is determined whether the workstation has data to be sent. If it is determined that the workstation has no data to be sent, notification information indicating that the workstation will enter a power saving mode is sent to the access point.

[0055] In an embodiment of the present disclosure, if the workstation has data frames to send (excluding control frames and management frames), it is not suitable to enter the power saving mode, and the workstation can maintain the current state and can continue to receive and / or send data. If the workstation has no data frames to send, the workstation can enter the power saving mode. The workstation can send notification information to the access point indicating that the workstation will enter the power saving mode.

[0056] In step S230, response information sent by the access point in response to receiving the notification information is received.

[0057] According to an embodiment of the present disclosure, the notification information is used to trigger the access point to cache the data sent to the workstation.

[0058] In an embodiment of the present disclosure, when the remaining space size of the RX buffer is insufficient, the workstation can enter a power saving mode. Some workstations (e.g., mobile devices and embedded devices) have limited energy. In order to save power, the workstation can enter a power saving mode and notify the access point so that the access point can cache data sent to the workstation. After entering the power saving mode, the WiFi module of the workstation can turn off the radio (e.g., radio module) and antenna, stop receiving and sending data, and thus save power consumption. If there is nothing to do (e.g., no data processing and other operations), the WiFi processor will also sleep, otherwise it will remain awake.

[0059] Figure 3 A schematic diagram showing a frame sent to an access point according to an example embodiment. Figure 3 Describes how to enter power saving mode on the workstation.

[0060] If the station wants to enter the power saving mode, it can send a notification message to the access point indicating that the station will enter the power saving mode. The notification message can be, for example, a "power management" bit (set to 1). Figure 3 , the workstation can send a frame (for example, a NULL data frame) to the access point. The frame control field contains a "power management (Pwr Mgt)" bit, which is used to identify whether the workstation will enter power saving mode after the frame. When the value of the "power management" bit is 1, it means that the workstation will enter power saving mode, and when the value of the "power management" bit is 0, it means that the workstation will maintain the current state, or the workstation in power saving mode will exit power saving mode.

[0061] In an embodiment of the present disclosure, the access point receives the notification information, for example, receives a frame including a "power management" bit with a value of 1 from the workstation, and the access point may learn that the workstation will enter the power saving mode. Then, the access point may send response information (for example, an ACK frame) to the workstation, and may start to cache data sent to the workstation. Specifically, the access point may cache the data sent to the workstation in its buffer.

[0062] return Figure 2 In step S240, based on receiving the response information, enter the power saving mode.

[0063] In an embodiment of the present disclosure, after receiving response information (eg, ACK frame) sent by the access point, the station may enter a power saving mode, thereby turning off a radio and an antenna, and stopping sending and receiving data.

[0064] According to an embodiment of the present disclosure, after entering the power saving mode, the workstation may continue to process the data in the receiving buffer and release the corresponding space in the receiving buffer.

[0065] In an embodiment of the present disclosure, the workstation can process the data in the buffer while receiving the data and after receiving the data. After the workstation enters the power saving mode, it no longer sends and receives data, thereby avoiding the probability of overflow of the receive buffer, but the workstation can continue to process the data retained in the RX buffer, including the data in the internal RX buffer and the host RX buffer, thereby releasing the corresponding space in the receive buffer.

[0066] According to an embodiment of the present disclosure, after entering the power saving mode, the workstation may receive a beacon frame sent by the access point during the beacon listening time; exit the power saving mode in response to the beacon frame including information indicating that the access point has cached data to be sent to the workstation; send a request to the access point to obtain the data cached by the access point; and receive the cached data sent by the access point in response to the request.

[0067] In an embodiment of the present disclosure, an access point may periodically (e.g., according to a beacon period) send (or broadcast) beacon frames. The beacon frame sent by the access point to the workstation may include a TIM field, the TIM field indicates whether the access point buffer caches (or includes) data for the workstation, and the DTIM field indicates multicast and broadcast data packets. And the workstation may wake up periodically (e.g., according to a beacon listening period) to receive beacon frames. The workstation may check the TIM field in the beacon frame to find out whether the access point has cached data sent to the workstation. In addition, the workstation does not need to listen to and receive each beacon frame, but may skip several frames. For example, the beacon listening period may be an integer multiple (e.g., 2 times) of the beacon period, so that the workstation can remain in power saving mode for a longer time (or sleep time).

[0068] In an embodiment of the present disclosure, if the workstation finds that the access point caches data sent to the workstation, the workstation may exit the power saving mode and send a request to the access point to obtain the data cached by the access point. Specifically, after the workstation exits the power saving mode, it may send a request frame (e.g., a PS-POLL frame) to the access point to obtain the data cached by the access point. After receiving the request frame, the access point may send the data cached by the access point during the power saving mode of the workstation to the workstation.

[0069] According to an embodiment of the present disclosure, receiving cached data sent by an access point in response to a request may include: receiving a data frame including cached data sent by the access point, and returning to the step of sending a request to the access point based on information included in the data frame indicating that the cached data has not been fully acquired.

[0070] In an embodiment of the present disclosure, the access point sends its cached data to the workstation in the form of a data frame. If, after the current data frame is sent, the access point still has cached data to be sent to the workstation, the "more data" field in the current data frame is 1 to notify the workstation that the cached data has not been fully acquired.

[0071] Figure 4 FIG. 1 is a schematic diagram showing a data frame sent to a workstation according to an example embodiment. Figure 4 The data frame includes a "More Data" field, and the "More Data" bit is a following bit located in the control field of the data frame.

[0072] When the "More Data" field is 1, the workstation will continue to send requests to the access point to request the access point to continue to send the cached data. Specifically, the workstation can repeatedly send the above PS-Poll frame to obtain the data cached by the access point until all the data cached by the access point to be sent to the workstation is obtained.

[0073] Figure 5 FIG. 2 shows a schematic diagram of a PS-Poll process according to an exemplary embodiment. Figure 5 , the workstation sends a PS-Poll frame to the access point to obtain the data cached by the access point. In response to receiving the PS-Poll frame, the access point sends a data frame (e.g., frame 1) to the workstation, and the "More Data" field of the data frame is 1 to indicate that the cached data has not been completely obtained. Based on the "More Data" field in the received data frame being 1, the workstation continues to send PS-Poll frames to the access point to obtain the data cached by the access point, and the access point sends a data frame (e.g., frame 2) to the workstation in response to receiving the PS-Poll frame, and the "More Data" field of the data frame is 1 to indicate that the cached data has not been completely obtained. The workstation and the access point can repeat the above steps until the workstation obtains all the data cached by the access point and sent to the workstation.

[0074] As described above, according to the method for wireless local area network applied to a workstation according to an embodiment of the present disclosure, when the workstation finds that the internal RX buffer and / or the host RX buffer is about to be full, it enters the power saving mode. At this time, the access point will temporarily not send data to the workstation, but cache the data. After a while, the access point sends data to the workstation again. In this way, the workstation can seize the opportunity to process the data in the RX buffer and release some space. Thereby, the purpose of saving power consumption can be achieved while reducing the probability of buffer overflow and data discard of the workstation.

[0075] Figure 6 A flow chart showing a method for a wireless local area network applied to an access point according to an example embodiment is shown.

[0076] In step S610, the receiving workstation sends notification information indicating that the workstation will enter a power saving mode in response to insufficient remaining space in the receiving buffer, wherein the workstation monitors the remaining space in the receiving buffer of the workstation.

[0077] In step S620, in response to receiving the notification information, response information is sent to the workstation and data sent to the workstation is buffered.

[0078] According to an embodiment of the present disclosure, an access point sends a beacon frame to a workstation, wherein the beacon frame includes information indicating that the access point has cached data to be sent to the workstation for triggering the workstation to exit a power saving mode; receives a request sent by the workstation to obtain data cached by the access point; and sends the cached data to the workstation in response to the request.

[0079] According to an embodiment of the present disclosure, based on the fact that there is still cached data in addition to the cached data included in the data frame to be sent, the data frame to be sent also includes information indicating that the cached data has not been fully acquired; and the data frame is sent to the workstation, and the request sent by the receiving workstation is returned.

[0080] As described above, according to the method for a wireless local area network applied to an access point of an embodiment of the present disclosure, a workstation can enter a power saving mode when the receiving buffer is insufficient, thereby utilizing the access point to cache data, which can reduce the probability of buffer overflow and data discard of the workstation while achieving the purpose of saving power consumption.

[0081] Figure 7 A detailed flow chart of a method for a wireless local area network according to an example embodiment is shown.

[0082] Reference Figure 7 In step 1, the workstation can monitor the remaining space size of the host RX buffer and the internal RX buffer when receiving data. The workstation can easily know the remaining space size of the RX buffer using, for example, an RX buffer monitor.

[0083] In step 2: evaluate whether there is enough remaining space in the buffer. For example, if the remaining space is less than the threshold (current data rate * 200ms), proceed to the next step, otherwise return to step 1.

[0084] In step 3: if there are data frames to be sent (excluding control frames and management frames), it is not suitable to enter the power saving mode, return to step 1 and maintain the current state, otherwise proceed to the next step.

[0085] In step 4: the station sends a NULL data frame to the access point, with the "power management" bit of the frame set to 1, indicating that the station wants to enter power saving mode. After receiving the NULL data frame, the access point responds with an ACK frame.

[0086] In step 5: After the station receives the ACK frame sent by the access point, it enters power saving mode and turns off the radio and antenna. At the same time, the access point will buffer the data sent to the station.

[0087] In step 6: Before the next beacon listening time arrives, the station takes the opportunity to process the data remaining in the RX buffer and then frees up some space.

[0088] In step 7: When the next beacon listening time arrives, the workstation turns on the radio and antenna to receive the beacon, and if it is found that the TIM field of the beacon indicates that the access point has cached the data sent to the workstation, it exits the power saving mode.

[0089] In step 8: the workstation sends a PS-Poll frame to the access point, and after receiving the frame, the access point sends the buffered data to the workstation.

[0090] In step 9: Check the "more data" bit of the received frame to determine whether there is still data in the access point's buffer, if so, go to the next step, otherwise go to step 1.

[0091] In step 10: because the workstation has received some data, it needs to check whether the RX buffer is full. If so, it goes to step 4, otherwise it goes to step 8. Since the workstation is in power saving mode, if there are data frames to be sent, the workstation will also exit the power saving mode and send data frames to the access point. Here, because the access point beacon frame indicates that there is data for the workstation cached, the workstation exits the power saving mode and receives the data cached by the access point, then it can be assumed that the workstation has no data to send to the access point. Therefore, in step 10, the workstation can monitor the remaining space size of the RX buffer in the same way as step 1 while receiving the cached data (that is, check whether the RX buffer is full), and if there is insufficient remaining space in the RX buffer, it directly goes to step 4 without determining whether there are data frames to be sent.

[0092] Figure 8 A schematic block diagram of a workstation according to an example embodiment is shown.

[0093] Reference Figure 8, the workstation 800 may include: a monitoring module 810, a notification sending module 820, a response receiving module 830 and a power saving module 840, wherein the monitoring module 810 may monitor the size of the remaining space in the receiving buffer; the notification sending module 820 may, in response to determining that the size of the remaining space in the receiving buffer is insufficient, send notification information to the access point indicating that the workstation will enter a power saving mode; the response receiving module 830 may receive response information sent by the access point in response to receiving the notification information; and the power saving module 840 may enter the power saving mode based on receiving the response information, wherein the notification information is used to trigger the access point to cache data sent to the workstation.

[0094] According to an embodiment of the present disclosure, the monitoring module 810 can monitor the remaining space size of the internal receive buffer of the workstation and the remaining space size of the host receive buffer, wherein when at least one of the remaining space size of the internal receive buffer of the workstation and the remaining space size of the host receive buffer is less than a threshold value, it is determined that the remaining space size of the receive buffer is insufficient.

[0095] According to an embodiment of the present disclosure, the notification sending module 820 may determine whether the workstation has data to be sent in response to the size of the remaining space in the receiving buffer being less than a threshold value, and if it is determined that the workstation has no data to be sent, send notification information to the access point indicating that the workstation will enter a power saving mode.

[0096] According to an embodiment of the present disclosure, the workstation 800 may further include: a data processing module (not shown). After entering the power saving mode, the data processing module may continue to process the data in the receiving buffer and release the corresponding space in the receiving buffer.

[0097] According to an embodiment of the present disclosure, the workstation 800 may further include: a data request module (not shown). The data request module may receive a beacon frame sent by an access point during the beacon listening time; in response to the beacon frame including information indicating that the access point has cached data to be sent to the workstation, exit the power saving mode; send a request to the access point to obtain the data cached by the access point; and receive the cached data sent by the access point in response to the request.

[0098] According to an embodiment of the present disclosure, the data request module may receive a data frame including cached data sent by an access point, and return to the step of sending a request to the access point based on information included in the data frame indicating that the cached data has not been completely acquired.

[0099] Fig. 9 A schematic block diagram of an access point according to an example embodiment is shown.

[0100] Reference Fig. 9, the access point 900 may include: a notification receiving module 910 and a response sending module 920, wherein the notification receiving module 910 may receive notification information sent by the workstation in response to insufficient remaining space size of the receiving buffer, indicating that the workstation will enter a power saving mode; and the response sending module 920 may, in response to receiving the notification information, send response information to the workstation and cache data sent to the workstation, wherein the workstation monitors the remaining space size of the receiving buffer of the workstation.

[0101] According to an embodiment of the present disclosure, the access point 900 may further include: a cache sending module (not shown). The cache sending module may send a beacon frame to a workstation, wherein the beacon frame includes information indicating that the access point has cached data to be sent to the workstation to trigger the workstation to exit the power saving mode; receive a request sent by the workstation to obtain data cached by the access point; and send the cached data to the workstation in response to the request.

[0102] According to an embodiment of the present disclosure, the cache sending module can include information indicating that the cached data has not been fully acquired in the data frame to be sent, based on the fact that there is still cached data in addition to the cached data included in the data frame to be sent; and send a data frame to the workstation, and return the operation of receiving the request sent by the workstation.

[0103] Fig.10 A schematic diagram illustrating a system for a wireless local area network according to an example embodiment is shown.

[0104] Reference Fig.10 , a system 1000 for a wireless local area network includes a workstation 1010 and an access point 1020, wherein the workstation 1010 can monitor the size of the remaining space in the receiving buffer; in response to determining that the remaining space in the receiving buffer is insufficient, send notification information to the access point indicating that the workstation will enter a power saving mode; receive response information sent by the access point in response to receiving the notification information; and enter the power saving mode based on receiving the response information. The access point 1020 can receive the notification information sent by the workstation in response to the insufficient size of the remaining space in the receiving buffer indicating that the workstation will enter a power saving mode; and in response to receiving the notification information, send the response information to the workstation and cache the data sent to the workstation.

[0105] In addition, regarding Fig.10 Any relevant details involved in the operations performed by the workstation 1010 and the access point 1020 can be found in the Figure 8 and Fig. 9 The corresponding description will not be repeated here.

[0106] As described above, according to the workstation, access point and system for a wireless local area network including the workstation and the access point according to the embodiments of the present disclosure, the workstation can enter a power saving mode when the receiving buffer is insufficient, thereby utilizing the access point to cache data, thereby reducing the probability of buffer overflow and data discard of the workstation and achieving the purpose of saving power consumption.

[0107] Fig.11 A block diagram of an electronic device according to an example embodiment is shown.

[0108] The electronic device 1100 may be a workstation or an access point according to an embodiment of the present disclosure. Fig.11 The electronic device 1100 may include at least one memory 1110 and at least one processor 1120, wherein the at least one memory stores a set of computer executable instructions, and when the computer executable instruction set is executed by the at least one processor, the method for a wireless local area network according to an embodiment of the present disclosure is executed.

[0109] Here, the electronic device is not necessarily a single electronic device, but may be any device or circuit collection that can execute the above instructions (or instruction sets) individually or jointly. The electronic device may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that is interconnected with a local or remote (e.g., via wireless transmission) interface.

[0110] In electronic devices, the processor may include a central processing unit (CPU), a graphics processing unit (GPU), a programmable logic device, a dedicated processor system, a microcontroller or a microprocessor. As an example and not limitation, the processor may also include an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, etc.

[0111] The processor can execute instructions or codes stored in the memory, wherein the memory can also store data. Instructions and data can also be sent and received through the network via the network interface device, wherein the network interface device can adopt any known transmission protocol.

[0112] The memory may be integrated with the processor, for example, RAM or flash memory is arranged within an integrated circuit microprocessor or the like. In addition, the memory may include a separate device, such as an external disk drive, a storage array, or any other storage device that can be used by a database system. The memory and the processor may be operatively coupled, or may communicate with each other, such as through an I / O port, a network connection, etc., so that the processor can read files stored in the memory.

[0113] In addition, the electronic device may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, a mouse, a touch input device, etc.) All components of the electronic device may be connected to each other via a bus and / or a network.

[0114] According to an embodiment of the present disclosure, a computer-readable storage medium may also be provided, wherein a computer program is stored thereon, and when the program is executed, the method for a wireless local area network according to the present disclosure is implemented. Examples of computer-readable storage media here include: read-only memory (ROM), random access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD+R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD+R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, Blu-ray or optical disk storage, hard disk drive (HDD), solid state drive (SSD), card storage (such as, multimedia card, secure digital (SD) card or extreme digital (XD) card), magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk and any other device, any other device is configured to store computer programs and any associated data, data files and data structures in a non-transitory manner and provide the computer programs and any associated data, data files and data structures to a processor or computer so that the processor or computer can execute the computer program. The computer program in the above-mentioned computer-readable storage medium can be run in an environment deployed in a computer device such as a terminal, a client, a host, an agent device, a server, etc. In addition, in one example, the computer program and any associated data, data files and data structures are distributed on a networked computer system, so that the computer program and any associated data, data files and data structures are stored, accessed and executed in a distributed manner by one or more processors or computers.

[0115] According to the method and device for wireless local area network disclosed in the present invention, the workstation can enter power saving mode when the receiving buffer is insufficient, thereby utilizing the access point to cache data, which can achieve the purpose of saving power consumption while reducing the probability of buffer overflow and data discard of the workstation.

[0116] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0117] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for wireless local area network, applied to a workstation, the method include: Monitor the remaining space in the receiving buffer; In response to determining that the remaining space in the receiving buffer is insufficient, sending notification information to the access point indicating that the workstation will enter a power saving mode; receiving response information sent by the access point in response to receiving the notification information; as well as Based on receiving the response information, entering a power saving mode, The notification information is used to trigger the access point to cache the data sent to the workstation.

2. The method according to claim 1, in, The monitoring of the remaining space size of the receiving buffer includes: Monitor the remaining space size of the internal receiving buffer of the workstation and the remaining space size of the host receiving buffer, When at least one of the remaining space size of the internal receiving buffer of the workstation and the remaining space size of the host receiving buffer is less than a threshold, it is determined that the remaining space size of the receiving buffer is insufficient.

3. The method according to claim 1, in, In response to determining that the remaining space in the receiving buffer is insufficient, sending notification information indicating that the workstation will enter a power saving mode to the access point includes: In response to the remaining space size of the receiving buffer being less than a threshold, determining whether the workstation has data to be sent, When it is determined that the workstation has no data to be sent, notification information indicating that the workstation will enter a power saving mode is sent to the access point.

4. The method according to claim 1, in, The method further comprises: After entering the power saving mode, the data in the receiving buffer continues to be processed and the corresponding space in the receiving buffer is released.

5. A method for a wireless local area network, applied to an access point, the method include: receiving notification information sent by a receiving workstation in response to insufficient remaining space in a receiving buffer, indicating that the workstation will enter a power saving mode; as well as In response to receiving the notification information, sending a response message to the workstation and buffering data sent to the workstation, The workstation monitors the remaining space size of the receiving buffer of the workstation.

6. A workstation, in, The workstation comprises: A monitoring module is configured to monitor the remaining space size of the receiving buffer; a notification sending module configured to send notification information indicating that the workstation will enter a power saving mode to the access point in response to determining that the remaining space in the receiving buffer is insufficient; a response receiving module, configured to receive response information sent by the access point in response to receiving the notification information; and a power saving module, configured to enter a power saving mode based on receiving the response information, The notification information is used to trigger the access point to cache the data sent to the workstation.

7. An access point, in, The access point comprises: a notification receiving module configured to receive notification information sent by a workstation in response to insufficient remaining space in a receiving buffer, indicating that the workstation will enter a power saving mode; and a response sending module, configured to send response information to the workstation and cache data sent to the workstation in response to receiving the notification information, The workstation monitors the remaining space size of the receiving buffer of the workstation.

8. A system for a wireless local area network, the system comprising a workstation and an access point, in, The workstation is configured to: monitor the size of the remaining space in the receiving buffer; in response to determining that the size of the remaining space in the receiving buffer is insufficient, send notification information to the access point indicating that the workstation will enter a power saving mode; receive response information sent by the access point in response to receiving the notification information; and entering a power saving mode based on receiving the response information; The access point is configured to: receive notification information sent by the workstation in response to insufficient remaining space in the receiving buffer, indicating that the workstation will enter a power saving mode; And in response to receiving the notification information, sending response information to the workstation and buffering data sent to the workstation.

9. An electronic device, It is characterized in that include: processor; A memory storing a computer program, wherein when the computer program is executed by a processor, the method for a wireless local area network according to any one of claims 1 to 5 is implemented.

10. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the program is executed, the method for a wireless local area network according to any one of claims 1 to 5 is implemented.