Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Please refer to fig. 1, which is a flowchart illustrating an implementation of a communication method according to an embodiment of the present application. The method can be applied to electronic devices, such as: mobile electronic devices such as mobile phones, tablet computers and laptop computers which can process data in a mobile manner, or non-mobile electronic devices such as liquid crystal televisions, all-in-one machines and desktop computers which can not process data in a mobile manner. The electronic device is configured with a plurality of antennas and radio frequency modules for supporting a plurality of different types of networks. As shown in fig. 1, the method mainly includes:
101. when mutual interference exists between first network communication and second network communication, a first signal-to-noise ratio and a second signal-to-noise ratio of an interfered party when the interfering party stops signal transmission and signal transmission are obtained;
102. analyzing the difference value of the first signal-to-noise ratio and the second signal-to-noise ratio to obtain the current signal state of the interfered party;
103. if the signal state is a weak signal state, controlling the interference party to start a time division multiplexing mode;
104. and if the signal state is a strong signal state, controlling the interference party not to start the time division multiplexing mode.
The first network communication is of a different type than the second network communication. In a practical application, the first network communication may be a cellular mobile network communication, in particular an LTE (Long Term Evolution) communication. The second network communication may be a WIFI (wireless fidelity network) communication. Wherein, LTE can work in the frequency channel similar to 2.4G WIFI frequency, if: b7, B40, B41, and the like.
Specifically, whether mutual interference exists between the first network communication and the second network communication can be determined according to working frequency bands (or frequency points) of the first network communication and the second network communication. Wherein the mutual interference may comprise: the first network communication and the second network communication interfere with each other, the first network communication unilaterally interferes with the second network communication, or the second network communication unilaterally interferes with the first network communication.
It can be appreciated that when the first network communication and the second network communication interfere with each other, the signal status analysis needs to be performed on both the first network communication and the second network communication. When the first network communication unilaterally interferes with the second network communication, only the signal state of the second network communication as an interfered party is analyzed. When the second network communication unilaterally interferes with the first network communication, only the signal state of the first network communication as an interfered party is analyzed.
When mutual interference exists between the first network communication and the second network communication, a first Signal-To-Noise Ratio (SNR) and a second SNR of the interfered party when the interfering party stops Signal transmission (TX off) and Signal transmission (TX on) are obtained. And comparing the difference value of the first signal-to-noise ratio and the second signal-to-noise ratio with the normal demodulation threshold value of the interfered party, and analyzing to obtain the current signal state of the interfered party. If the signal state is a weak signal state, controlling the interferer to start TDM (Time division multiplexing); and if the current signal state of the interfered party is a strong signal state, controlling the interfering party not to start the TDM.
Taking LTE and WIFI as examples, the principle of controlling to enable TDM described above is that a method of determining whether time division needs to be enabled according to SNR of both communication parties, that is, when interference of one party does not interfere reception of the other party, the method does not need to enable TDM mechanism. Assuming that 10dB (decibel) interference is actually measured on CH2 of WIFI under the maximum output power of a 2370Mhz (megahertz) frequency point of LTE B40, when the signal-to-noise ratio of a signal received by a receiver of WIFI is greater than a normal demodulation threshold at this time, even if LTE has interference on WIFI, the demodulation of the receiver of WIFI is not affected because the ratio of signal noise of WIFI is large enough, and at this time, a TDM mechanism is not used. In contrast, when TX (Transmit, signal transmission power) of WIFI has interference to LTE, but when SNR of LTE is sufficiently large, WIFI does not enable TDM mechanism.
According to the communication method provided by the embodiment of the application, when mutual interference exists between first network communication and second network communication, a first signal-to-noise ratio and a second signal-to-noise ratio of an interfered party when the interfering party stops signal transmission and signal transmission are obtained, then the current signal state of the interfered party is analyzed according to the obtained first signal-to-noise ratio and the obtained second signal-to-noise ratio, and whether the time division multiplexing mode is required to be started by the interfering party is intelligently judged according to the analysis result. The interference party can be controlled to start the time division multiplexing mode when needed according to the current signal state of the interfered party in a non-hardware mode, so that the cost can be saved, the problem of signal mutual interference can be effectively solved, the communication quality is ensured, and the problems that the throughput of a network is reduced and the communication resources are wasted due to the fact that a time division mechanism is started in a strong signal state can be avoided.
Please refer to fig. 2, which is a flowchart illustrating an implementation of a communication method according to an embodiment of the present application. The method can be applied to electronic devices, such as: mobile electronic devices such as mobile phones, tablet computers and laptop computers which can process data in a mobile manner, or non-mobile electronic devices such as liquid crystal televisions, all-in-one machines and desktop computers which can not process data in a mobile manner. The electronic device is configured with a plurality of antennas and radio frequency modules for supporting a plurality of different types of networks. As shown in fig. 2, the method mainly includes:
201. through testing, interference noise in all channels of first network communication and second network communication which are interfered with each other when an interference party enables signal transmission in different channels is obtained respectively;
202. generating an interference noise table according to each interference noise obtained by testing;
and the interference noise table is used for storing the corresponding relation between the frequency points corresponding to the channels with mutual interference and the interference noise obtained by testing in all the channels of the first network communication and the second network communication. It will be appreciated that interference does not exist between all channels.
The first network communication is of a different type than the second network communication. In a practical application, the first network communication may be a cellular mobile network communication, in particular an LTE communication. The second network communication may be a WIFI communication. Wherein, LTE can work in the frequency channel similar to 2.4G WIFI frequency, if: b7, B40, B41, and the like.
Specifically, taking LTE and WIFI as examples, through testing, noise that LTE falls within the WIFI band and noise that WIFI falls within the LTE band are obtained respectively.
Taking a mobile phone as an example, suppose that a frequency point (or a frequency band) of LTE operation is x, a frequency point of WIFI operation is y, and x and y are 1 to N. The channels correspond to the frequency points one by one.
The method for acquiring the noise falling into the WIFI band in the LTE comprises the following steps: the method comprises the steps of controlling WIFI to receive and close signal transmission (LTE CHx TX on, WIFIHy Rx Path Open (TX off)) in different channel enabling signals while controlling LTE to transmit the enabling signals in different channels, testing the noise size received by the WIFI of the mobile phone, recording the noise size as LTE to WIFI noise [ x ] [ y ], and recording measured data in the mobile phone.
The method for acquiring the noise of the WIFI falling in the LTE band comprises the following steps: the method comprises the steps of controlling WIFI to enable signal transmission on different channels, controlling LTE to enable signal reception on different channels and turn off signal transmission (WIFI CHx TX on, LTECHy Rx Path Open (TX off)), testing the noise size received by the LTE of the mobile phone, recording the noise size as WIFI to LTE noise [ x ] [ y ], and recording measured data in the mobile phone.
Optionally, the noise is in-band noise (in-band noise).
And testing noise (noise) of all channels with mutual interference of LTE and WIFI through the above acquisition mode, generating a corresponding interference noise table, and storing the interference noise table into a memory of the mobile phone. The form of the interference noise table may be one table corresponding to one network type, or one table corresponding to multiple network types. In one practical application, the interference noise table may be as shown in the following table.
TABLE 1LTE To WIFI interference Noise Table (LTE To WIFI Noise Table)
| LTE To WIFI
|
LTE CH1
|
LTE CH2
|
LTE CH…
|
| WIFI CH1
|
NOISE[1][1]
|
NOISE[1][2]
|
NOISE[1][…]
|
| WIFI CH2
|
NOISE[2][1]
|
NOISE[2][2]
|
NOISE[2][…]
|
| WIFI CH…
|
NOISE[…][1]
|
NOISE[…][2]
|
NOISE[…][…] |
The first row in table 1 shows different frequency points of LTE, the first column shows different frequency points of WIFI, and the in-band noise received by WIFI at different frequency points when LTE transmits signals at different frequency points is recorded in the crossed grid of the two. Such as: NOISE [1] [1] is in-band NOISE received by WIFI at the frequency point 1 when signals occur at the frequency point 1 by LTE.
TABLE 2 interference Noise Table for WIFI To LTE (WIFI To LTE Noise Table)
| WIFI To LTE
|
WIFI CH1
|
WIFI CH2
|
WIFI CH…
|
| LTE CH1
|
NOISE[1][1]
|
NOISE[1][2]
|
NOISE[1][…]
|
| LTE CH2
|
NOISE[2][1]
|
NOISE[2][2]
|
NOISE[2][…]
|
| LTE CH…
|
NOISE[…][1]
|
NOISE[…][2]
|
NOISE[…][…] |
The first row in table 2 shows different frequency points of WIFI, the first column shows different frequency points of LTE, and the in-band noise received by LTE at different frequency points when signals are transmitted at different frequency points by WIFI is recorded in the crossed grid of the two. Such as: NOISE [1] [1] is in-band NOISE received by LTE at frequency point CH1 when WIFI generates signals at frequency point CH 1.
It should be understood that the above frequency points CH1 and CH2 … … CH … are only examples, and in practical applications, the specific operating frequency range is determined by practical requirements, and the application is not limited in particular.
203. Determining whether mutual interference exists between the first network communication and the second network communication according to an interference noise table;
the mutual interference may include: the first network communication and the second network communication interfere with each other, the first network communication unilaterally interferes with the second network communication, or the second network communication unilaterally interferes with the first network communication.
Specifically, the interference noise table (as shown in table 1 and table 2) is queried whether frequency points corresponding to a first channel of the first network communication connection and a second channel of the second network communication connection exist. And if the frequency points corresponding to the first channel and the second channel exist in the plurality of interference noise tables, confirming that mutual interference exists between the first network communication and the second network communication, and executing the subsequent steps of acquiring a first signal-to-noise ratio and a second signal-to-noise ratio of the interfered party when the interfering party stops signal transmission and signal transmission respectively based on the first network communication and the second network communication.
And if the frequency points corresponding to the first channel and the second channel do not exist in the interference noise tables, confirming that mutual interference does not exist between the first network communication and the second network communication, and not executing subsequent steps.
And if the frequency points corresponding to any one of the first channel and the second channel exist in the plurality of interference noise tables, confirming that mutual interference exists between the first network communication and the second network communication, and executing the subsequent steps of acquiring a first signal-to-noise ratio and a second signal-to-noise ratio of the interfered party when the interfering party stops signal transmission and signal transmission respectively based on the party with the corresponding frequency points.
It can be appreciated that when the first network communication and the second network communication interfere with each other, the signal status analysis needs to be performed on both the first network communication and the second network communication. When the first network communication unilaterally interferes with the second network communication, only the signal state of the second network communication as an interfered party is analyzed. When the second network communication unilaterally interferes with the first network communication, only the signal state of the first network communication as an interfered party is analyzed.
204. When mutual interference exists between first network communication and second network communication, acquiring the strength of an effective signal received by a first channel connected with an interfered party and real-time noise in the first channel received by a receiver of the interfered party when the interfering party stops signal transmission on a second channel connected with the interfering party, and acquiring interference noise in the first channel when a second channel enabling signal is transmitted according to an interference noise table;
205. taking the ratio of the intensity of the effective signal to the real-time noise as a first signal-to-noise ratio, and taking the ratio of the intensity of the effective signal to the sum of the real-time noise and the reference interference noise as a second signal-to-noise ratio;
206. comparing the difference between the first signal-to-noise ratio and the second signal-to-noise ratio with a demodulation threshold of a receiver of the interfered party;
207. if the difference is larger than the demodulation threshold value, the interfered party is confirmed to be in a strong signal state, and if the difference is smaller than the demodulation threshold value, the interfered party is confirmed to be in a weak signal state;
taking LTE and WIFI of which the first network communication and the second network communication are mobile phones respectively as an example, the LTE and the WIFI interfere with each other, and then real-time noise of LTE (in actual use) and real-time noise of WIFI are acquired in real time respectively.
Specifically, on one hand, WIFI is used as an interferer, LTE is used as an interfered party, and assuming that LTE works on a channel x and WIFI works on a channel y, when the mobile phone is in use, the strength of an effective signal (or a useful signal) received by the mobile phone on an LTE CHx channel is read and recorded as LTE-S [ x ], and when WIFI stops signal transmission on a CHy channel (WIFI CHy TX OFF), the noise level received by an LTE receiver is read and recorded as LTE-noise [ x ].
On the other hand, LTE is used as an interfering party, WIFI is used as an interfered party, and if the WIFI works on a channel x and the LTE works on a channel y, the strength of an effective signal received by a WIFI CHx channel of the mobile phone is read and recorded as WIFI-Sx when the mobile phone is in use, and the noise received by a WIFI receiver is read and recorded as WIFI-noise [ x ] when the LTE stops signal transmission (LTE CHy Tx OFF) on the CHy channel.
For interference of LTE to WIFI, first, using formula 1: WIFI-Sx/WIFI-Nosie [ x ], and obtaining a first signal-to-noise ratio; using equation 2: and obtaining a second signal-to-noise ratio by the WIFI-Sx/(WIFI-Nosie x + LTE to WIFI Nosie x ] [ y ]), wherein the LTE to WIFI Nosie x ] [ y ] is interference noise in the first channel x connected with the WIFI of the interfered party when the second channel y connected with the LTE serving as the interfering party transmits signals, and the interference noise can be obtained by specifically inquiring the table 1. Then, a difference C between the first signal-to-noise ratio and the second signal-to-noise ratio is calculated. And then, comparing the difference value C with a demodulation threshold value of the WIFI receiver, if the difference value C is larger than the demodulation threshold value, confirming that the WIFI is in a strong signal state, and if the difference value C is smaller than the demodulation threshold value, confirming that the WIFI is in a weak signal state.
Further, in another embodiment of the present invention, in order to avoid frequent switching of the TDM mechanism when the effective signal is at a critical point of the strong and weak signals, different demodulation threshold values are determined according to a strength change of the effective signal received by the interfered party. Taking the interference of LTE to WIFI as an example, the intensity change of an effective signal received by a WIFI CHx channel of a mobile phone is obtained, if the intensity of the effective signal is weakened or unchanged, the first threshold is used as a demodulation threshold, and if the intensity of the effective signal is strengthened, the second threshold is used as a demodulation threshold, and the second threshold is greater than the first threshold.
In particular, according to WIFI-Sx]Judging whether the current connection is carried out according to the sizes of the front and the back momentsHarvesting machineWhether the effective signal strength is getting larger or smaller.
When the effective signal strength WIFI-Sx is weakened or unchanged, if the difference value C is larger than a first demodulation threshold value NF _ WIFI, the WIFI is considered to be in a strong signal receiver and can be demodulated normally, the WIFI is in a strong signal state, and the LTE does not need to start a TDM mechanism. The demodulation threshold NF of the WIFI receiver is a short name of NoiseFigure, and is a fixed constant greater than 0. If the difference value C is smaller than NF-WIFI, the WIFI is considered to be in a weak signal state at the moment, the risk that the WIFI receiver cannot demodulate the WIFI is possibly existed, the WIFI is in a weak signal, and the LTE needs to start a TDM mechanism.
When the effective signal strength WIFI-Sx is in a strengthened state, if the difference value C is larger than a second demodulation threshold value NF _ WIFI + N (N is a fixed constant larger than 0), the receiver can demodulate the WIFI in a strong signal state at the moment, the WIFI is in a strong signal state, and the LTE does not need to start a TDM mechanism. If C is smaller than NF-WIFI + N, the WIFI is considered to be in a weak signal state at the moment, the WIFI receiver may have the risk of being incapable of demodulating, the WIFI is in a weak signal, and the LTE needs to start a TDM mechanism.
It can be understood that, for the interference of WIFI to LTE, the analysis method is similar to the interference of LTE to WIFI, except that the C value is selected with reference to the demodulation coefficient NF-LTE of the LTE receiver. The difference value N between the second demodulation threshold and the first demodulation threshold is selected to ensure that the judgment standards of the strong and weak signals are inconsistent when the strength of the effective signal received by the interfered party is enhanced and weakened, so as to avoid frequent switching of the TDM mechanism when the effective signal is at the critical point of the strong and weak signals.
208. And if the signal state of the interfered party is a weak signal state, controlling the interfering party to start the time division multiplexing mode, and if the signal state of the interfered party is a strong signal state, controlling the interfering party not to start the time division multiplexing mode.
Specifically, the strong and weak signals of the two interfering parties can be analyzed according to the above steps, and the principle of activating the TDM mechanism is shown in table three below.
Table 3TDM mechanism execution conditions
| WIFI Signal Strength
|
LTE signal strength
|
TDM mechanism
|
| High strength
|
High strength
|
WIFI and LTE do not enable TDM
|
| High strength
|
Weak (weak)
|
WIFI enables time division, LTE does not enable TDM
|
| Weak (weak)
|
High strength
|
WIFI (Wireless Fidelity) time division-free and LTE (Long term evolution) TDM-enabled
|
| Weak (weak)
|
Weak (weak)
|
Both WIFI and LTE are TDM enabled |
It can be understood that in a scenario where only one party interferes with the other party, whether TDM is enabled by the interfering party is selectively controlled according to the signal state of the interfered party. Specifically, if the interfered party is in a strong signal state, the interfering party does not enable TDM, and if the interfered party is in a weak signal state, the interfering party enables TDM.
For further understanding of the communication method provided by the present application, for example, it is assumed that the noise level of LTE CH39150 falling to WIFI CH4 is-125 dBm/Hz, the noise level of WIFI CH4 falling to LTE CH39150 is-130 dBm/Hz, and LTE and WIFI interfere with each other.
In the real-time nosie acquisition stage, if the size of an effective signal received by the LTE CH39150 is-117 dBm/Hz, the strength of the effective signal received by the WIFI CH4 is-120 dBm/Hz, the size of real-time noise received by the LTE CH39150 is-140 dBm/Hz, the real-time noise received by the WIFI CH4 is-140 dBm/Hz, and for the interference of the LTE to the WIFI, the NF _ WIFI value is assumed to be 6dB, and the N value is 2 dB.
According to the steps, firstly, WIFI-S [4]/WIFI-Nosie [4] (after being converted into logarithm, the calculation method is that minus 120dBm minus 140dBm) is equal to 20dB, and WIFI-S [4]/(WIFI-Nosie [4] + LTE to WIFINOSI [4] [39150]) is calculated to be equal to 5 dB. The difference C is 20dB-5 dB-15 dB.
If the effective signal strength received by the WIFI is increasing, since C (15dB) is greater than NF _ WIFI + N (8dB ═ 6dB +2dB), the WIFI is considered to be in a strong signal state, and the LTE does not need to enable the TDM mechanism. If the signal strength received by the WIFI is reduced or unchanged, C (15dB) is greater than NF _ WIFI (6dB), the WIFI is considered to be in a strong signal state, and the LTE does not need to start a TDM mechanism.
It can be understood that, for the case where C is less than NF _ WIFI or NF _ WIFI + N, it may be determined whether to enable the TDM mechanism by looking up table three.
It can be understood that, for the case where WIFI interferes with LTE, corresponding operations may be performed according to the processing logic for the case where LTE interferes with WIFI, which is not described herein again.
According to the communication method provided by the embodiment of the application, when mutual interference exists between first network communication and second network communication, a first signal-to-noise ratio and a second signal-to-noise ratio of an interfered party when the interfering party stops signal transmission and signal transmission are obtained, then the current signal state of the interfered party is analyzed according to the obtained first signal-to-noise ratio and the obtained second signal-to-noise ratio, and whether the time division multiplexing mode is required to be started by the interfering party is intelligently judged according to the analysis result. The interference party can be controlled to start the time division multiplexing mode when needed according to the current signal state of the interfered party in a non-hardware mode, so that the cost can be saved, the problem of signal mutual interference can be effectively solved, the communication quality is ensured, and the problems that the throughput of a network is reduced and the communication resources are wasted due to the fact that a time division mechanism is started in a strong signal state can be avoided. Particularly, in the Volte call scene when the LTE works in a frequency band (B7/B40/B41) close to the frequency of 2.4 GWIFISI, the network communication quality can be greatly optimized, so that WIFI games or internet surfing can be smoother, and the user experience is improved.
Please refer to fig. 3, which is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device can be used to implement the communication method provided by the embodiment shown in fig. 1. The electronic device is provided with a plurality of antennas and radio frequency modules, and is used for supporting a plurality of networks of different types, and the antennas can work at different frequency points. As shown in fig. 3, the electronic device includes: an acquisition module 301, an analysis module 302, and a control module 303.
The obtaining module 301 is configured to obtain, when there is mutual interference between the first network communication and the second network communication, a first signal-to-noise ratio and a second signal-to-noise ratio of the interfered party when the interfering party stops signal transmission and signal transmission, respectively.
The analyzing module 302 is configured to analyze a difference between the first signal-to-noise ratio and the second signal-to-noise ratio to obtain a current signal state of the interfered party.
The control module 303 is configured to control the interferer to enable the time division multiplexing mode if the signal status is a weak signal status.
The control module 303 is further configured to control the interferer not to enable the time division multiplexing mode if the signal status is a strong signal status.
It should be noted that, in the embodiment of the electronic device illustrated in fig. 3, the division of the functional modules is only an example, and in practical applications, the above functions may be distributed by different functional modules according to needs, for example, configuration requirements of corresponding hardware or convenience of implementation of software, that is, the internal structure of the electronic device is divided into different functional modules to complete all or part of the functions described above. In practical applications, the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be implemented by corresponding hardware executing corresponding software. The above description principles can be applied to various embodiments provided in the present specification, and are not described in detail below.
For a specific process of each function module in the electronic device provided in this embodiment to implement each function, please refer to the specific content described in the embodiment shown in fig. 1, which is not described herein again.
The electronic device provided by this embodiment obtains the first signal-to-noise ratio and the second signal-to-noise ratio of the interfered party when the interfering party stops signal transmission and signal transmission respectively when the first network communication and the second network communication are interfered with each other, analyzes the current signal state of the interfered party according to the obtained first signal-to-noise ratio and second signal-to-noise ratio, and intelligently determines whether the interfering party needs to start the time division multiplexing mode according to the analysis result. The interference party can be controlled to start the time division multiplexing mode when needed according to the current signal state of the interfered party in a non-hardware mode, so that the cost can be saved, the problem of signal mutual interference can be effectively solved, the communication quality is ensured, and the problems that the throughput of a network is reduced and the communication resources are wasted due to the fact that a time division mechanism is started in a strong signal state can be avoided.
Please refer to fig. 4, which is a schematic structural diagram of an electronic device according to another embodiment of the present application. The electronic device can be used for implementing the communication method provided by the embodiments shown in fig. 1 and fig. 2. Unlike the embodiment shown in fig. 3, as shown in fig. 4, in the present embodiment:
further, the obtaining module 301 is specifically configured to, when there is mutual interference between the first network communication and the second network communication, obtain the strength of an effective signal received by a first channel connected to the interfered party, where the interfering party stops signal transmission on a second channel connected to the interfered party, and obtains real-time noise in the first channel received by a receiver of the interfered party when the signal transmission is stopped, and interference noise in the first channel when the signal transmission is enabled on the second channel;
the obtaining module 301 is further specifically configured to use a ratio of the intensity of the effective signal to the real-time noise as the first signal-to-noise ratio;
the obtaining module 301 is further specifically configured to use a ratio of the strength of the effective signal to a sum of the real-time noise and the reference interference noise as the second snr.
Further, the analyzing module 302 is specifically configured to compare the difference with a demodulation threshold of the receiver of the interfered party, determine that the interfered party is in the strong signal state if the difference is greater than the demodulation threshold, and determine that the interfered party is in the weak signal state if the difference is less than the demodulation threshold.
Further, the electronic device further includes:
an intensity obtaining module 401, configured to obtain an intensity variation of the effective signal;
a determining module 402, configured to use a first threshold as the demodulation threshold if the strength of the effective signal is weakened or unchanged, and use a second threshold as the demodulation threshold if the strength of the effective signal is strengthened, where the second threshold is greater than the first threshold.
Further, the apparatus further comprises:
a testing module 403, configured to obtain, through testing, interference noise in all channels of the first network communication and the second network communication that interfere with each other when an interferer enables signal transmission in different channels, respectively;
a generating module 404, configured to generate an interference noise table according to each interference noise obtained through the test by the testing module 403, where the interference noise table is used to store a correspondence between the frequency points corresponding to all the channels and each interference noise obtained through the test.
Further, the obtaining module 301 is further configured to query the interference noise table to obtain the interference noise in the first channel when the second channel enable signal is transmitted.
Further, the apparatus further comprises:
a query module 405, configured to query whether frequency points corresponding to the first channel and the second channel exist in the interference noise table;
the query module 405 is further configured to determine that mutual interference exists between the first network communication and the second network communication if the frequency points corresponding to the first channel and the second channel exist in the interference noise table, and trigger the obtaining module 301 to obtain a first signal-to-noise ratio and a second signal-to-noise ratio of the interfered party when the interfering party stops signal transmission and signal transmission based on the first network communication and the second network communication;
the query module 405 is further configured to determine that there is no mutual interference between the first network communication and the second network communication if there is no frequency point corresponding to each of the first channel and the second channel in the interference noise table;
the query module 405 is further configured to determine that mutual interference exists between the first network communication and the second network communication if a frequency point corresponding to any one of the first channel and the second channel exists in the interference noise table, and trigger the obtaining module 301 to obtain a first signal-to-noise ratio and a second signal-to-noise ratio of the interfered party when the interfering party stops signal transmission and signal transmission based on the party with the corresponding frequency point.
For a specific process of each function module in the electronic device provided in this embodiment to implement each function, please refer to the specific contents described in the embodiments shown in fig. 1 to fig. 3, which is not described herein again.
The electronic device provided by this embodiment obtains the first signal-to-noise ratio and the second signal-to-noise ratio of the interfered party when the interfering party stops signal transmission and signal transmission respectively when the first network communication and the second network communication are interfered with each other, analyzes the current signal state of the interfered party according to the obtained first signal-to-noise ratio and second signal-to-noise ratio, and intelligently determines whether the interfering party needs to start the time division multiplexing mode according to the analysis result. The interference party can be controlled to start the time division multiplexing mode when needed according to the current signal state of the interfered party in a non-hardware mode, so that the cost can be saved, the problem of signal mutual interference can be effectively solved, the communication quality is ensured, and the problems that the throughput of a network is reduced and the communication resources are wasted due to the fact that a time division mechanism is started in a strong signal state can be avoided.
Referring to fig. 5, fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
The electronic apparatus described in this embodiment includes:
a memory 801, a processor 802 and a computer program stored on the memory 801 and executable on the processor 802, which when executed by the processor 802, implement the communication method described in the embodiments of fig. 1 and 2 above.
Further, the electronic device further includes:
at least one input device 803 and at least one output device 804.
The memory 801, the processor 802, the input device 803, and the output device 804 are connected by a bus 805.
The input device 803 may be a camera, a touch panel, a physical button, or the like. The output device 804 may specifically be a display screen.
The Memory 801 may be a high-speed Random Access Memory (RAM) Memory or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 801 is used to store a set of executable program code, and the processor 802 is coupled to the memory 801.
Further, an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium may be provided in an electronic device in the foregoing embodiments, and the computer-readable storage medium may be the memory in the foregoing embodiment shown in fig. 5. The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the communication method described in the foregoing embodiments shown in fig. 1 and 2.
For example, the electronic device may be any of various types of computer system apparatuses that are mobile or portable and perform wireless communication. In particular, the electronic apparatus may be a mobile phone or a smart phone (e.g., iPhone-based, Android-based phone), a portable game device (e.g., Nintendo DS, playstatio portable, Gameboy Advance, iPhone), a laptop, a PDA, a portable internet appliance, a music player, and a data storage device, other handheld devices, and a head-mounted device (HMD) such as a watch, a headset, a pendant, a headset, etc., and other wearable devices (e.g., electronic glasses, electronic clothes, an electronic bracelet, an electronic necklace, an electronic tattoo, an electronic device, or a smart watch).
The electronic apparatus may also be any of a number of electronic devices including, but not limited to, cellular phones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controllers, pagers, laptop computers, desktop computers, printers, netbook computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving picture experts group (MPEG-1 or MPEG-2) audio layer 3(MP3) players, portable medical devices, and digital cameras and combinations thereof.
In some cases, the electronic device may perform a variety of functions (e.g., playing music, displaying video, storing pictures, and receiving and sending telephone calls). If desired, the electronic apparatus 0 may be a portable device such as a cellular telephone, media player, other handheld device, wristwatch device, pendant device, earpiece device, or other compact portable device.
As shown in fig. 6, the electronic device 10 may include control circuitry, which may include storage and processing circuitry 30. The storage and processing circuitry 30 may include memory, such as hard drive memory, non-volatile memory (e.g., flash memory or other electronically programmable erase limit memory used to form solid state drives, etc.), volatile memory (e.g., static or dynamic random access memory, etc.), and so forth, although the embodiments of the present application are not limited thereto. Processing circuitry in the storage and processing circuitry 30 may be used to control the operation of the electronic device 10. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry 30 may be used to run software within the electronic device 10 such as, for example, an Internet browsing application, a Voice Over Internet Protocol (VOIP) telephone call application, an email application, a media playing application, operating system functions, etc. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functionality based on status indicators such as status indicator lights of light emitting diodes, touch event detection based on a touch sensor, functionality associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 10, and the like, without limitation of the embodiments of the present application.
The electronic device 10 may also include input-output circuitry 42. The input-output circuitry 42 may be used to enable the electronic device 10 to enable input and output of data, i.e., to allow the electronic device 10 to receive data from external devices and also to allow the electronic device 10 to output data from the electronic device 10 to external devices. The input-output circuitry 42 may further include the sensor 32. The sensors 32 may include ambient light sensors, optical and capacitive based proximity sensors, touch sensors (e.g., optical based touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), acceleration sensors, and other sensors, among others.
Input-output circuitry 42 may also include one or more displays, such as display 14. The display 14 may include one or a combination of liquid crystal displays, organic light emitting diode displays, electronic ink displays, plasma displays, displays using other display technologies. The display 14 may include an array of touch sensors (i.e., the display 14 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The electronic device 10 may also include an audio component 36. The audio component 36 may be used to provide audio input and output functionality for the electronic device 10. Audio components 36 in electronic device 10 may include speakers, microphones, buzzers, tone generators, and other components for generating and detecting sound.
The communication circuitry 38 may be used to provide the electronic device 10 with the ability to communicate with external devices. The communication circuit 38 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 38 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in Communication circuitry 38 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuitry 38 may include a near field communication antenna and a near field communication transceiver. The communications circuitry 38 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and the like.
The electronic device 10 may further include a battery, power management circuitry, and other input-output units 40. The input-output unit 40 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, etc.
A user may enter commands through input-output circuitry 42 to control the operation of electronic device 10, and may use output data of input-output circuitry 42 to enable receipt of status information and other outputs from electronic device 10.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the communication method, the electronic device and the computer-readable storage medium provided by the present application, those skilled in the art will recognize that the embodiments of the present application can be modified in different ways.