Transmitting power determination method and device, electronic equipment and storage medium
By determining and adjusting the transmission power of WiFi and BT communication based on hardware parameters, the problem of mutual interference in frequency division duplex communication mode was solved, and hardware adaptation and communication quality optimization were achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2026-04-10
AI Technical Summary
In frequency division duplex communication mode, WiFi communication and BT communication interfere with each other because they operate on the same frequency band. Existing technologies have difficulty in designing antenna isolation to meet the needs of multi-antenna devices, and fixed transmit power limits communication quality.
Based on the hardware parameters of the first and second wireless communication methods, the target transmission power of the target wireless communication method is determined, and adjustments are made when the current transmission power is less than the target transmission power, so as to maximize hardware compatibility and minimize interference.
While minimizing mutual interference between the two wireless communication methods, the communication quality of the target wireless communication method is maximized, simplifying hardware design.
Smart Images

Figure CN121842810A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of communication, and particularly relates to a transmission power determination method and device, electronic equipment and storage medium. BACKGROUND
[0002] In a frequency division duplex (FDD) communication mode, WiFi (Wireless Fidelity) communication and BT (Bluetooth) communication can coexist, and WiFi antennas and BT antennas are separate and independent, so that WiFi communication and BT communication can simultaneously perform data transmission. However, since the working frequency bands of 2.4 GHz frequency band WiFi communication and BT communication are the same, the two communication modes will exist mutual interference problem when simultaneously performing data transmission. SUMMARY
[0003] To overcome the problems in the related art, the present disclosure provides a transmission power determination method and device, electronic equipment and storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a transmission power determination method is provided, and the method comprises:
[0005] When in a frequency division duplex communication mode, a target transmission power of a target wireless communication mode is determined according to hardware parameters of a first wireless communication mode and a second wireless communication mode, wherein the working frequency bands of the first wireless communication mode and the second wireless communication mode are the same, and the target wireless communication mode includes at least one of the first wireless communication mode and the second wireless communication mode;
[0006] If a current transmission power of the target wireless communication mode is less than the target transmission power of the target wireless communication mode, the current transmission power is adjusted to the target transmission power.
[0007] In an exemplary embodiment, when the target wireless communication mode includes the first wireless communication mode, the target transmission power of the target wireless communication mode is determined according to the hardware parameters of the first wireless communication mode and the second wireless communication mode, comprising:
[0008] The target transmission power of the first wireless communication mode is determined according to an antenna isolation degree between a first antenna and a second antenna, a signal reception strength of the second wireless communication mode, a carrier-to-interference ratio of the second wireless communication mode, a first preset value and a second preset value.
[0009] The first preset value is a bandwidth-power conversion relationship between the first wireless communication mode and the second wireless communication mode, and the second preset value is an output power limit value of the first chip port at a channel edge.
[0010] In an example embodiment, when the target wireless communication mode includes the first wireless communication mode, the target transmit power of the target wireless communication mode is determined according to the hardware parameters of the first wireless communication mode and the second wireless communication mode, including:
[0011] The power of the second chip port is determined according to the signal receiving strength of the second wireless communication mode and the path loss of the second antenna; the second antenna and the second chip are used to transmit signals of the second wireless communication mode;
[0012] The interference power is determined according to the power of the second chip port and the carrier-to-interference ratio of the second wireless communication mode; the interference power is the interference power of the interference signals of the first wireless communication mode to the second chip;
[0013] The target transmit power of the first wireless communication mode is determined according to the interference power, the antenna isolation between the first antenna and the second antenna, the path loss of the second antenna, the first preset value and the second preset value; the first preset value is a bandwidth-power conversion relationship between the first wireless communication mode and the second wireless communication mode, and the second preset value is an output power limit value of the first chip port at a channel edge; the first antenna and the first chip are used to transmit signals of the first wireless communication mode.
[0014] In an example embodiment, when the target wireless communication mode includes the second wireless communication mode, the target transmit power of the target wireless communication mode is determined according to the hardware parameters of the first wireless communication mode and the second wireless communication mode, including:
[0015] The target adjacent channel leakage of the second wireless communication mode is determined according to the channel interference suppression of the first wireless communication mode, the path loss of the first antenna, the path loss of the second antenna, the antenna isolation between the first antenna and the second antenna, and the first preset value; the first preset value is a bandwidth-power conversion relationship between the first wireless communication mode and the second wireless communication mode;
[0016] determine a target transmission power of the second wireless communication mode according to the target adjacent channel leakage of the second wireless communication mode and a third preset value, wherein the third preset value is a difference between the transmission power of the second wireless communication mode and the adjacent channel leakage of the second wireless communication mode.
[0017] In an example embodiment, the method further includes:
[0018] switching the communication mode of the electronic device to the frequency division duplex communication mode when it is determined that the communication mode of the electronic device meets a preset condition;
[0019] The preset condition includes:
[0020] The signal-to-noise ratio of the first wireless communication mode is greater than or equal to a first threshold value;
[0021] The signal-to-noise ratio of the second wireless communication mode is greater than or equal to a second threshold value;
[0022] The signal reception power of the first wireless communication mode is greater than or equal to a third threshold value;
[0023] The signal reception power of the second wireless communication mode is greater than or equal to a fourth threshold value;
[0024] The mobile data communication mode is in a non-working mode.
[0025] In an example embodiment, the switching the communication mode of the electronic device to the frequency division duplex communication mode when it is determined that the communication mode of the electronic device meets a preset condition includes:
[0026] determining whether the communication mode of the electronic device meets the preset condition every preset time interval;
[0027] switching the communication mode of the electronic device to the frequency division duplex communication mode if the preset condition is met for a plurality of times continuously.
[0028] In an example embodiment, the first wireless communication mode is a WiFi communication mode, and the second wireless communication mode is a BT communication mode.
[0029] According to a second aspect of the embodiments of the present disclosure, a device for determining transmission power is provided, and the device includes:
[0030] The determining module is configured to determine a target transmission power of a target wireless communication mode according to hardware parameters of the first wireless communication mode and the second wireless communication mode when the electronic device is in the frequency division duplex communication mode; wherein the first wireless communication mode and the second wireless communication mode have the same working frequency band, and the target wireless communication mode includes at least one of the first wireless communication mode and the second wireless communication mode.
[0031] The adjusting module is configured to adjust the current transmission power to the target transmission power if the current transmission power of the target wireless communication mode is less than the target transmission power of the target wireless communication mode.
[0032] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, comprising:
[0033] a processor;
[0034] a memory for storing processor-executable instructions;
[0035] The processor is configured to perform the method in the first aspect of the embodiments of the present disclosure.
[0036] According to a fourth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method in the first aspect of the embodiments of the present disclosure.
[0037] The above method of the present disclosure has the following beneficial effects: when the electronic device is in the frequency division duplex communication mode, the target transmission power of the target wireless communication mode is determined according to the hardware parameters of the first wireless communication mode and the second wireless communication mode, which can ensure that the target transmission power is the maximum transmission power allowed under the current hardware parameters, and the target transmission power automatically adapts to the hardware design of the current electronic device, which can simplify the hardware design; if the current transmission power of the target wireless communication mode is less than the target transmission power of the target wireless communication mode, the current transmission power is adjusted to the target transmission power, which can ensure that the degree of mutual interference between the two wireless communication modes is minimized while maximizing the communication quality of the target wireless communication mode.
[0038] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0039] The accompanying drawings incorporated in and forming a part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
[0040] Figure 1is a flow chart of a transmit power determination method according to an exemplary embodiment;
[0041] Figure 2 is a schematic diagram of a frequency division duplex communication mode according to an exemplary embodiment;
[0042] Figure 3 is a flow chart of a transmit power determination method according to an exemplary embodiment;
[0043] Figure 4 is a schematic diagram of signal transmission according to an exemplary embodiment;
[0044] Figure 5 is a schematic diagram of interference according to an exemplary embodiment;
[0045] Figure 6 is a schematic diagram of interference according to an exemplary embodiment;
[0046] Figure 7 is a flow chart of a transmit power determination method according to an exemplary embodiment;
[0047] Figure 8 is a block diagram of a transmit power determination apparatus according to an exemplary embodiment;
[0048] Figure 9 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0049] The exemplary embodiments will be described in detail herein with reference to the attached drawings. The following description is made with reference to the accompanying drawings in which like reference numerals refer to like elements, unless the context of use indicates otherwise. The following description of exemplary embodiments is not representative of all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0050] In some embodiments, since the working frequency bands of WiFi and BT are the same, in the communication mode where WiFi communication and BT communication coexist, the two communication modes will interfere with each other when transmitting data at the same time, one of which will interfere with the other when receiving data, and the degree of interference is directly related to the transmit power of one of which when transmitting data, and the antenna isolation of the two communication modes and other hardware design.
[0051] In the prior art, in a communication mode in which 2.4G WiFi communication and BT communication coexist, in order to reduce the mutual interference degree of the two communication modes when simultaneously transmitting data, the following two methods are usually adopted: the first method is to set strict antenna isolation for the antennas of the two communication modes, but as the functions of electronic devices become more and more rich, the antennas in the electronic devices also become more and more, and the antenna isolation generally cannot meet the ideal design requirements; the second method is to set the maximum transmission power of the two communication modes when transmitting data to a certain fixed value to limit the maximum transmission power, but limiting the maximum transmission power will cause the communication quality to become poor, and the communication coverage range will also be affected, and setting the maximum transmission power to a certain fixed value is not suitable for a plurality of electronic devices with different hardware designs, and the universality is poor.
[0052] In an exemplary embodiment of the present disclosure, in order to overcome the mutual interference problem of the two wireless communication modes in the related art, a transmission power determination method is provided, including: when in a frequency division duplex communication mode, determining a target transmission power of a target wireless communication mode according to hardware parameters of a first wireless communication mode and a second wireless communication mode; if the current transmission power of the target wireless communication mode is less than the target transmission power of the target wireless communication mode, adjusting the current transmission power to the target transmission power. The method can ensure that the target transmission power is the maximum transmission power allowed under the current hardware parameters, and the target communication mode transmits data at the target transmission power, which can ensure the communication quality of the target wireless communication mode to the greatest extent while ensuring that the mutual interference degree between the two wireless communication modes is minimized, and the target transmission power automatically adapts to the hardware design of the current electronic device, which can simplify the hardware design.
[0053] In an exemplary embodiment of the present disclosure, a transmission power determination method is provided, Figure 1 is a flowchart of a transmission power determination method according to an exemplary embodiment, as shown in Figure 1 , including the following steps:
[0054] Step S101, when in a frequency division duplex communication mode, determining a target transmission power of a target wireless communication mode according to hardware parameters of a first wireless communication mode and a second wireless communication mode;
[0055] Step S102, if the current transmission power of the target wireless communication mode is less than the target transmission power of the target wireless communication mode, adjusting the current transmission power to the target transmission power.
[0056] Among them, the working frequency bands of the first wireless communication mode and the second wireless communication mode are the same, and the target wireless communication mode includes at least one of the first wireless communication mode and the second wireless communication mode.
[0057] The transmission power determination method in this disclosure is applied to electronic devices, including smartphones, tablets, personal computers, smart wearable devices, smart IoT devices, smart vehicle systems, and other electronic devices that support frequency division duplex communication mode.
[0058] In step S101, the first wireless communication method and the second wireless communication method are two different wireless communication methods, but they operate in the same frequency band. In some possible implementations, the first wireless communication method and the second wireless communication method can be WiFi communication and BT communication, or WiFi communication and cellular communication, or WiFi communication and satellite communication, or BT communication and satellite communication, etc. In this embodiment, the specific implementation method is described using WiFi communication as the first wireless communication method and BT communication as the second wireless communication method as an example. The WiFi communication method is 2.4G WiFi communication, i.e., WiFi communication in the 2.4GHz frequency band.
[0059] Frequency division duplex (FDM) communication mode means that data transmission occurs simultaneously using both the first and second wireless communication methods. For example, when a mobile phone is connected to a Bluetooth headset and making a video call using 2.4GHz Wi-Fi, it is in FDM communication mode. Figure 2 This is a schematic diagram illustrating a frequency division duplex communication mode according to an exemplary embodiment, such as... Figure 2 As shown, data transmission between the mobile phone and the router is conducted via 2.4G WiFi communication. The router is in Access Point (AP) mode, and the mobile phone is in Station (ATA) mode. Data transmission between the mobile phone and the headset is conducted via 2.4G BT communication. The mobile phone receives and sends audio and video data via WiFi communication, and simultaneously sends and receives audio data to and from the Bluetooth headset via BT communication.
[0060] The hardware in an electronic device that supports each wireless communication method includes chips and antennas. For example, a WiFi chip and WiFi antenna support WiFi communication, while a BT chip and BT antenna support BT communication. Hardware parameters include chip-related parameters, such as the signal modulation mode, and antenna-related parameters, such as the signal receiving power at the antenna port and the antenna isolation between the two communication methods. These hardware parameters are set by the electronic device manufacturer, and may differ between different electronic devices for the same wireless communication method. The hardware parameters for the first and second wireless communication methods are obtained by reading the device parameters in the electronic device.
[0061] The target wireless communication method can be a first wireless communication method, a second wireless communication method, or both. The target transmission power is the maximum allowable transmission power of the target wireless communication method. When one communication method uses the target transmission power to transmit data, it ensures minimal interference to the other communication method while maximizing the communication quality of the target method. Different target transmission powers corresponding to different hardware parameters can be preset in the electronic device. For example, a mapping table between hardware parameters and target transmission power can be preset, or a functional relationship between hardware parameters and target transmission power can be preset. Alternatively, different hardware parameters can be preset in the electronic device, and after reading the hardware parameters of the two communication methods, the target transmission power of the target communication method can be determined according to the preset mapping table or functional relationship. It should be noted that the transmission power of the communication method refers to the transmission power of the antenna port supporting that communication method.
[0062] In step S102, the current transmission power of the target wireless communication method is obtained. If the current transmission power of the target wireless communication method is less than the target transmission power, the current transmission power is adjusted to the target transmission power. If the current transmission power of the target wireless communication method is greater than or equal to the target transmission power, no processing is required. In some possible implementations, the target wireless communication method includes a first wireless communication method and a second wireless communication method. The target transmission power of the first wireless communication method and the target transmission power of the second wireless communication method are determined respectively. The current transmission power of the first wireless communication method is obtained. If the current transmission power of the first wireless communication method is less than the target transmission power, the current transmission power is adjusted to the target transmission power. The current transmission power of the second wireless communication method is obtained. If the current transmission power of the second wireless communication method is less than the target transmission power, the current transmission power is adjusted to the target transmission power.
[0063] In the exemplary embodiments of this disclosure, when the electronic device is in frequency division duplex communication mode, the target transmit power of the target wireless communication method is determined according to the hardware parameters of the first wireless communication method and the second wireless communication method. This ensures that the target transmit power is the maximum transmit power allowed under the current hardware parameters. The target transmit power automatically adapts to the hardware design of the current electronic device without having to consider the interference problem between the two communication methods too much during hardware design. This reduces excessive requirements on the hardware device and greatly simplifies the hardware design. If the current transmit power of the target wireless communication method is less than the target transmit power of the target wireless communication method, the current transmit power is adjusted to the target transmit power. Then, the target communication method can transmit data at the maximum transmit power allowed under the current hardware parameters. This ensures that the mutual interference between the two wireless communication methods is minimized while ensuring the best radio frequency performance of the target wireless communication method, that is, maximizing the communication quality of the target wireless communication method.
[0064] In an exemplary embodiment of this disclosure, a method for determining transmission power is provided. Figure 3 This is a flowchart illustrating a method for determining transmit power according to an exemplary embodiment, such as... Figure 3 As shown, it includes the following steps:
[0065] Step S301: When in frequency division duplex communication mode, determine the power of the second chip port based on the signal reception strength of the second wireless communication method and the path loss of the second antenna.
[0066] Step S302: Determine the interference power based on the power of the second chip port and the carrier-to-interference ratio of the second wireless communication method;
[0067] Step S303: Determine the target transmit power of the first wireless communication mode based on the interference power, the antenna isolation between the first antenna and the second antenna, the path loss of the second antenna, the first preset value, and the second preset value.
[0068] Step S304: If the current transmission power of the first wireless communication method is less than the target transmission power of the first wireless communication method, adjust the current transmission power to the target transmission power;
[0069] Step S305: Determine the target adjacent channel leakage of the second wireless communication method based on the channel suppression interference of the first wireless communication method, the path loss of the first antenna, the path loss of the second antenna, the antenna isolation between the first antenna and the second antenna, and the first preset value.
[0070] Step S306: Determine the target transmission power of the second wireless communication method based on the target adjacent channel leakage of the second wireless communication method and the third preset value;
[0071] Step S307: If the current transmission power of the second wireless communication method is less than the target transmission power of the second wireless communication method, adjust the current transmission power to the target transmission power.
[0072] Wherein, the interference power is the interference power generated by the interference signal of the first wireless communication mode on the second chip, the first preset value is the bandwidth power conversion relationship between the first wireless communication mode and the second wireless communication mode, the second preset value is the output power limit value of the first chip port at the channel edge, the third preset value is the difference between the transmission power of the second wireless communication mode and the adjacent channel leakage of the second wireless communication mode, the first antenna and the first chip are used to transmit the signal of the first wireless communication mode, and the second antenna and the second chip are used to transmit the signal of the second wireless communication mode.
[0073] The specific implementation methods of steps S304 and S307 are the same as those in step S102, and will not be repeated here. In this embodiment, taking a 2.4G WiFi communication method as the first wireless communication method and a BT communication method as the second wireless communication method as an example, the specific implementation method is described. In this case, the first antenna is a WiFi antenna, the first chip is a WiFi chip, the second antenna is a BT antenna, and the second chip is a BT chip.
[0074] In some possible implementations, Figure 4 This is a schematic diagram of signal transmission according to an exemplary embodiment, such as... Figure 4 As shown, chipout represents the chip, the inverted triangle represents the antenna port, pathloss represents the path loss between the chip port and the antenna port, and isolation represents the antenna isolation. The chip transmits signals, and the signals are emitted from the antenna port via the antenna. Therefore, the interference of BT interference signals on the WiFi chip and the interference of WiFi interference signals on the BT chip are respectively expressed as:
[0075] BT_interference=BT_chipout-BT_pathloss-isolation-WiFi_pathloss
[0076] WiFi_interference=WiFi_chipout-WiFi_pathloss-isolation-BT_pathloss
[0077] Wherein, BT_interference represents the interference of the BT interference signal to the WiFi chip, WiFi_interference represents the interference of the WiFi interference signal to the BT chip, BT_chipout represents the power of the BT chip, WiFi_chipout represents the power of the WiFi chip, BT_pathloss represents the path loss between the BT antenna port and the BT chip port, WiFi_pathloss represents the path loss between the WiFi antenna port and the WiFi chip port, and isolation represents the antenna isolation between the BT antenna and the WiFi antenna.
[0078] In step S301, the signal reception strength of the second wireless communication method represents the signal reception strength of the second antenna port, and the path loss of the second antenna represents the path loss between the second antenna port and the second chip port, which is related to the characteristics of the second antenna. Both of these parameters can be read from the hardware parameters of the electronic device. Therefore, the difference between the signal reception strength of the second wireless communication method and the path loss of the second antenna is the received power of the second chip port. The received power of the chip port is the same as the transmitted power, and can be collectively referred to as the power of the chip port. Let the signal reception strength of the BT communication method be denoted as BT_RSSI, the path loss of the BT antenna be denoted as BT_pathloss, and the power of the second chip port be denoted as BT_chipout, then:
[0079] BT_chipout=BT_RSSI-BT_pathloss
[0080] In step S302, the carrier-to-interference ratio (C / I) of the second wireless communication method represents the ratio of the useful signal to the interference signal received by the second wireless communication method. It is related to the signal modulation method of the second wireless communication method and is a limit value set by the Bluetooth test specification. For example, when the signal modulation method is GFSK, DQPSK, or 8DPSK, the corresponding C / I ratios are 11, 13, and 21, respectively. The interference power is the interference power generated by the interference signal of the first wireless communication method on the second chip. Therefore, the difference between the power of the second chip port and the carrier-to-interference ratio of the second wireless communication method is the interference power. Let the carrier-to-interference ratio of the BT communication method be denoted as C / I, the power of the second chip port as BT_chipout, and the interference power as WiFi_Interference, then:
[0081] WiFi_Interference=BT_chipout-C / I
[0082] Substituting the interference power BT_chipout calculated in the previous step into the above formula yields the interference power. The interference power WiFi_Interference can be considered the maximum interference intensity from WiFi communication on the electronic device that the BT communication method can withstand. Interference intensity from WiFi communication on the electronic device exceeding this value will affect BT communication.
[0083] In step S303, the antenna isolation between the first antenna and the second antenna represents the ratio of the signal received by one antenna from the other antenna to the signal transmitted by the other antenna. It is related to the antenna placement, the distance between the antennas, etc., and can be read from the hardware parameters of the electronic device. The first preset value is the bandwidth power conversion relationship between the first wireless communication mode and the second wireless communication mode. The second preset value is the output power limit value of the first chip port at the channel edge. Both the first and second preset values are limit values set by the test specification. For example, the first preset value is 13 and the second preset value is -38.8.
[0084] In one example, Figure 5 This is an interference schematic diagram illustrated according to an exemplary embodiment, such as... Figure 5 As shown, double arrows indicate data transmission. Data transmission between the mobile phone and the router is conducted via 2.4G WiFi communication, with the router in AP mode and the mobile phone in STA mode. Data transmission between the mobile phone and the headset is conducted via 2.4G BT communication. Single arrows indicate interference. WiFi interference signals from the mobile phone and the router will interfere with the BT chip on the mobile phone and the BT chip on the headset, respectively. Among them, the interference from the WiFi interference signal on the mobile phone will cause the greatest interference to the BT chip on the mobile phone. Therefore, this disclosure mainly considers the interference caused by the WiFi interference signal on the BT chip on the mobile phone.
[0085] The interference of WiFi signals on the BT chip (i.e., interference power) can also be expressed as (refer to...). Figure 4 ):
[0086] WiFi_interference=WiFi_chipout-WiFi_pathloss-isolation-BT_pathloss
[0087] Where WiFi_chipout-WiFi_pathloss is the transmit power of the WiFi antenna port, i.e., the transmit power of WiFi communication, denoted as WiFi_PWR. Then, the interference of WiFi interference signals on the BT chip can be expressed as:
[0088] WiFi_interference=WiFi_PWR-isolation-BT_pathloss
[0089] Furthermore, considering the bandwidth-to-power conversion relationship between WiFi and BT communication methods, as well as the output power limit of the WiFi chip port at the channel edge, the interference of WiFi interference signals on the BT chip is further adjusted as follows:
[0090] WiFi_Interference=WiFi_PWR-isolation-a+b-BT_pathloss
[0091] Where a represents the first preset value and b represents the second preset value.
[0092] Therefore, the target transmit power WiFi_PWR_calc for WiFi communication is:
[0093] WiFi_PWR_calc=WiFi_Interference+isolation+a-b+BT_pathloss
[0094] Substituting the interference power WiFi_Interference calculated in the previous step into the above formula yields the target transmit power for WiFi communication. Since the interference power WiFi_Interference can be considered the maximum interference intensity from the electronic device's WiFi communication that the BT communication method can withstand, the WiFi_PWR_calc calculated based on the maximum interference intensity WiFi_Interference that the BT communication method can withstand from the electronic device's WiFi communication, along with other power losses, represents the maximum allowable transmit power for WiFi communication. Using this transmit power to send data ensures the communication quality of WiFi communication while avoiding interference with the BT communication method.
[0095] In some embodiments, steps S301-S303 can be replaced by: determining the target transmit power of the first wireless communication method based on the antenna isolation between the first antenna and the second antenna, the signal reception strength of the second wireless communication method, the carrier interference ratio of the second wireless communication method, the first preset value, and the second preset value.
[0096] The target transmit power WiFi_PWR_calc for WiFi communication is represented as:
[0097] WiFi_PWR_calc=WiFi_Interference+isolation+a-b+BT_pathloss
[0098] Substituting WiFi_Interference = BT_chipout - C / I and BT_chipout = BT_RSSI - BT_pathloss into the above formulas, we can obtain:
[0099] WiFi_PWR_calc=BT_RSSI-BT_pathloss-C / I+isolation+a-b+BT_pathloss
[0100] Further simplification yields:
[0101] WiFi_PWR_calc=BT_RSSI-C / I+isolation+ab
[0102] Therefore, based on the antenna isolation of the electronic device, the signal reception strength BT_RSSI of the BT communication method, and the carrier interference ratio C / I, the first preset value a, and the second preset value b of the BT communication method set in the test specification, the target transmit power of the WiFi communication method can be calculated.
[0103] Table 1
[0104] isolation Modulation C / I BT_RSSI BT_chipout WiFi_Interference WiFi_PWR_calc 33.2 GFSK 11 -57 -60 -71 17 35.2 DQPSK 13 -57 -60 -73 17 43.2 8DPSK 21 -57 -60 -81 17 35 GFSK 11 -57 -60 -72.8 18.8 35 DQPSK 13 -57 -60 -72.8 16.8 35 8DPSK 21 -57 -60 -72.8 8.8 35 8DPSK 21 -52 -55 -72.8 13.8 35 8DPSK 21 -47 -50 -72.8 18.8 35 8DPSK 21 -42 -45 -72.8 23.8
[0105] In one example, Table 1 shows sample data for each parameter and the calculated target transmit power for WiFi communication. Antenna isolation and BT_RSSI for BT communication are directly read values. The carrier-to-interference ratio (C / I) for BT communication is related to the modulation scheme and is a limit set by the Bluetooth test specification. For GFSK, DQPSK, and 8DPSK modulation schemes, the corresponding C / I values are 11, 13, and 21, respectively. The first preset value a and the second preset value b are both limits set by the test specification. The bandwidth of WiFi communication is 20MHz, and the bandwidth of BT communication is 1MHz, so the bandwidth-to-power conversion value between the two is 13, therefore the first preset value a is 13. The WiFi channel edge is located 29MHz away from the WiFi channel center frequency, and the output power of the WiFi chip port at the channel edge does not exceed -38.8dBr, therefore the second preset value is -38.8.
[0106] In step S305, the channel suppression interference of the first wireless communication method represents the ratio of the useful signal to the interference signal received by the first wireless communication method, including the interference of adjacent channel rejection (ACR) and the interference of non-adjacent channel rejection (NACR). It is related to the signal modulation method and sensitivity and is a limit value set by the WiFi test specification. The path loss of the first antenna represents the loss on the path between the first antenna port and the first chip port. The path loss of the second antenna represents the loss on the path between the second antenna port and the second chip port. It is related to the antenna material, etc., and can be read from the hardware parameters of the electronic device. The target adjacent channel leakage of the second wireless communication method represents the adjacent channel leakage (ACP) of the target transmit power.
[0107] In one example, Figure 6 This is an interference schematic diagram illustrated according to an exemplary embodiment, such as... Figure 6 As shown, double arrows indicate data transmission. Data transmission between the mobile phone and the router is conducted via 2.4G WiFi communication, with the router in AP mode and the mobile phone in STA mode. Data transmission between the mobile phone and the headset is conducted via 2.4G BT communication. Single arrows indicate interference. BT interference signals from the mobile phone and the headset can interfere with the WiFi chip on both the mobile phone and the router. Among these, the interference from the mobile phone's BT interference signal is the greatest. Therefore, this disclosure mainly considers the interference caused by the mobile phone's BT interference signal to the mobile phone's WiFi chip.
[0108] WiFi channel suppression interference is called adjacent channel suppression interference, denoted as ACR. Target adjacent channel leakage in BT communication refers to the power leaked from the target's transmit power into the WiFi channel, denoted as ACP_calc. Figure 4 We can conclude that:
[0109] ACP_calc=ACR+BT_pathloss+isolation+WiFi_pathloss
[0110] Among them, the channel suppression interference (ACR) of WiFi can be regarded as the maximum interference intensity that WiFi communication can withstand from the BT communication mode on the electronic device side, while the target adjacent channel leakage (ACP_calc) calculated based on ACR and other losses can be regarded as the maximum leakage allowed by the BT transmit power.
[0111] Furthermore, considering the bandwidth-power conversion relationship between WiFi and BT communication methods, the target adjacent channel leakage is further adjusted as follows:
[0112] ACP_calc=ACR+BT_pathloss+isolation+WiFi_pathloss-a
[0113] Where 'a' is the first preset value.
[0114] Step S306: The third preset value is the difference between the transmit power of the second wireless communication method and the adjacent channel leakage of the second wireless communication method. The third preset value is an empirical value. After knowing the target adjacent channel leakage of the second wireless communication method and the third preset value, the target transmit power of the second wireless communication method can be calculated by adding the target adjacent channel leakage of the second wireless communication method and the third preset value. Let the target adjacent channel leakage of the BT communication method be denoted as ACP_calc, the third preset value as dBr, and the target transmit power of the BT communication method as BT_PWR_calc, then:
[0115] BT_PWR_calc = ACP_calc + dBr.
[0116] Since the target adjacent channel leakage ACP_calc can be regarded as the maximum leakage allowed by the BT transmit power, the target transmit power BT_PWR_calc of the BT communication method, calculated based on the target adjacent channel leakage ACP_calc and the preset value dBr between the adjacent channel leakage and the transmit power, is the maximum transmit power allowed by the BT communication method. Using this transmit power to send data can ensure the communication quality of the BT communication method while avoiding interference with the WiFi communication method.
[0117] In one example, Table 2 shows sample data for each parameter and the calculated target transmit power for BT communication. The antenna isolation, WiFi path loss (wifi_pathlos), and BT path loss (bt_pathlos) are all directly read values. WiFi channel suppression interference is a limit set by the WiFi test specification. The ACR for adjacent channel suppression in WiFi communication is -66 dBm, and the NACR for non-adjacent channel suppression is -50 dBm. In this example, WiFi and BT communication are adjacent channels; therefore, the ACR for WiFi communication is -66 dBm. The third preset value, dBr, is the ratio of BT transmit power to adjacent channel leakage, and is a preset value set based on experience.
[0118] Table 2
[0119] isolation wifi_pathloss bt_pathloss ACR dBr a ACP_calc BT_PWR_calc 33 3 3 -66 45 13 -40 5 35 3 3 -66 47 13 -38 9 37 3 3 -66 49 13 -36 13 33 3 3 -66 45 13 -40 5 33 3 3 -66 50 13 -40 10 33 3 3 -66 55 13 -40 15
[0120] In some embodiments, steps S301-S304 in the above embodiments can be used as a separate embodiment, and steps S305-S307 can also be used as a separate embodiment.
[0121] In an exemplary embodiment of this disclosure, a method for determining transmission power is provided. Figure 7 This is a flowchart illustrating a method for determining transmit power according to an exemplary embodiment, such as... Figure 7 As shown, it includes the following steps:
[0122] Step S701: When it is determined that the communication mode of the electronic device meets the preset conditions, the communication mode of the electronic device is switched to frequency division duplex communication mode.
[0123] Step S702: When in frequency division duplex communication mode, determine the target transmit power of the target wireless communication mode based on the hardware parameters of the first wireless communication mode and the second wireless communication mode.
[0124] Step S703: If the current transmission power of the target wireless communication method is less than the target transmission power of the target wireless communication method, adjust the current transmission power to the target transmission power.
[0125] The first wireless communication method and the second wireless communication method operate in the same frequency band, and the target wireless communication method includes at least one of the first wireless communication method and the second wireless communication method.
[0126] The specific implementation methods for steps S702-S703 are described in steps S101-S102, S301-S304-S307, or S301-S307, and will not be repeated here.
[0127] In step S701, the preset conditions include:
[0128] The signal-to-noise ratio of the first wireless communication method is greater than or equal to the first threshold.
[0129] The signal-to-noise ratio of the second wireless communication method is greater than or equal to the second threshold.
[0130] The signal receiving power of the first wireless communication method is greater than or equal to the third threshold;
[0131] The signal receiving power of the second wireless communication method is greater than or equal to the fourth threshold.
[0132] Mobile data communication is in non-working mode.
[0133] The first, second, third, and fourth thresholds are all empirical values. Mobile data communication being in non-operating mode indicates that the cellular network is in non-operating mode, meaning there is no data service. In one example, the first and second thresholds are 10, the third threshold is -55dBm, and the fourth threshold is -50dBm. The signal-to-noise ratio (SNR) of the first wireless communication method and the second wireless communication method are denoted as SNR. The signal received power of the first wireless communication method is denoted as WiFi_RSSI, and the signal received power of the second wireless communication method is denoted as BT_RSSI. If the electronic device satisfies the following conditions: SNR ≥ 10, WiFi_RSSI ≥ -55, BT_RSSI ≥ -50, and the cellular network is in non-operating mode, then the communication mode of the electronic device will be switched to frequency division duplex (FDM) communication mode, for example, by calling a preset interface to force a switch to FDM communication mode.
[0134] In some possible implementations, before determining whether the electronic device meets the preset conditions, the method further includes: determining that the electronic device is in Bluetooth single connection mode, that is, connected to a single Bluetooth device and the Bluetooth is in A2DP (Advanced Audio Distribution Profile) mode, and determining that the electronic device is connected to 2.4G WiFi.
[0135] In some possible implementations, the communication mode of the electronic device is checked every preset time interval to see if it meets the preset conditions; if the preset conditions are met multiple times in a row, the communication mode of the electronic device is switched to frequency division duplex communication mode.
[0136] The preset duration and number of consecutive times are both empirical values. For example, the preset duration is 3 seconds. Every 3 seconds, it is determined whether the communication mode of the electronic device meets the preset conditions. When the preset conditions are met twice in a row, it switches to frequency division duplex communication mode. This method can prevent the ping-pong switching problem when the signal fluctuates.
[0137] In an exemplary embodiment of this disclosure, a transmit power determination device is provided. Figure 8 This is a block diagram illustrating a transmit power determination device according to an exemplary embodiment, such as... Figure 8 As shown, the transmission power determination device includes:
[0138] The determining module 801 is configured to determine the target transmit power of the target wireless communication mode based on the hardware parameters of the first wireless communication mode and the second wireless communication mode when in frequency division duplex communication mode; wherein the first wireless communication mode and the second wireless communication mode operate in the same frequency band, and the target wireless communication mode includes at least one of the first wireless communication mode and the second wireless communication mode.
[0139] The adjustment module 802 is configured to adjust the current transmission power to the target transmission power if the current transmission power of the target wireless communication method is less than the target transmission power of the target wireless communication method.
[0140] In an exemplary embodiment, when the target wireless communication method includes a first wireless communication method, the determining module 801 is further configured to:
[0141] The target transmit power of the first wireless communication method is determined based on the antenna isolation between the first antenna and the second antenna, the signal reception strength of the second wireless communication method, the carrier interference ratio of the second wireless communication method, the first preset value, and the second preset value.
[0142] The first preset value is the bandwidth-power conversion relationship between the first wireless communication mode and the second wireless communication mode, the second preset value is the output power limit value of the first chip port at the channel edge, the first antenna and the first chip are used to transmit the signal of the first wireless communication mode, and the second antenna is used to transmit the signal of the second wireless communication mode.
[0143] In an exemplary embodiment, when the target wireless communication method includes a first wireless communication method, the determining module 801 is further configured to:
[0144] The power of the second chip port is determined based on the signal reception strength of the second wireless communication method and the path loss of the second antenna; wherein, the second antenna and the second chip are used to transmit the signal of the second wireless communication method.
[0145] The interference power is determined based on the power of the second chip port and the carrier-to-interference ratio of the second wireless communication method; wherein, the interference power is the interference power generated by the interference signal of the first wireless communication method on the second chip.
[0146] The target transmit power of the first wireless communication mode is determined based on the interference power, the antenna isolation between the first antenna and the second antenna, the path loss of the second antenna, the first preset value, and the second preset value. The first preset value is the bandwidth power conversion relationship between the first wireless communication mode and the second wireless communication mode, and the second preset value is the output power limit value of the first chip port at the channel edge. The first antenna and the first chip are used to transmit the signal of the first wireless communication mode.
[0147] In an exemplary embodiment, when the target wireless communication method includes a second wireless communication method, the determining module 801 is further configured to:
[0148] Based on the channel suppression interference of the first wireless communication method, the path loss of the first antenna, the path loss of the second antenna, the antenna isolation between the first antenna and the second antenna, and a first preset value, the target adjacent channel leakage of the second wireless communication method is determined; wherein, the first preset value is the bandwidth power conversion relationship between the first wireless communication method and the second wireless communication method.
[0149] The target transmit power of the second wireless communication method is determined based on the target adjacent channel leakage of the second wireless communication method and a third preset value; wherein, the third preset value is the difference between the transmit power of the second wireless communication method and the adjacent channel leakage of the second wireless communication method.
[0150] In one exemplary embodiment, the determining module 801 is further configured to:
[0151] When it is determined that the communication mode of the electronic device meets the preset conditions, the communication mode of the electronic device is switched to frequency division duplex communication mode;
[0152] The preset conditions include:
[0153] The signal-to-noise ratio of the first wireless communication method is greater than or equal to the first threshold.
[0154] The signal-to-noise ratio of the second wireless communication method is greater than or equal to the second threshold.
[0155] The signal receiving power of the first wireless communication method is greater than or equal to the third threshold;
[0156] The signal receiving power of the second wireless communication method is greater than or equal to the fourth threshold.
[0157] Mobile data communication is in non-working mode.
[0158] In one exemplary embodiment, the determining module 801 is further configured to:
[0159] Every preset time interval, determine whether the communication method of the electronic device meets the preset conditions;
[0160] If the preset conditions are met multiple times consecutively, the communication mode of the electronic device will be switched to frequency division duplex communication mode.
[0161] In one exemplary embodiment, the first wireless communication method is WiFi communication, and the second wireless communication method is BT communication.
[0162] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0163] Figure 9This is a block diagram illustrating an electronic device 900 according to an exemplary embodiment.
[0164] Reference Figure 9 The electronic device 900 may include one or more of the following components: a processing component 902, a memory 904, a power supply component 906, a multimedia component 908, an audio component 910, an input / output (I / O) interface 912, a sensor component 914, and a communication component 916.
[0165] Processing component 902 typically controls the overall operation of electronic device 900, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 902 may include one or more modules to facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
[0166] Memory 904 is configured to store various types of data to support the operation of electronic device 900. Examples of this data include instructions for any application or method operating on electronic device 900, contact data, phonebook data, messages, pictures, videos, etc. Memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0167] Power supply component 906 provides power to various components of electronic device 900. Power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 900.
[0168] Multimedia component 908 includes a screen that provides an output interface between the electronic device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 908 includes a front-facing camera and / or a rear-facing camera. When the electronic device 900 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0169] Audio component 910 is configured to output and / or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when electronic device 900 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or transmitted via communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
[0170] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0171] Sensor assembly 914 includes one or more sensors for providing state assessments of various aspects of electronic device 900. For example, sensor assembly 914 can detect the on / off state of electronic device 900, the relative positioning of components such as the display and keypad of electronic device 900, changes in position of electronic device 900 or a component of electronic device 900, the presence or absence of user contact with electronic device 900, orientation or acceleration / deceleration of electronic device 900, and temperature changes of electronic device 900. Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 914 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0172] Communication component 916 is configured to facilitate wired or wireless communication between electronic device 900 and other devices. Electronic device 900 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 916 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0173] In an exemplary embodiment, the electronic device 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0174] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, which can be executed by a processor 920 of an electronic device 900 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0175] A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a transmit power determination method, the transmit power determination method including any of the methods described above.
[0176] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0177] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for determining transmission power, characterized in that, The method includes: When in frequency division duplex communication mode, the target transmit power of the target wireless communication mode is determined according to the hardware parameters of the first wireless communication mode and the second wireless communication mode; wherein the first wireless communication mode and the second wireless communication mode operate in the same frequency band, and the target wireless communication mode includes at least one of the first wireless communication mode and the second wireless communication mode; If the current transmit power of the target wireless communication method is less than the target transmit power of the target wireless communication method, the current transmit power is adjusted to the target transmit power.
2. The method for determining transmission power according to claim 1, characterized in that, When the target wireless communication method includes the first wireless communication method, determining the target transmit power of the target wireless communication method based on the hardware parameters of the first wireless communication method and the second wireless communication method includes: The target transmit power of the first wireless communication method is determined based on the antenna isolation between the first antenna and the second antenna, the signal reception strength of the second wireless communication method, the carrier interference ratio of the second wireless communication method, the first preset value, and the second preset value. Wherein, the first preset value is the bandwidth power conversion relationship between the first wireless communication mode and the second wireless communication mode, the second preset value is the output power limit value of the first chip port at the channel edge, the first antenna and the first chip are used to transmit the signal of the first wireless communication mode, and the second antenna is used to transmit the signal of the second wireless communication mode.
3. The method for determining transmission power according to claim 1, characterized in that, When the target wireless communication method includes the first wireless communication method, determining the target transmit power of the target wireless communication method based on the hardware parameters of the first wireless communication method and the second wireless communication method includes: The power of the second chip port is determined based on the signal reception strength of the second wireless communication method and the path loss of the second antenna; wherein, the second antenna and the second chip are used to transmit the signal of the second wireless communication method; The interference power is determined based on the power of the second chip port and the carrier-to-interference ratio of the second wireless communication method; wherein, the interference power is the interference power generated by the interference signal of the first wireless communication method on the second chip; The target transmit power of the first wireless communication method is determined based on the interference power, the antenna isolation between the first antenna and the second antenna, the path loss of the second antenna, the first preset value, and the second preset value; wherein, the first preset value is the bandwidth power conversion relationship between the first wireless communication method and the second wireless communication method, the second preset value is the output power limit value of the first chip port at the channel edge, and the first antenna and the first chip are used to transmit the signal of the first wireless communication method.
4. The method for determining transmission power according to any one of claims 1-3, characterized in that, When the target wireless communication method includes the second wireless communication method, determining the target transmit power of the target wireless communication method based on the hardware parameters of the first wireless communication method and the second wireless communication method includes: Based on the channel suppression interference of the first wireless communication method, the path loss of the first antenna, the path loss of the second antenna, the antenna isolation between the first antenna and the second antenna, and a first preset value, the target adjacent channel leakage of the second wireless communication method is determined; wherein, the first preset value is the bandwidth power conversion relationship between the first wireless communication method and the second wireless communication method; The target transmit power of the second wireless communication method is determined based on the target adjacent channel leakage of the second wireless communication method and a third preset value; wherein the third preset value is the difference between the transmit power of the second wireless communication method and the adjacent channel leakage of the second wireless communication method.
5. The method for determining transmission power according to claim 1, characterized in that, The method further includes: When it is determined that the communication mode of the electronic device meets the preset conditions, the communication mode of the electronic device is switched to the frequency division duplex communication mode; The preset conditions include: The signal-to-noise ratio of the first wireless communication method is greater than or equal to the first threshold. The signal-to-noise ratio of the second wireless communication method is greater than or equal to the second threshold. The signal receiving power of the first wireless communication method is greater than or equal to the third threshold. The signal receiving power of the second wireless communication method is greater than or equal to the fourth threshold. Mobile data communication is in non-working mode.
6. The method for determining transmission power according to claim 5, characterized in that, When it is determined that the communication mode of the electronic device meets the preset conditions, switching the communication mode of the electronic device to the frequency division duplex communication mode includes: Every preset time interval, determine whether the communication method of the electronic device meets the preset conditions; If the preset conditions are met multiple times consecutively, the communication mode of the electronic device will be switched to the frequency division duplex communication mode.
7. The method for determining transmission power according to claim 1, characterized in that, The first wireless communication method is WiFi communication, and the second wireless communication method is BT communication.
8. A device for determining transmission power, characterized in that, The device includes: The determining module is configured to, when in frequency division duplex communication mode, determine the target transmit power of a target wireless communication mode based on the hardware parameters of a first wireless communication mode and a second wireless communication mode; wherein the first wireless communication mode and the second wireless communication mode operate in the same frequency band, and the target wireless communication mode includes at least one of the first wireless communication mode and the second wireless communication mode; The adjustment module is configured to adjust the current transmission power to the target transmission power if the current transmission power of the target wireless communication method is less than the target transmission power of the target wireless communication method.
9. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the method as described in any one of claims 1-7.
10. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the method as described in any one of claims 1-7.