Wireless communication control method and electronic equipment

By adjusting the time-sharing multiplexing strategy before the Wi-Fi module sleeps, the wake-up delay and packet loss problems when Wi-Fi and Bluetooth coexist, and the on-time DTIM beacon frame reception and packet reception in the sleep state are achieved.

CN120358598APending Publication Date: 2025-07-22VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510487501.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-18
Publication Date
2025-07-22

AI Technical Summary

Technical Problem

When Wi-Fi is sharing frequency bands with other wireless communication technologies, it may lead to problems such as increasing wake-up delay and packet loss, especially in Wi-Fi and Bluetooth coexistence scenarios, wake-up delay and packet loss due to Bluetooth occupancy of the DTIM beacon frame.

Method used

By acquiring the second time-sharing multiplexing policy when the Wi-Fi module is about to enter sleep mode, determining the start execution time based on the arrival time of the DTIM beacon frame, adjusting the time-sharing multiplexing policy, so that the DTIM beacon frame falls into the frequency band usage time slot of the Wi-Fi module, thereby improving wake-up delay and reducing packet loss.

Benefits of technology

When the Wi-Fi module is in a dormant state, by updating the time-sharing multiplexing policy, we ensure that DTIM beacon frames are received on time, reducing wake-up delay and packet loss, taking into account the power saving of Wi-Fi and the normal operation of Bluetooth.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120358598A_ABST
    Figure CN120358598A_ABST
Patent Text Reader

Abstract

The invention discloses a wireless communication control method and electronic equipment, and belongs to the technical field of communication. The method is applied to the electronic equipment, the electronic equipment comprises a first wireless communication module and a second wireless communication module, the first wireless communication module and the second wireless communication module share the same frequency band by adopting a first time division multiplexing strategy, and the method comprises the following steps: when the first wireless communication module is about to enter a sleep mode, the first time division multiplexing strategy is used for sharing the same frequency band; a coexistence arbitration module of the electronic equipment obtains a second time division multiplexing strategy; the first wireless communication module determines the initial execution time of the second time division multiplexing strategy based on the arrival time of a DTIM beacon frame; the coexistence arbitration module applies the second time division multiplexing policy at the start execution time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technologies, and particularly relates to a wireless communication control method and an electronic device. Background Art

[0002] When a wireless terminal (Station, STA) detects no packet transceiver activity within a certain period of time, it can enter the Wi-Fi sleep / energy-saving mode (power save mode) and turn off certain software functions / hardware circuits. One of the most widely used Wi-Fi sleep / energy-saving methods currently is as follows: The STA notifies the Access Point (AP) to enter or exit the sleep / energy-saving mode through a null frame; when the STA enters the Wi-Fi sleep / energy-saving mode, the AP caches external data on behalf of the STA; after the STA wakes up, the AP forwards the data packet to the STA. Among them, when the Wi-Fi module is in the sleep / energy-saving mode, it needs to accurately listen for the Delivery Traffic Indication Message (DTIM) beacon frame sent by the AP to wake up in time and receive external data packets.

[0003] However, in a scenario where Wi-Fi and other wireless communication technologies share frequency bands using Time Division Multiplexing (TDM), it may cause the STA to miss the DTIM beacon frame, thereby increasing the Wi-Fi wake-up delay and even resulting in the problem of data packet loss due to AP cache overrun.

[0004] For example, in a scenario where Wi-Fi and Bluetooth coexist, since they share the 2.4G frequency band antenna, a fixed ratio time division mechanism based on time division multiplexing is usually used to alternately use the antenna. Affected by the Bluetooth protocol, user behavior, and manufacturer configuration, the time point of time division switching and the fixed time division ratio are uncertain, which easily causes the arrival time of the DTIM beacon to coincide with the Bluetooth occupancy of the antenna, making the STA wait for the next cycle / multiple cycles to receive the DTIM beacon and wake up, which will significantly increase the Wi-Fi wake-up delay and even result in the problem of data packet loss due to AP cache overrun. Summary of the Invention

[0005] The objective of the embodiments of this application is to provide a wireless communication control method and an electronic device, which can solve the problem in the related technologies that when Wi-Fi and other wireless communication technologies share frequency bands, it may cause an increase in the Wi-Fi wake-up delay and even result in data packet loss.

[0006] In a first aspect, an embodiment of the present application provides a wireless communication control method, which is applied to an electronic device. The electronic device includes a first wireless communication module and a second wireless communication module. The first wireless communication module and the second wireless communication module share the same frequency band using a first time-division multiplexing strategy. The method includes:

[0007] When the first wireless communication module is about to enter the sleep mode, the coexistence arbitration module of the electronic device obtains a second time-division multiplexing strategy;

[0008] The first wireless communication module determines the start execution time of the second time-division multiplexing strategy based on the arrival time of the data to be transmitted indication information DTIM beacon frame;

[0009] The coexistence arbitration module applies the second time-division multiplexing strategy at the start execution time.

[0010] In a second aspect, an embodiment of the present application provides an electronic device. The electronic device includes a first wireless communication module and a second wireless communication module. The first wireless communication module and the second wireless communication module share the same frequency band using a first time-division multiplexing strategy. The electronic device further includes a coexistence arbitration module;

[0011] The coexistence arbitration module is configured to obtain a second time-division multiplexing strategy when the first wireless communication module is about to enter the sleep mode;

[0012] The first wireless communication module is configured to determine the start execution time of the second time-division multiplexing strategy based on the arrival time of the data to be transmitted indication information DTIM beacon frame;

[0013] The coexistence arbitration module is further configured to apply the second time-division multiplexing strategy at the start execution time.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the wireless communication control method described in the first aspect are implemented.

[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium. A program or instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, the steps of the wireless communication control method described in the first aspect are implemented.

[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the steps of the wireless communication control method described in the first aspect are implemented.

[0017] In an embodiment of the present application, in an application scenario where an electronic device includes a first wireless communication module and a second wireless communication module, and the first wireless communication module and the second wireless communication module share the same frequency band using a first time-division multiplexing strategy, when the first wireless communication module is about to enter the sleep mode, a coexistence arbitration module of the electronic device obtains a second time-division multiplexing strategy; the first wireless communication module determines a start execution time of the second time-division multiplexing strategy based on the arrival time of a data-to-be-transmitted indication information DTIM beacon frame; the coexistence arbitration module applies the second time-division multiplexing strategy at the start execution time. This embodiment can achieve that when the first wireless communication module is in the sleep state, by updating the time-division multiplexing strategy, all DTIM beacon frames can fall into the time slots where the frequency band usage duration of the first wireless communication module is located, thereby improving the wake-up delay of the first wireless communication module and avoiding or reducing packet loss. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a schematic diagram of the wake-up method when the STA is in the sleep / power-saving mode.

[0019] Figure 2 It is a schematic diagram of Wi-Fi and Bluetooth sharing the same frequency band using time-division multiplexing;

[0020] Figure 3 It is one of the flowcharts of the wireless communication control method in an embodiment of the present application;

[0021] Figure 4 It is one of the schematic diagrams of the time-division multiplexing strategy switching and updating in an embodiment of the present application;

[0022] Figure 5 It is the second schematic diagram of the time-division multiplexing strategy switching and updating in an embodiment of the present application;

[0023] Figure 6 It is the second flowchart of the wireless communication control method in an embodiment of the present application;

[0024] Figure 7 It is a block diagram of the electronic device in an embodiment of the present application;

[0025] Figure 8 It is a schematic diagram of the structure of the electronic device in an embodiment of the present application;

[0026] Figure 9 It is a schematic diagram of the hardware structure of the electronic device in an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0027] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are a part rather than all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0028] The terms "first", "second", etc. in the specification of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same category, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification means at least one of the connected objects, and the character " / " generally means an "or" relationship between the associated objects before and after.

[0029] First, the content involved in the solution provided by the embodiments of the present application will be introduced first.

[0030] When the STA detects that there is no data packet transceiver activity within a certain period of time, it can enter the Wi-Fi module sleep / energy-saving mode (power save mode) and turn off certain software functions / hardware circuits. One of the most widely used Wi-Fi energy-saving methods is that the STA notifies the AP to enter or exit the power save through a null frame; when the STA is in the sleep state, the AP caches the external data for the STA; after the STA wakes up, the AP forwards the data packet to the STA.

[0031] The Delivery Traffic Indication Message (DTIM) beacon sent by the AP carries DTIM information, and the DTIM information is used to indicate whether it has cached STA data; for example, Figure 1 in this case, when the STA is in the sleep state, it needs to periodically wake up the hardware to listen for the beacon. If it parses that the beacon contains its corresponding DTIM data cache mark, then the STA wakes up the software system and notifies the AP to transmit the cached data, otherwise it repeats the cycle of sleep and timed hardware listening.

[0032] The period for the STA to wake up and listen for the DTIM beacon is often referred to as the DTIM period, and the DTIM period is an integer multiple of the beacon interval. The larger the DTIM period, the more sleep time and the more power-saving, but the time for the AP to cache data may be longer, the wake-up delay of the STA becomes larger, and the response is not timely. By statically presetting or dynamically adjusting the DTIM period, the power-saving and delay performance requirements in different scenarios can generally be balanced.

[0033] However, for the Wi-Fi module to enter the sleep state, it needs to accurately listen for the DTIM beacon to wake up in time and receive external data packets, but this is challenged in coexistence scenarios.

[0034] For example, with the popularization of Bluetooth devices (such as headphones, bracelets, watches, etc.), it has become normal for terminals to enable both the Wi-Fi module and BT simultaneously. The 2.4G Wi-Fi and BT frequency bands overlap, and in design, they generally share an antenna, and coexistence processing needs to be done in software. One of the most common coexistence mechanisms is Time Division Multiplexing (TDM), that is, Wi-Fi and BT use the antenna frequency band (radio) in a time-sharing manner with equal priority to avoid mutual preemption / interference. The TDM coexistence arbitration module operates independently. Through pre-set rules, fixed switching control is performed, and the divided time slots are given to Wi-Fi and BT in turn. Before leaving the time slot, Wi-Fi or BT needs to save its own state, and restore it when it gets the time slot next time. For example, if the time-sharing ratio set by the upper layer is Wi-Fi:BT = 30ms:20ms, it means that Wi-Fi has 30ms to use the antenna for transceiver, then the antenna is switched to BT. After BT uses the 20ms time slot, it is switched back to Wi-Fi for 30ms, and so on.

[0035] The time-sharing ratio varies according to application behavior / BT profile (Bluetooth protocol configuration) / vendor customization, and the start time point of the switching operation is also related to the user's BT usage behavior, which is often uncertain. If the STA is just in the BT time slot when the DTIM beacon arrives, Wi-Fi will miss this DTIM beacon, which may increase the wake-up delay or even miss the data packets cached by the AP (the AP can set a maximum cache time or capacity). As Figure 2 shown, at the DTIM_1 time point, it is in the BT time slot, and Wi-Fi will miss this DTIM beacon and can only wait until the next DTIM_2 time point to receive and parse the DTIM beacon and perform wake-up.

[0036] In response to the above problems, shortening the DTIM period and trying to listen more frequently can reduce the average wake-up delay to a certain extent, but the power saving efficiency will be reduced, and it cannot avoid the problem of being interrupted by BT and missing the DTIM beacon; the TDM design itself does not support preemption. If you try to temporarily increase the priority of the Wi-Fi module to receive DTIM beacons so that it can preempt the BT time, it may cause discontinuity in BT transmission and reception and loss of key frames, BT connection failure or headset jamming, etc. Subsequent time-sharing compensation or time-sharing fragmentation problems will also bring additional switching losses. Therefore, in the scenario where Wi-Fi shares the frequency band with other wireless communication technologies, how to reduce the wake-up delay of Wi-Fi and reduce or avoid data packet loss is a technical problem that needs to be solved urgently.

[0037] Based on the above, the present application provides a wireless communication control method and electronic device, which can reduce the wake-up delay of Wi-Fi and reduce or avoid data packet loss when Wi-Fi shares the frequency band with other wireless communication technologies.

[0038] The wireless communication control method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0039] join Figure 3 The embodiment of the present application provides a wireless communication control method, which is applied to an electronic device, wherein the electronic device includes a first wireless communication module and a second wireless communication module; the first wireless communication module and the second wireless communication module share the same frequency band using a first time division multiplexing strategy, and the method includes the following steps:

[0040] Step 301: When the first wireless communication module is about to enter the sleep mode, the coexistence arbitration module of the electronic device obtains a second time-division multiplexing strategy;

[0041] The second time-division multiplexing strategy is different from the first time-division multiplexing strategy.

[0042] Step 302: The first wireless communication module determines the start execution time of the second time division multiplexing strategy based on the arrival time of the data transmission indication information DTIM beacon frame;

[0043] Step 303: The coexistence arbitration module applies the second time-division multiplexing strategy at the start execution time.

[0044] It should be noted that before the coexistence arbitration module applies the second time-division multiplexing strategy, the coexistence arbitration module will allocate the frequency band usage time periods of the first wireless communication module and the second wireless communication module according to the first time-division multiplexing strategy; after the coexistence arbitration module applies the second time-division multiplexing strategy, the coexistence arbitration module will allocate the frequency band usage time periods of the first wireless communication module and the second wireless communication module according to the second time-division multiplexing strategy.

[0045] In the above embodiments, in the scenario where the first wireless communication module and the second wireless communication module share the same frequency band using the first time-division multiplexing strategy, when the first wireless communication module is in the sleep state, the DTIM beacon frames can be made to fall within the time slots where the first wireless communication module's frequency band usage duration is located by updating the time-division multiplexing strategy, thereby improving the wake-up delay of the first wireless communication module and avoiding or reducing packet loss.

[0046] In some application scenarios, the first wireless communication module is a Wi-Fi module and the second wireless communication module is a Bluetooth module; or the first wireless communication module is a Wi-Fi module and the second wireless communication module is a SAP (hotspot); or the first wireless communication module is a Wi-Fi module and the second wireless communication module is a P2P (Wi-Fi direct connection); or the first wireless communication module is a Bluetooth module and the second wireless communication module is a Wi-Fi module.

[0047] It should be pointed out that other application scenarios using time-division multiplexing for frequency band sharing can also apply the embodiments of the present application, and the present application is limited thereto.

[0048] In some embodiments, in the second time-division multiplexing strategy, the first wireless communication module occupies a first duration, the second wireless communication module occupies a second duration, and the sum of the first duration and the second duration is equal to a third duration, where the third duration is the time interval for the first wireless communication module to wake up and listen for the DTIM beacon frame.

[0049] That is, the time-division ratio of the first wireless communication module and the second wireless communication module occupying the same frequency band is: first duration: second duration. For example, 20ms:30ms; such as 25ms:25ms; such as 10ms:40ms, etc. Among them, "first duration: second duration" means that the first wireless communication module uses the antenna for transceiver for the first duration, then switches the antenna to the second wireless communication module for use. After the second wireless communication module uses the second duration, it switches back to the first wireless communication module to use the first duration, and so on.

[0050] As an optional implementation, the first duration is equal to the second duration, and the code implementation of this method is simple.

[0051] As another alternative implementation, the first duration is less than the second duration, that is, the first time-division multiplexing strategy favors the second wireless communication module. Since the first wireless communication module in the sleep state has relatively low demand for using the antenna frequency band, it is more reasonable to allocate more time slots to the second wireless communication module, and it can also reduce the performance impact that time-division adjustment may bring to the second wireless communication module.

[0052] Of course, according to the usage requirements, the first duration can also be greater than the second duration, and this application does not make any restrictions. What needs to be ensured is that the first duration and the second duration should respectively meet the normal working requirements of the first wireless communication module and the second wireless communication module.

[0053] In addition, it should be noted that when the first wireless communication module enters the sleep mode, if the second wireless communication module is not turned on, that is, the first wireless communication module and the second wireless communication module do not share the same frequency band in a time-division multiplexing manner, the first wireless communication module continues to sleep according to the existing processing flow and wakes up regularly to listen for the DTIM beacon frame.

[0054] In the above embodiments, it can be ensured that the first wireless communication module in the sleep mode always receives the DTIM beacon frame sent by the access point AP within the time slot where the first duration is located, thereby improving the wake-up delay of the first wireless communication module and avoiding data packet loss.

[0055] In some embodiments, after the coexistence arbitration module applies the second time-division multiplexing strategy at the start execution time, the method further includes:

[0056] When the first wireless communication module exits the sleep mode and enters the active mode, switch from the second time-division multiplexing strategy to the first time-division multiplexing strategy at the first moment;

[0057] Wherein, the first moment is the next moment when the first wireless communication module and the second wireless communication module perform time-division switching.

[0058] That is to say, the first moment is the time to switch the shared frequency band from the first wireless communication module to the second wireless communication module for use or the time to switch the shared frequency band from the second wireless communication module to the first wireless communication module for use.

[0059] In this embodiment, in the first time-division multiplexing strategy, the first wireless communication module occupies a fourth time period, and the second wireless communication module occupies a fifth time period. That is, the time-division ratio of the first wireless communication module and the second wireless communication module occupying the same frequency band is: the fourth time period: the fifth time period. For example, 50 ms: 30 ms; such as 50 ms: 50 ms; such as 20 ms: 40 ms, etc. Among them, "the fourth time period: the fifth time period" means that the first wireless communication module uses the antenna for transceiver for the fourth time period, and then switches the antenna to the second wireless communication module for use. After the second wireless communication module uses the fourth time period, it switches back to the first wireless communication module for use for the fifth time period, and so on.

[0060] Among them, the first time-division multiplexing strategy can be understood as the original default time slot division scheme in the active mode, and there is no specific relationship between the fourth time period and the fifth time period and the third time period.

[0061] In the above embodiment, when the first wireless communication module is in the sleep mode, the first wireless communication module and the second wireless communication module use the second time-division multiplexing strategy. When the first wireless communication module is in the active mode, the first wireless communication module and the second wireless communication module use the first time-division multiplexing strategy. By adopting different time-division multiplexing strategies in different working modes, it can not only improve the wake-up delay of the first wireless communication module, but also ensure that the data transceiver of the first wireless communication module in the active mode is not affected.

[0062] In some embodiments, the coexistence arbitration module of the electronic device obtains the second time-division multiplexing strategy, including:

[0063] The coexistence arbitration module determines the second time-division multiplexing strategy; or,

[0064] The coexistence arbitration module receives the first information sent by the first wireless communication module, and the first information carries the second time-division multiplexing strategy determined by the first wireless communication module.

[0065] As an implementation, when the first wireless communication module is in the sleep state, if the coexistence arbitration module determines that the second wireless communication module meets the time-division multiplexing strategy adjustment condition (such as the second wireless communication module has no data transmission requirement), the coexistence arbitration mode determines the second time-division multiplexing strategy by itself and notifies the first wireless communication module and the second wireless communication module; if the coexistence arbitration module determines that the second wireless communication module does not meet the time-division multiplexing strategy adjustment condition (such as the second wireless communication module has important event processing requirements such as connection), it sends a rejection update notice to the first wireless communication module and continues to use the first time-division multiplexing strategy. It should be noted that when the coexistence arbitration module determines the second time-division multiplexing strategy, the durations allocated to the first wireless communication module and the second wireless communication module in the second time-division multiplexing strategy should meet the working requirements of the first wireless communication module and the second wireless communication module, such as the allocated duration should be greater than 10 ms.

[0066] As another implementation, when the first wireless communication module is in the sleep state, the first wireless communication module sends the first information to the coexistence arbitration module, and the first information carries the second time-division multiplexing strategy determined by the first wireless communication module for negotiating with the coexistence arbitration module whether the second time-division multiplexing strategy is feasible.

[0067] In some embodiments, after the first wireless communication module determines the start execution time of the second time-division multiplexing strategy based on the data to be transmitted indication information DTIM beacon frame arrival time, the method further includes:

[0068] The first wireless communication module sends the second information to the coexistence arbitration module, and the second information is used to indicate applying the second time-division multiplexing strategy at the start execution time.

[0069] As an implementation, in the scenario where the coexistence arbitration module determines the second time-division multiplexing strategy, after the first wireless communication module receives the second time-division multiplexing strategy sent by the coexistence arbitration module, the first wireless communication module sends the second information to the coexistence arbitration module, and the second information is used to indicate applying the second time-division multiplexing strategy at the start execution time.

[0070] As another implementation, in a scenario where the first wireless communication module determines the second time-division multiplexing strategy, the first wireless communication module sends the first information and the second information to the coexistence arbitration module to negotiate with the coexistence arbitration module whether the second time-division multiplexing strategy is known, and notify the coexistence arbitration module of the start execution time of the second time-division multiplexing strategy. It should be noted that the first information and the second information can be carried by the same message or by different messages. That is, the second time-division multiplexing strategy and the start execution time can be sent to the coexistence arbitration module through the same message; or, the second time-division multiplexing strategy and the start execution time can also be sent to the coexistence arbitration module through different messages, and the sending order of the first information and the second information is not restricted.

[0071] In specific implementation, after the first wireless communication module and the arbitration module negotiate the second time-division multiplexing strategy, the coexistence arbitration module notifies the second wireless communication module of the second time-division multiplexing strategy, so that the first wireless communication module and the second wireless communication module jointly know the second time-division multiplexing strategy; further, the coexistence arbitration module switches and controls the antenna circuit according to the second time-division multiplexing strategy to realize the switching control of the frequency band usage time of the first wireless communication module and the second wireless communication module. Among them, information interaction between the first wireless communication module and the second wireless communication module and the coexistence arbitration module is carried out through interface calls.

[0072] In the above embodiment, during the interaction process between the first wireless communication module and the coexistence arbitration module, the second wireless communication module is not required to participate throughout the process, which has no impact on the transceiver activities of the second wireless communication module, and the second wireless communication module is insensitive. In this way, the Wi-Fi module wake-up delay can be improved without affecting the power-saving strategy and the transceiver activities of the second wireless communication module.

[0073] In some embodiments, the first wireless communication module determines the start execution time of the second time-division multiplexing strategy based on the arrival time of the data to be transmitted indication information DTIM beacon frame, including:

[0074] The first wireless communication module determines the first time difference between the second moment and the next reception of the DTIM beacon frame; where the second moment is the moment when the first wireless communication module enters the sleep mode;

[0075] If the first time difference is greater than the preset switching buffer duration, it is determined that the start execution time = the second moment + the first time difference - the preset buffer time;

[0076] If the first time difference is less than or equal to the preset switching buffer duration, it is determined that the start execution time = the second moment + the third duration + the first time difference - the preset buffer time.

[0077] In some application scenarios, the first wireless communication module in the second time-division multiplexing strategy preferentially obtains the right to use the frequency band, that is, before the DTIM beacon frame arrives, the first wireless communication module is preferentially given the time to occupy the frequency band.

[0078] Exemplarily, taking the first wireless communication module as a Wi-Fi module and the second wireless communication module as a Bluetooth module as an example, since there is time loss in the time slot switching action itself, in order to ensure that the Wi-Fi module can accurately monitor the DTIM beacon frame, a period of time should be reserved as a preset buffer time. Before the DTIM beacon frame actually arrives, the Wi-Fi module is preferentially given the time slot to use the frequency band. Assume that the preset buffer time is denoted as aX / n, where aX is the first duration, n≥2, and n should not be too large. For example, it should satisfy (aX / n)>5ms.

[0079] The Wi-Fi module can calculate the arrival time point of the next DTIM beacon frame based on the historical record of receiving the DTIM beacon frame, and calculate the first time difference between the current time (i.e., the second moment) and the next reception of the DTIM beacon frame, denoted as T;

[0080] If T>(aX / n), it means that the time before the DTIM beacon frame arrives is sufficient to cover the preset buffer time for time slot switching. Then the start execution time = the current time (i.e., the second moment) + T - (aX / n). That is, the Wi-Fi module notifies the coexistence arbitration module to start applying the second time-division multiplexing strategy after "T - (aX / n)" time, and the initial right to use the frequency band is given to the Wi-Fi module. Refer to the example as Figure 4 shown in the example.

[0081] If T≤(aX / n), it means that the remaining time until the next nearest DTIM beacon frame arrives is not enough to satisfy the time slot switching buffer. Then the next nearest DTIM beacon frame still tries to be received under the default time-division scheme (i.e., the first time-division multiplexing strategy) (it may not be received), and it is determined that the start execution time = the current time (i.e., the second moment) + DTIM_peroid + T - (aX / n). That is, the Wi-Fi module notifies the coexistence arbitration module to start applying the second time-division multiplexing strategy after "DTIM_peroid + T - (aX / n)" time, and the initial right to use the wireless frequency band is given to the Wi-Fi module. Refer to the example as Figure 5 shown in the example. Where DTIM_peroid is the third duration.

[0082] In some embodiments, after the coexistence arbitration module receives the first information sent by the first wireless communication module, the method further includes:

[0083] When the first duration in the second time division multiplexing strategy is less than or equal to the first preset value, or the second duration is less than or equal to the second preset value, the coexistence arbitration module sends third information to the first wireless communication module, and the third information is used to indicate that the second time division multiplexing strategy is not accepted;

[0084] When the first duration in the second time division multiplexing strategy is greater than the first preset value and the second duration is greater than the second preset value, the coexistence arbitration module sends fourth information to the first wireless communication module, and the fourth information is used to indicate acceptance of the second time division multiplexing strategy;

[0085] Wherein, in the second time division multiplexing strategy, the first wireless communication module occupies the first duration, and the second wireless communication module occupies the second duration.

[0086] Wherein, the first preset value and the second preset value are respectively the minimum working durations for the first wireless communication module and the second wireless communication module to work properly. For example, it is unacceptable that the first preset value and the second preset value are less than 10 ms. When the coexistence arbitration module determines that the first preset value and / or the second preset value in the first time division multiplexing strategy is less than 10 ms, the coexistence arbitration module returns third information to the first wireless communication module, and the third information can be an indication information that cannot be adjusted or other error codes.

[0087] For the sake of easy understanding, the following takes the first wireless communication module as a Wi-Fi module and the second wireless communication module as a Bluetooth (BT) module as an example for introduction.

[0088] See Figure 6 , a wireless communication control method provided by an embodiment of the present application includes the following steps:

[0089] Step 601, the Wi-Fi module starts to enter the sleep / power save mode process;

[0090] Step 602, determine whether the current Wi-Fi module is connected to a 2.4G AP and whether the Bluetooth mode is turned on and in the TDM mode; if so, execute step 603; if not, execute step 606 according to the original wake-up / sleep process;

[0091] Step 603, the Wi-Fi module notifies the coexistence arbitration module that the Wi-Fi module is about to enter the sleep state, and the Wi-Fi module adjusts the current first time division ratio (Wi-Fi:BT = X:Y) to generate a second time division ratio (Wi-Fi:BT = aX:bY), where aX + bY = DTIM period.

[0092] If a = b, that is, equal proportion scaling; if a < b, adjust with a ratio biased towards BT.

[0093] Among them, the above first time-sharing ratio Wi-Fi:BT = X:Y is the first time-division multiplexing strategy, where X is the fourth duration and Y is the fifth duration; the second time-sharing ratio is Wi-Fi:BT = aX:bY as the second time-division multiplexing strategy, aX is the first duration, and bY is the second duration.

[0094] Step 604: The Wi-Fi module determines the start execution time of the second time-sharing ratio according to the time-sharing adjustment result (accepting / rejecting feedback information) returned by the coexistence arbitration module;

[0095] Since there is time loss in the slot switching action itself, in order to ensure that the Wi-Fi module can accurately monitor the DTIM beacon, a period of time should be reserved. Before the DTIM beacon actually arrives, let the Wi-Fi module obtain the time slot first. This reserved buffer time is denoted as aX / n.

[0096] The Wi-Fi module can calculate the arrival time point of the next DTIM beacon based on the historical record of receiving the DTIM beacon, and calculate the first time difference between the current time and the next DTIM beacon, denoted as T; if T > (aX / n), then go to step 605-1, otherwise go to step 605-2;

[0097] Step 605: Determine whether the first time difference T between the current system time and the time stamp of the next DTIM beacon is greater than (aX / n);

[0098] Step 605-1: T > (aX / n) indicates that the remaining time until the next DTIM beacon arrives is sufficient to cover the time slot switching buffer time. Then the Wi-Fi module notifies the coexistence arbitration module to start applying the new time-sharing scheme after T - (aX / n) time, and the initial frequency band usage right is given to the Wi-Fi module;

[0099] Step 605-2: T ≤ (aX / n) indicates that the remaining time until the next DTIM beacon arrives is not enough for switching buffer. Then the next DTIM beacon still tries to receive the Wi-Fi module under the default time-sharing scheme. The Wi-Fi module notifies the coexistence arbitration module to start applying the second time-sharing ratio after "DTIM_peroid + T - (aX / n)" time, and the initial frequency band usage right is given to the Wi-Fi module;

[0100] Step 606: The Wi-Fi module stops the state machine and turns off some circuits;

[0101] Step 607: The Wi-Fi module periodically wakes up to listen for the DTIM beacon, and determines whether the DTIM information contains a data cache flag or whether there is a data packet sent from the upper layer application itself. If so, proceed to step 608; otherwise, repeat the listening;

[0102] Step 608: The Wi-Fi module starts the wake-up process and leaves the power-saving / sleep mode;

[0103] Step 609: Determine whether the current Wi-Fi module is connected to a 2.4G AP and whether BT is enabled and in the TDM mode. If so, execute step 610; otherwise, execute step 611 according to the original wake-up and sleep process;

[0104] Step 610: The Wi-Fi module notifies the coexistence arbitration module to restore to the original default first time-sharing ratio Wi-Fi:BT = X:Y, which will take effect when switching time slots next time.

[0105] Step 611: Restore the relevant transceiver circuits of the Wi-Fi module and restart the state machine, etc.;

[0106] Step 612: The Wi-Fi module enters the active state (i.e., the state of active TRx); if it is determined that there is no data packet transceiver activity within a certain period of time, then return to step 601.

[0107] This step can be customized according to the scenario. Generally, if the number of sent and received packets is less than 2 within 50ms, the power-saving / sleep mode can be entered.

[0108] In the above embodiments, without changing the Wi-Fi wake-up and sleep process, based on existing devices and technologies, the protection of Wi-Fi wake-up in the TDM coexistence scenario is achieved. By adjusting the time-sharing scheduling strategy between the two parties sharing the frequency band, the interference of BT to Wi-Fi reception is avoided, so that Wi-Fi can accurately listen to the DTIM beacon and wake up in time to receive the data packets sent by the AP, taking into account the balance of Wi-Fi power saving, Wi-Fi wake-up delay, and basic BT functions.

[0109] In the embodiments of the present application, the execution subject of the provided wireless communication control method can be an electronic device. In the embodiments of the present application, taking the electronic device executing the wireless communication control method as an example, the electronic device provided by the embodiments of the present application is described.

[0110] See Figure 7, an embodiment of the present application provides an electronic device 700, the electronic device 700 includes a first wireless communication module 701 and a second wireless communication module 702, the first wireless communication module 701 and the second wireless communication module 702 share the same frequency band using a first time-division multiplexing strategy, and the electronic device further includes a coexistence arbitration module 703;

[0111] The coexistence arbitration module 703 is configured to obtain a second time-division multiplexing strategy when the first wireless communication module 701 is about to enter the sleep mode;

[0112] The first wireless communication module 701 is configured to determine a start execution time of the second time-division multiplexing strategy based on the arrival time of a data to be transmitted indication information DTIM beacon frame;

[0113] The coexistence arbitration module 703 is further configured to apply the second time-division multiplexing strategy at the start execution time.

[0114] Optionally, in the second time-division multiplexing strategy, the first wireless communication module 701 occupies a first duration, the second wireless communication module 702 occupies a second duration, and the sum of the first duration and the second duration is equal to a third duration, and the third duration is a time interval for the first wireless communication module to wake up and listen for the DTIM beacon frame.

[0115] Optionally, the coexistence arbitration module 703 is further configured to switch from the second time-division multiplexing strategy to the first time-division multiplexing strategy at a first moment when the first wireless communication module 701 exits the sleep mode and enters the active mode;

[0116] Wherein, the first moment is the next moment when the first wireless communication module 701 and the second wireless communication module 702 perform time-division switching.

[0117] Optionally, the coexistence arbitration module 703 is further configured to:

[0118] Determine the second time-division multiplexing strategy; or,

[0119] Receive a first piece of information sent by the first wireless communication module 701, where the first piece of information carries the second time-division multiplexing strategy determined by the first wireless communication module 701.

[0120] Optionally, the first wireless communication module 701 is further configured to send a second piece of information to the coexistence arbitration module 703, and the second piece of information is used to indicate to apply the second time-division multiplexing strategy at the start execution time.

[0121] Optionally, the first wireless communication module 701 is further configured to:

[0122] Determine the first time difference between the second moment and the next reception of the DTIM beacon frame; wherein, the second moment is the moment when the first wireless communication module enters the sleep mode;

[0123] If the first time difference is greater than the preset switching buffer duration, determine that the start execution time = the second moment + the first time difference - the preset buffer time;

[0124] If the first time difference is less than or equal to the preset switching buffer duration, determine that the start execution time = the second moment + the third duration + the first time difference - the preset buffer time.

[0125] Optionally, the coexistence arbitration module 703 is further configured to:

[0126] When the first duration in the second time division multiplexing strategy is less than or equal to the first preset value, or the second duration is less than or equal to the second preset value, send third information to the first wireless communication module, where the third information is used to indicate that the second time division multiplexing strategy is not accepted;

[0127] When the first duration in the second time division multiplexing strategy is greater than the first preset value, and the second duration is greater than the second preset value, send fourth information to the first wireless communication module, where the fourth information is used to indicate acceptance of the second time division multiplexing strategy;

[0128] Wherein, in the second time division multiplexing strategy, the first wireless communication module occupies the first duration, and the second wireless communication module occupies the second duration.

[0129] Optionally, the first wireless communication module 701 is a Wi-Fi module, and the second wireless communication module 702 is a Bluetooth module, a P2P module, or a hotspot module.

[0130] The electronic device in the embodiments of the present application can be a terminal or other devices other than terminals. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a palmtop computer, an in-vehicle electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. It can also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.

[0131] The electronic device provided in the embodiments of the present application can implement Figures 3 to 6 each process implemented by the method embodiments. To avoid repetition, details are not described here again.

[0132] Optionally, as Figure 8 shown, the embodiments of the present application further provide an electronic device 800, including a processor 801 and a memory 802. A program or instruction that can run on the processor 801 is stored on the memory 802. When the program or instruction is executed by the processor 801, it implements each step of the above-mentioned wireless communication control method embodiments and can achieve the same technical effects. To avoid repetition, details are not described here again.

[0133] It should be noted that the electronic device in the embodiments of the present application includes the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0134] Figure 9 FIG. is a schematic diagram of the hardware structure of an electronic device for implementing the embodiments of the present application.

[0135] The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910, etc.

[0136] Those skilled in the art can understand that the electronic device 900 may further include a power source (such as a battery) for powering each component. The power source can be logically connected to the processor 110 through a power management system, so as to manage functions such as charging, discharging, and power consumption management through the power management system. Figure 9 The structure of the electronic device shown in Figure 9 does not limit the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0137] The electronic device further includes a first wireless communication module and a second wireless communication module; the first wireless communication module and the second wireless communication module share the same frequency band using a first time-division multiplexing strategy;

[0138] The processor 910 is configured to:

[0139] When the first wireless communication module is about to enter the sleep mode, control the coexistence arbitration module of the electronic device to obtain a second time-division multiplexing strategy;

[0140] Control the first wireless communication module to determine the start execution time of the second time-division multiplexing strategy based on the arrival time of the data to be transmitted indication information DTIM beacon frame;

[0141] Control the coexistence arbitration module to apply the second time-division multiplexing strategy at the start execution time.

[0142] Optionally, in the second time-division multiplexing strategy, the first wireless communication module occupies a first duration, the second wireless communication module occupies a second duration, and the sum of the first duration and the second duration is equal to a third duration, where the third duration is the time interval for the first wireless communication module to wake up and listen for the DTIM beacon frame.

[0143] Optionally, the processor 910 is further configured to control the coexistence arbitration module to perform the following steps:

[0144] When the first wireless communication module exits the sleep mode and enters the active mode, switch from the second time-division multiplexing strategy to the first time-division multiplexing strategy at a first moment;

[0145] Wherein, the first moment is the next moment when the first wireless communication module and the second wireless communication module perform time-division switching.

[0146] Optionally, the processor 910 is further configured to control the coexistence arbitration module to perform the following steps:

[0147] Determine the second time-division multiplexing strategy; or,

[0148] Receive the first information sent by the first wireless communication module, where the first information carries the second time division multiplexing strategy determined by the first wireless communication module.

[0149] Optionally, the processor 910 is further configured to control the first wireless communication module to send second information to the coexistence arbitration module, where the second information is used to indicate applying the second time division multiplexing strategy at the start execution time.

[0150] Optionally, the processor 910 is further configured to control the first wireless communication module to perform the following steps:

[0151] Determine a first time difference between the second moment and the next reception of the DTIM beacon frame; where the second moment is the moment when the first wireless communication module enters the sleep mode;

[0152] If the first time difference is greater than a preset switching buffer duration, determine that the start execution time = the second moment + the first time difference - the preset buffer time;

[0153] If the first time difference is less than or equal to the preset switching buffer duration, determine that the start execution time = the second moment + the third duration + the first time difference - the preset buffer time.

[0154] Optionally, the processor 910 is further configured to control the coexistence arbitration module to perform the following steps:

[0155] In a case where the first duration in the second time division multiplexing strategy is less than or equal to a first preset value, or the second duration is less than or equal to a second preset value, send third information to the first wireless communication module, where the third information is used to indicate not accepting the second time division multiplexing strategy;

[0156] In a case where the first duration in the second time division multiplexing strategy is greater than the first preset value, and the second duration is greater than the second preset value, send fourth information to the first wireless communication module, where the fourth information is used to indicate accepting the second time division multiplexing strategy;

[0157] Wherein, in the second time division multiplexing strategy, the first wireless communication module occupies the first duration, and the second wireless communication module occupies the second duration.

[0158] Optionally, the first wireless communication module is a Wi-Fi module, and the second wireless communication module is a Bluetooth module, a P2P module, or a hotspot module.

[0159] The above-mentioned electronic device can update the time-division multiplexing strategy when the first wireless communication module is in the sleep state, so that all DTIM beacon frames can fall into the time slots where the frequency band usage duration of the first wireless communication module is located, thereby improving the wake-up delay of the first wireless communication module and avoiding or reducing packet loss.

[0160] It should be understood that in the embodiments of the present application, the input unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042. The graphics processor 9041 processes the image data of static pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 907 includes at least one of a touch panel 9071 and other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts: a touch detection device and a touch controller. The other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be elaborated here.

[0161] The memory 909 can be used to store software programs and various data. The memory 909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area can store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 909 can include volatile memory or non-volatile memory, or the memory 909 can include both volatile and non-volatile memory. Among them, the non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synch link DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM). The memory 909 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.

[0162] The processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 910 either.

[0163] The embodiments of the present application also provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the above embodiments of the wireless communication control method and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0164] Among them, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media such as computer read-only memory ROM, random access memory RAM, magnetic disks, or optical discs, etc.

[0165] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above embodiment of the wireless communication control method, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0166] It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-chip, etc.

[0167] The embodiments of the present application provide a computer program product. The program product is stored in a storage medium and is executed by at least one processor to implement each process of the above embodiment of the wireless communication control method, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0168] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or device including that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0169] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.

[0170] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific implementation manners. The above specific implementation manners are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them belong to the protection scope of the present application.

Claims

1. A wireless communication control method, characterized in that, Applied to an electronic device, the electronic device includes a first wireless communication module and a second wireless communication module, and the first wireless communication module and the second wireless communication module share the same frequency band using a first time-division multiplexing strategy. The method includes: When the first wireless communication module is about to enter the sleep mode, the coexistence arbitration module of the electronic device obtains a second time-division multiplexing strategy; The first wireless communication module determines the start execution time of the second time-division multiplexing strategy based on the arrival time of the data to be transmitted indication information DTIM beacon frame; The coexistence arbitration module applies the second time-division multiplexing strategy at the start execution time.

2. The wireless communication control method according to claim 1, wherein In the second time-division multiplexing strategy, the first wireless communication module occupies a first duration, the second wireless communication module occupies a second duration, and the sum of the first duration and the second duration is equal to a third duration, where the third duration is the time interval for the first wireless communication module to wake up and listen to the DTIM beacon frame.

3. The wireless communication control method according to claim 1, wherein After the coexistence arbitration module applies the second time-division multiplexing strategy at the start execution time, the method further includes: When the first wireless communication module exits the sleep mode and enters the active mode, switch from the second time-division multiplexing strategy to the first time-division multiplexing strategy at a first moment; wherein the first moment is the moment of the next time-division switch between the first wireless communication module and the second wireless communication module.

4. The wireless communication control method according to claim 1, wherein The coexistence arbitration module of the electronic device obtains the second time-division multiplexing strategy, including: Determining the second time-division multiplexing strategy by the coexistence arbitration module; or, The coexistence arbitration module receives a first message sent by the first wireless communication module, and the first message carries the second time-division multiplexing strategy determined by the first wireless communication module.

5. The wireless communication control method according to claim 1, characterized in that, After the first wireless communication module determines the start execution time of the second time-division multiplexing strategy based on the arrival time of the data to be transmitted indication information DTIM beacon frame, the method further includes: The first wireless communication module sends a second message to the coexistence arbitration module, and the second message is used to indicate applying the second time-division multiplexing strategy at the start execution time.

6. The wireless communication control method according to claim 2, wherein The first wireless communication module determines the start execution time of the second time-division multiplexing strategy based on the arrival time of the data to be transmitted indication information DTIM beacon frame, including: The first wireless communication module determines a first time difference between a second moment and the next reception of the DTIM beacon frame; wherein the second moment is the moment when the first wireless communication module enters the sleep mode; If the first time difference is greater than a preset switching buffer duration, then determine that the start execution time = the second moment + the first time difference - the preset buffer time; If the first time difference is less than or equal to the preset switching buffer duration, then determine that the start execution time = the second moment + the third duration + the first time difference - the preset buffer time.

7. The wireless communication control method according to claim 4, wherein After the coexistence arbitration module receives the first message sent by the first wireless communication module, the method further includes: When the first duration in the second time division multiplexing strategy is less than or equal to the first preset value, or the second duration is less than or equal to the second preset value, the coexistence arbitration module sends third information to the first wireless communication module, and the third information is used to indicate that the second time division multiplexing strategy is not accepted; When the first duration in the second time division multiplexing strategy is greater than the first preset value and the second duration is greater than the second preset value, the coexistence arbitration module sends fourth information to the first wireless communication module, and the fourth information is used to indicate acceptance of the second time division multiplexing strategy; Wherein, in the second time division multiplexing strategy, the first wireless communication module occupies the first duration, and the second wireless communication module occupies the second duration.

8. The wireless communication control method according to claim 1, wherein The first wireless communication module is a Wi-Fi module, and the second wireless communication module is a Bluetooth module, a P2P module or a hotspot module.

9. An electronic device, characterized in that, The electronic device includes a first wireless communication module and a second wireless communication module. The first wireless communication module and the second wireless communication module share the same frequency band using a first time division multiplexing strategy. The electronic device further includes a coexistence arbitration module; The coexistence arbitration module is configured to obtain a second time division multiplexing strategy when the first wireless communication module is about to enter the sleep mode; The first wireless communication module is configured to determine the start execution time of the second time division multiplexing strategy based on the arrival time of the data to be transmitted indication information DTIM beacon frame; The coexistence arbitration module is further configured to apply the second time division multiplexing strategy at the start execution time.

10. The electronic device according to claim 9, characterized in that, In the second time division multiplexing strategy, the first wireless communication module occupies a first duration, and the second wireless communication module occupies a second duration. The sum of the first duration and the second duration is equal to a third duration, and the third duration is the time interval for the first wireless communication module to wake up and listen for the DTIM beacon frame.

11. The electronic device according to claim 9, wherein The coexistence arbitration module is further configured to switch from the second time division multiplexing strategy to the first time division multiplexing strategy at a first moment when the first wireless communication module exits the sleep mode and enters the active mode; Wherein, the first moment is the moment when the first wireless communication module and the second wireless communication module perform time division switching next time.

12. The electronic device according to claim 9, characterized in that, The coexistence arbitration module is further configured to: Determine the second time division multiplexing strategy; or, Receive first information sent by the first wireless communication module, and the first information carries the second time division multiplexing strategy determined by the first wireless communication module.

13. The electronic device according to claim 9, wherein The first wireless communication module is further configured to send second information to the coexistence arbitration module, and the second information is used to indicate applying the second time division multiplexing strategy at the start execution time.

14. The electronic device according to claim 10, characterized in that, The first wireless communication module is further configured to: Determine a first time difference between a second moment and the next reception of the DTIM beacon frame; wherein, the second moment is the moment when the first wireless communication module enters the sleep mode; If the first time difference is greater than the preset switching buffer duration, determine that the starting execution time = the second moment + the first time difference - the preset buffer time; If the first time difference is less than or equal to the preset switching buffer duration, determine that the starting execution time = the second moment + the third duration + the first time difference - the preset buffer time.

15. The electronic device according to claim 12, characterized in that, The coexistence arbitration module is further configured to: When the first duration in the second time division multiplexing strategy is less than or equal to the first preset value, or the second duration is less than or equal to the second preset value, send third information to the first wireless communication module, where the third information is used to indicate that the second time division multiplexing strategy is not accepted; When the first duration in the second time division multiplexing strategy is greater than the first preset value and the second duration is greater than the second preset value, send fourth information to the first wireless communication module, where the fourth information is used to indicate acceptance of the second time division multiplexing strategy; Wherein, in the second time division multiplexing strategy, the first wireless communication module occupies the first duration and the second wireless communication module occupies the second duration.

16. The electronic device according to claim 9, wherein The first wireless communication module is a Wi-Fi module, and the second wireless communication module is a Bluetooth module, a P2P module or a hotspot module.

17. An electronic device, characterized in that, Comprising a processor and a memory, the memory stores a program or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the wireless communication control method according to any one of claims 1-8 are implemented.

18. A readable storage medium, characterized in that, A program or instructions are stored on the readable storage medium, and when the program or instructions are executed by a processor, the steps of the wireless communication control method according to any one of claims 1 to 8 are implemented.

19. A computer program product, characterized in that, Comprising computer instructions, and when the computer instructions are executed by a processor, the steps of the wireless communication control method according to any one of claims 1 to 8 are implemented.