CN115412931A - Communication method and device - Google Patents

Communication method and device Download PDF

Info

Publication number
CN115412931A
CN115412931A CN202110584928.9A CN202110584928A CN115412931A CN 115412931 A CN115412931 A CN 115412931A CN 202110584928 A CN202110584928 A CN 202110584928A CN 115412931 A CN115412931 A CN 115412931A
Authority
CN
China
Prior art keywords
chip
short message
electronic device
beidou short
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110584928.9A
Other languages
Chinese (zh)
Inventor
王同波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110584928.9A priority Critical patent/CN115412931A/en
Publication of CN115412931A publication Critical patent/CN115412931A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1215Wireless traffic scheduling for collaboration of different radio technologies

Abstract

The application discloses a communication method and device. When electronic device 100 detects that the Wi-Fi chip and the beidou short message chip are working at the same time, if electronic device 100 detects that the Wi-Fi chip is working at the preset interference channel, electronic device 100 may execute one or more of the following avoidance schemes: (1) The Wi-Fi chip suspends work when the Beidou short message chip sends/receives signals. (2) The operating frequency of the communication connection used by the Wi-Fi service of the electronic device 100 is switched. (3) And switching the antenna used by the Wi-Fi chip to the antenna farthest from the antenna used by the Beidou short message chip. (4) When the Wi-Fi chip uses two or more antennas to send and receive signals, the antennas used by the Wi-Fi chip are reduced. Therefore, the electronic device 100 can reduce the influence of the Wi-Fi chip on the Beidou short message chip and improve the working performance of the Beidou short message chip.

Description

Communication method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communication method and apparatus.
Background
The beidou short message communication service is one of the features that the beidou satellite navigation system is different from other global positioning navigation systems such as a Global Positioning System (GPS) in the united states, a global navigation satellite system (GLONASS) in russia and the like, and is particularly suitable for positioning and communicating in areas where mobile communication is uncovered or where a communication system is damaged, such as oceans, deserts, grasslands, unmanned areas and the like. The Beidou No. three short message system upgrades the technical system, and realizes the separation of civil and military signals. At present, on the premise that the military requirements are completely met, some necessary resources of the Beidou system are opened for civilian use, namely, the common mobile phone can also receive and send Beidou short messages through the Beidou chip. The third beidou covers China mainly, and the third beidou covers China, asia-Tai and the whole world. The service capacity of the Beidou No. three can reach 1200 ten thousand times of inbound and 50 ten thousand times of outbound every hour. When the Beidou system interacts with the electronic equipment, the transmitting power of the electronic equipment is 3-5W.
Because the receiving frequency band of the Beidou short message and the 2.4GHz frequency range of wireless fidelity (Wi-Fi) are crossed, when the Beidou short message function and the Wi-Fi function are simultaneously started by a common mobile phone, beidou short message service and the Wi-Fi service can interfere with each other, and the communication quality of the Beidou short message service and the Wi-Fi service is influenced.
Disclosure of Invention
The application provides a communication method and a communication device, which realize that when an electronic device detects that a Wi-Fi chip and a Beidou short message chip work simultaneously, if the electronic device detects that the Wi-Fi service can interfere with the Beidou short message service, namely, when the electronic device detects that the Wi-Fi chip works on a preset interference channel (for example, a channel 9-channel 13 of a 2.4GHz frequency band of Wi-Fi), the electronic device can control the Wi-Fi chip to avoid the Beidou short message chip through the following avoidance schemes. Wherein, the avoidance scheme may include: (1) The Wi-Fi chip suspends work when the Beidou short message chip sends or receives signals. (2) The frequency of operation of the communication connection used by the Wi-Fi service of the electronic device 100 is switched. (3) And switching the antenna used by the Wi-Fi chip to the antenna which is farthest away from the antenna used by the Beidou short message chip. (4) When the Wi-Fi chip uses two or more antennas to send and receive signals, the antennas used by the Wi-Fi chip are reduced. Therefore, the electronic device 100 can reduce the mutual influence of the Wi-Fi 2.4GHz frequency band signal and the Beidou short message signal, and improve the working performance of the Beidou short message chip.
In a first aspect, the present application provides a communication method, including: the electronic equipment detects that the Wi-Fi chip and the Beidou short message chip work simultaneously.
When the electronic equipment detects that the Wi-Fi chip works in the preset interference channel, the electronic equipment controls the Wi-Fi chip to avoid the Beidou short message chip.
According to the communication method, when the Wi-Fi chip and the Beidou short message chip work simultaneously and the Wi-Fi chip is detected to work in the preset interference channel, the Wi-Fi chip is controlled to avoid the Beidou short message chip. Therefore, the mutual influence of the Wi-Fi chip and the Beidou short message chip can be reduced, and the working performance of the Beidou short message chip is improved.
In a possible implementation manner, the electronic device controls the Wi-Fi chip to avoid the beidou short message chip, and the method specifically includes: the electronic equipment controls the Wi-Fi chip to pause working when the Beidou short message chip receives/sends signals.
Thus, since the overhead of the beidou short message service is relatively large, the time for the electronic device 100 to execute the beidou short message service is generally relatively short. The Wi-Fi chip is controlled to pause work in the period of receiving/sending signals by the Beidou short message chip. The Wi-Fi service can not influence the Beidou short message service, and meanwhile, the Wi-Fi service can not greatly reduce the transmitting power to avoid the Beidou short message service in the starting period of the Beidou short message function, so that the Wi-Fi service can be finished under smaller influence.
In one possible implementation manner, the electronic device detects that the Wi-Fi chip operates before the preset interference channel, and the method further includes: and the Wi-Fi chip sends the working frequency band information to the Beidou short message chip. The electronic equipment detects that the Wi-Fi chip works in a preset interference channel, and the method specifically comprises the following steps:
the Beidou short message chip judges that the Wi-Fi chip works in a preset interference channel based on the frequency band information.
Therefore, whether the Wi-Fi chip is in the preset interference channel or not is judged through the Beidou short message chip, and the Beidou short message chip can inform the Wi-Fi chip to execute an avoidance scheme when the working of the Wi-Fi chip in the preset interference channel is judged as soon as possible.
In a possible implementation manner, the electronic device controls the Wi-Fi chip to suspend working when the big dipper short message chip receives/sends a signal, and the method specifically includes: and when the Wi-Fi chip receives the signal, the signal transmission is suspended.
Therefore, the frequency range of the Beidou short message chip for receiving signals is crossed with the frequency range of the preset interference channel, and the Wi-Fi chip is controlled to pause signal sending when the Beidou short message chip receives signals, so that the influence of the Wi-Fi service on the Beidou short message service can be reduced.
In a possible implementation manner, when the Wi-Fi chip receives a signal, the Beidou short message chip suspends sending the signal, and the method specifically comprises the following steps: and when the Beidou short message chip starts to receive signals, transmitting a Beidou reception start notice to the Wi-Fi chip, wherein the Beidou reception start notice is used for triggering the Wi-Fi chip to suspend sending signals.
In a possible implementation manner, after the Beidou short message chip sends a Beidou reception start notification to the Wi-Fi chip when the Beidou short message chip starts to receive signals, the method further includes: and when the Beidou short message chip finishes receiving the signals, transmitting a Beidou reception finishing notice to the Wi-Fi chip, wherein the Beidou reception finishing notice is used for triggering the Wi-Fi chip to start to transmit the signals.
Therefore, the Wi-Fi chip is informed of avoiding when the Beidou short message chip works, and the Wi-Fi chip can be controlled to pause signal receiving when the Beidou short message chip starts to receive signals as soon as possible. And the Wi-Fi chip can be controlled to continue to receive signals when the Beidou short message chip finishes receiving the signals as soon as possible.
In a possible implementation manner, after the electronic device detects that the Wi-Fi chip and the beidou short message chip work simultaneously, the method further includes: the electronic equipment judges the priority of the Wi-Fi service and the Beidou short message service. When the electronic equipment detects that the Wi-Fi chip works in a preset interference channel, the electronic equipment controls the Wi-Fi chip to avoid the Beidou short message chip, and the method specifically comprises the following steps:
after the electronic equipment judges that the priority of the Beidou short message service is higher than that of the Wi-Fi service, when the electronic equipment detects that the Wi-Fi chip works in a preset interference channel, the electronic equipment controls the Wi-Fi chip to avoid the Beidou short message chip.
In a possible implementation manner, after the electronic device detects that the Wi-Fi chip and the beidou short message chip work simultaneously, the electronic device judges the priority of the Wi-Fi service and the beidou short message service. When the electronic equipment judges that the priority of the Wi-Fi service is higher than that of the Beidou short message service and detects that the Wi-Fi chip works in a preset interference channel, the electronic equipment controls the Beidou short message chip to avoid the Wi-Fi chip.
Therefore, by judging the priority of the Wi-Fi service and the Beidou short message service, the chip executing the low-priority service is controlled to avoid the chip executing the high-priority service, and the interference of the low-priority service on the high-priority service can be weakened.
In a possible implementation manner, the electronic device controls the Wi-Fi chip to avoid the beidou short message chip, and the method specifically comprises the following steps: and the Wi-Fi chip disconnects the communication connection on the preset interference channel.
The electronic equipment establishes communication connection in a frequency range outside the preset interference channel, and sends or receives signals of the Wi-Fi service through the communication connection in the frequency range outside the preset interference channel.
Therefore, the electronic equipment can try to switch the frequency range of the communication connection of the Wi-Fi service at first, so that the frequency ranges of the Wi-Fi service and the Beidou short message service are not crossed, and the performance of the Wi-Fi service and the Beidou short message service can be guaranteed to the maximum extent. When the frequency range of the Wi-Fi service cannot be switched, the electronic device 100 may avoid the beidou short message service by using the Wi-Fi service through the above-mentioned pause mode, so as to reduce the mutual influence between the Wi-Fi service and the beidou short message service.
In a possible implementation manner, the electronic device establishes a communication connection in a frequency range outside a preset interference channel, and the method specifically includes: the electronic device establishes a communication connection on the 5GHz frequency band. Alternatively, the electronic device establishes a cellular communication connection. Or the electronic equipment establishes communication connection on channels except the preset interference channel on the 2.4GHz frequency band.
In a possible implementation manner, the electronic device controls the Wi-Fi chip to avoid the beidou short message chip, and the method specifically includes: the electronic equipment detects that the Wi-Fi chip receives or sends signals by using M antennas, wherein M is a positive integer larger than 1. The Wi-Fi chip receives or sends signals by using N antennas, wherein N is a positive integer smaller than M.
The more the number of the antennas used by the Wi-Fi service is, the greater the interference on the Beidou short message service is. Therefore, the influence of the Wi-Fi service on the Beidou short message service can be effectively reduced by reducing the number of antennas used by the Wi-Fi service.
In a possible implementation manner, the electronic device controls the Wi-Fi chip to avoid the beidou short message chip, and the method specifically includes: the Wi-Fi chip sends or receives signals by using an antenna which is farthest from the antenna of the Beidou short message chip in the Euclidean distance.
Therefore, the farther the distance between the antenna used by the Wi-Fi chip and the antenna used by the Beidou short message chip is, the higher the isolation between the antennas is. The higher the isolation between the antennas, the less interference is generated with each other. The influence of Wi-Fi service on the Beidou short message service can be effectively reduced by using the antenna which is farthest away from the antenna used by the Wi-Fi chip and the Beidou short message chip to work.
In one possible implementation, the Wi-Fi chip receives or transmits signals using N antennas, and the method specifically includes: the Wi-Fi chip sends or receives signals by using N antennas which are farthest from the antenna of the Beidou short message chip in Euclidean distance.
In a possible implementation manner, the electronic device controls the Wi-Fi chip to avoid the beidou short message chip, and the method specifically includes: and the Wi-Fi chip disconnects the communication connection on the preset interference channel. The electronic equipment establishes communication connection on channels except a preset interference channel on the 2.4GHz frequency band.
In a possible implementation manner, after the electronic device establishes a communication connection on a channel other than a preset interference channel on the 2.4GHz band, the method further includes: and the Wi-Fi chip sends or receives signals by using an antenna which is farthest from the antenna of the Beidou short message chip in Euclidean distance.
In a possible implementation manner, after the electronic device establishes a communication connection on a channel other than a preset interference channel on the 2.4GHz band, the method further includes: the electronic equipment detects that the Wi-Fi chip receives or sends signals by using M antennas, wherein M is a positive integer larger than 1. The Wi-Fi chip receives or sends signals by using N antennas, wherein N is a positive integer smaller than M.
In one possible implementation, the Wi-Fi chip receives or transmits signals using N antennas, and the method specifically includes: the Wi-Fi chip sends or receives signals by using N antennas which are farthest from the antenna of the Beidou short message chip in Euclidean distance.
Therefore, the interference of Wi-Fi service on the Beidou short message service can be further reduced by combining a plurality of avoidance schemes.
In a possible implementation manner, after the electronic device detects that the Wi-Fi chip operates on the preset interference channel, the method further includes: the Wi-Fi chip is reduced from a default transmit power (e.g., 16 dBm) to a preset operating power (e.g., 10 dBm).
In a possible implementation manner, the Wi-Fi chip can adjust the transmission power to the preset working power when the big dipper short message chip receives a signal, and work with the default transmission power at other times.
Therefore, the interference of the Wi-Fi service to the Beidou short message service can be reduced, and meanwhile, the influence of the Beidou short message service on the Wi-Fi service is reduced.
In a second aspect, the present application provides an electronic device comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors and the one or more memories are configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method of communication in any of the possible implementations of any of the aspects described above.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, which includes computer instructions, and when the computer instructions are executed on an electronic device provided in an embodiment of the present application, the electronic device is caused to perform a communication method in any one of the possible implementation manners of any one aspect.
In a fourth aspect, the present application provides a computer program product, which when run on an electronic device, causes the electronic device to execute the communication method in any one of the possible implementation manners of the foregoing aspect.
Drawings
Fig. 1 is a schematic view of a service area of a beidou short message satellite provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a connection scenario provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a frequency distribution provided in an embodiment of the present application;
fig. 4 is a schematic diagram of power reduction provided by an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure;
fig. 6 is a block diagram of a software structure of an electronic device 100 according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a chip system provided in an embodiment of the present application;
FIG. 8 is a schematic diagram of a Wi-Fi chip suspending operation according to an embodiment of the present disclosure;
fig. 9 is a flowchart of a communication method according to an embodiment of the present application;
fig. 10 is a flowchart of a communication method according to an embodiment of the present application;
fig. 11 is a flowchart of a communication method according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an antenna of an electronic device 100 according to an embodiment of the present disclosure;
fig. 13 is a flowchart of a communication method according to an embodiment of the present application;
fig. 14 is a flowchart of a communication method according to an embodiment of the present application;
fig. 15 is a schematic diagram of a chip system according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of another electronic device provided in the embodiment of the present application;
fig. 17 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described in detail and clearly with reference to the accompanying drawings. Wherein in the description of the embodiments of the present application, "/" indicates an inclusive meaning, for example, a/B may indicate a or B; the "and/or" in the text is only an association relation describing the association object, and indicates that three relations may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
The Beidou short message satellite comprises 3 geosynchronous orbit (GEO) satellites, 36000km from the ground, and the positions of the three satellites are respectively 80 degrees of east longitude, 110.5 degrees of east longitude and 140 degrees of east longitude. The Beidou short message satellite can ensure that the area in the rectangular frame shown in the figure 1 can receive the short message service through directional wave beams. The service types of the short message can include three types, namely short message communication, position reporting and emergency rescue. Wherein, the short message communication can be communicated with other devices under the condition of no network. Location reporting may be used to share location information. The emergency rescue can be directly connected with a national emergency rescue center to obtain emergency rescue service. The Beidou short message service needs the support of a Beidou system.
For example, fig. 2 is a schematic diagram illustrating a connection scenario in which the electronic device 100 accesses a beidou system according to an embodiment of the present application, where the scenario may include the electronic device 100 and a plurality of other devices (e.g., a beidou short message satellite, a receiving station/transmitting station, a data center, and the like). The electronic device 100 has a function of transmitting (receiving) a signal of the beidou short message. The inbound is a process in which the electronic device 100 sends a signal to a data center. First, the electronic device 100 sends a signal to the beidou short message satellite, which forwards the signal to a receiving station, which sends the signal to a data center for relevant processing (e.g., forwarding the signal to an operator network, etc.). Outbound is the process by which the data center sends signals to the electronic device 100. Wherein, data center can send the signal to the transmitting station, and the transmitting station sends for big dipper short message satellite, and big dipper short message satellite sends the signal to electronic equipment 100 again. Thus, the electronic device 100 can communicate with the beidou short message satellite through the beidou short message satellite.
Fig. 3 shows a schematic diagram of a frequency distribution provided by an embodiment of the present application. As shown in fig. 3, the frequency range of the beidou short message reception is 2.4835GHz to 2.5GHz. The frequency range of the 2.4GHz band of Wi-Fi is from 2.402GHz to 2.492GHz. The frequency range of the Wi-Fi 2.4GHz frequency band is crossed with the frequency range of the Beidou short message (as shown by a slash area in the figure), and signals of partial channels of the Wi-Fi 2.4GHz frequency band can interfere with the signals of the Beidou short message.
In a possible implementation manner, the electronic device 100 with the beidou short message function can reduce the transmission power of a partial channel of the Wi-Fi in the 2.4GHz band, and avoid affecting signals in the beidou short message band.
Fig. 4 is a schematic diagram of power reduction provided in an embodiment of the present application. Figure 4 shows the power droop for channel 11 and channel 13 in the 2.4GHz band for Wi-Fi under various test methods after adjustments to the Wi-Fi transmit power are made based on the requirements of the "Notification about adjusting the 2.4GHz band transmit power limit and related problems". When the radio management committee (uncommitted) test method is used, the transmission power of the channel 11 is reduced by 7.5dB and the transmission power of the channel 13 is reduced by 17.2dB under the condition that the test limit is-40 dBm/MHz. In order to avoid influence on the frequency band of the Beidou short message, the reduction amplitude of the transmitting power from the channel 11 to the channel 13 of the Wi-Fi 2.4GHz frequency band is larger than 7dB. Thus, the power reduction amplitude of a part of channels in the 2.4GHz frequency band of the Wi-Fi is too large. After the Beidou short message function is turned on, even if the electronic device 100 does not process the service of the Beidou short message, the transmission power of the Wi-Fi 2.4GHz frequency band is still in a greatly reduced state, and the quality of the signal of the Wi-Fi 2.4GHz frequency band sent or received by the electronic device 100 is seriously affected. Therefore, as long as the Beidou short message function of the electronic equipment 100 is turned on, the transmission power of signals of 2.4GHz frequency band of Wi-Fi of the electronic equipment 100 is reduced to ensure that the Beidou short message is not influenced, and the communication performance of the Wi-Fi is seriously influenced.
The embodiment of the application provides a communication method. When the electronic device 100 detects that the Wi-Fi chip and the beidou short message chip work simultaneously, if the electronic device 100 detects that the Wi-Fi service interferes with the beidou short message service, that is, when the electronic device 100 detects that the working frequency of the Wi-Fi chip is within the frequency range of a preset interference channel (for example, channel 9-channel 13 of 2.4GHz frequency band of Wi-Fi), the electronic device 100 may execute one or more of the following avoidance schemes for avoiding the beidou short message chip by the Wi-Fi chip. Wherein, the avoidance scheme may include: (1) The Wi-Fi chip suspends work when the Beidou short message chip sends or receives signals. (2) The frequency of operation of the communication connection used by the Wi-Fi service of the electronic device 100 is switched. (3) And switching the antenna used by the Wi-Fi chip, namely switching the antenna used by the Wi-Fi chip to the antenna which is farthest away from the antenna used by the Beidou short message chip. (4) When the Wi-Fi chip uses two or more antennas to send and receive signals, the antennas used by the Wi-Fi chip are reduced. Therefore, the electronic device 100 can reduce the mutual influence of the Wi-Fi 2.4GHz frequency band signal and the Beidou short message signal, and improve the working performance of the Beidou short message chip.
The electronic device provided by the embodiment of the application is described below.
The electronic device 100 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) device, a Virtual Reality (VR) device, an Artificial Intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device, and/or a smart city device, and the specific type of the electronic device is not particularly limited by the embodiments of the present application.
Fig. 5 shows a schematic structural diagram of the electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like. The electronic device 100 may also include a Beidou communication module 155. Optionally, the electronic device 100 may further comprise an antenna 3.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Further, the processor 110 may further include a beidou short message processor. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface. The interface may further include a high-speed serial component interconnect express (PCIE), a Secure Digital Input and Output (SDIO), and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In other embodiments, the power management module 141 may be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the antenna 3, the mobile communication module 150, the beidou communication module 155, the wireless communication module 160, the modem processor, the baseband processor, and the like.
The antennas 1, 2 and 3 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch. Two or more of the antennas 1, 2 and 3 may be multiplexed by the same antenna.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The beidou communication module 155 may be used for the electronic device 100 to communicate with a beidou system. The Beidou communication module 155 can provide services such as short message communication, position reporting, emergency rescue and the like. The beidou communication module 155 may be one or more devices integrating at least one communication processing module. The Beidou communication module 155 receives electromagnetic waves via the antenna 3, performs frequency modulation and filtering processing on electromagnetic wave signals, and sends the processed signals to the processor 110. The beidou communication module 155 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 3 to radiate the electromagnetic waves. Optionally, the beidou communication module 155 may include a Global Navigation Satellite System (GNSS), which may include a global positioning system GPS, a global navigation satellite system GLONASS, a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and/or a Satellite Based Augmentation System (SBAS).
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wi-Fi networks), bluetooth (bluetooth, BT), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, portions of the wireless communication module 160 and portions of the processing unit in the processor 110 are coupled together to form a Wi-Fi chip. The Beidou communication module 155 and a part of processing units in the processor 110 are coupled together to form a Beidou short message chip.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, antenna 2 is coupled to wireless communication module 160, and antenna 1 or antenna 3 is coupled to beidou communication module 155, so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), general Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external nonvolatile memory to extend the storage capability of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are saved in an external nonvolatile memory.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 810 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into analog audio signals for output, and also used to convert analog audio inputs into digital audio signals.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into a sound signal.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals.
When the pressure sensor 180A is used to sense a pressure signal, the pressure signal may be converted into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a hall sensor, and the opening and closing of the flip holster can be detected by the magnetic sensor 180D. The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). A distance sensor 180F for measuring a distance. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen. The ambient light sensor 180L is used to sense the ambient light level. The fingerprint sensor 180H is used to collect a fingerprint. The temperature sensor 180J is used to detect temperature. The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operations may be provided via the display screen 894. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194. The bone conduction sensor 180M may acquire a vibration signal. The keys 190 include a power-on key, a volume key, and the like. Motor 198 may generate a vibration cue. Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc. The SIM card interface 195 is used to connect a SIM card.
The following describes a software structure diagram of an electronic device provided in an embodiment of the present application.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention uses an Android system with a layered architecture as an example to exemplarily illustrate a software structure of the electronic device 100.
Fig. 6 is a block diagram of the software configuration of the electronic device 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 6, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 6, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
Content providers are used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions for the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a brief dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver. Wherein, the inner nuclear layer can also comprise an avoidance module. The avoidance module is used for executing the avoidance method provided by the embodiment of the application. It should be noted that the avoidance module may also be located in other layers, which is not limited herein.
The following describes exemplary workflow of the software and hardware of the electronic device 100 in connection with capturing a photo scene.
When the touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 193.
A chip system 700 provided by an embodiment of the present application is described next.
Illustratively, as shown in fig. 7, the chip system 700 may include: the system comprises an application processor 701, a Beidou short message chip 702 and a Wi-Fi chip 703. The chip system 700 may be applied to the electronic device 100. The electronic apparatus 100 may execute the avoidance scheme (1) to the avoidance scheme (4) based on the chip system 700. Wherein:
the application processor 701 of the electronic device 100 may communicate with the beidou short message chip 702 through an interface (e.g., PCIE). The application processor 701 of the electronic device 100 may also communicate with the Wi-Fi chip 703 via an interface (e.g., PCIE, SDIO). The big dipper short message chip 702 and the Wi-Fi chip 703 may communicate through an interface (e.g., UART).
The application processor 701 may be configured to detect whether the beidou short message chip 702 and the Wi-Fi chip 703 are operating simultaneously.
For example, the application processor 701 may detect that the Wi-Fi chip and the beidou short message chip are working simultaneously by using the following methods: (1) After receiving the input of the user for turning on the Wi-Fi function and the beidou short message function, the electronic device 100 determines that the Wi-Fi chip 703 and the beidou short message chip 702 work simultaneously before receiving the input of the user for turning off the Wi-Fi function or the beidou short message function. (2) The big dipper short message chip and Wi-Fi chip can send the information of beginning work to electronic equipment 100 when beginning work. When the job is ended, information for ending the job is transmitted to the electronic apparatus 100. When the electronic device 100 receives information that the Wi-Fi chip and the beidou short message chip start to work and does not receive information that the Wi-Fi chip or the beidou short message chip finishes working, it is determined that the Wi-Fi chip 703 and the beidou short message chip 702 work simultaneously. (3) The electronic device 100 may acquire the operating states of the Wi-Fi chip and the beidou short message chip at a preset time interval (e.g., 1 ms). When the electronic device 100 detects that both the Wi-Fi chip and the Beidou short message chip work, an avoidance scheme is executed.
It should be noted that the above methods for detecting whether the beidou short message chip 702 and the Wi-Fi chip 703 operate simultaneously are only some examples provided in the embodiments of the present application. In practical application, the electronic device 100 may also detect whether the beidou short message chip 702 and the Wi-Fi chip 703 operate simultaneously through other methods, which is not limited herein.
When the application processor 701 determines that the big dipper short message chip 702 and the Wi-Fi chip 703 work simultaneously, the Wi-Fi chip 703 may execute one or more of the avoidance schemes (1) to (4) when detecting that the Wi-Fi chip 703 works in a preset interference channel.
After the application processor 701 determines that the beidou short message chip 702 and the Wi-Fi chip 703 work simultaneously, the application processor 701 may send a first avoidance notification to the Wi-Fi chip 703. The first avoidance notification may be used to trigger the Wi-Fi chip 703 to detect whether the Wi-Fi chip 703 operates on a predetermined interference channel (e.g., channel 9-channel 13 in the 2.4GHz band).
Specifically, when the Wi-Fi chip 703 detects that the Wi-Fi chip is working on a preset interference channel, the Wi-Fi chip 703 may execute an avoidance scheme. For example, the Wi-Fi chip 703 may suspend sending Wi-Fi signals when the beidou short message chip 702 receives signals. Alternatively, the Wi-Fi chip 703 may switch the frequency range in which the communication connection for Wi-Fi traffic operates, and so on.
Optionally, the Wi-Fi chip 703 may further detect whether the Wi-Fi chip 703 operates in a preset interference channel through the beidou short message chip 702. For example, after receiving the first avoidance notification, the Wi-Fi chip 703 may send the working frequency band information to the beidou short message chip 702, and the beidou short message chip 702 may notify the Wi-Fi chip 703 to suspend sending the Wi-Fi signal when determining that the Wi-Fi chip 703 is working on the preset interference channel based on the frequency band information and when receiving the beidou signal.
In a possible implementation manner, after the application processor 701 determines that the beidou short message chip 702 and the Wi-Fi chip 703 work simultaneously, the application processor 701 may further be configured to detect whether the Wi-Fi chip 703 works in a preset interference channel. When the application processor 701 detects that the Wi-Fi chip 703 operates on a preset interference channel, the Wi-Fi chip 703 may be notified to execute one or more of the avoidance schemes (1) to (4) described above.
Optionally, the application processor 701 may also be configured to determine priorities of a beidou short message service and a Wi-Fi service.
The application processor 701 may determine the priority levels of the Wi-Fi service and the beidou short message service according to pre-stored priority level information (for example, table 2) of the Wi-Fi service and the short message service.
If the application processor 701 determines that the Beidou short message service priority is higher than the Wi-Fi service, the application processor 701 may send a Beidou priority start notification to the Wi-Fi chip 703, and the Wi-Fi chip 703 may send the Beidou priority start notification to the Beidou short message chip 702. The Wi-Fi chip 703 avoids the Beidou short message chip 702. When the big dipper short message service or the Wi-Fi service is changed, the application processor 701 can send a big dipper priority end notification to the Wi-Fi chip 703, the Wi-Fi chip 703 can send the big dipper priority end notification to the big dipper short message chip 702, and the Wi-Fi chip 703 works with default power.
If the application processor 701 determines that the priority of the beidou short message service is lower than that of the Wi-Fi service, the application processor 701 may send a Wi-Fi priority start notification to the Wi-Fi chip 703, and the Wi-Fi chip 703 may send the Wi-Fi priority start notification to the beidou short message chip 702. The big dipper short message chip 702 dodges the Wi-Fi chip 703. When the big dipper short message service or the Wi-Fi service changes, the application processor 701 may send a Wi-Fi priority end notification to the Wi-Fi chip 703, the Wi-Fi chip 703 may send the Wi-Fi priority end notification to the big dipper short message chip 702, and the big dipper short message chip 702 operates at a default power.
The big dipper short message chip 702 may be used for communicating with a big dipper short message satellite. The Beidou short message chip 702 can also pause receiving the Beidou signal when the Wi-Fi chip 703 sends a signal after receiving the Wi-Fi priority start notification. When the Wi-Fi chip 703 receives a signal, the Beidou signal is suspended from being transmitted. The Beidou short message chip 702 can also judge whether the Wi-Fi chip 703 works in a preset interference channel when receiving frequency band information sent by the Wi-Fi chip 703. When the Beidou short message chip 702 judges that the Wi-Fi chip 703 works in a preset interference channel, the Beidou short message chip can inform the Wi-Fi chip 703 to suspend sending Wi-Fi signals when receiving Beidou signals. And the Wi-Fi chip 703 can be informed to suspend receiving Wi-Fi signals when the Beidou signal is sent.
The Wi-Fi chip 703 may be used to establish a Wi-Fi connection with an Access Point (AP) device and transmit data with the AP device via an antenna. The Wi-Fi chip 703 may also establish a Wi-Fi connection with other Station (STA) devices after starting the Wi-Fi hotspot function, and transmit data of the Wi-Fi hotspot mode service through the antenna and the STA devices. The Wi-Fi chip 703 may also operate in a Multiple Input Multiple Output (MIMO) mode, and receive and transmit signals through multiple antennas. The Wi-Fi chip can also work in a Single Input Single Output (SISO) mode, and receive and transmit signals through one antenna. The Wi-Fi chip 703 may also operate in a Dual Band Adaptive Concurrent (DBAC) mode, that is, a Wi-Fi connection in a 2.4GHz band and a Wi-Fi connection in a 5GHz band are established at the same time, and the Wi-Fi chip 703 may transmit or receive signals in the two bands.
The Wi-Fi chip 703 may also simultaneously operate in a DBAC mode and a MIMO mode, that is, a Wi-Fi connection in a 2.4GHz band and a Wi-Fi connection in a 5GHz band are simultaneously established, and the Wi-Fi chip 703 may transmit or receive signals in the two bands by using a plurality of antennas. The Wi-Fi chip 703 may also operate in a DBAC mode and a SISO mode simultaneously, that is, a Wi-Fi connection in a 2.4GHz band and a Wi-Fi connection in a 5GHz band are established simultaneously, and the Wi-Fi chip 703 may transmit or receive signals in both bands using one antenna.
The Wi-Fi chip 703 can also detect whether the Wi-Fi chip 703 is operating on a preset interference channel.
The Wi-Fi chip 703 may execute a plurality of avoidance schemes provided in the embodiment of the present application when detecting that the Wi-Fi chip 703 operates in a preset interference channel:
(1) The Wi-Fi chip 703 can send the frequency band information of Wi-Fi work to the Beidou short message chip 702. The Wi-Fi chip 703 is detected to work in a preset interference channel through the Beidou short message chip 702. The Wi-Fi chip 703 can suspend sending Wi-Fi signals when the Beidou short message chip 702 detects that the Wi-Fi chip 703 works in a preset interference channel and the Beidou short message chip receives Beidou signals. Further, the Wi-Fi chip 703 may suspend receiving the Wi-Fi signal when the big dipper short message chip sends the big dipper signal.
In this way, the beidou short message chip and the Wi-Fi chip of the electronic device 100 may exchange service information (e.g., a Wi-Fi priority start notification, a Wi-Fi priority end notification, frequency band information, a first avoidance suspension notification, a second avoidance suspension notification, etc.) quickly through the interface, and perform an avoidance operation more quickly.
(2) The Wi-Fi chip 703 may disconnect a Wi-Fi connection on a preset interference channel, establish a communication connection in a frequency range other than the preset interference channel, and receive or transmit a signal of a Wi-Fi service through the newly established communication connection.
(3) The Wi-Fi chip 703 may switch the antenna used to the antenna that is the farthest from the antenna used by the beidou short message chip 702.
(4) When the Wi-Fi chip 703 detects that the Wi-Fi chip 703 uses at least two antennas to transmit or receive Wi-Fi signals, the number of antennas used can be reduced.
Optionally, the Wi-Fi chip 703 may also reduce the transmit power. Further, the Wi-Fi chip 703 can reduce the transmission power of the Wi-Fi chip 703 and reduce the influence of the Wi-Fi service on the beidou short message service while executing the avoidance scheme.
In a possible implementation manner, when the big dipper short message chip 702 receives the big dipper signal, the transmission power of the Wi-Fi chip 703 is reduced. At times other than when the big dipper short message chip 702 receives the big dipper signal, the Wi-Fi chip 703 operates at a default power.
The Wi-Fi chip 703 may send the Wi-Fi priority start notification to the beidou short message chip 702 after receiving the Wi-Fi priority start notification. The Wi-Fi chip 703 can also inform the Beidou short message chip 702 to suspend receiving Beidou signals when sending Wi-Fi signals. When the Wi-Fi signal is received, the Beidou short message chip 702 is informed to suspend sending the Beidou signal.
In the chip system 700, messages between the Wi-Fi chip 703 and the beidou short message chip 702 can be forwarded through the application processor 701.
In this way, the electronic device 100 may reduce the mutual influence between the Wi-Fi service and the beidou short message service through the chip system 700.
An avoidance scheme provided by an embodiment of the present application will be described with reference to fig. 8-9. The avoidance scheme is the scheme that the Wi-Fi chip stops working during the period of transmitting and receiving signals by the Beidou short message chip.
In a possible implementation manner, when the electronic device 100 detects that both the Wi-Fi chip and the beidou short message chip are in the working state, if the electronic device 100 detects that the working frequency of the Wi-Fi chip is within the frequency range of the preset interference channel, the Wi-Fi chip of the electronic device 100 may stop working when the beidou short message chip sends or receives a signal. The Wi-Fi chip of the electronic device 100 may operate at a default transmit power (e.g., 16 dBm) when the beidou short message chip is not transceiving a signal.
In some possible embodiments, the Wi-Fi chip of the electronic device 100 may stop receiving signals during the transmission (Tx) of the beidou short message chip. The Wi-Fi chip can stop sending signals during the period that the Beidou short message chip receives (Rx) signals.
Optionally, the Wi-Fi chip of the electronic device 100 may stop sending the signal during the period when the beidou short message chip receives the signal. And when the Beidou short message chip does not receive signals, the Beidou short message chip works at the default transmitting power.
In some possible application scenarios, the beidou short message chip may send information that the beidou short message chip starts to receive signals, for example, a beidou Rx reception start notification (also referred to as a beidou Rx start notification), to the Wi-Fi chip when the beidou short message chip starts to receive signals. And when the Wi-Fi chip receives the Beidou Rx start notice, the Wi-Fi signal can be suspended from being sent. The big dipper short message chip can send the information that the big dipper short message chip finishes receiving the signal to the Wi-Fi chip when finishing receiving the signal, for example, a big dipper Rx reception finish notification (also called big dipper Rx finish notification). And when the Wi-Fi chip receives the Beidou Rx end notification, the Wi-Fi signal can be sent.
Further, the big dipper short message chip may send information that the big dipper short message chip starts sending a signal to the Wi-Fi chip when starting sending a signal, for example, a big dipper Tx sending start notification (also called big dipper Tx start notification, big dipper sending start communication Hi). And when the Wi-Fi chip receives the Beidou Tx starting notice, the Wi-Fi chip can suspend receiving of Wi-Fi signals. The big dipper short message chip can send the information that the big dipper short message chip finishes sending the signal, for example, big dipper Tx sends an end notice (also called big dipper Tx end notice, big dipper send end notice) to the Wi-Fi chip when finishing sending the signal. And when the Wi-Fi chip receives the Beidou Tx end notice, the Wi-Fi chip can start to receive Wi-Fi signals.
Illustratively, as shown in fig. 8. Fig. 8 illustrates a method for suspending operation of a Wi-Fi chip according to an embodiment of the present application.
When the Beidou short message chip receives signals, a Beidou Rx start notice can be sent to the Wi-Fi chip to inform the Wi-Fi chip that the Beidou short message chip is receiving the signals. And the Wi-Fi chip stops sending signals during the time window of the Beidou short message chip for receiving the signals until the Beidou short message chip finishes receiving the signals. After the big dipper short message chip receives the signal, a big dipper Rx completion notice can be sent to the Wi-Fi chip to inform the big dipper short message chip of completing the service of receiving the signal. And after the Wi-Fi chip receives the Beidou Rx completion notice, the Wi-Fi chip starts to send signals. This operation of the Wi-Fi chip being forced idle during the beidou short message chip receiving signal may be referred to as transmit pause (TxBlank).
When the big dipper short message chip is sending signals, can send big dipper Tx to the Wi-Fi chip and send the beginning notice, tell it that big dipper short message chip is sending signals. And the Wi-Fi chip stops receiving signals during the time window when the Beidou short message chip sends the signals until the Beidou short message chip sends the signals. After the big dipper short message chip sends the signal, a big dipper Tx end notice can be sent to the Wi-Fi chip to inform the big dipper short message chip of the completion of the service of sending the signal. And after the Wi-Fi chip receives the Beidou Tx end notification, the Wi-Fi chip starts to receive signals. This operation of the Wi-Fi chip being forced to idle during the period of the beidou short message chip sending a signal may be referred to as receive suspend (RxSuspend).
When the Beidou short message chip sends a signal, the sending operation of the Wi-Fi chip is not influenced. When the Beidou short message chip receives signals, the receiving operation of the Wi-Fi chip is not influenced.
Optionally, the beidou short message chip may send a first pause avoidance notification (e.g., a beidou Tx start notification) to the Wi-Fi chip through the application processor.
Therefore, the Wi-Fi chip can pause signal receiving during the Beidou short message sending period, pause signal sending during the Beidou short message chip signal receiving period, work at normal power in the Beidou short message receiving or data sending interval, and guarantee normal operation of the Beidou short message service and the Wi-Fi service under the condition that the power of the Wi-Fi is not greatly reduced and the performance of the Beidou short message service is not lost.
In a possible implementation manner, when the Wi-Fi chip and the beidou short message chip of the electronic device 100 are in a working state, the electronic device 100 may determine whether the Wi-Fi service may interfere with the beidou short message service through the beidou short message chip. The Wi-Fi chip can send working frequency band information (the frequency band information comprises a frequency point and a bandwidth) to the Beidou short message chip. The Beidou short message chip can judge whether the Wi-Fi service interferes with the Beidou short message service or not based on the received frequency band information. When the Beidou short message chip judges that the Wi-Fi service can interfere with the Beidou short message service, a first pause avoidance notification can be sent to the Wi-Fi chip when the signal is received and sent. The first pause avoidance notification comprises a big dipper Tx starting notification, a big dipper Tx ending notification, a big dipper Rx starting notification and a big dipper Rx ending notification. The Wi-Fi chip can execute corresponding avoidance operation based on the received first pause avoidance notification.
The Beidou short message chip judges whether the Wi-Fi service can interfere with the Beidou short message service or not based on the received frequency band information, whether the working frequency of the Wi-Fi chip of the received frequency band information is within the frequency range of a preset interference channel or not can be detected, if the working frequency of the Wi-Fi chip is judged to be within the frequency range of the preset interference channel based on the received frequency band information, the Beidou short message chip judges that the Wi-Fi service can interfere with the Beidou short message service, and a first pause avoidance notification is sent to the Wi-Fi chip. And if the Beidou short message chip detects that the working frequency of the Wi-Fi chip is not in the frequency range of the preset interference channel, judging that the Wi-Fi service does not interfere with the Beidou short message service, and not sending a first pause avoidance notification.
In one possible implementation manner, after receiving the first pause avoidance notification, the Wi-Fi chip may execute a corresponding avoidance operation based on the received first pause avoidance notification. For example, the Wi-Fi chip may suspend receiving signals when receiving the beidou Tx start notification and continue receiving signals after receiving the beidou Tx end notification. And when receiving the beginning notification of the Beidou Rx, suspending sending signals, and when receiving the ending notification of the Beidou Rx, continuing sending signals.
In another possible implementation manner, after receiving the first avoidance suspending notification, the Wi-Fi chip may execute a corresponding avoidance operation based on the received first avoidance suspending notification and the channel of the Wi-Fi operation.
For example, when the Beidou short message chip judges that the Wi-Fi service interferes with the Beidou short message service by detecting whether the working frequency of the Wi-Fi chip of the received frequency band information is within the frequency range of a preset interference channel, a first pause avoidance notification is sent to the Wi-Fi chip. When the Wi-Fi chip detects that the Wi-Fi works in a preset adjacent channel (for example, a channel 11 to a channel 13 of Wi-Fi 2.4 GHz), the Wi-Fi chip can pause signal receiving when receiving a Beidou Tx starting notice and continue signal receiving after receiving a Beidou Tx ending notice. And the sending of the signals is suspended when the Beidou Rx starting notice is received, and the signals are continuously sent when the Beidou Rx ending notice is received. When the Wi-Fi chip detects that the Wi-Fi operates on a preset intermediate channel (e.g., channel 9 to channel 10 of Wi-Fi 2.4 GHz), the Wi-Fi chip may operate with a reduced transmit power (e.g., the transmit power of the Wi-Fi chip is reduced from the default transmit power of 16dBm to 10 dBm) when receiving the beidou Tx start notification or the beidou Rx start notification, and operate with the default transmit power (e.g., 16 dBm) when receiving the beidou Tx end notification or the beidou Rx end notification.
Wherein the preset interference channel, the preset adjacent channel and the preset intermediate channel may be stored in a memory of the electronic device 100. Therefore, the Wi-Fi chip can select a proper avoidance mode based on a working channel of the Wi-Fi chip, and the mutual influence of the Beidou short message service and the Wi-Fi service is reduced.
In some possible application scenarios, the electronic device 100 stores preset indication information. The preset indication information comprises information whether the service of the Beidou short message chip is interfered when the Wi-Fi chip works in different channels of a 2.4GHz frequency band. The preset indication information also comprises operation information executed when the Beidou short message chip sends or receives signals when the Wi-Fi chip works in different channels.
Firstly, after the Beidou short message chip receives frequency band information of the Wi-Fi chip, whether the service of the Wi-Fi chip interferes with the Beidou short message service is judged based on preset indication information and the received frequency band information. When the Beidou short message chip judges that the Wi-Fi service can interfere with the Beidou short message service based on the preset indication information and the frequency band information, a first pause avoidance notification can be sent to the Wi-Fi chip. The Wi-Fi chip can execute corresponding operations (such as pause receiving, pause sending, power reduction and the like) based on the first pause avoidance notification and the preset indication information after receiving the first pause avoidance notification sent by the Beidou short message chip. Wherein the preset indication information may be stored in a memory. For example, the preset indication information may refer to table 1 shown below.
Table 1: preset indication information table
Figure BDA0003087773630000161
As shown in table 1, when the Wi-Fi chip operates on a preset remote channel (for example, channel 1-channel 8) in the 2.4GHz band, the Wi-Fi service does not affect the beidou short message service, and the Wi-Fi chip may operate at a default power (for example, 16 dBm). When the Wi-Fi chip works in a preset middle channel (for example, a channel 9-a channel 10) of a 2.4GHz frequency band, the Wi-Fi service can affect the Beidou short message service, and the Wi-Fi chip can reduce the transmission power (for example, the power is reduced by 6 dB) when the Beidou short message chip receives signals. When the Wi-Fi chip works in a preset adjacent channel (for example, the channel 11-the channel 13) of a 2.4GHz frequency band, the Wi-Fi service can affect the Beidou short message service, and the Wi-Fi chip can pause signal transmission when the Beidou short message receives signals. The Wi-Fi chip can pause receiving signals when the Beidou short message sends signals.
Illustratively, the Beidou short message chip may send a first pause avoidance notification to the Wi-Fi chip when it is determined that the Wi-Fi chip may affect the Beidou short message service based on the frequency band information sent by the Wi-Fi chip and the preset indication information shown in table 1. The Wi-Fi chip can judge the executed operation based on the first pause avoidance notice, the preset indication information and the channel used by the Wi-Fi chip. For example, after the Wi-Fi chip receives the big dipper Tx start notification sent by the big dipper short message chip, the Wi-Fi chip may perform an operation of suspending receiving signals based on the big dipper Tx start notification, table 1, and the channel (e.g., channel 12) on which the Wi-Fi operates. For another example, after the Wi-Fi chip receives the beidou Tx start notification sent by the beidou short message chip, the Wi-Fi chip may operate at a default power (e.g., 16 dBm) based on the beidou Tx start notification, table 1, and the channel on which the Wi-Fi operates (e.g., channel 10). For another example, after the Wi-Fi chip receives the beidou Rx start notification sent by the beidou short message chip, the Wi-Fi chip may operate at a reduced power (e.g., reduced to 10 dBm) based on the beidou Rx start notification, table 1, and the channel (e.g., channel 10) on which the Wi-Fi operates. For example, after the Wi-Fi chip receives the beidou Rx start notification sent by the beidou short message chip, the Wi-Fi chip may perform the operation of suspending sending signals based on the beidou Rx start notification, table 1 and the channel (e.g., channel 12) on which the Wi-Fi works.
Optionally, the Beidou short message chip may send a first pause avoidance notification to the Wi-Fi chip only when receiving a signal when it is determined that the Wi-Fi service may interfere with the Beidou short message service based on the preset indication information and the frequency band information of the Wi-Fi chip. And when the signal is sent, not sending a first pause avoidance notice to the Wi-Fi chip. The preset indication information also does not include the operation which can be executed by the Wi-Fi chip when the Beidou short message chip sends a signal. Therefore, the influence on the Wi-Fi service can be further reduced while the Beidou short message service is not influenced.
In a possible implementation manner, the electronic device 100 may determine the priority of the beidou short message service and the priority of the Wi-Fi service when detecting that the beidou short message chip and the Wi-Fi chip both work and the Wi-Fi chip works on a preset interference channel. The electronic device 100 may control the chip of the traffic of lower priority to perform a back-off operation (e.g., suspend reception, suspend transmission, reduce power, etc.) while the chip of the traffic of higher priority transmits or receives a signal based on the result of the priority. Wherein the step of priority detection may be performed by the application processor.
In some possible embodiments, if the electronic device 100 detects that the Wi-Fi service has a higher priority than the beidou short message service, a Wi-Fi priority start notification may be sent to the Wi-Fi chip. After receiving the Wi-Fi priority start notification, the Wi-Fi chip can work at default power and send the Wi-Fi priority start notification to the Beidou short message chip. Thereafter, the Wi-Fi chip may send a second avoidance pause notification (e.g., a Wi-Fi chip Tx start notification, a Wi-Fi chip Tx end notification, a Wi-Fi chip Rx start notification, a Wi-Fi chip Rx end notification) to the big-dipper short message chip when sending or receiving a signal. And after the Beidou short message chip receives the Wi-Fi priority information sent by the Wi-Fi chip, when a second suspension avoidance notice sent by the Wi-Fi chip is received, executing corresponding avoidance operation. When the Wi-Fi service or the Beidou short message service is changed, the electronic device 100 sends a Wi-Fi priority end notification to the Wi-Fi chip. The Wi-Fi chip does not send a pause avoidance notification to the Beidou short message chip any longer and sends the Wi-Fi priority end notification to the Beidou short message chip. And after the Beidou short message chip receives the Wi-Fi priority end notification, ending the avoidance operation. The Wi-Fi priority start notification can be used for indicating the Beidou short message service to avoid the Wi-Fi service.
For example, after the electronic device 100 detects that the priority of the Wi-Fi service is higher than that of the beidou short message service, the beidou short message chip receives the notification that the Wi-Fi service starts preferentially. If the Beidou short message chip receives the start notice of the Rx of the Wi-Fi chip, the Beidou short message chip suspends sending signals until the Beidou short message chip receives the end notice of the Rx of the Wi-Fi chip. If the Beidou short message chip receives the start notice of the Tx of the Wi-Fi chip, the Beidou short message chip suspends receiving signals until the Beidou short message chip receives the end notice of the Tx of the Wi-Fi chip. And after the Beidou short message chip receives the Wi-Fi priority end notification, ending the avoidance operation.
Optionally, the electronic device 100 may send a Wi-Fi priority start notification and a Wi-Fi priority end notification to the Wi-Fi chip and the beidou short message chip at the same time.
If the electronic device 100 detects that the priority of the Wi-Fi service is lower than that of the Beidou short message service, a Beidou priority start notification can be sent to the Wi-Fi chip. And after receiving the Beidou priority start notification, the Wi-Fi chip sends the Beidou priority start notification to the Beidou short message chip. The big dipper short message chip and the Wi-Fi chip can execute the one or more avoidance operations after receiving the big dipper priority start information, for example, the Wi-Fi chip sends frequency band information to the big dipper short message chip, the big dipper short message chip judges whether the Wi-Fi service interferes with the big dipper short message service based on the frequency band information, and sends a first pause avoidance notification to the Wi-Fi chip when judging that the Wi-Fi service can interfere with the big dipper short message service, and the Wi-Fi chip executes corresponding avoidance operations based on the first pause avoidance notification and a working channel. When the big dipper short message service or the Wi-Fi service is changed, the electronic device 100 sends a big dipper priority end notification to the Wi-Fi chip. And the Wi-Fi chip sends a Beidou priority completion notice to the Beidou short message chip. After receiving the Beidou priority completion notification, the Beidou short message chip does not send a pause avoidance notification to the Wi-Fi chip. Optionally, the electronic device 100 may send a Beidou first start notification and a Beidou first end notification to the Wi-Fi chip and the Beidou short message chip at the same time.
In other possible embodiments, the electronic device 100 may be preset as a default beidou short message service priority. When the electronic device 100 detects that the Wi-Fi chip and the Beidou short message chip work simultaneously and the Wi-Fi chip works in the preset interference channel, the Wi-Fi chip of the electronic device 100 avoids the Beidou short message chip. When the electronic device 100 judges that the Wi-Fi service priority is higher than the Beidou short message service, a Wi-Fi priority start notification and a Wi-Fi priority end notification are sent to the Wi-Fi chip and the Beidou short message chip, and the Beidou short message chip avoids the Wi-Fi chip during the Wi-Fi service priority period. For example, during the Wi-Fi service priority period, the Wi-Fi chip may send a second pause avoidance notification to the big dipper short message chip, the big dipper short message chip pauses to receive the big dipper signal when the Wi-Fi chip sends a signal based on the second pause avoidance notification, and pauses to send the big dipper signal when the Wi-Fi chip receives the signal.
When the electronic device 100 determines that the beidou short message service is preferred, the electronic device 100 may not send the beidou preference start notification, that is, when the electronic device 100 detects that the Wi-Fi chip and the beidou short message chip are simultaneously working, the Wi-Fi service avoids the beidou short message service. For example, the Wi-Fi chip can pause receiving Wi-Fi signals when the Beidou short message chip sends signals, and pause sending Wi-Fi signals when the Beidou short message chip receives signals. Optionally, the step of determining the priority may be completed by the application processor, the application processor sends a Wi-Fi priority start notification or a Wi-Fi priority end notification to the Wi-Fi chip, and the Wi-Fi chip sends a Wi-Fi priority start notification or a Wi-Fi priority end notification to the beidou short message chip. Or the application processor sends the Wi-Fi priority start notification or the Wi-Fi priority end notification to the Wi-Fi chip and the Beidou short message chip simultaneously.
Therefore, the Wi-Fi service priority is higher than the Beidou short message service priority, so that the Beidou short message service priority in the electronic equipment 100 is preset, the operation that the Wi-Fi chip avoids the Beidou short message chip can be executed before the electronic equipment 100 judges that the Beidou short message service priority is higher than the result of the Wi-Fi service, and the Beidou short message service is further prevented from being influenced by the Wi-Fi service.
The electronic device 100 may pre-store the priorities of the Beidou short message service and the Wi-Fi service, and then determine whether the Beidou short message service has a higher priority or the Wi-Fi service has a higher priority according to the preset priority.
For example, the electronic device 100 may preset the highest priority of the emergency rescue service in the beidou short message service and the second priority of the connection intelligent device service in the Wi-Fi service. And the priority of other Beidou short message services or Wi-Fi services is reduced in sequence. The electronic apparatus 100 may store the preset priorities of the respective services in the memory. When the electronic device 100 detects that the Wi-Fi chip and the Beidou short message chip work simultaneously, the electronic device 100 detects that the service executed by the Beidou short message chip is an emergency rescue service, and the service executed by the Wi-Fi chip is a connection intelligent device service. And obtaining that the Beidou short message service priority is higher than the Wi-Fi service based on the preset priority.
In some possible embodiments, the electronic device 100 may preset a score for both the beidou short message service and the Wi-F service, and then determine the priority level according to the score. Wherein the higher the score the higher the traffic priority. Optionally, when the score of the service of the big dipper short message chip is the same as the score of the service of the Wi-Fi chip, it is determined that the priority of the service executed by the big dipper short message chip is higher. Wherein the score may be stored in a memory of the electronic device 100. Wherein, the corresponding relation between the service and the score can be represented in the form of a configuration file.
Illustratively, table 2 shows corresponding scores for different beidou short message services and Wi-Fi services. The electronic device 100 may obtain, through the lookup table 2, a plurality of services of the beidou short message chip and a score corresponding to each service, and also a plurality of services of the Wi-Fi chip and a score corresponding to each service.
The service of the big dipper short message chip may include: flight mode, idle (idle) state, search (searching) state, short message communication, location reporting, emergency rescue message, and the like. The score of the flight mode may be 1, the score of the idle state may be 80, the score reported by the location may be 80, and the like.
The service of the Wi-Fi chip can comprise the following steps: an airplane mode, a standby state, wi-Fi scanning, location Based Services (LBS) assisted positioning, wi-Fi talking, signal networking, wi-Fi hotspot mode, and the like. Where the standby state may score 60, the wi-Fi hotspot pattern may score 68, the smart device connected may score 85, and so on.
TABLE 2
Big dipper short message service Score of Wi-Fi services Score of
Flight mode 1 Flight mode 0
Idle State (Idle) 80 Standby 60
Searching state (Searching) 70 Wi-Fi scanning 71
Short message communication 100 LBS assisted positioning 72
Location reporting 80 Vowi-Fi call 73
Emergency rescue message 100 Data networking 74
Wi-Fi hotspot 68
Wireless screen 75
P2P file sharing 69
Connecting intelligent equipment 85
When the electronic device 100 detects that the Wi-Fi chip and the Beidou short message chip work simultaneously, if the electronic device 100 detects that the service executed by the Beidou short message chip is an emergency rescue service, the service executed by the Wi-Fi chip is a connection intelligent device service. And obtaining the score of the Beidou short message service based on the preset service score, wherein the score is higher than the Wi-Fi service, and the Beidou short message service priority can be judged to be higher than the Wi-Fi service. If the electronic device 100 detects that the service executed by the Beidou short message chip is the position reporting service, the service executed by the Wi-Fi chip is the connection intelligent device service. And obtaining the score of the Beidou short message service lower than the Wi-Fi service based on the preset service score, namely judging that the priority of the Wi-Fi service is higher than that of the Beidou short message service.
In one possible implementation, the electronic device 100 is preset as default beidou short message service priority. The electronic device 100 may send a first avoidance notification to the Wi-Fi chip when detecting that the Wi-Fi chip and the beidou short message chip are working simultaneously. The first avoidance notification can be used for triggering the Wi-Fi chip to detect whether the Wi-Fi chip works on a preset interference channel. For example, the electronic device 100 may determine whether the Wi-Fi chip operates in a preset interference channel through the beidou short message chip. The Wi-Fi chip can send frequency band information to the Beidou short message chip after receiving the first avoidance notification, the Beidou short message chip can judge whether the Wi-Fi chip works on a preset interference channel or not through the frequency band information, and if the Beidou short message chip judges that the Wi-Fi chip works on the preset interference channel. And the Wi-Fi chip and the Beidou short message chip execute the operation of the avoidance scheme (1).
Optionally, if the electronic device 100 presets that the Beidou short message service is default to be preferred, it is determined that the Wi-Fi service is preferred. The electronic device 100 may transmit the Wi-Fi priority start notification after transmitting the first avoidance notification, or the electronic device 100 may transmit only the Wi-Fi priority start notification without transmitting the first avoidance notification.
In another possible implementation manner, the electronic device 100 is preset to default to the beidou short message service priority. The Wi-Fi chip of the electronic device 100 may send the changed frequency band information to the beidou short message chip when the working frequency is changed. When the Beidou short message chip is in a working state, whether the Wi-Fi service interferes with the Beidou short message service or not can be judged based on the frequency band information which is sent by the Wi-Fi chip and is closest in time. And when the Beidou short message service judges that the Wi-Fi service can interfere with the Beidou short message service, sending a first pause avoidance notification to the Wi-Fi chip. After the Wi-Fi chip receives the first pause avoidance notification, the Wi-Fi chip can execute corresponding operation based on the first pause avoidance notification and the preset indication information.
The implementation methods of the multiple avoidance schemes provided by the above embodiments may be used in combination with each other, and are not limited herein.
Next, a flow chart of a communication method provided in an embodiment of the present application is described with reference to fig. 9. The electronic device 100 may include, among other things, the chip system 700 shown in fig. 7. The electronic device 100 is preset to be the default Beidou short message service priority.
S901, the electronic device 100 detects that the Wi-Fi chip 703 and the Beidou short message chip 702 work simultaneously.
The electronic device 100 can detect that the Wi-Fi chip 703 and the beidou short message chip 702 work simultaneously by the following method. For example, after the electronic device 100 receives the input that the user turns on the Wi-Fi function and the beidou short message function, it is determined that the Wi-Fi chip 703 and the beidou short message chip 702 are simultaneously working before the input that the user turns off the Wi-Fi function or the beidou short message function is received. The step of determining that the Wi-Fi chip 703 and the beidou short message chip 702 work simultaneously may be executed by the application processor 701.
S902, the electronic device 100 acquires the service information of the Wi-Fi chip 703 and the Beidou short message chip 702.
The electronic device 100 may obtain information of services being executed by the Wi-Fi chip 703 and the beidou short message chip 702, such as the category of the service, the name of the service, and the like. The electronic device 100 may obtain services being executed by the beidou short message chip 702 and the Wi-Fi chip 703 through an interface (e.g., a PCIE interface, an SDIO interface). Further, the application processor 701 may execute step S902 again when detecting that the beidou short message service or the Wi-Fi service changes.
S903, does the electronic device 100 determine whether the priority of the beidou short message service is higher than that of the Wi-Fi service?
The application processor 701 of the electronic device 100 may determine, based on the pre-stored priority information (e.g., the service score table shown in table 2) of the beidou short message service and the Wi-Fi service, whether the priority of the ongoing service of the beidou short message chip 702 is higher or the priority of the ongoing service of the Wi-Fi chip 703 is higher.
When the electronic device 100 determines that the priority of the beidou short message service is lower than the priority of the Wi-Fi service, the electronic device 100 may execute step S904.
When the electronic device 100 determines that the priority of the beidou short message service is higher than the priority of the Wi-Fi service, the electronic device 100 may execute step S905.
S904, the Beidou short message chip 702 avoids the Wi-Fi chip 703.
After the application processor 701 of the electronic device 100 determines that the priority of the beidou short message service is lower than the priority of the Wi-Fi service, the application processor 701 may send a Wi-Fi priority start notification to the Wi-Fi chip 703. After receiving the Wi-Fi priority start notification, the Wi-Fi chip 703 may send the Wi-Fi priority start notification to the beidou short message chip 702. Then, when the Wi-Fi chip 703 starts to send a signal, the Beidou short message chip 702 sends a Wi-Fi chip Tx start notification to the Beidou short message chip 702, and the Beidou short message chip 702 suspends receiving the Beidou signal after receiving the Wi-Fi chip Tx start notification. When the Wi-Fi chip 703 finishes sending the signal, the Beidou short message chip 702 sends a Wi-Fi chip Tx finish notification, and after receiving the Wi-Fi chip Tx finish notification, the Beidou short message chip 702 continues to receive the Beidou signal. When the Wi-Fi chip 703 starts receiving signals, the Wi-Fi chip Rx start notification is sent to the Beidou short message chip 702, and after the Beidou short message chip 702 receives the Wi-Fi chip Rx start notification, the Beidou signals are suspended from being sent. When the Wi-Fi chip 703 finishes receiving the signal, the Wi-Fi chip Rx finish notification is sent to the Beidou short message chip 702, and after the Beidou short message chip 702 receives the Wi-Fi chip Rx finish notification, the Beidou signal continues to be sent. Further, when the Wi-Fi chip 703 detects that the Wi-Fi chip 703 operates on a preset interference channel, a second suspended avoidance notification is sent to the north-fighting short message chip 702.
When the application processor 701 of the electronic device 100 detects that the Wi-Fi service or the beidou short message service changes, a Wi-Fi priority end notification is sent to the Wi-Fi chip 703. After receiving the Wi-Fi priority end notification, the Wi-Fi chip 703 sends the Wi-Fi priority end notification to the beidou short message chip 702. The Wi-Fi chip 703 avoids the beidou short message chip 702, and the electronic device 100 executes step S901.
Before the Wi-Fi chip 703 receives the Wi-Fi priority start notification, the default Beidou short message service is priority. The Wi-Fi chip 703 avoids the beidou short message chip 702, and the detailed steps are as shown in step S905.
Optionally, the application processor 701 of the electronic device 100 may send a Wi-Fi priority start notification to the Wi-Fi chip 703 and the beidou short message chip 702 simultaneously when determining that the Wi-Fi service priority is higher than the beidou short message service. The application processor 701 may also send a Wi-Fi priority end notification to the Wi-Fi chip 703 and the beidou short message chip 702 simultaneously when detecting that the Wi-Fi service or the beidou short message service has changed.
S905, the Wi-Fi chip 703 avoids the Beidou short message chip 702.
When the application processor 701 of the electronic device 100 determines that the priority of the beidou short message service is higher than that of the Wi-Fi service. The Wi-Fi chip 703 sends the frequency band information of Wi-Fi operation to the Beidou short message chip 702. After receiving the frequency band information, the beidou short message chip 702 determines whether the Wi-Fi service interferes with the beidou short message service based on the frequency band information and preset indication information (for example, the preset indication information table shown in table 1) stored in the memory of the electronic device 100. When the big dipper short message chip 702 determines that the Wi-Fi service may interfere with the big dipper short message service, the big dipper short message chip 702 may send a first avoidance suspension notification (e.g., a big dipper Tx start notification, a big dipper Tx end notification, a big dipper Rx start notification, and a big dipper Rx end notification) to the Wi-Fi chip 703 when sending or receiving a signal. After receiving the first pause avoidance notification, the Wi-Fi chip 703 may execute corresponding operations (e.g., pause reception, pause transmission, and reduce power) during the period when the beidou short message chip 702 transmits or receives a signal based on the preset indication information and the first pause avoidance notification. Since the electronic device 100 defaults that the beidou short message service is preferred, the application processor 701 may not send the notification related to the priority.
When the beidou short message service or the Wi-Fi service is changed, the electronic device 100 may execute step S901.
In some possible application scenarios, in the processes of step S901 to step S905 described above. If the electronic device 100 receives an input that the user turns off the beidou short message function or turns off the Wi-Fi function, the electronic device 100 stops executing the avoidance scheme. For example, the application processor of the electronic device 100 may send a notification to the beidou short message chip and the Wi-Fi chip to end the avoidance. And stopping executing the avoidance scheme after the Beidou short message chip and the Wi-Fi chip receive the notification.
Thus, since the overhead of the beidou short message service is relatively large, the time for the electronic device 100 to execute the beidou short message service is generally short. The Wi-Fi signals are temporarily stopped from being received during the period that the Beidou short message chip sends the signals, and the Wi-Fi signals are temporarily stopped from being sent during the period that the Beidou short message chip receives the signals. The Wi-Fi service can not influence the Beidou short message service, and meanwhile, the Wi-Fi service can not greatly reduce the transmitting power to avoid the Beidou short message service in the starting period of the Beidou short message function, so that the Wi-Fi service can be finished under smaller influence.
The steps shown in fig. 9 combine some of the embodiments provided above. The implementation method described in fig. 9 is only an example, and does not specifically limit the present application. The application can reasonably combine the multiple implementation modes provided by the method, and under the condition that the Wi-Fi transmitting power is not required to be greatly reduced, the influence of the Wi-Fi chip on the Beidou short message chip is reduced, and the Wi-Fi chip can transmit and receive signals with default power in the idle time of the Beidou short message chip is ensured.
A back-off scheme for switching the frequency range of operation of a communication connection used by Wi-Fi services of electronic device 100 is next described in conjunction with fig. 10.
In a possible implementation manner, when both the beidou short message chip and the Wi-Fi chip of the electronic device 100 operate, and if the electronic device 100 detects that the operating frequency of the Wi-Fi is within the frequency range of the preset interference channel, the electronic device 100 may switch the frequency band of the communication connection for receiving and sending the Wi-Fi service, and continue to send or receive the service for receiving and sending the signal through the Wi-Fi connection before through the communication connection in the other frequency range (i.e., the frequency range except the frequency range of the preset interference channel in the 2.4GHz frequency band).
In some possible embodiments, the electronic device 100 may disconnect the Wi-Fi connection in the preset interference channel frequency range, establish a Wi-Fi connection in the 5GHz frequency range, and perform transmission or reception of a signal of a Wi-Fi service through the Wi-Fi connection in the 5GHz frequency range.
For example, electronic device 100 may disconnect a Wi-Fi connection in the 2.4GHz band with the AP device via the Deauth frame. Thereafter, the electronic device 100 may establish a Wi-Fi connection of a 5GHz band with the AP device through the (Re) Association frame. When the electronic device 100 and the AP device establish a Wi-Fi connection in a 5GHz band, the electronic device may negotiate with the AP device through a (Re) Association frame or an action frame to operate in a MIMO mode or a SISO mode in the 5GHz band.
In some possible embodiments, the electronic device 100 may disconnect the Wi-Fi connection within the preset interference channel frequency range, the electronic device 100 may establish a cellular communication connection, and perform transmission or reception of signals of Wi-Fi traffic through the cellular communication connection.
In some possible embodiments, electronic device 100 may disconnect Wi-Fi connections within a preset interference channel range and re-establish Wi-Fi connections on channels other than the preset interference channel (e.g., channel 1-channel 8) within the 2.4GHz band (i.e., wi-Fi connections on non-preset interference channels of the 2.4GHz band).
In some possible application scenarios, the Wi-Fi chip of the electronic device 100 operates on a preset interference channel in a 2.4GHz band, and the executed service is a Wi-Fi hotspot mode service (i.e., the electronic device 100 serves as an access point device to establish Wi-Fi connection with other electronic devices). The electronic device 100 may disconnect the Wi-Fi connection on the preset interference channel in the 2.4GHz band, and reestablish the Wi-Fi connection on the channels other than the preset interference channel in the 2.4GHz band.
In the embodiments provided in the present application, the avoidance schemes may be combined with each other, and are not limited herein.
For example, when the electronic device 100 executes step S905 shown in fig. 9, before the Wi-Fi chip of the electronic device 100 sends the frequency band information to the foup short message chip, it may detect whether the frequency band where the Wi-Fi connection is located is within a preset interference channel frequency range of a 2.4GHz frequency band. If the Wi-Fi chip judges that the Wi-Fi chip is in the frequency range of the preset interference channel, the Wi-Fi chip can disconnect Wi-Fi connection in the frequency range, reestablish Wi-Fi connection on the 5GHz frequency band, and transmit data of Wi-Fi service through the Wi-Fi connection on the 5GHz frequency band. Or reestablish the cellular communication connection and transmit data of the Wi-Fi traffic over the cellular communication connection. Or reestablishing the Wi-Fi connection on the non-preset interference channel of the 2.4GHz frequency band, and transmitting the data of the Wi-Fi service through the connection.
If the electronic device 100 has already established a Wi-Fi connection in the 5GHz band and is transmitting data of a certain service through the Wi-Fi connection in the 5GHz band, the electronic device 100 may only reestablish the cellular communication connection or reestablish the Wi-Fi connection on the non-preset interference channel in the 2.4GHz band. If the cellular network signal is poor in the current environment of the electronic device 100, the electronic device 100 may only re-establish the Wi-Fi connection on the non-preset interference channel in the 2.4GHz band. If the electronic device 100 cannot disconnect the Wi-Fi connection on the preset interference channel, the electronic device 100 may continue to perform the operation shown in the step S905.
In this way, the electronic device 100 may first try to switch the frequency range of the communication connection of the Wi-Fi service, so that the frequency ranges of the Wi-Fi service and the beidou short message service are not crossed, and the performance of the Wi-Fi service and the beidou short message service may be ensured to the maximum extent. When the frequency range of the Wi-Fi service cannot be switched, the electronic device 100 may avoid the beidou short message service by using the Wi-Fi service through the above-mentioned pause mode, so as to reduce the mutual influence between the Wi-Fi service and the beidou short message service.
In some possible embodiments, when the electronic device 100 reestablishes the Wi-Fi connection on the non-preset interference channel in the 2.4GHz band, the Wi-Fi chip of the electronic device 100 may also suspend receiving the signal when the beidou short message chip sends the signal, and suspend sending the signal when the beidou short message chip receives the signal. And/or the Wi-Fi chip of the electronic device 100 may use an antenna that is the farthest european distance from the antenna of the beidou short message chip. And/or electronic device 100 may reduce the transmit power of the Wi-Fi chip (e.g., by 2 dB).
In some possible embodiments, the electronic device 100 may prioritize the frequency bands of the re-established communication connection. After the electronic device 100 disconnects Wi-Fi connection on the preset interference channel in the 2.4GHz band, communication connection may be reestablished according to the priority. For example, the electronic device 100 may be set with a higher priority for Wi-Fi connections in the 5GHz band than for Wi-Fi connections on a non-preset interference channel in the 2.4GHz band. The Wi-Fi connection on the non-preset interference channel of the 2.4GHz band has a higher priority than the cellular communication connection. Then, after the electronic device 100 disconnects the Wi-Fi connection on the preset interference channel in the 2.4GHz band, it first tries to establish a Wi-Fi connection in the 5GHz band. And if the Wi-Fi connection of the 5GHz frequency band cannot be established, trying to establish the Wi-Fi connection on a non-preset interference channel of the 2.4GHz frequency band, and so on.
Therefore, the Wi-Fi connection on the preset interference channel is disconnected, and communication connections in other frequency ranges are established to transmit signals of Wi-Fi services. The method can ensure the normal operation of the Wi-Fi service and can not interfere the execution of the Beidou short message service.
In some possible embodiments, the electronic device 100 detects that the Wi-Fi chip and the beidou short message chip work simultaneously, and if the Wi-Fi chip of the electronic device 100 works in a Dual Band Adaptive Concurrent (DBAC) mode, that is, the electronic device 100 establishes a Wi-Fi connection in a 2.4GHz band and a Wi-Fi connection in a 5GHz band at the same time, the Wi-Fi chip may send or receive signals in the two bands. Electronic device 100 may disconnect Wi-Fi connectivity in the 2.4GHz band. In this way, electronic device 100 may continue to receive and transmit signals of Wi-Fi traffic via a Wi-Fi connection in the 5GHz band. And the performance of the Wi-Fi service is ensured under the condition that the Beidou short message service is not influenced.
Optionally, the electronic device 100 may establish the cellular communication connection while disconnecting the Wi-Fi connection on the preset interference channel. Or, the electronic device 100 may use the antenna with the farthest euclidean distance from the antenna used by the beidou short message chip to transmit the signal of the Wi-Fi connection in the 2.4GHz band. Alternatively, electronic device 100 may reduce the transmit power of a Wi-Fi connection in the 2.4GHz band. Alternatively, electronic device 100 may establish a Wi-Fi connection on a non-pre-set interference channel in the 2.4GHz band.
Fig. 10 shows a flowchart of a communication method provided in an embodiment of the present application. The electronic device 100 may include, among other things, a chip system 700 as shown in FIG. 7.
S1101, the electronic device 100 detects that the Wi-Fi chip 703 and the Beidou short message chip 702 work simultaneously.
For specific description of step S1101, reference may be made to the embodiment described in step S901 of fig. 9, which is not described herein again.
S1102, the electronic device 100 determines whether the Wi-Fi operates in a preset interference channel of a 2.4GHz frequency band.
When the electronic device 100 determines that the Wi-Fi chip 703 and the beidou short message chip 702 work simultaneously, the electronic device 100 may determine whether the Wi-Fi service will interfere with the beidou short message service based on whether the working frequency range of the Wi-Fi chip 703 is within the preset interference channel range of the 2.4GHz band. If the electronic device 100 determines that the Wi-Fi chip 703 operates outside the preset interference channel range, the electronic device 100 determines that the Wi-Fi service does not affect the beidou short message service, and the electronic device 100 executes step S1103. If the electronic device 100 determines that the Wi-Fi chip 703 operates within the preset interference channel range of the 2.4GHz band, the electronic device 100 determines that the Wi-Fi service may affect the beidou short message service, and the electronic device 100 executes step S1104. The operation of the electronic device 100 for judging whether the Wi-Fi chip works in the preset interference channel can be realized by the application processor 701, the Wi-Fi chip 703 or the beidou short message chip 702.
S1103, the Wi-Fi chip 703 of the electronic device 100 operates with default power.
The electronic device 100 determines that the working frequency range of the Wi-Fi chip 703 is outside the frequency range of the preset interference channel, the Wi-Fi service does not interfere with the beidou short message service, and the Wi-Fi chip works with default power. And after the service execution on the Wi-Fi chip is finished, returning to the step S1102.
S1104, the communication connection used by the Wi-Fi service is switched by the electronic equipment 100.
The electronic device 100 determines that the working frequency range of the Wi-Fi chip 703 is within the frequency range of the preset interference channel, and the Wi-Fi service interferes with the beidou short message service, so that the electronic device 100 can disconnect the Wi-Fi connection on the preset interference channel, reestablish the Wi-Fi connection on the 5GHz frequency band, and transmit data of the Wi-Fi service through the Wi-Fi connection on the 5GHz frequency band. Or reestablishing the cellular communication connection and transmitting the data of the Wi-Fi service through the cellular communication connection, or reestablishing the Wi-Fi connection on the non-preset interference channel of the 2.4GHz frequency band and transmitting the data of the Wi-Fi service through the connection.
Therefore, the electronic device 100 can reduce the influence of the Wi-Fi service on the Beidou short message service while not influencing the receiving and sending of the Wi-Fi service signal.
A back-off scheme for reducing the transmit power of a Wi-Fi chip is next described in conjunction with fig. 11.
In a possible implementation manner, when both the beidou short message chip and the Wi-Fi chip of the electronic device 100 are in operation, if the electronic device 100 detects that the operating frequency band of Wi-Fi is the 2.4GHz band of Wi-Fi, or if the electronic device 100 detects that the operating frequency band of Wi-Fi is within the frequency range of a preset adjacent channel (for example, channel 11-channel 13) of the 2.4GHz band of Wi-Fi, the electronic device 100 may reduce the transmission power of the Wi-Fi chip. Therefore, the influence of Wi-Fi service on Beidou short message service can be reduced.
In some possible application scenarios, if the electronic device 100 operates in the 2.4GHz band and the transmission power of the Wi-Fi chip is higher than a preset power threshold (e.g., 15 dBm), the electronic device 100 may set the transmission power to a preset operating power (e.g., 10 dBm).
For example, the beidou short message chip and the Wi-Fi chip of the electronic device 100 operate simultaneously, where the transmission power of the Wi-Fi chip of the electronic device 100 is 16dBm, and the electronic device 100 detects that the value is greater than a preset power threshold, and adjusts the value of the transmission power of the Wi-Fi chip to a preset operating power (e.g., 10 dBm).
In some possible application scenarios, the Wi-Fi chip of the electronic device 100 may adjust the transmission power to a preset operating power (e.g., 10 dBm) when the beidou short message chip receives a signal, and operate with a default transmission power at other times. Therefore, the interference of the Wi-Fi service to the Beidou short message service can be reduced, and meanwhile, the influence of the Beidou short message service on the Wi-Fi service is reduced.
Fig. 11 is a flowchart illustrating a communication method according to an embodiment of the present application. The electronic device 100 may include, among other things, a chip system 700 as shown in FIG. 7.
S1201, the electronic device 100 detects that the Wi-Fi chip 703 and the Beidou short message chip 702 work simultaneously.
For a specific description of step S1201, reference may be made to the embodiment described in step S901 of fig. 9, which is not described herein again.
S1202, the electronic device 100 determines whether the Wi-Fi operates in a preset interference channel of a 2.4GHz frequency band.
The step of determining whether the Wi-Fi operates in the preset interference channel in the 2.4GHz band by the electronic device 100 may refer to the embodiment shown in step S1102 of fig. 11, which is not described herein again. If the electronic device 100 determines that the Wi-Fi chip 703 operates outside the preset interference channel frequency range of the 2.4GHz band, the electronic device 100 executes step S1203. If the electronic device 100 determines that the Wi-Fi chip 703 operates within the preset interference channel range of the 2.4GHz band, the electronic device 100 executes step S1204.
S1203, the Wi-Fi chip 703 of the electronic device 100 operates with default power.
The electronic device 100 determines that the working frequency range of the Wi-Fi chip 703 is outside the frequency range of the preset interference channel, the Wi-Fi service does not interfere with the beidou short message service, and the Wi-Fi chip 703 works with default power. And after the service execution on the Wi-Fi chip 703 is completed, returning to step S1202.
S1204, the electronic device 100 reduces the transmission power of the Wi-Fi chip 703.
The electronic device 100 determines that the working frequency range of the Wi-Fi chip 703 is within the frequency range of the preset interference channel, the Wi-Fi service interferes with the beidou short message service, and the Wi-Fi chip 703 is reduced from the default transmission power to the preset working power (e.g., 10 dBm).
Therefore, the influence of the Wi-Fi service on the Beidou short message service is reduced.
The avoidance scheme for switching the antenna used by the Wi-Fi chip provided by the embodiment of the present application is described next with reference to fig. 12 to 13.
In a possible implementation manner, when both the beidou short message chip and the Wi-Fi chip of the electronic device 100 operate, if the electronic device 100 detects that the operating frequency band of Wi-Fi is the 2.4GHz band of Wi-Fi, or if the electronic device 100 detects that the operating frequency band of Wi-Fi is within the frequency range of a preset adjacent channel (for example, channel 11-channel 13) of the 2.4GHz band of Wi-Fi, the electronic device 100 may switch the antenna used by the Wi-Fi chip to the antenna farthest from the antenna used by the beidou short message chip in euclidean distance. The longer the distance between the antenna used by the Wi-Fi chip and the antenna used by the Beidou short message chip is, the higher the isolation between the antennas is. The higher the isolation between the antennas, the less interference is generated with each other. Therefore, the influence of Wi-Fi service on Beidou short message service can be reduced.
Optionally, when the electronic device 100 includes a Transmit Antenna Selection (TAS) antenna, the electronic device 100 may control the Wi-Fi chip to preferentially use the TAS antenna for communication when the beidou short message chip and the Wi-Fi chip operate simultaneously. The TAS antenna is a standby antenna and can be used when the performance of an antenna used in Wi-Fi service is poor. Thus, since the TAS antenna is a backup antenna, the electronic device 100 can reduce interference of the Wi-Fi signal to the beidou short message signal while not interfering with a service of transmitting and receiving signals through other antennas.
That is to say, the electronic device 100 includes a TAS antenna, and when the beidou short message chip and the Wi-Fi chip of the electronic device 100 are both in operation, and if the electronic device 100 detects that the working frequency band of Wi-Fi is within the frequency range of the preset interference channel (for example, channel 9-channel 13) of the 2.4GHz frequency band of Wi-Fi, the Wi-Fi chip of the electronic device 100 preferentially uses the TAS antenna. The electronic device 100 preferentially uses the antenna with the farther euclidean distance from the TAS antenna and the antenna used by the beidou short message chip. If the Wi-Fi chip of the electronic device 100 cannot use the TAS antenna, the electronic device 100 preferentially uses the antenna with the farther euclidean distance from the antenna used by the beidou short message chip among other antennas.
Fig. 12 is a schematic diagram illustrating an antenna structure of the electronic device 100.
Illustratively, as shown in fig. 12, the electronic device 100 may include at least three antennas including an antenna 1300 (Core 1300), an antenna 1301 (Core 1301), an antenna 1302 (Core 1302), an antenna 1303 (Core 1303), an antenna 1304 (Core 1304), an antenna 1305 (Core 1305), and an antenna 1306 (Core 1306). The antenna 1300 is an antenna for receiving Long Term Evolution (LTE) and performing frequency division multiplexing of 2.4GHz band for Wi-Fi and 5GHz band for Wi-Fi. The antenna 1300 may also be used to transmit a signal of the beidou short message. The antenna 1301 is an antenna for LTE diversity reception and time division multiplexing of the 2.4GHz band of Wi-Fi. The antenna 1302 and the antenna 1303 are both TAS antennas for Wi-Fi. The Wi-Fi chip of electronic device 100 may transmit signals from two or more antennas with better selected channel conditions. The antenna 1304 is an antenna for LTE reception and transmission. Antenna 1305 is an LTE receive antenna. The antenna 1306 is an antenna used in a MIMO mode of a 5GHz band of Wi-Fi.
When the big dipper short message chip and the Wi-Fi chip of the electronic device 100 are both in operation, the big dipper short message chip of the electronic device 100 receives and transmits signals through the antenna 1300. The Wi-Fi chip of the electronic device 100 performs reception or transmission of signals through the antenna 1301. If the electronic device 100 detects that the working frequency band of the Wi-Fi is the 2.4GHz band of the Wi-Fi, or if the electronic device 100 detects that the working frequency band of the Wi-Fi is within the frequency range of a preset adjacent channel (for example, channel 11-channel 13) of the 2.4GHz band of the Wi-Fi, the electronic device 100 may switch an antenna used by the Wi-Fi chip to be any one of the antennas 1303-antenna 1306. The electronic device 100 selects an antenna used by the Wi-Fi chip based on two factors, namely the euclidean distance between the antennas and the antenna 1301 and whether the antenna is a TAS antenna. The order of selecting the antennas by the electronic device 100 is antenna 1303, antenna 1302, antenna 1305, antenna 1304, antenna 1301, and antenna 1306. Wherein the TAS antenna has a higher priority than other non-TAS antennas. If the antennas that can be selected are both TAS antennas or both non-TAS antennas, the higher the value of the euclidean distance the higher the antenna priority.
When the big dipper short message chip and the Wi-Fi chip of the electronic device 100 are both in operation, the big dipper short message chip of the electronic device 100 receives and transmits signals through the antenna 1300. The Wi-Fi chip of the electronic device 100 operates in a Multiple Input Multiple Output (MIMO) mode, and in the MIMO mode, at least two antennas of the electronic device 100 receive or transmit signals of the Wi-Fi service. Here, the Wi-Fi chip of the electronic apparatus 100 may perform reception or transmission of signals through two or more antennas of the antennas 1301 to 1306. If the electronic device 100 detects that the working frequency band of the Wi-Fi is the 2.4GHz frequency band of the Wi-Fi, or if the electronic device 100 detects that the working frequency band of the Wi-Fi is within the frequency range of a preset adjacent channel (for example, channel 11-channel 13) of the 2.4GHz frequency band of the Wi-Fi, the electronic device 100 selects two or more antennas in the order of a TAS antenna whose euclidean distance from an antenna used in a beidou short message chip is large to small and a non-TAS antenna whose euclidean distance from the antenna used in the beidou short message is large to small, where the order of selecting the antennas by the Wi-Fi chip is the antenna 1303, the antenna 1302, the antenna 1305, the antenna 1304, the antenna 1301, and the antenna 1306. The number of the antennas used by the Wi-Fi chip at the beginning is the same as the number of the antennas used by the Wi-Fi chip after the antennas are switched. The Wi-Fi chip can receive and transmit Wi-Fi service signals through the more than two antennas, and mutual interference between the Wi-Fi service and the Beidou short message service is reduced.
For example, when the beidou short message chip and the Wi-Fi chip of the electronic device 100 are both in operation, the beidou short message chip of the electronic device 100 sends and receives signals through the antenna 1300, and the Wi-Fi chip of the electronic device 100 sends (receives) signals through the antenna 1301 and the antenna 1306, and when the electronic device 100 detects that the Wi-Fi chip operates within the frequency range of a preset interference channel (for example, channel 9-channel 13) in the 2.4GHz band of Wi-Fi, the Wi-Fi chip will receive (send) signals through the antenna 1303 and the antenna 1302.
In one possible implementation, electronic device 100 may reduce the transmit power of the Wi-Fi chip while switching the antenna used by the Wi-Fi chip.
Fig. 13 is a flowchart illustrating a communication method according to an embodiment of the present application. The electronic device 100 may include, among other things, a chip system 700 as shown in FIG. 7. The electronic device 100 may include multiple antennas as shown in fig. 12.
S1401, electronic equipment 100 detects that Wi-Fi chip 703 and big dipper short message chip 702 work simultaneously.
For specific description of step S1401, reference may be made to the embodiment described in step S901 of fig. 9, which is not described herein again.
S1402, the electronic device 100 determines whether the Wi-Fi operates in a preset interference channel of a 2.4GHz frequency band.
The step of determining whether the Wi-Fi operates in the preset interference channel in the 2.4GHz band by the electronic device 100 may refer to the embodiment shown in step S1102 of fig. 11, which is not described herein again. If the electronic device 100 determines that the Wi-Fi chip 703 operates outside the preset interference channel frequency range of the 2.4GHz band, the electronic device 100 executes step S1403. If the electronic device 100 determines that the Wi-Fi chip 703 operates within the preset interference channel range of the 2.4GHz band, the electronic device 100 executes step S1404.
S1403, the Wi-Fi chip 703 of the electronic device 100 defaults to power, and the antenna works by default.
The electronic device 100 determines that the working frequency range of the Wi-Fi chip 703 is outside the frequency range of the preset interference channel, the Wi-Fi service does not interfere with the beidou short message service, and the Wi-Fi chip works with a default power and a default antenna (e.g., the antenna 1302 shown in fig. 12). After the service execution of the Wi-Fi chip 703 is completed, the process returns to step S1402.
S1404, the electronic device 100 switches the antenna used by the Wi-Fi service.
The electronic device 100 determines that the working frequency range of the Wi-Fi chip 703 is within the frequency range of a preset interference channel, the Wi-Fi service interferes with the beidou short message service, and the Wi-Fi chip 703 is switched from the default antenna (for example, the antenna 1302) to the antenna used by the beidou short message chip (for example, the antenna 1301) based on the euclidean distance between the antenna and the antenna used by the beidou short message chip and whether the antenna used by the Wi-Fi chip 703 is the TAS antenna. For example, to antenna 1303.
As mentioned above, the above embodiments can be used in combination, and are not limited herein. For example, when the working mode of the Wi-Fi chip is switched from the MIMO mode in the 2.4GHz band to the SISO mode in the 2.4GHz band, the electronic device 100 may further reduce the influence of the Wi-Fi service on the beidou short message service by combining the above avoidance scheme for switching the transmitting antenna and/or the scheme for reducing the transmitting power of the Wi-Fi chip.
Next, a solution for reducing avoidance of an antenna used by a Wi-Fi chip according to an embodiment of the present application is described with reference to fig. 14.
In one possible implementation, the electronic device 100 detects that both the beidou short message chip and the Wi-Fi chip are operating, wherein the Wi-Fi chip sends or receives Wi-Fi signals using at least two antennas. When the electronic device 100 detects that the Wi-Fi chip operates on the preset interference channel, the electronic device 100 may reduce the number of antennas used by the Wi-Fi chip. The more the number of the antennas used by the Wi-Fi service is, the greater the interference on the Beidou short message service is. Therefore, the influence of the Wi-Fi service on the Beidou short message service can be effectively reduced by reducing the number of antennas used by the Wi-Fi service.
That is to say, the electronic device 100 detects that both the beidou short message chip and the Wi-Fi chip are in operation, where the Wi-Fi chip receives or sends signals using M antennas, where M is a positive integer greater than 1. The electronic device 100 detects that the Wi-Fi chip works in a preset interference channel, and the Wi-Fi chip receives or sends signals by using N antennas, wherein N is a positive integer smaller than M.
The Wi-Fi chip receives or sends signals by using N antennas, wherein N is a positive integer smaller than M.
In some possible application scenarios, both the beidou short message chip and the Wi-Fi chip of the electronic device 100 operate, wherein the working mode of the Wi-Fi chip is the MIMO mode. If the electronic device 100 detects that the Wi-Fi chip operates on a preset interference channel (e.g., channel 9 to channel 13 of the Wi-Fi 2.4GHz band). Electronic device 100 may switch the mode of operation from a MIMO mode to a single-input single-output (SISO) mode.
In the MIMO mode, the electronic device 100 receives and transmits signals of the Wi-Fi service through at least two antennas. In the SISO mode, the electronic apparatus 100 performs reception and transmission of signals of Wi-Fi services through one antenna. The interference of the Wi-Fi service to the Beidou short message service in the MIMO mode is higher than the interference of the Wi-Fi service to the Beidou short message service in the SISO mode because the Wi-Fi chip transmits and receives signals by using a plurality of antennas more greatly than the interference of a single antenna to the Beidou short message service. Therefore, the influence of the Wi-Fi service on the Beidou short message service can be reduced by switching the MIMO mode to the SISO mode.
For example, a Wi-Fi chip of electronic device 100 may switch a Wi-Fi connection from a MIMO mode to a SISO mode by negotiating with an Access Point (AP) device through an Action frame. Wherein, the Action frame can have bit carrying the working mode of switching Wi-Fi.
Alternatively, the electronic device 100 may negotiate with the AP device to switch the operation mode through the (Re) Association frame. The electronic device 100 may set a Modulation Coding Scheme (MCS) rate set corresponding to each of the MIMO mode and the SISO mode in the (Re) Association frame. Thus, the operation mode can be determined to be MIMO or SISO through different MCS indexes. Wherein each MCS index corresponds to a physical transmission rate under a set of parameters.
Alternatively, if the electronic device 100 operates in a Multiple Input Single Output (MISO) mode or a Single Input Multiple Output (SIMO) mode, the mode may be switched to the SISO mode.
In the embodiment of the present application, the avoidance schemes may be combined with each other, and are not limited herein.
For example, when the electronic device 100 switches from the MIMO mode to the SISO mode by the above-described back-off scheme that reduces the number of antennas used by the Wi-Fi chip. Since one of the antennas used by the Wi-Fi chip may not change when the electronic apparatus 100 switches from the MIMO mode to the SISO mode (e.g., the Wi-Fi chip uses the antenna 1301 and the antenna 1306 in fig. 12 in the MIMO mode, and the antenna used by the Wi-Fi chip is the antenna 1301 or the antenna 1306 after switching to the SISO mode). The electronic device 100 may also continue to employ the avoidance scheme (3), i.e., the electronic device 100 may switch the antenna used by the Wi-Fi chip to the TAS antenna (e.g., the antenna 1303) with the farthest euclidean distance from the antenna used by the beidou short message chip in the SISO mode. The electronic device 100 can also reduce the transmitting power of the Wi-Fi chip after switching the antenna used by the Wi-Fi chip, and further reduce the interference of the Wi-Fi service on the Beidou short message service.
In some possible embodiments, if the Wi-Fi chip of the electronic device 100 is operating in DBAC mode and MIMO mode simultaneously. The electronic device 100 may switch from MIMO to SISO mode. Alternatively, the electronic device 100 may disconnect a Wi-Fi connection that is preset to interfere with the new channel. Alternatively, the electronic device 100 may disconnect the Wi-Fi connection of the preset interference channel and establish the cellular communication connection. Alternatively, the electronic device 100 may disconnect the Wi-Fi connection on the preset interference channel and establish a Wi-Fi connection on a non-preset interference channel in the 2.4GHz band. Further, the electronic device 100 may switch the operation mode of the Wi-Fi chip from the MIMO mode to the SISO mode while establishing the Wi-Fi connection on the non-preset interference channel of the 2.4GHz band.
Fig. 14 shows a flowchart of a communication method provided in an embodiment of the present application. The electronic device 100 may include, among other things, a chip system 700 as shown in FIG. 7. The electronic device 100 may include multiple antennas as shown in fig. 12.
S1501, the electronic device 100 detects that the Wi-Fi chip 703 and the Beidou short message chip 702 work simultaneously.
For a specific description of step S1201, reference may be made to the embodiment described in step S901 of fig. 9, which is not described herein again.
S1502, the electronic device 100 determines whether to operate in a preset interference channel in the 2.4GHz band.
The step of determining whether the Wi-Fi operates in the preset interference channel in the 2.4GHz band by the electronic device 100 may refer to the embodiment shown in step S1102 of fig. 11, which is not described herein again. If the electronic device 100 determines that the Wi-Fi chip operates outside the preset interference channel range in the 2.4GHz band, the electronic device 100 executes step S1503. If the electronic device 100 determines that the Wi-Fi chip operates in the preset interference channel, the electronic device 100 executes step S1504.
S1503, the Wi-Fi chip 703 of the electronic device 100 is powered by default, and the antenna is powered by default.
The electronic device 100 determines that the working frequency range of the Wi-Fi chip is out of the frequency range of the preset interference channel, determines that the Wi-Fi service does not interfere with the beidou short message service, and determines that the default antenna (such as the antenna 1301 and the antenna 1306 shown in fig. 12) works with the default power for the Wi-Fi chip. And after the service execution of the Wi-Fi chip is finished, returning to the step S1502.
S1504, the electronic device 100 determines whether the Wi-Fi working mode is the MIMO mode.
When the electronic apparatus 100 determines that the Wi-Fi operates in the MIMO mode, step S1505 is performed. When the electronic apparatus 100 determines that the Wi-Fi is not operating in the MIMO mode, step S1506 is performed.
S1505, the electronic device 100 switches from the MIMO mode to the SISO mode.
The electronic device 100 determines that the working frequency range of the Wi-Fi chip is within the frequency range of the preset interference channel and works in the MIMO mode, the Wi-Fi service interferes with the Beidou short message service, and the MIMO mode of the Wi-Fi chip is switched to the SISO mode. The antenna used by the Wi-Fi chip is switched from multiple antennas (e.g., antenna 1301 and antenna 1306) used by default to one antenna (e.g., antenna 1301).
S1506, the electronic device 100 executes another avoidance scheme.
When the electronic device 100 determines that the Wi-Fi chip operates within the frequency range of the preset interference channel and does not operate in the MIMO mode, the electronic device 100 may perform one or more of the above-described avoidance schemes (1) to (3).
As described above, the above embodiments may be used in combination, and are not limited herein. For example, when the working mode of the Wi-Fi chip is switched from the MIMO mode in the 2.4GHz band to the SISO mode in the 2.4GHz band, the electronic device 100 may further reduce the influence of the Wi-Fi service on the beidou short message service by combining the above avoidance scheme for switching the transmitting antenna.
In one possible implementation manner, when the beidou short message chip of the electronic device 100 is in the working state. When electronic device 100 receives an input to establish a Wi-Fi connection, electronic device 100 may establish a Wi-Fi connection in the 5GHz band in response to the input. Or establishing the Wi-Fi connection of the 2.4GHz frequency band working in the SISO mode. Or, the transmission power is reduced and/or a transmission antenna with higher isolation is used while establishing the Wi-Fi connection of the 2.4GHz frequency band. Or, establishing the Wi-Fi connection on a non-preset interference channel of the 2.4GHz frequency band. Therefore, the avoidance operation can be executed before the Beidou short message chip starts to receive signals, and the Beidou short message service is further prevented from being influenced by the Wi-Fi service.
Optionally, after the electronic device 100 receives the input for establishing the Wi-Fi connection, in response to the input, the electronic device 100 may suspend receiving the signal when the beidou short message chip sends the signal, suspend sending the signal when the beidou short message chip receives the signal, and/or reduce the transmission power, and/or use a transmission antenna with higher isolation after establishing the Wi-Fi connection in the 2.4GHz band.
Next, system-on-chip 1550 is described in conjunction with FIG. 15.
Illustratively, as shown in fig. 15, the chip system 1550 may include: an application processor 1551, a Beidou short message chip 1552 and a Wi-Fi chip 1553. The chip system 1550 may be applied to the electronic device 100. Wherein:
the application processor 1551 of the electronic device 100 can communicate with the beidou short message chip 1552 through an interface (e.g., PCIE). The application processor 1551 of the electronic device 100 may also communicate with a Wi-Fi chip 1553 via an interface (e.g., PCIE, SDIO).
For detailed description of the application processor 1551, the beidou short message chip 1552 and the Wi-Fi chip 1553, reference may be made to the embodiment illustrated in fig. 7, which is not described herein again. In the chip system 1550, the Wi-Fi chip 1553 and the beidou short message chip 1552 can communicate with each other through the application processor 1551. The electronic device 100 may also implement the avoidance schemes provided by the above embodiments through the chip system 1550.
In a possible implementation manner, the electronic device 100 may preset a sequence in which the electronic device 100 uses the various avoidance schemes, and the electronic device 100 executes the avoidance schemes based on the sequence of the avoidance schemes. For example, the electronic device 100 may set the avoidance scheme (4) to be executed first, then the avoidance scheme (3) to be executed, then the avoidance scheme (2) to be executed, and finally the avoidance scheme (1) to be executed. When the electronic device 100 does not use multiple antennas, the electronic device 100 cannot use the avoidance scheme (4), and the electronic device 100 attempts to use the avoidance scheme (3). When the electronic device 100 has no other antennas to switch use, the electronic device 100 attempts to use the avoidance scheme (2). When the electronic device 100 cannot transmit or receive signals of the current Wi-Fi service through the communication connection of the other frequency band, the electronic device 100 uses the avoidance scheme (1).
In one possible implementation, the electronic device 100 may use a plurality of the avoidance schemes (1) to (4) described above at the same time. For example, the electronic device 100 operates in the MIMO mode, and the operating channel is a preset interference channel of a 2.4GHz band. The electronic apparatus 100 may switch the operation mode from MIMO to SISO after switching the Wi-Fi connection on the preset interference channel to the Wi-Fi connection on the non-preset interference channel, and switch the antenna used by the Wi-Fi service in the SISO mode to an antenna with higher isolation. The W-iFi chip can also pause receiving signals when the Beidou short message chip sends signals, and pause sending signals when the Beidou short message chip receives signals.
In a possible implementation manner, the electronic device 100 may determine whether the Wi-Fi chip and the beidou short message chip are working at the same time after determining that the Wi-Fi chip is working in the preset interference channel. The method and the device do not limit the sequence of the two steps of judging whether the Wi-Fi chip works in the preset interference channel and judging whether the Wi-Fi chip and the Beidou short message chip work simultaneously.
Fig. 16 schematically shows a structure of another electronic device provided in an embodiment of the present application.
As shown in fig. 16, the electronic device 100 may include: processor 1601, big dipper short message chip 1602, wi-Fi chip 1603, memory 1604 and bus.
The processor 1601 includes one or more processing cores, and the processor 1601 executes software programs and modules to execute various applications and information processing.
The beidou short message chip 1602 may include at least one filter, switch, power amplifier, low noise amplifier, etc. The big dipper short message chip 1602 can receive the signal that processor 1601 sent through the bus, convert it into the electromagnetic wave and send out through the antenna, and big dipper short message chip 1602 can receive the electromagnetic wave through the antenna to after converting it into the signal, send for processor 1601.
Wi-Fi chip 1603 may receive electromagnetic waves via an antenna, frequency modulate and filter the electromagnetic wave signal, and send the processed signal to processor 1601.Wi-Fi chip 1603 can also receive signals to be transmitted from processor 1601, frequency modulate and amplify the signals, and the signals are converted into electromagnetic waves through antenna 2 and radiated out.
The memory 1604 is coupled to the processor 1601 by a bus. The memory 1604 may be used for storing at least one program instruction, and the processor 1601 is used for executing the at least one program instruction to implement the technical solutions of the above embodiments. The implementation principle and technical effect are similar to those of the related embodiments of the method, and are not described herein again.
In the embodiments of the present application, the processor may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
In the embodiment of the present application, the memory may be a nonvolatile memory, such as a Hard Disk Drive (HDD) or a solid-state drive (SS), and may also be a volatile memory (volatile memory), for example, a random-access memory (RAM). The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, not limited thereto. For example, the memory may store the preset priority information, the preset indication information, the preset interference channel, the preset operating power, and the like.
The memory in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data. The methods provided by the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, special purpose computer, computer network, network appliance, user equipment, or other programmable device. The computer instructions may be stored in or transmitted from a computer-readable storage medium to another computer-readable storage medium, e.g., from one website, computer, server, or data center, over a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL), or wireless (e.g., infrared, wireless, microwave, etc.) network, the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more integrated servers, data centers, etc. the available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disk (DWD), or a semiconductor medium (e.g., SSD), etc.
Fig. 17 schematically illustrates a structure of another electronic device provided in an embodiment of the present application.
As shown in fig. 17, the electronic device 100 may include: the device comprises a work judgment module, an interference judgment module and an avoidance execution module.
The work judgment module can be used for judging whether the Wi-Fi chip and the Beidou short message chip work simultaneously. For example, the work judgment module may judge that the Wi-Fi chip and the beidou short message chip work simultaneously after receiving the input that the user turns on the Wi-Fi function and the beidou short message function and before receiving the input that the user turns off the Wi-Fi function or the beidou short message function. And then, the work judgment module can send the information that the Wi-Fi chip and the Beidou short message chip work simultaneously to the interference judgment module.
The interference judging module can judge whether the Wi-Fi service interferes with the Beidou short message service after receiving the message that the Wi-Fi chip and the Beidou short message chip work simultaneously, wherein the message is sent by the work judging module. The interference judging module can judge whether the Wi-Fi service interferes with the Beidou short message service or not by judging whether the Wi-Fi chip works in a preset interference channel (for example, a channel 9-channel 13 in a 2.4GHz frequency band). When the interference judging module judges that the Wi-Fi chip works in the preset interference channel, the interference judging module judges that the Wi-Fi service interferes with the Beidou short message service, and the interference judging module can send a message that the Wi-Fi service interferes with the Beidou short message service to the avoidance executing module.
The avoidance execution module can execute one or more of the avoidance schemes (1) to (4) after receiving the message that the Wi-Fi service interferes with the Beidou short message service sent by the interference judgment module.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (20)

1. A communication method is applied to electronic equipment, wherein the electronic equipment comprises a wireless fidelity Wi-Fi chip and a Beidou short message chip, and the method comprises the following steps:
the electronic equipment detects that the Wi-Fi chip and the Beidou short message chip work simultaneously;
when the electronic equipment detects that the Wi-Fi chip works in a preset interference channel, the electronic equipment controls the Wi-Fi chip to avoid the Beidou short message chip.
2. The method according to claim 1, wherein the electronic device controls the Wi-Fi chip to avoid the beidou short message chip, and the method specifically comprises:
and the electronic equipment controls the Wi-Fi chip to pause working when the Beidou short message chip receives/sends signals.
3. The method of claim 2, wherein the electronic device detects that the Wi-Fi chip is operating before the preset interference channel, the method further comprising:
the Wi-Fi chip sends working frequency band information to the Beidou short message chip;
the electronic device detecting that the Wi-Fi chip works in the preset interference channel specifically includes:
and the Beidou short message chip judges that the Wi-Fi chip works in the preset interference channel based on the frequency band information.
4. The method according to claim 2 or 3, wherein the electronic device controls the Wi-Fi chip to suspend working when the Beidou short message chip receives/sends a signal, and the method specifically comprises:
and the Wi-Fi chip suspends signal sending when the Beidou short message chip receives the signals.
5. The method according to claim 4, wherein the Wi-Fi chip suspends sending signals when the beidou short message chip receives signals, and the method specifically comprises:
and when the Beidou short message chip starts to receive signals, transmitting a Beidou reception start notice to the Wi-Fi chip, wherein the Beidou reception start notice is used for triggering the Wi-Fi chip to suspend signal transmission.
6. The method of claim 5, wherein after the Beidou short message chip sends the Beidou reception start notification to the Wi-Fi chip when starting to receive signals, the method further comprises:
and when the Beidou short message chip finishes receiving the signals, transmitting a Beidou reception finishing notice to the Wi-Fi chip, wherein the Beidou reception finishing notice is used for triggering the Wi-Fi chip to start to transmit the signals.
7. The method according to any one of claims 1-6, wherein after the electronic device detects that the Wi-Fi chip and the beidou short message chip are working simultaneously, the method further comprises:
the electronic equipment judges the priority of Wi-Fi service and Beidou short message service;
when the electronic equipment detects that the Wi-Fi chip works in the preset interference channel, the electronic equipment controls the Wi-Fi chip to avoid the Beidou short message chip, and the method specifically comprises the following steps:
after the electronic equipment judges that the priority of the Beidou short message service is higher than that of the Wi-Fi service, when the electronic equipment detects that the Wi-Fi chip works in the preset interference channel, the electronic equipment controls the Wi-Fi chip to avoid the Beidou short message chip.
8. The method according to claim 1, wherein the electronic device controls the Wi-Fi chip to avoid the beidou short message chip, and the method specifically comprises:
the Wi-Fi chip disconnects the communication connection on the preset interference channel;
and the electronic equipment establishes communication connection in a frequency range outside the preset interference channel, and sends or receives signals of the Wi-Fi service through the communication connection in the frequency range outside the preset interference channel.
9. The method according to claim 8, wherein the electronic device establishes the communication connection in a frequency range outside the preset interference channel, and the method specifically comprises:
the electronic equipment establishes communication connection on a 5GHz frequency band; or, the electronic device establishes a cellular communication connection; or the electronic device establishes communication connection on channels other than the preset interference channel on the 2.4GHz frequency band.
10. The method according to claim 1, wherein the electronic device controls the Wi-Fi chip to avoid the beidou short message chip, and the method specifically comprises:
the electronic equipment detects that the Wi-Fi chip receives or sends signals by using M antennas, wherein M is a positive integer greater than 1;
the Wi-Fi chip receives or sends signals by using N antennas, wherein N is a positive integer smaller than M.
11. The method according to claim 1, wherein the electronic device controls the Wi-Fi chip to avoid the beidou short message chip, and the method specifically comprises:
and the Wi-Fi chip sends or receives signals by using an antenna which is farthest from the antenna of the Beidou short message chip in Euclidean distance.
12. The method according to claim 10, wherein the Wi-Fi chip receives or transmits signals using N antennas, the method comprising in particular:
and the Wi-Fi chip sends or receives signals by using the N antennas which are farthest from the antenna of the Beidou short message chip in Euclidean distance.
13. The method according to claim 1, wherein the electronic device controls the Wi-Fi chip to avoid the beidou short message chip, and the method specifically comprises:
the Wi-Fi chip disconnects the communication connection on the preset interference channel;
and the electronic equipment establishes communication connection on channels except the preset interference channel on the 2.4GHz frequency band.
14. The method of claim 13, wherein after the electronic device establishes a communication connection on a channel other than the preset interference channel on the 2.4GHz band, the method further comprises:
and the Wi-Fi chip sends or receives signals by using an antenna which is farthest from the antenna of the Beidou short message chip in Euclidean distance.
15. The method of claim 13, wherein after the electronic device establishes a communication connection on a channel other than the preset interference channel on the 2.4GHz band, the method further comprises:
the electronic equipment detects that the Wi-Fi chip receives or sends signals by using M antennas, wherein M is a positive integer greater than 1;
the Wi-Fi chip receives or sends signals by using N antennas, wherein N is a positive integer smaller than M.
16. The method according to claim 15, wherein the Wi-Fi chip receives or transmits signals using N antennas, the method comprising in particular:
and the Wi-Fi chip sends or receives signals by using the N antennas which are farthest from the antenna of the Beidou short message chip in Euclidean distance.
17. The method of any of claims 1-7 and 10-16, wherein the electronic device detects that the Wi-Fi chip operates on a preset interference channel, and the method further comprises:
and the Wi-Fi chip is reduced from default transmitting power to preset working power.
18. An electronic device, comprising: one or more processors, a display screen, one or more memories; wherein the display screen, the one or more memories and the one or more processors are coupled with the one or more processors for storing computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 1-17.
19. A computer-readable storage medium comprising instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-17.
20. A computer program product, characterized in that it causes an electronic device to carry out the method according to any one of claims 1-17 when said computer program product is run on said electronic device.
CN202110584928.9A 2021-05-27 2021-05-27 Communication method and device Pending CN115412931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110584928.9A CN115412931A (en) 2021-05-27 2021-05-27 Communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110584928.9A CN115412931A (en) 2021-05-27 2021-05-27 Communication method and device

Publications (1)

Publication Number Publication Date
CN115412931A true CN115412931A (en) 2022-11-29

Family

ID=84155484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110584928.9A Pending CN115412931A (en) 2021-05-27 2021-05-27 Communication method and device

Country Status (1)

Country Link
CN (1) CN115412931A (en)

Similar Documents

Publication Publication Date Title
WO2021135815A1 (en) Communication method and related device and communication system
US11683850B2 (en) Bluetooth reconnection method and related apparatus
CN113676269B (en) Data transmission method of electronic device, medium thereof, and electronic device
US20230189366A1 (en) Bluetooth Communication Method, Terminal Device, and Computer-Readable Storage Medium
CN110602312B (en) Call method, electronic device and computer readable storage medium
CN111371849A (en) Data processing method and electronic equipment
CN113115439A (en) Positioning method and related equipment
US20220408281A1 (en) Method for Adjusting Quantity of Data Streams, Terminal, and MIMO System
US20230125956A1 (en) Wireless Communication System and Method
CN114466107A (en) Sound effect control method and device, electronic equipment and computer readable storage medium
WO2022262492A1 (en) Data downloading method and apparatus, and terminal device
CN113596919B (en) Data downloading method and device and terminal equipment
WO2020124447A1 (en) Multi-sim facing network management
EP4258099A1 (en) Double-channel screen projection method and electronic device
WO2021197115A1 (en) Antenna tuning method and apparatus, and electronic device and network device
CN113572586B (en) Method, user equipment and system for sending sounding reference signal
CN115412931A (en) Communication method and device
CN114916054A (en) Communication method, device and terminal equipment
CN113141637B (en) Multipath transmission control method and control device
CN113099734B (en) Antenna switching method and device
CN113453327A (en) Transmission power control method, terminal, chip system and system
CN116744392B (en) Dual-card communication method and device and terminal equipment
CN113613230B (en) Scanning parameter determination method and electronic equipment
CN117081622B (en) Antenna state control method, chip, electronic device, and readable storage medium
RU2801333C1 (en) Method of control of the number of data streams, terminal device and mimo system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination