Method for switching operating mode for wi-fi receiving device
By periodically parsing partial fields of the beacon frame and fully parsing the beacon frame under trigger conditions, the problem of unstable communication between the Wi-Fi receiving device and the access point under low power consumption is solved, thus achieving stable and reliable Wi-Fi connection and low power operation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HENGXUAN TECHNOLOGY (CHENGDU) CO LTD
- Filing Date
- 2026-03-24
- Publication Date
- 2026-06-05
AI Technical Summary
Existing Wi-Fi receiving devices cannot automatically match the router status when there is no data interaction, resulting in unstable communication and an inability to maintain a reliable connection with the access point under low power consumption.
By periodically parsing partial fields of the beacon frame and fully parsing the beacon frame when a preset trigger condition is met, and by combining the identifier in the TIM field with changes in other fields, the working mode is dynamically switched to maintain the connection with the access point.
It enables stable communication with the access point under low power consumption, avoids the device losing connection with the router, and improves the reliability of communication and the battery life of the device.
Smart Images

Figure CN122160877A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of wireless local area network communication, specifically to a method for switching operating modes of a Wi-Fi receiving device, a computer-readable storage medium, and an electronic device. Background Technology
[0002] With the development of wireless communication technology, Wi-Fi technology has been widely used in many fields such as wearable devices. Due to size and battery capacity limitations, these terminals have extremely low power consumption requirements for Wi-Fi communication. Minimizing energy consumption while maintaining network connectivity is the key to its large-scale application.
[0003] In traditional Wi-Fi low-power mechanisms, after a receiving device (station) establishes a connection with an access point (usually a router), it typically uses the TIM (Traffic Indication Map) field of beacon frames to wake up or go into sleep mode accordingly. When there is no data interaction, the device enters sleep mode, only periodically receiving beacon frames sent by the access point and parsing the TIM field. If the TIM field contains an identifier corresponding to the device, the device wakes up and performs data reception. If the TIM field does not contain an identifier corresponding to the device, the device remains in sleep mode, thus significantly reducing standby power consumption. This mechanism can significantly reduce energy consumption in scenarios without data. However, this solution has inherent drawbacks. When the encryption method, operating bandwidth, or wireless mode at the access point changes, devices that have been in sleep mode for a long time cannot detect the parameter changes, making them prone to abnormal disconnection from the router and affecting communication stability.
[0004] Therefore, it is evident that there is currently a lack of a low-power operating method that can automatically match the router's status and dynamically switch operating modes. While existing technologies allow Wi-Fi receiving devices to operate with lower power consumption, they cannot guarantee stable and reliable continuous communication between the device and the access point. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this disclosure proposes a method for switching operating modes of Wi-Fi receiving devices. This method operates with low power consumption overall and can periodically match the router status to avoid losing connection with the router.
[0006] The first aspect of this disclosure provides a method for switching operating modes of a Wi-Fi receiving device, comprising: periodically performing a first processing on a beacon frame during a first time period, wherein the first processing includes: receiving and parsing fields from the frame header to the TIM field of the beacon frame, and terminating the reception of subsequent fields of the beacon frame located after the TIM field; in response to reaching a preset trigger condition, performing a second processing on the last received target beacon frame during the first time period in a subsequent second time period, wherein the second processing includes: receiving subsequent fields of the target beacon frame located after the TIM field and parsing the subsequent fields; wherein the preset trigger condition includes: a) the duration of the first time period exceeds a time threshold.
[0007] The receiving device operates in a semi-dormant state for most of its working time, only interpreting a portion of the necessary fields from each beacon frame to conserve power. However, by fully parsing the beacon frame at regular intervals, the receiving device can gain a comprehensive understanding of the current access point's communication information, thereby preventing loss of connection with the access point.
[0008] In one embodiment, the preset triggering condition further includes: b) the TIM field contains an identifier corresponding to the Wi-Fi receiving device.
[0009] In one embodiment, the step of determining that the duration of the first time period exceeds the time threshold includes: the number of times the beacon frame is received during the first time period exceeds a number threshold.
[0010] In one embodiment, the method further includes: determining, based on the parsing results of the remaining fields of the target beacon frame other than the TIM field, whether there are any changes in the remaining fields of the current target beacon frame relative to the remaining fields of the previous target beacon frame that affect communication; when there are such changes in the remaining fields of the current target beacon frame, the Wi-Fi receiving device performs the wake-up operation.
[0011] In one embodiment, the step of changing the remaining fields of the target beacon frame includes changing one of the following: the SA field, the BSSID field, the working channel field, or the security parameter field.
[0012] In one embodiment, the wake-up operation includes the Wi-Fi receiving device disconnecting from the access point and then reconnecting.
[0013] In one embodiment, the method further includes: based on the TIM field containing an identifier corresponding to the Wi-Fi receiving device, the Wi-Fi receiving device performs a wake-up operation, the wake-up operation including the Wi-Fi receiving device obtaining data from an access point.
[0014] In one embodiment, the method further includes: determining, based on the parsing results of the remaining fields of the target beacon frame other than the TIM field, that the remaining fields of the target beacon frame have no changes that affect communication relative to the remaining fields of the previous target beacon frame; the Wi-Fi receiving device performing a sleep operation before the next beacon frame is broadcast; periodically performing the first processing on the beacon frame during a third time period; and, in response to the achievement of the preset trigger condition, performing the second processing on the last target beacon frame received during the third time period during a subsequent fourth time period.
[0015] A second aspect of this disclosure provides an electronic device comprising: a processor and a memory storing computer-executable instructions, the processor reading and executing the computer-executable instructions to implement the above-described method for switching operating modes for a Wi-Fi receiving device.
[0016] A third aspect of this disclosure provides a computer-readable storage medium having computer-executable instructions stored thereon for performing the above-described method for switching operating modes for a Wi-Fi receiving device. Attached Figure Description
[0017] Other features and advantages of this disclosure will be better understood through the following detailed description of preferred embodiments in conjunction with the accompanying drawings, wherein the same reference numerals denote the same or similar parts.
[0018] Figure 1 A schematic diagram of one composition of a Wi-Fi beacon frame is shown.
[0019] Figure 2 An exemplary block diagram of a method for switching operating modes for a Wi-Fi receiving device according to the present disclosure is shown.
[0020] Figure 3 The diagram illustrates the first and second processing of beacon frames when executing the working mode switching method.
[0021] Figure 4 An exemplary flowchart of a working mode switching method according to one embodiment is shown. Detailed Implementation
[0022] The technical solutions of this disclosure will be further described in detail below through embodiments and in conjunction with the accompanying drawings. In this specification, the same or similar reference numerals indicate the same or similar components. The following description of the embodiments of this disclosure with reference to the accompanying drawings is intended to explain the overall inventive concept of this disclosure and should not be construed as a limitation thereof.
[0023] The terms “comprising,” “including,” and similar terms as used in this disclosure should be understood as open-ended terms, meaning “including / including but not limited to,” implying that other content may also be included. The term “based on” means “at least partially based on.” The term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment,” and so on. Furthermore, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples, without contradiction. Additionally, “Wi-Fi receiving device” or “receiving device” as used in this disclosure refer to the same device.
[0024] This disclosure proposes a method for switching operating modes of a Wi-Fi receiving device. The method includes: periodically performing a first processing on a beacon frame during a first time period. The first processing includes: receiving and parsing fields from the frame header to the TIM field of the beacon frame, and terminating the reception of subsequent fields of the beacon frame following the TIM field. The method further includes: in response to reaching a preset trigger condition, performing a second processing on the last received target beacon frame during the first time period in a subsequent second time period. The second processing includes: receiving and parsing subsequent fields of the target beacon frame following the TIM field. The preset trigger condition includes: a) the duration of the first time period exceeds a time threshold.
[0025] A beacon frame is a type of management frame defined in the IEEE 802.11 wireless LAN standard. It is periodically sent by a wireless access point (usually a router) to Wi-Fi receiving devices acting as sites to announce the existence of the network and transmit critical configuration information. Figure 1This diagram illustrates one possible composition of a Wi-Fi beacon frame. A beacon frame includes a MAC header, a frame body (fixed parameters), a frame body (information elements), and a frame trailer. The MAC header may contain the DA (Destination Address), SA (Source Address), and BSSID (Basic Service Set Identifier). The DA indicates the MAC address of the device receiving the frame, and the SA indicates the MAC address of the device sending the frame. The fixed parameters of the frame body include a timestamp and the beacon interval. The timestamp is used for time synchronization, and the beacon interval indicates the time interval between two beacon frames. The information elements of the frame body include supported rate sets, operating channels, TIM (Time Indicator Information), throughput capabilities, and security parameters. The supported rate set identifies the transmission rates supported by the access point, and the operating channel identifies the channel (i.e., frequency) currently used by the access point. The TIM field identifies data pending transmission information, indicating which sites need to receive the pending data. When the TIM field contains the identifier of the Wi-Fi receiving device, it indicates that the access point has buffered data for that Wi-Fi receiving device and requires that device to receive this data. Throughput capacity reflects the access point's ability to support high-speed transmission technologies, while security parameters indicate the encryption and authentication methods used in the Wi-Fi network. The frame tail also includes an FCS check sequence.
[0026] To ensure that Wi-Fi receiving devices maintain timely communication with access points via beacon frames, while minimizing the overall power consumption of the Wi-Fi receiving devices, Figure 2 An exemplary block diagram of a working mode switching method 200 for a Wi-Fi receiving device according to the present disclosure is shown. The working mode switching method 200 includes steps S201 to S202, which can be implemented on the Wi-Fi receiving device.
[0027] Step S201: During the first time period, the beacon frame is periodically processed, wherein the first processing includes: receiving and parsing the fields of the beacon frame from the frame header to the TIM field (including the TIM field), and terminating the reception of subsequent fields of the beacon frame located after the TIM field.
[0028] Step S202: In response to the achievement of a preset trigger condition, during the immediately following second time period, a second processing is performed on the last target beacon frame received in the first time period. The second processing includes receiving the subsequent fields of the target beacon frame after the TIM field and parsing the subsequent fields. The preset trigger condition includes: a) the duration of the first time period exceeds a time threshold.
[0029] In order to understand more clearly Figure 2 The proposed switching method, Figure 3The diagram illustrates the first and second processing of beacon frames during the execution of the aforementioned handover method. During the first time period, the Wi-Fi receiving device receives one beacon frame at every beacon interval. For example, during the first time period, the Wi-Fi receiving device sequentially receives beacon frame 1, beacon frame 2, beacon frame 3, ... and beacon frame 20. During this time period, the Wi-Fi receiving device receives and parses the fields (including the TIM field) from the MAC frame header to the TIM field of each beacon frame. Simultaneously, the Wi-Fi receiving device stops receiving subsequent fields of each beacon frame following the TIM field. (Reference) Figure 3 During time period T1, the fields of the beacon frame from the MAC header to the TIM field are broadcast, and the receiving device operates in a high-power state to receive and parse the data. During time period T2, the subsequent fields of the beacon frame after the TIM field are broadcast, but the receiving device chooses not to process the data in these fields, remaining in sleep mode at extremely low power consumption to save power.
[0030] When the duration of the first time period exceeds a time threshold, the receiving device operates in the immediately following second time period. For example, suppose the Wi-Fi receiving device receives beacon frame 20 just as the duration of the first time period exceeds the time threshold; then beacon frame 20 is considered the target beacon frame described above. For beacon frame 20, the fields from the MAC header to the TIM field have already been received and processed during the first time period. (See reference...) Figure 3 During the T3 time period, the subsequent fields of the target beacon frame (i.e., beacon frame 20) after the TIM field are broadcast. At this time, the receiving device continues to work in a high-power state to receive and parse the data of the second half of the target beacon frame.
[0031] Therefore, the working mode switching method proposed in this disclosure receives a complete beacon frame (e.g., beacon frame 20 mentioned above) for a duration corresponding to a certain time threshold, and parses all fields of this beacon frame. During the remaining time, the receiving device is in a semi-dormant state, only interpreting some necessary fields of each beacon frame to conserve power as much as possible. However, by fully parsing the beacon frame at regular intervals, the receiving device can fully understand the current access point's communication information, thereby avoiding loss of connection with the access point.
[0032] To explain the methods provided in this disclosure in more detail, Figure 4 An exemplary flowchart of a working mode switching method 400 according to one embodiment is shown. The working mode switching method 400 includes steps S401 to S410, which can be implemented on a Wi-Fi receiving device.
[0033] Step S401: Perform a first process on the received beacon frame, which includes: receiving and parsing the fields of the beacon frame from the frame header to the TIM field, and terminating the reception of the remaining fields of the beacon frame after the TIM field. The implementation process of step S401 can be found in [reference needed]. Figure 3 The first processing procedure described.
[0034] Step S402: Beacon frame reception count (num_count) = Beacon frame reception count (num_count) + 1. The beacon frame reception count (num_count) is used to record the number of times the receiving device receives beacon frames. Each time the receiving device executes step S401, it indicates that it has received a beacon frame.
[0035] Step S403: Determine whether the beacon frame reception count (num_count) has reached the threshold. If yes, proceed to step S405; otherwise, proceed to step S404. For example, in this embodiment, the threshold can be set to 20. The receiving device continuously receives beacon frames broadcast by the wireless access point in step S401, and increments the beacon frame reception count (num_count) by one in step S402. When the beacon frame reception count (num_count) reaches 20, it indicates that the time for periodically processing the beacon frames (i.e., the "first time period" defined above) has exceeded the time threshold. In other words, in this embodiment, the duration of the first time period is determined to exceed the time threshold by determining that the number of beacon frame receptions within the first time period has exceeded the threshold.
[0036] Step S404: Determine whether the TIM field of the beacon frame contains an identifier corresponding to the Wi-Fi receiving device. If yes, proceed to step S405; otherwise, proceed to step S401. If the accumulated beacon frame reception count (num_count) of the receiving device has not reached the threshold, method 400 again determines whether the TIM field of the currently received beacon frame contains the identifier of the receiving device to determine whether the receiving device needs to receive data from the access point. For example, when the wireless access point broadcasts beacon frame 1, the receiving device determines whether it contains a device identifier based on the reception and parsing results of the TIM field of beacon frame 1. When the wireless access point broadcasts beacon frame 2, the receiving device determines whether it contains a device identifier based on the reception and parsing results of the TIM field of beacon frame 2, and so on. Since the receiving device obtains the TIM field of each beacon frame, if the access point needs to send data to the receiving device, the receiving device can promptly enter a high-power state and actively obtain data from the access point based on the TIM field indication. After this, the receiving device proceeds to step S405 and begins the second process. Thus, in the embodiment described in method 400, the preset triggering condition that prompts the receiving device to perform the second process can be a) the duration of the first time period exceeds a time threshold, or b) the TIM field contains an identifier corresponding to the Wi-Fi receiving device. For example, when the receiving device determines, based on the parsing result of beacon frame 7, that the TIM field of beacon frame 7 contains a device identifier, it proceeds to step S405.
[0037] Step S405: The received beacon frame (i.e., the target beacon frame) is then subjected to a second process, which includes receiving and parsing the subsequent fields following the TIM field of the beacon frame. When the receiving device's execution flow reaches step S405 via step S403, step S405 treats beacon frame 20 as the target beacon frame and receives and parses the subsequent fields following the TIM field of beacon frame 20. In this way, after a time interval corresponding to a time threshold, the receiving device parses a complete beacon frame (e.g., beacon frame 20) to obtain information elements such as throughput capability and security parameters, as well as frame tail information, from the subsequent fields. When the receiving device's execution flow reaches step S405 via step S404, step S405 treats beacon frame 7 as the target beacon frame and receives and parses the subsequent fields following the TIM field of beacon frame 7. In this way, when the wireless access point is ready to send data to the receiving device, the receiving device begins to fully parse the beacon frame (e.g., beacon frame 7) to obtain the configuration information of the Wi-Fi network.
[0038] Step S406: Receive count value (num_count) = 0. After the receiving device completely receives and parses a beacon frame, the receive count value (num_count) is cleared to zero. In subsequent steps (such as returning to step S403), the receive count value (num_count) is counted from zero.
[0039] Step S407: Determine whether the fields of the current target beacon frame, excluding the TIM field, have changed in a way that affects communication compared to the fields of the previous target beacon frame. If yes, proceed to step S408; otherwise, proceed to step S409. In this step, the receiving device determines whether the remaining fields of the current target beacon frame, excluding the TIM field, have changed in a way that affects communication compared to the fields of the previous target beacon frame based on the parsing results of the fields of the target beacon frame. For example, if the access point does not need to transmit data to the receiving device for a period of time, the first target beacon frame received by the receiving device is beacon frame 20, and the second target beacon frame received is beacon frame 40. When the receiving device proceeds to step S407 based on receiving beacon frame 40, it needs to compare whether beacon frame 40 has changed in a way that affects communication compared to the previous target beacon frame (i.e., beacon frame 20). For another example, the first target beacon frame received by the receiving device is beacon frame 20. In the subsequent period of time, the wireless access point prepares to transmit data to the receiving device. Because the TIM field of beacon frame 27 contains a device identifier, the receiving device marks beacon frame 27 as the second target beacon frame received. In this case, when proceeding to step S407, the receiving device needs to compare beacon frame 27 with the previous target beacon frame (i.e., beacon frame 20) to see if there are any changes affecting communication. These changes affecting communication can be a change in one of the following: the SA field, the BSSID field, the working channel field, or the security parameter field.
[0040] Step S408: The Wi-Fi receiving device performs a wake-up operation, which includes disconnecting and reconnecting the Wi-Fi receiving device from the access point. The Wi-Fi receiving device performs a wake-up operation when any of the remaining fields of the target beacon frame change in a way that affects communication. For example, when the SA field or security parameter field changes, the Wi-Fi receiving device will disconnect and reconnect to the access point. When the operating channel field changes, the receiving device will pause all communication and tune to the new channel to continue listening. When the BSSID field changes, the receiving device will modify its internal parameters. Regardless of which field changes, the woken-up receiving device will operate in a high-power state to respond promptly to these changes.
[0041] Step S409: Determine whether the TIM field of the beacon frame contains an identifier corresponding to the Wi-Fi receiving device. If yes, proceed to step S410; otherwise, proceed to step S401.
[0042] Step S410: The Wi-Fi receiving device performs a wake-up operation, which includes the Wi-Fi receiving device acquiring data from the access point. The receiving device actively acquires buffered data from the wireless access point based on the Wi-Fi communication protocol until all data has been received. During this process, the receiving device needs to operate in a high-power state to complete the data transmission.
[0043] Furthermore, it should be noted that when the receiving device's execution flow reaches step S405 via step S403, step S405 records, for example, beacon frame 20 as the target beacon frame. If, in subsequent step S407, it is determined that beacon frame 20 has not undergone any changes affecting communication compared to the previous target beacon frame, the process will jump back to step S401. That is, the Wi-Fi receiving device performs a sleep operation before the next beacon frame is broadcast. Subsequently, during the third time period, referring to step S401, the receiving device will periodically perform the first processing on the beacon frames. In response to the achievement of a preset trigger condition, referring to step S402, during the immediately following fourth time period, the receiving device performs the second processing on the last target beacon frame received during the third time period.
[0044] Using the aforementioned operating mode switching method, the Wi-Fi receiving device remains in a semi-dormant state most of the time. When the access point periodically sends beacon frames, the receiving device only receives and parses a portion of the fields. Specifically, the receiving device only performs a complete interpretation of the beacon frame when the cumulative number of received beacon frames reaches a preset threshold; alternatively, if the receiving device discovers that the TIM field contains its own device identifier while parsing a portion of the fields, it will also trigger a complete interpretation of the beacon frame. Subsequently, the receiving device processes the beacon frame in a high-power mode according to changes in communication parameters or data reception needs, and then returns to the semi-dormant state after processing is complete. Overall, this method provides a solution that can automatically adapt to changes in the wireless access point's state while maintaining low-power operation.
[0045] Alternatively, method 200 or method 400 described above can be implemented using a computer-readable storage medium. The computer-readable storage medium carries computer-readable program instructions for performing the various embodiments of this disclosure. The computer-readable storage medium can be a tangible device capable of holding and storing instructions used by an instruction execution device. The computer-readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (not exhaustive) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0046] Therefore, in another embodiment, this disclosure provides a computer-readable storage medium having computer-executable instructions stored thereon for performing the methods of various embodiments of this disclosure.
[0047] Furthermore, this disclosure also proposes an electronic device, which is the aforementioned Wi-Fi receiving device, such as a smartphone, smart home device, or wearable device such as a watch or bracelet. The electronic device includes a processor and a memory storing computer-executable instructions. The processor reads and executes the computer-executable instructions to implement the aforementioned method for switching operating modes for a Wi-Fi receiving device.
[0048] Furthermore, although exemplary embodiments have been described herein, their scope includes any and all embodiments based on this disclosure that have equivalent elements, modifications, omissions, combinations (e.g., schemes involving intersections of various embodiments), adaptations, or alterations. Elements in the claims will be interpreted broadly based on the language used in the claims and are not limited to the examples described in this specification or during the implementation of this disclosure, and such examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered illustrative only, and the true scope and spirit are indicated by the various claims in the claims and the full scope of their equivalents.
[0049] The above description is intended to be illustrative and not restrictive. For example, the above examples (or one or more thereof) can be used in combination with each other. Other embodiments can be used by those skilled in the art when reading the above description. Furthermore, in the above specific embodiments, various features may be grouped together to simplify the disclosure. Features disclosed that are not claimed in the claims are not essential to any claim. Rather, the subject matter of this disclosure may be less than all the features of a particular disclosed embodiment.
[0050] Therefore, the claims are incorporated herein by way of example or embodiment, wherein each claim is an independent, separate embodiment, and these embodiments are contemplated to be combined with each other in various combinations or arrangements. The scope of protection of this disclosure should be determined by reference to the appended claims and the full scope of their equivalents.
Claims
1. A method for switching operating modes of a Wi-Fi receiving device, comprising: During the first time period, the beacon frame is periodically processed, wherein the first processing includes: receiving and parsing the fields of the beacon frame from the frame header to the TIM field, and terminating the reception of the subsequent fields of the beacon frame located after the TIM field; In response to the achievement of a preset triggering condition, in the immediately following second time period, the last target beacon frame received in the first time period is subjected to a second processing, wherein the second processing includes: receiving the subsequent fields of the target beacon frame located after the TIM field and parsing the subsequent fields; The preset triggering conditions include: a) the duration of the first time period exceeds a time threshold.
2. The method according to claim 1, wherein, The preset triggering conditions also include: b) The TIM field contains an identifier corresponding to the Wi-Fi receiving device.
3. The method according to claim 1, wherein, The step of determining that the duration of the first time period exceeds the time threshold includes: the number of times the beacon frame is received during the first time period exceeds a number threshold.
4. The method according to claim 1, further comprising: Based on the parsing results of the fields other than the TIM field of the target beacon frame, it is determined whether there are any changes in the remaining fields of the current target beacon frame compared to the remaining fields of the previous target beacon frame that affect communication; When the remaining fields of the target beacon frame are changed, the Wi-Fi receiving device performs the wake-up operation.
5. The method according to claim 4, wherein, The steps involving changes to the remaining fields of the target beacon frame include one of the following changes: SA field, BSSID field, working channel field, or security parameter field.
6. The method according to claim 5, wherein, The wake-up operation includes the Wi-Fi receiving device disconnecting from the access point and then reconnecting.
7. The method according to claim 2, further comprising: Based on the fact that the TIM field contains an identifier corresponding to the Wi-Fi receiving device, the Wi-Fi receiving device performs a wake-up operation, which includes the Wi-Fi receiving device obtaining data from the access point.
8. The method according to claim 1, further comprising: Based on the parsing results of the fields other than the TIM field of the target beacon frame, it is determined that the remaining fields of the target beacon frame have no changes that affect communication compared to the remaining fields of the previous target beacon frame; The Wi-Fi receiving device enters a sleep state before the next beacon frame is broadcast; During the third time period, the beacon frames undergo the first processing periodically; as well as In response to the achievement of the preset triggering condition, the second processing is performed on the last target beacon frame received in the third time period during the subsequent fourth time period.
9. A computer-readable storage medium having computer-executable instructions stored thereon, the computer-executable instructions being configured to perform a method for switching operating modes for a Wi-Fi receiving device according to any one of claims 1-8.
10. An electronic device comprising: The processor and the memory storing computer-executable instructions; The processor reads and executes the computer-executable instructions to implement the working mode switching method for a Wi-Fi receiving device according to any one of claims 1-8.