CN112332931A - Bluetooth interference avoiding method and electronic equipment - Google Patents

Bluetooth interference avoiding method and electronic equipment Download PDF

Info

Publication number
CN112332931A
CN112332931A CN202011232713.2A CN202011232713A CN112332931A CN 112332931 A CN112332931 A CN 112332931A CN 202011232713 A CN202011232713 A CN 202011232713A CN 112332931 A CN112332931 A CN 112332931A
Authority
CN
China
Prior art keywords
frequency band
bluetooth
target
preset
working
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
CN202011232713.2A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011232713.2A priority Critical patent/CN112332931A/en
Publication of CN112332931A publication Critical patent/CN112332931A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B15/00Suppression or limitation of noise or interference
    • H04B15/005Reducing noise, e.g. humm, from the supply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

The application discloses a method for avoiding Bluetooth interference and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: the method comprises the steps that under the condition that equipment in communication connection with the electronic equipment is target Bluetooth equipment, the working frequency band and the working channel of the electronic equipment are obtained, under the condition that the working frequency band is the target frequency band in at least one preset frequency band and the working channel is the target channel corresponding to the target frequency band, a new Bluetooth frequency hopping list is generated according to the preset Bluetooth forbidden frequency band corresponding to the working frequency band, and Bluetooth data transmission is carried out on the electronic equipment and the target Bluetooth equipment according to the new Bluetooth frequency hopping list. Because the new Bluetooth frequency hopping list does not include the frequency points in the preset Bluetooth forbidden frequency bands, the frequency points in the preset Bluetooth forbidden frequency bands are prevented from being adopted for Bluetooth data transmission, so that the interference of the electronic equipment on the target Bluetooth equipment is reduced under the condition that the working channel of the electronic equipment is the channel of the preset sub-frequency bands of the preset frequency bands, and the influence on the target Bluetooth equipment is reduced.

Description

Bluetooth interference avoiding method and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method for avoiding Bluetooth interference and electronic equipment.
Background
Bluetooth technology is a radio technology supporting short-range communication (generally within 10 m) of devices, enabling wireless information exchange between a plurality of devices (e.g., smart phones, bluetooth headsets, smart watches, etc.), and is a technology for transmitting data between various devices using low-power radio. The Bluetooth adopts a Frequency Hopping (Frequency Hopping) mechanism to spread spectrum, a 2.402-2.48 GHz Frequency band is used as a Bluetooth Frequency band for Bluetooth data transmission of Bluetooth equipment, the Bluetooth Frequency band is divided into 79 Frequency points, the interval between adjacent Frequency points is 1MHz, the Bluetooth equipment hops to another Frequency point to transmit after transmitting data at a certain Frequency point in the Frequency band, and the arrangement sequence of the Frequency points is pseudo-random.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: in electronic devices such as smartphones, a Surface Acoustic Wave (SAW) is often used to improve interference in consideration of interference of 4G signals to bluetooth in the electronic devices, while bluetooth devices such as bluetooth headsets and smartwatches are often used to improve interference by a band-pass filter (BPF) for cost reasons. The filtering performance of the BPF in the Bluetooth equipment is far worse than that of the SAW in the electronic equipment, and a channel selected in a 2.402-2.48 GHz frequency band based on a frequency hopping mechanism possibly has larger interference to the Bluetooth equipment, so that the Bluetooth data transmission between the electronic equipment and the Bluetooth equipment is influenced.
Disclosure of Invention
The embodiment of the application aims to provide a method for avoiding Bluetooth interference and electronic equipment, and the method can solve the problem that in the prior art, because the filtering performance of BPF in the Bluetooth equipment is far inferior to that of SAW in the electronic equipment, a channel selected in a 2.402-2.48 GHz frequency band based on a frequency hopping mechanism may have larger interference on the Bluetooth equipment, so that Bluetooth data transmission between the electronic equipment and the Bluetooth equipment is influenced.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for avoiding bluetooth interference, where the method includes:
under the condition that equipment in communication connection with electronic equipment is target Bluetooth equipment, acquiring a working frequency band and a working channel of the electronic equipment;
under the condition that the working frequency band is a target frequency band in at least one preset frequency band and the working channel is a target channel corresponding to the target frequency band, generating a new Bluetooth frequency hopping table according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band, wherein the new Bluetooth frequency hopping table comprises frequency points except the preset Bluetooth forbidden frequency band in the Bluetooth frequency band;
and carrying out Bluetooth data transmission with the target Bluetooth equipment according to the new Bluetooth frequency hopping table.
In a second aspect, an embodiment of the present application provides an apparatus for avoiding bluetooth interference, including;
the first acquisition module is used for acquiring a working frequency band and a working channel of the electronic equipment under the condition that equipment in communication connection with the electronic equipment is target Bluetooth equipment;
the generation module is used for generating a new Bluetooth frequency hopping list according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band under the condition that the working frequency band is a target frequency band in at least one preset frequency band and the working channel is a target channel corresponding to the target frequency band, wherein the new Bluetooth frequency hopping list comprises frequency points in the Bluetooth frequency band except the preset Bluetooth forbidden frequency band;
and the data transmission module is used for carrying out Bluetooth data transmission with the target Bluetooth equipment according to the new Bluetooth frequency hopping table.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that a device in communication connection with an electronic device is a target bluetooth device, an operating frequency band and an operating channel of the electronic device are acquired, and under the condition that the operating frequency band is a target frequency band in at least one preset frequency band and the operating channel is a target channel corresponding to the target frequency band, a new bluetooth frequency hopping table is generated according to a preset bluetooth forbidden frequency band corresponding to the operating frequency band, wherein the new bluetooth frequency hopping table comprises frequency points in the bluetooth frequency band except for the preset bluetooth forbidden frequency band, and bluetooth data transmission is performed with the target bluetooth device according to the new bluetooth frequency hopping table. Because the new Bluetooth frequency hopping list does not include the frequency points in the preset Bluetooth forbidden frequency bands, the frequency points in the preset Bluetooth forbidden frequency bands are prevented from being adopted for Bluetooth data transmission, so that the interference of the electronic equipment on the target Bluetooth equipment is reduced under the condition that the working channel of the electronic equipment is the channel of the preset sub-frequency bands of the preset frequency bands, and the influence on the target Bluetooth equipment is reduced.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for avoiding bluetooth interference in an embodiment of the present application;
fig. 2 is a flowchart illustrating steps of another method for avoiding bluetooth interference according to an embodiment of the present application;
fig. 3 is a flowchart illustrating steps of another method for avoiding bluetooth interference according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a bluetooth interference avoidance apparatus provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of another bluetooth interference avoidance apparatus provided in an embodiment of the present application;
fig. 6 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a schematic hardware structure diagram of another electronic device for implementing the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The method for avoiding bluetooth interference provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a method for avoiding bluetooth interference provided in an embodiment of the present application, where the method may include the following steps:
step 101, acquiring a working frequency band and a working channel of the electronic device under the condition that the device in communication connection with the electronic device is a target Bluetooth device.
Among them, the target bluetooth device refers to a bluetooth device (such as the device using BPF described above) that is susceptible to interference, such as a bluetooth headset, a bluetooth watch, a bluetooth game pad, etc., and because there is no strong interference source inside the system, the BPF is often used to improve interference due to cost considerations during design. The electronic device may be a smart terminal, such as a smart phone, a tablet computer, or the like.
The electronic equipment can work in frequency bands of B40, B41, B7 and the like, wherein the frequency band of B40 refers to the frequency band with the frequency range of 2300MHz-2400MHz, the frequency band of B41 refers to the frequency band with the frequency range of 2496MHz-2690MHz, and the frequency band of B7 refers to the frequency band with the frequency range of 2500MHz-2570 MHz. For example, the electronic device operates in the B40 frequency band, and the operating channel is a channel in the frequency range of 2350MHz-2400MHz, that is, in this embodiment, the obtained operating frequency band of the electronic device is the B40 frequency band, and the operating channel is a channel in the frequency range of 2350MHz-2400MHz of the B40 frequency band.
102, under the condition that the working frequency band is a target frequency band in at least one preset frequency band and the working channel is a target channel corresponding to the target frequency band, generating a new Bluetooth frequency hopping list according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band, wherein the new Bluetooth frequency hopping list comprises frequency points except the preset Bluetooth forbidden frequency band in the Bluetooth frequency band.
The at least one preset frequency band includes, for example, frequency bands B40, B41, B7, and the acquired operating frequency band of the electronic device is a B40 frequency band, so the B40 frequency band is a target frequency band in the at least one preset frequency band. Meanwhile, under the condition that the electronic equipment works in the B40 frequency band, if the working channel of the electronic equipment is a channel in the frequency range of 2350MHz-2400MHz, it is considered that the electronic equipment working on the working channel interferes with the target bluetooth equipment, therefore, the channel in the frequency range of 2350MHz-2400MHz in the B40 frequency band is taken as the target channel corresponding to the B40 frequency band, and if the electronic equipment works in the target channel, that is, the working channel is the target channel corresponding to the target frequency band B40, in this case, it is considered that the electronic equipment may interfere with the target bluetooth equipment.
When the electronic device works in a target channel in the B40 frequency band, if the target bluetooth device works in the 2402MHz-2430MHz frequency range, the electronic device may possibly generate interference to the target bluetooth device, and in order to avoid that the electronic device working in the target channel in the B40 frequency band has interference to the target bluetooth device, in this embodiment, the frequency band in the 2402MHz-2430MHz frequency range in the bluetooth frequency band is used as a preset bluetooth disabled frequency band corresponding to the B40 frequency band, and in a case that it is determined that the electronic device has interference to the target bluetooth device, the preset bluetooth disabled frequency band (i.e., a channel in a lower frequency range of the bluetooth disabled frequency band) is disabled, and a frequency point in the 2431MHz-2480MHz frequency range is used as a frequency point in a new bluetooth frequency hopping table.
It should be noted that, for example, when the electronic device operates in the B41 frequency band and the operating channel is a target channel corresponding to the B41 frequency band, it is determined that the electronic device operating in the target channel of the B41 frequency band may interfere with the target bluetooth device, where the B41 frequency band is 2496MHz-2690MHz, and the target channel corresponding to the B41 frequency band is, for example, a channel in the 2496MHz-2526MHz frequency band, in this case, the frequency band in the higher frequency range of the bluetooth frequency band is used as a preset bluetooth disable frequency band, for example, the frequency band of 2451MHz-2480MHz is used as a preset bluetooth disable frequency band corresponding to the B41 operating frequency band, that is, the generated new bluetooth frequency hopping table only includes frequency bands of 2402MHz-2450 MHz.
And 103, carrying out Bluetooth data transmission with the target Bluetooth equipment according to the new Bluetooth frequency hopping list.
In the method for avoiding bluetooth interference provided by this embodiment, when a device in communication connection with an electronic device is a target bluetooth device, a working frequency band and a working channel of the electronic device are obtained, and when the working frequency band is a target frequency band in at least one preset frequency band and the working channel is a target channel corresponding to the target frequency band, a new bluetooth frequency hopping list is generated according to a preset bluetooth disabled frequency band corresponding to the working frequency band, where the new bluetooth frequency hopping list includes frequency points in the bluetooth frequency band except for the preset bluetooth disabled frequency band, and bluetooth data transmission is performed with the target bluetooth device according to the new bluetooth frequency hopping list. Because the new Bluetooth frequency hopping list does not include the frequency points in the preset Bluetooth forbidden frequency bands, the frequency points in the preset Bluetooth forbidden frequency bands are prevented from being adopted for Bluetooth data transmission, so that the interference of the electronic equipment on the target Bluetooth equipment is reduced under the condition that the working channel of the electronic equipment is the channel of the preset sub-frequency bands of the preset frequency bands, and the influence on the target Bluetooth equipment is reduced.
It should be noted that, when the working frequency band is a frequency band outside of at least one preset frequency band, or when the working frequency band is a target frequency band in at least one preset frequency band and the working channel is a channel outside of the target channel, bluetooth data transmission is performed with the target bluetooth device according to an original bluetooth frequency hopping table, where the original bluetooth frequency hopping table includes each frequency point in the bluetooth frequency band.
For example, if the electronic device does not operate in a preset frequency band such as B40, B41, B7, etc., it may be determined that the electronic device does not have interference with the target bluetooth device. Or, for example, the electronic device operates in the B40 frequency band, but the operating channel is a channel in the 2300MHz-2349MHz frequency band, the channel in the 2300MHz-2339MHz frequency band is a channel outside the target channel corresponding to the B40 frequency band, where the target channel corresponding to the B40 frequency band is a channel in the 2350MHz-2400MHz frequency band, that is, when the electronic device operates in a channel in a lower frequency range in the B40 frequency band, it may be determined that the electronic device does not interfere with the target bluetooth device, in this case, the bluetooth data transmission is performed with the target bluetooth device according to an original bluetooth frequency hopping table, where the original bluetooth frequency hopping table includes frequency points in the bluetooth frequency band. Namely, the frequency point in the range of 2402MHz-2480MHz is still adopted as the frequency point in the original Bluetooth frequency hopping list, and the frequency point in the range of 2402MHz-2480MHz is still adopted for Bluetooth data transmission.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of another method for avoiding bluetooth interference according to an embodiment of the present application, where the method includes the following steps:
step 201, acquiring a device identifier of a device in communication connection with the electronic device.
Step 202, judging whether the device is the target Bluetooth device or not according to the device identifier.
For example, if the device identifier of the device communicatively connected to the electronic device is the identifier of the bluetooth headset, the electronic device may determine that the device is the bluetooth headset according to the device identifier, and the bluetooth headset is the target bluetooth device. If the device identifier of the device in communication connection with the electronic device is the identifier of the bluetooth watch, the electronic device may determine that the device is the bluetooth watch and the bluetooth watch is the target bluetooth device according to the device identifier.
And 203, acquiring the working frequency band and the working channel of the electronic equipment under the condition that the equipment in communication connection with the electronic equipment is the target Bluetooth equipment.
And step 204, acquiring the transmission power of the electronic equipment.
The obtaining of the transmission power of the electronic device may be simultaneous obtaining of the working frequency band and the working channel of the electronic device, or obtaining after obtaining the working frequency band and the working channel of the electronic device, or obtaining before obtaining the working frequency band and the working channel of the electronic device, and this embodiment does not limit the order of obtaining the transmission power of the electronic device.
Step 205, under the condition that the working frequency band is a target frequency band in at least one preset frequency band, the working channel is a target channel corresponding to the target frequency band, and the transmitting power is greater than or equal to a first preset threshold, generating a new bluetooth frequency hopping table according to a preset bluetooth disabled frequency band corresponding to the working frequency band.
In this embodiment, a determination condition is added on the basis of the above embodiment, that is, when the operating frequency band is a target frequency band in at least one preset frequency band, the operating channel is a target channel corresponding to the target frequency band, and the transmission power is relatively high (for example, the transmission power is greater than or equal to a first preset threshold), a new bluetooth frequency hopping table is generated according to a preset bluetooth disabled frequency band corresponding to the operating frequency band. If the transmission power of the electronic device is less than the first preset threshold, the bluetooth frequency hopping table is not adjusted even if the conditions of the above embodiment are met, that is, the working frequency band is a target frequency band in at least one preset frequency band and the working channel is a target channel corresponding to the target frequency band.
In the embodiment, through further fine judgment, namely whether the transmitting power of the electronic equipment is more than or equal to a first preset threshold is additionally judged, the adjustment of the Bluetooth frequency hopping table is carried out in a scene where interference is most likely to occur; under other scenes, the frequency hopping list is not adjusted as much as possible, and the phenomenon that the working environment of the Bluetooth is deteriorated due to the fact that available channels are reduced after the frequency hopping list is adjusted is avoided. Therefore, in the present embodiment, by further performing a fine determination, the bluetooth frequency hopping table is adjusted in a scene where interference is most likely to occur.
And step 206, performing Bluetooth data transmission with the target Bluetooth equipment according to the new Bluetooth frequency hopping list.
In the method provided by this embodiment, when the working frequency band is a target frequency band in at least one preset frequency band, the working channel is a target channel corresponding to the target frequency band, and the transmission power is greater than or equal to a first preset threshold, a new bluetooth frequency hopping table is generated according to a preset bluetooth disabled frequency band corresponding to the working frequency band, bluetooth data transmission is performed with a target bluetooth device according to the new bluetooth frequency hopping table, through further fine judgment, adjustment of the bluetooth frequency hopping table in a scene where interference is most likely to occur is achieved, in other scenes, the frequency hopping table is not adjusted as much as possible, and deterioration of a bluetooth working environment due to reduction of usable channels after adjustment of the frequency hopping table is avoided.
Referring to fig. 3, fig. 3 is a flowchart illustrating steps of another method for avoiding bluetooth interference according to an embodiment of the present application, where the method includes the following steps:
step 301, acquiring a working frequency band and a working channel of the electronic device under the condition that the device in communication connection with the electronic device is the target bluetooth device.
Before step 301 is performed, the following steps may be included:
a device identification of a device communicatively coupled to an electronic device is obtained.
And judging whether the equipment is the target Bluetooth equipment or not according to the equipment identification.
And step 302, receiving a level value of a signal sent by the target Bluetooth device.
The step may be performed before step 301, or after step 301, or simultaneously with step 301, and the execution order of step 302 is not limited in this embodiment.
And 303, generating a new Bluetooth frequency hopping table according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band under the conditions that the working frequency band is a target frequency band in at least one preset frequency band, the working channel is a target channel corresponding to the target frequency band, and the level value is less than or equal to a second preset threshold value.
In this embodiment, a determination condition is added on the basis of the embodiment shown in fig. 1, that is, when the operating frequency band is a target frequency band in at least one preset frequency band, the operating channel is a target channel corresponding to the target frequency band, and a level value of a signal received by the electronic device and sent by the target bluetooth device is small (for example, the level value is less than or equal to a second preset threshold), a new bluetooth frequency hopping table is generated according to a preset bluetooth disabled frequency band corresponding to the operating frequency band. If the level value is greater than the second preset threshold, the bluetooth frequency hopping table is not adjusted even if the conditions of the embodiment shown in fig. 1 are met, that is, the working frequency band is a target frequency band in at least one preset frequency band and the working channel is a target channel corresponding to the target frequency band.
It should be noted that, if the level value of the signal sent by the target bluetooth device received by the electronic device is greater than or equal to the second preset threshold, that is, the received bluetooth signal is stronger, then the normal frequency hopping table is used to perform bluetooth data transmission (the normal frequency hopping table includes frequency points in the 2402MHz-2480MHz frequency band); if the level value of the received signal is smaller than the second preset threshold value, it indicates that the interference signal is stronger at the moment and has a certain influence on the bluetooth communication, so that the bluetooth frequency hopping meter needs to be adjusted at the moment to generate a new bluetooth frequency hopping meter, and the influence of the strong interference signal on the bluetooth data transmission is avoided.
In the embodiment, through further fine judgment, namely whether the level value of the signal sent by the target bluetooth device and received by the electronic device is less than or equal to a second preset threshold value is additionally judged, the adjustment of the bluetooth frequency hopping table is realized in a scene where interference is most likely to occur; under other scenes, the frequency hopping list is not adjusted as much as possible, and the phenomenon that the working environment of the Bluetooth is deteriorated due to the fact that available channels are reduced after the frequency hopping list is adjusted is avoided. Therefore, in the present embodiment, by further performing a fine determination, the bluetooth frequency hopping table is adjusted in a scene where interference is most likely to occur.
And step 304, carrying out Bluetooth data transmission with the target Bluetooth equipment according to the new Bluetooth frequency hopping list.
In the method provided by this embodiment, under the condition that the operating frequency band is a target frequency band in at least one preset frequency band, the operating channel is a target channel corresponding to the target frequency band, and the level value is less than or equal to the second preset threshold, a new bluetooth frequency hopping table is generated according to a preset bluetooth disabled frequency band corresponding to the operating frequency band, bluetooth data transmission is performed with the target bluetooth device according to the new bluetooth frequency hopping table, through further fine judgment, adjustment of the bluetooth frequency hopping table in a scene where interference is most likely to occur is achieved, in other scenes, the frequency hopping table is not adjusted as much as possible, and deterioration of a bluetooth operating environment due to reduction of usable channels after adjustment of the frequency hopping table is avoided.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a bluetooth interference avoidance apparatus provided in an embodiment of the present application, where the bluetooth interference avoidance apparatus 400 includes:
a first obtaining module 410, configured to obtain a working frequency band and a working channel of an electronic device when a device in communication connection with the electronic device is a target bluetooth device;
a generating module 420, configured to generate a new bluetooth frequency hopping list according to a preset bluetooth disabled frequency band corresponding to the working frequency band when the working frequency band is a target frequency band in at least one preset frequency band and the working channel is a target channel corresponding to the target frequency band, where the new bluetooth frequency hopping list includes frequency points in the bluetooth frequency band except for the preset bluetooth disabled frequency band;
and a data transmission module 430, configured to perform bluetooth data transmission with the target bluetooth device according to the new bluetooth frequency hopping table.
The device for avoiding bluetooth interference provided by this embodiment acquires a working frequency band and a working channel of an electronic device when a device in communication connection with the electronic device is a target bluetooth device, generates a new bluetooth frequency hopping list according to a preset bluetooth disabled frequency band corresponding to the working frequency band when the working frequency band is a target frequency band in at least one preset frequency band and the working channel is a target channel corresponding to the target frequency band, wherein the new bluetooth frequency hopping list includes frequency points in the bluetooth frequency band except for the preset bluetooth disabled frequency band, and performs bluetooth data transmission with the target bluetooth device according to the new bluetooth frequency hopping list. Because the new Bluetooth frequency hopping list does not include the frequency points in the preset Bluetooth forbidden frequency bands, the frequency points in the preset Bluetooth forbidden frequency bands are prevented from being adopted for Bluetooth data transmission, so that the interference of the electronic equipment on the target Bluetooth equipment is reduced under the condition that the working channel of the electronic equipment is the channel of the preset sub-frequency bands of the preset frequency bands, and the influence on the target Bluetooth equipment is reduced.
Optionally, the data transmission module 430 is further configured to perform bluetooth data transmission with the target bluetooth device according to an original bluetooth frequency hopping table under the condition that the working frequency band is the frequency band outside the at least one preset frequency band, or under the condition that the working frequency band is the target frequency band in the at least one preset frequency band and the working channel is the channel outside the target channel, wherein each frequency point in the bluetooth frequency band is included in the original bluetooth frequency hopping table.
Optionally, the first obtaining module 410 is further configured to obtain a transmission power of the electronic device;
the generating module 420 is specifically configured to generate a new bluetooth frequency hopping table according to a preset bluetooth disabled frequency band corresponding to the working frequency band when the working frequency band is a target frequency band in the at least one preset frequency band, the working channel is a target channel corresponding to the target frequency band, and the transmission power is greater than or equal to a first preset threshold.
Optionally, referring to fig. 5, fig. 5 is a schematic structural diagram of another bluetooth interference avoiding device provided in an embodiment of the present application, where the device 500 includes:
a receiving module 510, configured to receive a level value of a signal sent by the target bluetooth device;
the generating module 420 is further configured to generate a new bluetooth frequency hopping table according to a preset bluetooth disabled frequency band corresponding to the working frequency band when the working frequency band is a target frequency band in the at least one preset frequency band, the working channel is a target channel corresponding to the target frequency band, and the level value is less than or equal to a second preset threshold value.
Optionally, the method further includes:
a second obtaining module 520, configured to obtain a device identifier of a device communicatively connected to the electronic device;
a determining module 530, configured to determine whether the device is the target bluetooth device according to the device identifier.
The device for avoiding bluetooth interference in the embodiment of the present application may be a device, or may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The bluetooth interference avoidance apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The device for avoiding bluetooth interference provided in the embodiment of the present application can implement each process implemented by the device for avoiding bluetooth interference in the method embodiments of fig. 1, fig. 2, and fig. 3, and is not described here again in order to avoid repetition.
Optionally, an electronic device is further provided in an embodiment of the present application, as shown in fig. 6, fig. 6 is a schematic diagram of a hardware structure of the electronic device provided in the embodiment of the present application. The electronic device 600 includes a processor 601, and a memory 602 is stored in the memory 602 and can be used as a program or an instruction running on the processor 601, and when the program or the instruction is executed by the processor 601, the process of the information processing method embodiment is implemented, and the same technical effect can be achieved, and is not described herein again to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic hardware structure diagram of another electronic device for implementing the embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 710 is configured to, in a case that a device in communication connection with an electronic device is a target bluetooth device, acquire a working frequency band and a working channel of the electronic device;
under the condition that the working frequency band is a target frequency band in at least one preset frequency band and the working channel is a target channel corresponding to the target frequency band, generating a new Bluetooth frequency hopping table according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band, wherein the new Bluetooth frequency hopping table comprises frequency points except the preset Bluetooth forbidden frequency band in the Bluetooth frequency band;
and carrying out Bluetooth data transmission with the target Bluetooth equipment according to the new Bluetooth frequency hopping table.
The method comprises the steps that under the condition that equipment in communication connection with the electronic equipment is target Bluetooth equipment, the working frequency band and the working channel of the electronic equipment are obtained, under the condition that the working frequency band is at least one target frequency band in a preset frequency band and the working channel is the target channel corresponding to the target frequency band, a new Bluetooth frequency hopping list is generated according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band, wherein the new Bluetooth frequency hopping list comprises frequency points in the Bluetooth frequency band except the preset Bluetooth forbidden frequency band, and Bluetooth data transmission is carried out with the target Bluetooth equipment according to the new Bluetooth frequency hopping list. Because the new Bluetooth frequency hopping list does not include the frequency points in the preset Bluetooth forbidden frequency bands, the frequency points in the preset Bluetooth forbidden frequency bands are prevented from being adopted for Bluetooth data transmission, so that the interference of the electronic equipment on the target Bluetooth equipment is reduced under the condition that the working channel of the electronic equipment is the channel of the preset sub-frequency bands of the preset frequency bands, and the influence on the target Bluetooth equipment is reduced.
The processor 710 is further configured to perform bluetooth data transmission with the target bluetooth device according to an original bluetooth frequency hopping table under the condition that the working frequency band is a frequency band outside the at least one preset frequency band, or the working frequency band is the target frequency band in the at least one preset frequency band and the working channel is a channel outside the target channel, where the original bluetooth frequency hopping table includes each frequency point in the bluetooth frequency band.
A processor 710 further configured to obtain a transmit power of the electronic device;
and under the condition that the working frequency band is a target frequency band in the at least one preset frequency band, the working channel is a target channel corresponding to the target frequency band, and the transmitting power is greater than or equal to a first preset threshold value, generating a new Bluetooth frequency hopping table according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band.
A processor 710, further configured to receive a level value of a signal transmitted by the target bluetooth device;
and under the condition that the working frequency band is a target frequency band in the at least one preset frequency band, the working channel is a target channel corresponding to the target frequency band, and the level value is less than or equal to a second preset threshold value, generating a new Bluetooth frequency hopping table according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band.
A processor 710 further configured to obtain a device identifier of a device communicatively connected to the electronic device;
and judging whether the equipment is the target Bluetooth equipment or not according to the equipment identification.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the method for avoiding bluetooth interference is implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 710 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction, so as to implement each process of the above method for avoiding bluetooth interference, and achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for avoiding Bluetooth interference is characterized by comprising the following steps:
under the condition that equipment in communication connection with electronic equipment is target Bluetooth equipment, acquiring a working frequency band and a working channel of the electronic equipment;
under the condition that the working frequency band is a target frequency band in at least one preset frequency band and the working channel is a target channel corresponding to the target frequency band, generating a new Bluetooth frequency hopping table according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band, wherein the new Bluetooth frequency hopping table comprises frequency points except the preset Bluetooth forbidden frequency band in the Bluetooth frequency band;
and carrying out Bluetooth data transmission with the target Bluetooth equipment according to the new Bluetooth frequency hopping table.
2. The method of claim 1, further comprising:
and under the condition that the working frequency band is the frequency band outside the at least one preset frequency band, or under the condition that the working frequency band is the target frequency band in the at least one preset frequency band and the working channel is the channel outside the target channel, carrying out Bluetooth data transmission with the target Bluetooth equipment according to an original Bluetooth frequency hopping list, wherein each frequency point in the Bluetooth frequency band is included in the original Bluetooth frequency hopping list.
3. The method of claim 1, further comprising:
acquiring the transmission power of the electronic equipment;
under the condition that the working frequency band is a target frequency band in the at least one preset frequency band and the working channel is a target channel corresponding to the target frequency band, generating a new Bluetooth frequency hopping table according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band, including:
and under the condition that the working frequency band is a target frequency band in the at least one preset frequency band, the working channel is a target channel corresponding to the target frequency band, and the transmitting power is greater than or equal to a first preset threshold value, generating a new Bluetooth frequency hopping table according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band.
4. The method of claim 1, further comprising:
receiving a level value of a signal sent by the target Bluetooth device;
under the condition that the working frequency band is a target frequency band in at least one preset frequency band and the working channel is a target channel corresponding to the target frequency band, generating a new Bluetooth frequency hopping table according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band, including:
and under the condition that the working frequency band is a target frequency band in the at least one preset frequency band, the working channel is a target channel corresponding to the target frequency band, and the level value is less than or equal to a second preset threshold value, generating a new Bluetooth frequency hopping table according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band.
5. The method of claim 1, further comprising, before the obtaining the operating frequency band and the operating channel of the electronic device:
acquiring a device identifier of a device in communication connection with the electronic device;
and judging whether the equipment is the target Bluetooth equipment or not according to the equipment identification.
6. An electronic device, comprising:
the first acquisition module is used for acquiring a working frequency band and a working channel of the electronic equipment under the condition that equipment in communication connection with the electronic equipment is target Bluetooth equipment;
the generation module is used for generating a new Bluetooth frequency hopping list according to a preset Bluetooth forbidden frequency band corresponding to the working frequency band under the condition that the working frequency band is a target frequency band in at least one preset frequency band and the working channel is a target channel corresponding to the target frequency band, wherein the new Bluetooth frequency hopping list comprises frequency points in the Bluetooth frequency band except the preset Bluetooth forbidden frequency band;
and the data transmission module is used for carrying out Bluetooth data transmission with the target Bluetooth equipment according to the new Bluetooth frequency hopping table.
7. The device according to claim 6, wherein the data transmission module is further configured to perform bluetooth data transmission with the target bluetooth device according to an original bluetooth frequency hopping list when the operating frequency band is a frequency band outside the at least one preset frequency band, or when the operating frequency band is the target frequency band in the at least one preset frequency band and the operating channel is a channel outside the target channel, where the original bluetooth frequency hopping list includes each frequency point in the bluetooth frequency band.
8. The device of claim 6, wherein the first obtaining module is further configured to obtain a transmission power of the electronic device;
the generation module is specifically configured to generate a new bluetooth frequency hopping table according to a preset bluetooth disabled frequency band corresponding to the working frequency band when the working frequency band is a target frequency band in the at least one preset frequency band, the working channel is a target channel corresponding to the target frequency band, and the transmission power is greater than or equal to a first preset threshold.
9. The apparatus of claim 6, further comprising:
the receiving module is used for receiving the level value of the signal sent by the target Bluetooth device;
the generation module is further configured to generate a new bluetooth frequency hopping table according to a preset bluetooth disabled frequency band corresponding to the working frequency band when the working frequency band is a target frequency band in the at least one preset frequency band, the working channel is a target channel corresponding to the target frequency band, and the level value is less than or equal to a second preset threshold value.
10. The apparatus of claim 6, further comprising:
the second acquisition module is used for acquiring the equipment identifier of the equipment in communication connection with the electronic equipment;
and the judging module is used for judging whether the equipment is the target Bluetooth equipment or not according to the equipment identification.
CN202011232713.2A 2020-11-06 2020-11-06 Bluetooth interference avoiding method and electronic equipment Pending CN112332931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011232713.2A CN112332931A (en) 2020-11-06 2020-11-06 Bluetooth interference avoiding method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011232713.2A CN112332931A (en) 2020-11-06 2020-11-06 Bluetooth interference avoiding method and electronic equipment

Publications (1)

Publication Number Publication Date
CN112332931A true CN112332931A (en) 2021-02-05

Family

ID=74316881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011232713.2A Pending CN112332931A (en) 2020-11-06 2020-11-06 Bluetooth interference avoiding method and electronic equipment

Country Status (1)

Country Link
CN (1) CN112332931A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645601A (en) * 2021-08-18 2021-11-12 中国第一汽车股份有限公司 Vehicle-mounted Bluetooth communication method and device, vehicle and storage medium
CN114022983A (en) * 2021-12-09 2022-02-08 Oppo广东移动通信有限公司 Frequency hopping channel selection method and device, communication method and device and communication system
CN114422052A (en) * 2021-12-28 2022-04-29 龙尚科技(上海)有限公司 Anti-interference test method and system for Wi-Fi and Bluetooth
WO2023226359A1 (en) * 2022-05-24 2023-11-30 锐凌无线有限责任公司 Interference avoidance method, system and apparatus, device, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101379783A (en) * 2006-02-06 2009-03-04 高通股份有限公司 Method and apparatus for detecting interference in a wireless communication system
CN104185187A (en) * 2013-05-27 2014-12-03 华为终端有限公司 Control method of coexistence of LTE and WiFi and terminal equipment
CN105704725A (en) * 2016-03-09 2016-06-22 青岛海信电器股份有限公司 Method and device for preventing mutual interference between WIFI communication and Bluetooth communication
CN106358201A (en) * 2016-09-26 2017-01-25 珠海格力电器股份有限公司 Wireless communication method and device
CN108307368A (en) * 2018-02-28 2018-07-20 维沃移动通信有限公司 Bluetooth data transfer method, apparatus, terminal and computer readable storage medium
CN110740465A (en) * 2019-10-23 2020-01-31 Oppo(重庆)智能科技有限公司 Method and system for coexistence of multiple wireless communication devices
CN110839280A (en) * 2019-11-18 2020-02-25 北京展讯高科通信技术有限公司 Method, system, medium, and electronic device for suppressing frequency interference of mobile terminal
CN111246500A (en) * 2018-11-29 2020-06-05 炬芯(珠海)科技有限公司 Bluetooth channel evaluation method and device for identifying wifi interference and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101379783A (en) * 2006-02-06 2009-03-04 高通股份有限公司 Method and apparatus for detecting interference in a wireless communication system
CN104185187A (en) * 2013-05-27 2014-12-03 华为终端有限公司 Control method of coexistence of LTE and WiFi and terminal equipment
CN105704725A (en) * 2016-03-09 2016-06-22 青岛海信电器股份有限公司 Method and device for preventing mutual interference between WIFI communication and Bluetooth communication
CN106358201A (en) * 2016-09-26 2017-01-25 珠海格力电器股份有限公司 Wireless communication method and device
CN108307368A (en) * 2018-02-28 2018-07-20 维沃移动通信有限公司 Bluetooth data transfer method, apparatus, terminal and computer readable storage medium
CN111246500A (en) * 2018-11-29 2020-06-05 炬芯(珠海)科技有限公司 Bluetooth channel evaluation method and device for identifying wifi interference and storage medium
CN110740465A (en) * 2019-10-23 2020-01-31 Oppo(重庆)智能科技有限公司 Method and system for coexistence of multiple wireless communication devices
CN110839280A (en) * 2019-11-18 2020-02-25 北京展讯高科通信技术有限公司 Method, system, medium, and electronic device for suppressing frequency interference of mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645601A (en) * 2021-08-18 2021-11-12 中国第一汽车股份有限公司 Vehicle-mounted Bluetooth communication method and device, vehicle and storage medium
CN114022983A (en) * 2021-12-09 2022-02-08 Oppo广东移动通信有限公司 Frequency hopping channel selection method and device, communication method and device and communication system
CN114022983B (en) * 2021-12-09 2023-08-11 Oppo广东移动通信有限公司 Frequency hopping channel selection method and device, communication method and device and communication system
CN114422052A (en) * 2021-12-28 2022-04-29 龙尚科技(上海)有限公司 Anti-interference test method and system for Wi-Fi and Bluetooth
WO2023226359A1 (en) * 2022-05-24 2023-11-30 锐凌无线有限责任公司 Interference avoidance method, system and apparatus, device, and storage medium

Similar Documents

Publication Publication Date Title
CN112332931A (en) Bluetooth interference avoiding method and electronic equipment
CN107231159B (en) Radio frequency interference processing method, device, storage medium and terminal
CN109104203B (en) Communication method, electronic device, and computer-readable storage medium
CN114374406B (en) Signal sending method, signal receiving method, terminal and communication equipment
CN109348055B (en) Display control method, display control device, electronic apparatus, and readable storage medium
CN107612643B (en) Channel detection method and channel detection equipment
CN110856246B (en) Power control method and electronic equipment
CN110381544B (en) Data transmission control method and device and terminal equipment
CN112135355B (en) Frequency band interference processing method, frequency band interference processing device and electronic equipment
CN108832297B (en) Antenna working method and mobile terminal
CN110688051B (en) Screen recording operation method and device, computer readable storage medium and terminal
CN114389648A (en) Signal transmission method and device, terminal equipment, intelligent equipment and electronic equipment
CN111050410A (en) Antenna control method and electronic equipment
CN108879856B (en) Charging method and terminal
CN110098843B (en) Signal transmission method and device and electronic equipment
CN110149639B (en) Interference processing method, terminal equipment and network side equipment
CN111970024A (en) Communication network control method and device and electronic equipment
CN109561642B (en) Electromagnetic interference control method and related product
CN113489508B (en) Power supply control method, power supply control device, electronic device, and readable storage medium
CN110971822A (en) Picture processing method and device, terminal equipment and computer readable storage medium
CN111327343A (en) Common receiving channel radio frequency device, method and mobile terminal
CN113852945B (en) Electronic equipment and communication method thereof
CN110753391B (en) Information transmission method and device and electronic equipment
CN110868757B (en) Information transmission method and device and electronic equipment
CN109412986B (en) Communication channel setting method and mobile terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210205