CN109348514B - Method and terminal for controlling electromagnetic interference - Google Patents
Method and terminal for controlling electromagnetic interference Download PDFInfo
- Publication number
- CN109348514B CN109348514B CN201811321593.6A CN201811321593A CN109348514B CN 109348514 B CN109348514 B CN 109348514B CN 201811321593 A CN201811321593 A CN 201811321593A CN 109348514 B CN109348514 B CN 109348514B
- Authority
- CN
- China
- Prior art keywords
- terminal
- channel
- frequency
- communication channel
- interference
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
- H04W28/22—Negotiating communication rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application discloses a method for controlling electromagnetic interference and a related device, wherein the method comprises the following steps: when a first terminal and a second terminal carry out Bluetooth communication, the first terminal acquires frequency information of a Bluetooth communication channel of the first terminal; the first terminal determines whether signal interference exists according to the frequency information; if the first terminal determines that signal interference exists, the first terminal determines a first target communication channel again; the first terminal sends a channel switching negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel; the first terminal receives a feedback message sent by the second terminal; and if the feedback message is used for indicating that the switching is allowed, the first terminal is switched to the first target communication channel. The terminal adjusts the frequency of the communication channel of the Bluetooth to the frequency band which is not interfered with the MIPI any more, so that the stability of the Bluetooth communication is improved.
Description
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a method and a related apparatus for controlling electromagnetic interference.
Background
Along with the development of mobile communication technology, the demand of a user for communication between electronic devices such as a mobile phone is increasing, and when the electronic devices on the market transmit data in a short distance, data are generally transmitted through bluetooth communication, and a full-screen mobile phone faces the problem of radio frequency interference: adjusting the MIPI operating frequency of the display screen cannot ensure that the frequency division and frequency multiplication frequency point of the display screen does not fall on the bluetooth operating frequency, which affects the quality and experience of bluetooth communication.
Disclosure of Invention
The embodiment of the application provides an electromagnetic interference control method and a related device, aiming at improving the communication stability of electronic equipment in a Bluetooth interaction scene.
In a first aspect, an embodiment of the present application provides a method for controlling electromagnetic interference, including:
when a first terminal and a second terminal carry out Bluetooth communication, the first terminal acquires frequency information of a Bluetooth communication channel of the first terminal;
the first terminal determines whether signal interference exists according to the frequency information;
if the first terminal determines that signal interference exists, the first terminal determines a first target communication channel again;
the first terminal sends a channel switching negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel;
the first terminal receives a feedback message sent by the second terminal;
and if the feedback message is used for indicating that the switching is allowed, the first terminal is switched to the first target communication channel.
Optionally, the determining, by the first terminal, whether signal interference exists according to the frequency information includes:
the first terminal obtains the frequency of a display screen Mobile Industry Processor Interface (MIPI) of the first terminal;
the first terminal determines a corresponding interference channel frequency list according to the MIPI frequency;
and when the frequency information of the Bluetooth communication channel belongs to the corresponding interference channel frequency list, determining that signal interference exists.
Optionally, the step of the first terminal re-determining the first target communication channel includes:
the first terminal acquires the MIPI frequency to determine a corresponding interference channel frequency list;
and the first terminal selects a Bluetooth channel which does not belong to the frequency interval corresponding to the interference channel frequency list as the first target communication channel.
In addition, optionally, the method further includes:
if the feedback message is used for indicating that the switching is not approved, a second target communication channel sent by the second terminal is obtained;
the first terminal judges whether the second target communication channel is located in a frequency range corresponding to the interference channel frequency list or not;
and if the first terminal is not located in the frequency range corresponding to the interference channel frequency list, the first terminal performs channel switching.
Optionally, the method further includes:
if the second target communication channel is located in the frequency range corresponding to the interference channel frequency list; the first terminal performs data transmission according to the current bluetooth communication channel.
Further optionally, the method further comprises:
if the second target communication channel is located in the frequency range corresponding to the interference channel frequency list; and the first terminal sends a notification message to the second terminal, wherein the notification message is used for indicating the second terminal not to switch the Bluetooth channel.
Optionally, the switching, by the first terminal, to the target communication channel includes:
judging whether the transmission of the current file is finished;
and if the current file transmission is finished, the first terminal is switched to the first target communication channel.
A second aspect of the present invention discloses a terminal, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the frequency information of a Bluetooth communication channel of a first terminal when carrying out Bluetooth communication with a second terminal;
a first determining unit for determining whether there is signal interference according to the frequency information;
a second determining unit, further configured to re-determine the first target communication channel if it is determined that signal interference exists;
a sending unit, configured to send a channel switch negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel;
a receiving unit, configured to receive a feedback message sent by the second terminal;
a switching unit, configured to switch to the first target communication channel if the feedback message is used to indicate that the switching is granted.
The first determining unit is specifically configured to acquire a frequency of a display screen Mobile Industry Processor Interface (MIPI) of the first terminal; determining a corresponding interference channel frequency list according to the MIPI frequency; and when the frequency information of the Bluetooth communication channel belongs to the corresponding interference channel frequency list, determining that signal interference exists.
The second determining unit is specifically configured to acquire the MIPI frequency and determine a corresponding interference channel frequency list; and selecting a Bluetooth channel which does not belong to the frequency interval corresponding to the interference channel frequency list as the first target communication channel.
In addition, optionally, the terminal further includes a determining unit;
the obtaining unit is further configured to obtain a second target communication channel sent by the second terminal if the feedback message is used to indicate that the handover is not approved;
the judging unit is configured to judge whether the first terminal judges that the second target communication channel is located in a frequency range corresponding to the interference channel frequency list;
optionally, the terminal further includes a bluetooth unit;
the bluetooth unit is configured to determine whether the second target communication channel is located in a frequency range corresponding to the interference channel frequency list; the data transmission is performed according to the current bluetooth communication channel.
Optionally, the sending unit is further configured to send a notification message to the second terminal if the second target communication channel is located in the frequency range corresponding to the interference channel frequency list, where the notification message is used to instruct the second terminal not to perform bluetooth channel switching.
The switching unit is configured to perform channel switching if the frequency range corresponding to the interference channel frequency list is not located.
The switching unit is specifically configured to determine whether the current file is completely transmitted; and if the current file transmission is finished, the first terminal is switched to the first target communication channel.
In a third aspect, an embodiment of the present application provides a terminal, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, when a first terminal performs bluetooth communication with a second terminal, the first terminal acquires frequency information of a bluetooth communication channel of the first terminal; the first terminal determines whether signal interference exists according to the frequency information; if the first terminal determines that signal interference exists, the first terminal determines a first target communication channel again; the first terminal sends a channel switching negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel; the first terminal receives a feedback message sent by the second terminal; and if the feedback message is used for indicating that the switching is allowed, the first terminal is switched to the first target communication channel. The terminal adjusts the frequency of the communication channel of the Bluetooth to the frequency band which is not interfered with the MIPI any more, so that the stability of the Bluetooth communication is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is an exemplary architecture diagram of a bluetooth communication system provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating a method for controlling electromagnetic interference according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart of another method for controlling electromagnetic interference provided by an embodiment of the present application;
FIG. 4 is a schematic flow chart of another method for controlling electromagnetic interference provided by an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a block diagram of functional units of a terminal according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, 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 only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the foregoing drawings are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The terminal according to the embodiments of the present application may be an electronic device with data transmission capability, and the electronic device may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), a Mobile Station (MS), a terminal device (terminal device), and the like. The following describes embodiments of the present application in detail.
As shown in fig. 1, the first terminal device 101 and the second terminal device 102 can establish a connection through bluetooth and then perform data transmission through bluetooth, and it can be understood that bluetooth has the advantage of short-distance fast transmission.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for controlling electromagnetic interference, applied to a first terminal, according to an embodiment of the present disclosure; as shown, the method comprises:
s201, when a first terminal and a second terminal carry out Bluetooth communication, the first terminal acquires frequency information of a Bluetooth communication channel of the first terminal;
it is to be appreciated, however, that the present terminals are generally capable of supporting a variety of types of communications, such as cellular network communications, wireless fidelity communications, bluetooth communications, and the like.
Note that, bluetooth (Bluetooth): the wireless communication system is a wireless technical standard, and can realize short-distance data exchange among fixed equipment, mobile equipment and a building personal area network. The band of bluetooth is 2400-2483.5MHz (including guard bands).
In addition, it should be further noted that, if the terminal supports the bluetooth technology, after the bluetooth is turned on and successfully matches with other terminal devices, the bluetooth module reports the frequency information of the bluetooth communication channel to the terminal.
Of course, when the terminal detects that the bluetooth function is turned on, it may send a channel acquisition request message to the bluetooth module, and then receive the frequency information of the bluetooth communication channel fed back by the bluetooth module.
S202, the first terminal determines whether signal interference exists according to the frequency information;
it should be noted that the first recharge needs to determine whether a Mobile Industry Processor Interface (MIPI) frequency of a display screen and a frequency of a bluetooth channel overlap, and if the frequency of the MIPI frequency and the frequency of the bluetooth channel overlap, interference exists.
Specifically, the determining, by the first terminal, whether signal interference exists according to the frequency information includes: the first terminal acquires the frequency of a display screen Mobile Industry Processor Interface (MIPI) of the first terminal; the first terminal determines a corresponding interference channel frequency list according to the MIPI frequency; and when the frequency information of the Bluetooth communication channel belongs to the corresponding interference channel frequency list, determining that signal interference exists.
The first terminal and the second terminal are preset with interference channel lists sensing _ list _1 to sensing _ list _ n corresponding to display screen MIPI operating frequencies freq _1 to freq _ n, respectively. Optionally, the list includes specific interference levels for different bluetooth channels. That is, as long as the frequency of the MIPI of the display screen is determined, the list of the interference channel frequencies corresponding to the frequency of the MIPI may be used. Wherein the list lists channel frequencies that interfere with the frequencies of the MIPI. It is then determined whether the frequency of the bluetooth channel belongs to the same frequency as the frequencies in the list, i.e. whether the frequency of the bluetooth channel is included in the list of interfering channels, if so, indicating the presence of interference.
Of course, each channel frequency may optionally have a particular interference level, such as mild, moderate, and severe. If the frequency of the bluetooth is included in the interference list and the corresponding grade is serious, the interference is determined to exist, if the grade is slight or moderate, the interference is ignored, and the feedback result is no interference.
S203, if the first terminal determines that signal interference exists, the first terminal determines a first target communication channel again;
it should be noted that the step of the first terminal re-determining the first target communication channel includes: the first terminal acquires the MIPI frequency to determine a corresponding interference channel frequency list; and the first terminal selects a Bluetooth channel which does not belong to the frequency interval corresponding to the interference channel frequency list as the first target communication channel.
For example, if there are 20 channels selectable by bluetooth, and if 10 channels are not located in the interference channel frequency list, 1 or more channels may be selected from the 10 channels as the first target communication channel.
S204, the first terminal sends a channel switching negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel;
it is understood that the channel switch negotiation request message may be transmitted via bluetooth, or may be transmitted via wifi or cellular networks. The purpose is to request the second terminal to confirm whether the frequency of the first target communication channel has influence on the second terminal, if no interference is caused to the second terminal, the second terminal will feed back to agree to switch to the first target communication channel for Bluetooth communication; if the interference is caused to the display MIPI of the second terminal, the second terminal also re-determines a second target communication information channel, then the second target communication information channel is sent to the first terminal, the first terminal is made to determine whether the second target communication channel can be adopted, and if the first terminal agrees to adopt the second target communication channel, the second terminal is informed to switch to the second target communication channel. And if the first terminal does not agree with the second target communication channel, the first terminal and the second terminal communicate according to the original Bluetooth communication channel.
S205, the first terminal receives a feedback message sent by the second terminal;
for example, if the feedback message is used to indicate that the handover is not approved, a second target communication channel sent by the second terminal is obtained; the first terminal judges whether the second target communication channel is located in a frequency range corresponding to the interference channel frequency list or not; and if the first terminal is not located in the frequency range corresponding to the interference channel frequency list, the first terminal performs channel switching. Optionally, the method further includes:
if the second target communication channel is located in the frequency range corresponding to the interference channel frequency list; the first terminal performs data transmission according to the current bluetooth communication channel. Further optionally, the method further comprises: if the second target communication channel is located in the frequency range corresponding to the interference channel frequency list; and the first terminal sends a notification message to the second terminal, wherein the notification message is used for indicating the second terminal not to switch the Bluetooth channel.
S206, if the feedback message is used to indicate that the handover is approved, the first terminal switches to the first target communication channel.
In addition, it should be noted that the switching of the first terminal to the target communication channel includes: judging whether the transmission of the current file is finished; and if the current file transmission is finished, the first terminal is switched to the first target communication channel.
As can be seen, in this example, when a first terminal performs bluetooth communication with a second terminal, the first terminal acquires frequency information of a bluetooth communication channel of the first terminal; the first terminal determines whether signal interference exists according to the frequency information; if the first terminal determines that signal interference exists, the first terminal determines a first target communication channel again; the first terminal sends a channel switching negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel; the first terminal receives a feedback message sent by the second terminal; and if the feedback message is used for indicating that the switching is allowed, the first terminal is switched to the first target communication channel. The terminal adjusts the frequency of the communication channel of the Bluetooth to the frequency band which is not interfered with the MIPI any more, so that the stability of the Bluetooth communication is improved.
Referring to fig. 3, based on fig. 2, fig. 3 is a schematic flowchart of a method for controlling electromagnetic interference according to an embodiment of the present disclosure, and is applied to the terminal shown in fig. 1, where as shown in the figure, the method includes:
s301, when a first terminal and a second terminal carry out Bluetooth communication, the first terminal acquires frequency information of a Bluetooth communication channel of the first terminal;
s302, the first terminal obtains the frequency of a display screen Mobile Industry Processor Interface (MIPI) of the first terminal;
s303, the first terminal determines a corresponding interference channel frequency list according to the MIPI frequency;
s304, when the frequency information of the Bluetooth communication channel belongs to the corresponding interference channel frequency list, determining that signal interference exists;
s305, if the first terminal determines that signal interference exists, the first terminal acquires the MIPI frequency to determine a corresponding interference channel frequency list; selecting a Bluetooth channel which does not belong to a frequency interval corresponding to the interference channel frequency list as the first target communication channel;
s306, the first terminal sends a channel switching negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel;
s307, the first terminal receives a feedback message sent by the second terminal;
s308, if the feedback message is used for indicating that the switching is not approved, a second target communication channel sent by the second terminal is obtained; judging whether the second target communication channel is located in a frequency range corresponding to the interference channel frequency list or not; and if the first terminal is not located in the frequency range corresponding to the interference channel frequency list, the first terminal performs channel switching.
In addition, optionally, the performing, by the first terminal, channel switching includes: judging whether the transmission of the current file is finished; and if the current file transmission is finished, the first terminal is switched to the second target communication channel.
It can be seen that, in this embodiment of the application, if it is determined that there is interference between the MIPI of the display screen and the frequency of the communication channel of the bluetooth, the first terminal may re-determine the first target communication channel, and negotiate with the second terminal whether the first target communication channel is feasible, if not, receive the second target communication channel fed back by the second terminal, and if the first terminal determines that the second target communication channel is feasible, switch to the second target communication channel to perform the bluetooth communication. By the technical scheme provided by the invention, the frequency interference in the data transmission process of the Bluetooth is reduced, so that the working stability of the Bluetooth is ensured.
Referring to fig. 4, based on fig. 2, fig. 4 is a schematic flowchart of an electromagnetic interference control method provided in an embodiment of the present application, and is applied to an electronic device, where as shown in the figure, the electromagnetic interference control method includes:
s401, when a first terminal and a second terminal carry out Bluetooth communication, the first terminal obtains frequency information of a Bluetooth communication channel of the first terminal;
s402, the first terminal determines whether signal interference exists according to the frequency information;
wherein, the first terminal determines whether there is signal interference according to the frequency information, including: the first terminal acquires the frequency of a display screen Mobile Industry Processor Interface (MIPI) of the first terminal; the first terminal determines a corresponding interference channel frequency list according to the MIPI frequency; and when the frequency information of the Bluetooth communication channel belongs to the corresponding interference channel frequency list, determining that signal interference exists.
S403, if the first terminal determines that there is signal interference, the first terminal determines the first target communication channel again;
wherein the first terminal re-determining the first target communication channel comprises: the first terminal acquires the MIPI frequency to determine a corresponding interference channel frequency list; and the first terminal selects a Bluetooth channel which does not belong to the frequency interval corresponding to the interference channel frequency list as the first target communication channel.
S404, the first terminal sends a channel switching negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel;
s405, the first terminal receives a feedback message sent by the second terminal;
optionally, if the feedback message is used to indicate that the handover is approved, the first terminal switches to the first target communication channel.
S406, if the feedback message is used for indicating that the switching is not approved, acquiring a second target communication channel sent by the second terminal; judging whether the second target communication channel is located in a frequency range corresponding to the interference channel frequency list or not;
and S407, if the first terminal is located in the frequency range corresponding to the interference channel frequency list, the first terminal performs data transmission according to the original communication channel.
Optionally, if the first terminal is not located in the frequency range corresponding to the interference channel frequency list, the first terminal performs channel switching; specifically, the channel switching includes: judging whether the transmission of the current file is finished; and if the current file transmission is finished, the first terminal is switched to the first target communication channel.
It can be seen that, in the embodiment of the present application, if there is interference between the frequency of the bluetooth communication of the first terminal and the frequency of the MIPI of the display screen, but if the negotiation between the first terminal and the second terminal fails, data transmission will be performed according to the original communication channel, and if the negotiation succeeds, channel switching will be performed after the current data transmission is completed.
Consistent with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of an electronic device 500 provided in an embodiment of the present application, as shown in the drawing, the electronic device 500 includes an application processor 510, a memory 520, a communication interface 530, and one or more programs 521, where the one or more programs 521 are stored in the memory 520 and configured to be executed by the application processor 510, and the one or more programs 521 include instructions for performing the following steps:
when carrying out Bluetooth communication with a second terminal, acquiring frequency information of a Bluetooth communication channel of the first terminal;
determining whether signal interference exists according to the frequency information;
if the signal interference exists, re-determining the first target communication channel;
sending a channel switching negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel;
receiving a feedback message sent by the second terminal;
and if the feedback message is used for indicating that the switching is approved, switching to the first target communication channel.
Optionally, the determining, by the first terminal, whether signal interference exists according to the frequency information includes:
acquiring the MIPI frequency of a display screen mobile industry processor interface of the first terminal;
determining a corresponding interference channel frequency list according to the MIPI frequency;
and when the frequency information of the Bluetooth communication channel belongs to the corresponding interference channel frequency list, determining that signal interference exists.
Optionally, the determining, by the first terminal, the first target communication channel again includes:
acquiring the MIPI frequency to determine a corresponding interference channel frequency list;
and selecting a Bluetooth channel which does not belong to the frequency interval corresponding to the interference channel frequency list as the first target communication channel.
Wherein, optionally, the one or more programs 521 include instructions for performing the steps of:
if the feedback message is used for indicating that the switching is not approved, a second target communication channel sent by the second terminal is obtained;
judging whether the second target communication channel is located in a frequency range corresponding to the interference channel frequency list or not;
and if the frequency range is not located in the frequency range corresponding to the interference channel frequency list, carrying out channel switching.
Optionally, the one or more programs 521 include instructions for performing the steps of:
if the second target communication channel is located in the frequency range corresponding to the interference channel frequency list; the first terminal performs data transmission according to the current bluetooth communication channel.
Further optionally, the one or more programs 521 include instructions for performing the steps of:
if the second target communication channel is located in the frequency range corresponding to the interference channel frequency list; and the first terminal sends a notification message to the second terminal, wherein the notification message is used for indicating the second terminal not to switch the Bluetooth channel.
Optionally, the switching the first terminal to the target communication channel includes:
judging whether the transmission of the current file is finished;
and if the current file transmission is finished, the first terminal is switched to the first target communication channel.
As can be seen from the above, in the technical scheme provided by the present invention, when a first terminal performs bluetooth communication with a second terminal, the first terminal obtains frequency information of a bluetooth communication channel of the first terminal; the first terminal determines whether signal interference exists according to the frequency information; if the first terminal determines that signal interference exists, the first terminal determines a first target communication channel again; the first terminal sends a channel switching negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel; the first terminal receives a feedback message sent by the second terminal; and if the feedback message is used for indicating that the switching is allowed, the first terminal is switched to the first target communication channel. The terminal adjusts the frequency of the communication channel of the Bluetooth to the frequency band which is not interfered with the MIPI any more, so that the stability of the Bluetooth communication is improved.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram of functional units of an apparatus 600 for controlling electromagnetic interference according to an embodiment of the present application. The electromagnetic interference control method device 600 is applied to a terminal and comprises an acquisition unit 601, a first determination unit 602, a second determination unit 603, a transmission unit 604, a receiving unit 605 and a switching unit 606, wherein,
an obtaining unit 601, configured to obtain frequency information of a bluetooth communication channel of a first terminal when performing bluetooth communication with a second terminal;
a first determining unit 602, configured to determine whether there is signal interference according to the frequency information;
the first determining unit 602 is specifically configured to obtain a frequency of a display screen mobile industry processor interface MIPI of the first terminal; determining a corresponding interference channel frequency list according to the MIPI frequency; and when the frequency information of the Bluetooth communication channel belongs to the corresponding interference channel frequency list, determining that signal interference exists.
A second determining unit 603, configured to re-determine the first target communication channel if it is determined that signal interference exists;
optionally, the second determining unit 603 is specifically configured to obtain the MIPI frequency to determine a corresponding interference channel frequency list; and selecting a Bluetooth channel which does not belong to the frequency interval corresponding to the interference channel frequency list as the first target communication channel.
A sending unit 604, configured to send a channel switch negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel;
a receiving unit 605, configured to receive a feedback message sent by the second terminal;
a switching unit 606, configured to switch to the first target communication channel if the feedback message is used to indicate that the handover is approved.
Optionally, the switching unit 606 is specifically configured to determine whether transmission of the current file is completed; and if the current file transmission is finished, the first terminal is switched to the first target communication channel.
Optionally, the apparatus further includes a determining unit 607;
an obtaining unit 601, further configured to obtain a second target communication channel sent by the second terminal if the feedback message is used to indicate that the handover is not approved; a determining unit 607, configured to determine whether the first terminal determines that the second target communication channel is located in the frequency range corresponding to the interference channel frequency list; a switching unit 606, configured to perform channel switching if the frequency range is not located in the frequency range corresponding to the interference channel frequency list.
Optionally, the terminal further includes a bluetooth unit;
the bluetooth unit is configured to determine, if the second target communication channel is located in a frequency range corresponding to the interference channel frequency list; the data transmission is performed according to the current bluetooth communication channel.
Optionally, the sending unit 604 is further configured to send a notification message to the second terminal if the second target communication channel is located in the frequency range corresponding to the interference channel frequency list, where the notification message is used to instruct the second terminal not to perform bluetooth channel switching.
It can be seen that, in the embodiment of the present application, when a first terminal performs bluetooth communication with a second terminal, the first terminal acquires frequency information of a bluetooth communication channel of the first terminal; the first terminal determines whether signal interference exists according to the frequency information; if the first terminal determines that signal interference exists, the first terminal determines a first target communication channel again; the first terminal sends a channel switching negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel; the first terminal receives a feedback message sent by the second terminal; and if the feedback message is used for indicating that the switching is allowed, the first terminal is switched to the first target communication channel. The frequency of the communication channel of the Bluetooth is adjusted to the frequency band which does not interfere with the MIPI any more by the terminal, so that the stability of Bluetooth communication is improved.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the methods as set out in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the above-described units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (7)
1. A method of controlling electromagnetic interference, comprising:
when a first terminal and a second terminal carry out Bluetooth communication, the first terminal acquires frequency information of a Bluetooth communication channel of the first terminal;
the first terminal obtains the frequency of a display screen Mobile Industry Processor Interface (MIPI) of the first terminal; determining a corresponding interference channel frequency list according to the MIPI frequency, wherein the interference channel frequency list comprises channel frequencies which interfere with the MIPI frequency and interference levels of the MIPI frequency to different channel frequencies; if the frequency information of the Bluetooth communication channel belongs to the corresponding interference channel frequency list and the interference level corresponding to the frequency of the Bluetooth communication channel meets the condition, determining that signal interference exists;
if the first terminal determines that signal interference exists, the first terminal determines a first target communication channel again;
the first terminal sends a channel switching negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel;
the first terminal receives a feedback message sent by the second terminal;
if the feedback message is used for indicating that switching is allowed, the first terminal judges whether the transmission of the current file is finished; if the current file transmission is finished, the first terminal is switched to the first target communication channel;
if the feedback message is used for indicating that the switching is not approved, the first terminal acquires a second target communication channel sent by the second terminal; the first terminal judges whether the second target communication channel is located in a frequency range corresponding to the interference channel frequency list or not; and if the first terminal is not located in the frequency range corresponding to the interference channel frequency list, the first terminal performs channel switching.
2. The method of claim 1, wherein the first terminal re-determining the first target communication channel comprises:
the first terminal acquires the MIPI frequency to determine a corresponding interference channel frequency list;
and the first terminal selects a Bluetooth channel which does not belong to the frequency interval corresponding to the interference channel frequency list as the first target communication channel.
3. The method of claim 2, further comprising:
if the second target communication channel is located in the frequency range corresponding to the interference channel frequency list; the first terminal performs data transmission according to the current bluetooth communication channel.
4. The method of claim 3, further comprising:
if the second target communication channel is located in the frequency range corresponding to the interference channel frequency list; and the first terminal sends a notification message to the second terminal, wherein the notification message is used for indicating the second terminal not to switch the Bluetooth channel.
5. A terminal, characterized in that the terminal comprises:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the frequency information of a terminal Bluetooth communication channel when carrying out Bluetooth communication with a second terminal;
the first determining unit is used for acquiring the frequency of a display screen Mobile Industry Processor Interface (MIPI) of the terminal; determining a corresponding interference channel frequency list according to the MIPI frequencies, wherein the interference channel frequency list comprises channel frequencies which interfere with the MIPI frequencies and interference levels of the MIPI frequencies to different channel frequencies; if the frequency information of the Bluetooth communication channel belongs to the corresponding interference channel frequency list and the interference level corresponding to the frequency of the Bluetooth communication channel meets the condition, determining that signal interference exists;
the second determining unit is further used for re-determining the first target communication channel if the signal interference is determined to exist;
a sending unit, configured to send a channel switch negotiation request message to the second terminal; wherein the channel switch negotiation request message includes information of the first target communication channel;
a receiving unit, configured to receive a feedback message sent by the second terminal;
the switching unit is used for judging whether the current file is transmitted completely or not if the feedback message is used for indicating that the switching is allowed; if the current file is completely transmitted, switching to the first target communication channel;
the obtaining unit is further configured to obtain a second target communication channel sent by the second terminal if the feedback message is used to indicate that the handover is not approved;
a determining unit, configured to determine whether the second target communication channel is located in a frequency range corresponding to the interference channel frequency list;
the switching unit is configured to perform channel switching if the frequency range corresponding to the interference channel frequency list is not located.
6. A terminal comprising a processor, memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps in the method of any of claims 1-4.
7. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811321593.6A CN109348514B (en) | 2018-11-07 | 2018-11-07 | Method and terminal for controlling electromagnetic interference |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811321593.6A CN109348514B (en) | 2018-11-07 | 2018-11-07 | Method and terminal for controlling electromagnetic interference |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109348514A CN109348514A (en) | 2019-02-15 |
CN109348514B true CN109348514B (en) | 2022-12-27 |
Family
ID=65312694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811321593.6A Active CN109348514B (en) | 2018-11-07 | 2018-11-07 | Method and terminal for controlling electromagnetic interference |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109348514B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110493839A (en) * | 2019-08-16 | 2019-11-22 | 维沃移动通信有限公司 | A kind of channel switching method and mobile terminal |
EP4075700A4 (en) * | 2019-12-30 | 2022-12-28 | Huawei Technologies Co., Ltd. | Data sending method and device applied to bluetooth communication |
CN112637957A (en) * | 2020-12-10 | 2021-04-09 | 海信视像科技股份有限公司 | Display device and communication method of display device and wireless sound box |
CN111935840B (en) * | 2020-08-19 | 2024-05-31 | 湖南三一中型起重机械有限公司 | Terminal frequency switching method and device and receiving end frequency switching method |
CN112911562B (en) * | 2021-01-25 | 2023-08-25 | 深圳市惠芯通科技有限公司 | Bluetooth transmission method, system, mobile terminal and computer readable storage medium |
CN114675256A (en) * | 2022-03-23 | 2022-06-28 | Oppo广东移动通信有限公司 | Positioning method, device, system, terminal, storage medium and program product |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105357033A (en) * | 2015-10-16 | 2016-02-24 | 华为技术有限公司 | Method and device for reducing interference of mobile industry processor interface to communication quality |
CN106936515A (en) * | 2017-05-09 | 2017-07-07 | 广东欧珀移动通信有限公司 | Radio frequency interference processing method, storage medium and terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8885621B2 (en) * | 2010-04-26 | 2014-11-11 | Intel Corporation | Method, apparatus and system for switching traffic streams among multiple bands |
CN106332132B (en) * | 2015-07-03 | 2021-05-04 | 中兴通讯股份有限公司 | Communication terminal and method for self-adaptive Bluetooth performance adjustment |
KR102341543B1 (en) * | 2015-10-21 | 2021-12-21 | 삼성전자 주식회사 | Method for protecting interferance between frequencies and electronic device implementing the same |
CN105916177B (en) * | 2016-05-30 | 2019-06-14 | 北京小米移动软件有限公司 | A kind of method and apparatus communicated wirelessly |
-
2018
- 2018-11-07 CN CN201811321593.6A patent/CN109348514B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105357033A (en) * | 2015-10-16 | 2016-02-24 | 华为技术有限公司 | Method and device for reducing interference of mobile industry processor interface to communication quality |
CN106936515A (en) * | 2017-05-09 | 2017-07-07 | 广东欧珀移动通信有限公司 | Radio frequency interference processing method, storage medium and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN109348514A (en) | 2019-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109348514B (en) | Method and terminal for controlling electromagnetic interference | |
CN109168149B (en) | Mobile terminal, data transmission method and related product | |
CN107820723B (en) | Frequency selection method, random access method and device | |
CN109743783B (en) | Data transmission control method and related product | |
CN109495880B (en) | Data transmission method and related device | |
CN108810260B (en) | Antenna switching control method and related product | |
CN109379498B (en) | Electromagnetic interference control method and related device | |
CN109362097B (en) | Transmission control method and related device | |
CN112385308B (en) | Network state identifier display control method and related product | |
CN111698676B (en) | Network residence control method, MME device, communication network, and storage medium | |
CN110266360B (en) | Electromagnetic interference adjusting method and related product | |
CN112272404A (en) | Network registration method, device, storage medium and electronic equipment | |
CN110299930B (en) | Antenna switching method and related equipment | |
CN110602738B (en) | Network connection method and device and electronic device | |
US11134429B2 (en) | Method and apparatus for controlling terminal access | |
CN109475005B (en) | Electromagnetic interference control method and related device | |
CN110234169B (en) | Communication interference adjustment control method and related product | |
CN110087225B (en) | Message processing method and related device | |
CN109392018B (en) | Data transmission method and related device | |
KR20180124841A (en) | D2D-based communication method and terminal | |
CN112385268A (en) | Service identifier display control method and related product | |
EP3869712B1 (en) | Electromagnetic interference control method and related apparatus | |
CN110311694B (en) | Communication interference control method and related product | |
CN110198183B (en) | Antenna switching method and related equipment | |
CN115529381A (en) | Call processing method, device, system, electronic equipment and medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |