CN107948443B - Method, apparatus and computer storage medium for preventing speaker interference in communication - Google Patents

Method, apparatus and computer storage medium for preventing speaker interference in communication Download PDF

Info

Publication number
CN107948443B
CN107948443B CN201711349649.4A CN201711349649A CN107948443B CN 107948443 B CN107948443 B CN 107948443B CN 201711349649 A CN201711349649 A CN 201711349649A CN 107948443 B CN107948443 B CN 107948443B
Authority
CN
China
Prior art keywords
mode
electronic device
channels
speaker
power amplifier
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.)
Expired - Fee Related
Application number
CN201711349649.4A
Other languages
Chinese (zh)
Other versions
CN107948443A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711349649.4A priority Critical patent/CN107948443B/en
Publication of CN107948443A publication Critical patent/CN107948443A/en
Application granted granted Critical
Publication of CN107948443B publication Critical patent/CN107948443B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/6058Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The present disclosure provides a method, an electronic device, and a computer-readable storage medium for preventing speaker interference in communication, the method including: the method comprises the steps that an electronic device determines a first mode of power amplifier work of a loudspeaker, and N channels interfered by the first mode are obtained according to the first mode, wherein the value range of N is an integer larger than or equal to 1; the method comprises the steps that when the electronic device starts a communication module, a first service channel appointed by network side equipment is received; the electronic device determines whether the first traffic channel belongs to the N channels, and if the first traffic channel belongs to the N channels, the electronic device changes the power amplifier operating mode of the speaker from the first mode to the second mode. The technical scheme provided by the application has the advantage of high user experience.

Description

Method, apparatus and computer storage medium for preventing speaker interference in communication
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method for preventing speaker interference in communications, an electronic device, and a computer-readable storage medium.
Background
With the development of electronic devices, due to the development of smart phones, more and more electronic devices are configured with a speaker and a communication function, and frequencies of the speaker and frequencies of communication channels may overlap, so that an interference phenomenon occurs, and an existing electronic device cannot reduce interference between the speaker and the frequencies of the communication channels, thereby affecting communication quality of users, and having low user experience.
Content of application
The embodiment of the application provides a method for preventing loudspeaker interference in communication, an electronic device and a computer readable storage medium, which can reduce the interference between a loudspeaker and a communication channel, improve the communication quality of a user and have the advantage of high user experience.
In a first aspect, an embodiment of the present application provides a method for preventing speaker interference in communication, where the method includes the following steps:
the method comprises the steps that an electronic device determines a first mode of power amplifier work of a loudspeaker, and N channels interfered by the first mode are obtained according to the first mode, wherein the value range of N is an integer larger than or equal to 1;
the method comprises the steps that when the electronic device starts a communication module, a first service channel appointed by network side equipment is received;
the electronic device determines whether the first traffic channel belongs to the N channels, and if the first traffic channel belongs to the N channels, the electronic device changes the power amplifier operating mode of the speaker from the first mode to the second mode.
Optionally, the method further includes:
and the electronic device receives a second service channel appointed by the network side equipment, and if the second service channel does not belong to the N channels, the electronic device adjusts the working mode of the power amplifier of the loudspeaker back to the first mode.
Optionally, the method further includes:
and the electronic device receives a third service channel appointed by the network side equipment again, if the third service channel belongs to the N channels, whether the electronic device is connected with the earphone is detected, if the electronic device is connected with the earphone, the conversation of the electronic device is switched to the earphone for answering, and the power amplifier of the loudspeaker is closed.
Optionally, the method further includes:
the electronic device detects the MIPI frequency of the display equipment, determines whether the MIPI frequency is interfered with a first working frequency point corresponding to the first mode, and if the MIPI frequency is determined to be interfered with the first working frequency point corresponding to the first mode, the electronic device starts the MIPI spread spectrum of the display equipment.
In a second aspect, an electronic device is provided, the electronic device comprising: a processor, a display screen, a communication module, a speaker, and a memory, the processor coupled to the speaker, the display screen, the communication module, and the memory, the memory configured to store one or more programs,
the processor is used for determining a first mode of power amplifier work of the loudspeaker, and obtaining N channels interfered by the first mode according to the first mode, wherein the value range of N is an integer larger than or equal to 1;
the processor is further configured to invoke the program stored in the memory to start the communication module to receive a first traffic channel specified by the network-side device;
the processor is further configured to determine whether the first traffic channel belongs to the N channels, and if the first traffic channel belongs to the N channels, the electronic device changes the power amplifier operating mode of the speaker from the first mode to the second mode.
Optionally, the processor is further configured to receive a second service channel specified by the network-side device, and if the second service channel does not belong to the N channels, the electronic device adjusts the working mode of the power amplifier of the speaker back to the first mode.
Optionally, the processor is configured to control the communication module to receive a third service channel specified by the network-side device again, detect whether the electronic device is connected to the headset if the third service channel belongs to the N channels, and switch the call of the electronic device to the headset for answering if the electronic device is connected to the headset, and turn off the power amplifier of the speaker.
Optionally, the processor is further configured to detect the MIPI frequency of the display device, determine whether the MIPI frequency interferes with the first working frequency point corresponding to the first mode, and if it is determined that the MIPI frequency interferes with the first working frequency point corresponding to the first mode, the electronic device starts the MIPI spreading of the display device.
In a third aspect, an electronic device is provided, which includes: a processing unit, a speaker of the transceiver unit and a display device, wherein the processing unit is connected with the transceiver unit, the speaker and the display device,
the processing unit is used for determining a first mode of power amplifier work of the loudspeaker, and obtaining N channels interfered by the first mode according to the first mode, wherein the value range of N is an integer larger than or equal to 1;
the processing unit is further configured to start the transceiver unit to receive a first traffic channel specified by the network side device;
the processing unit is further configured to determine whether the first traffic channel belongs to the N channels, and if the first traffic channel belongs to the N channels, the electronic device changes the power amplifier operating mode of the speaker from the first mode to the second mode.
In a fourth aspect, a computer-readable storage medium is provided, storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method as provided in the first aspect.
In a fifth aspect, there is provided a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform the method provided by the first aspect.
The embodiment of the application has the following beneficial effects:
it can be seen that, according to the embodiment of the present application, the first mode of the speaker operation is determined, the N interfered channels are determined according to the first mode, and whether the first service channel belongs to the N channels is determined, and if it is determined that the first service channel belongs to the N channels, the electronic device changes the operating mode of the speaker power amplifier from the first mode to the second mode, so that the operating mode of the speaker power amplifier is in the second mode, and the interference to the N channels is avoided, thereby improving the communication quality of the electronic device, improving the communication quality, and improving the user experience.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device.
Fig. 2 is a flow chart illustrating a method for preventing speaker interference in communication.
Fig. 2a is a flow chart of a method for acquiring a traffic channel.
Fig. 2b is a flow chart of another method for acquiring a traffic channel.
Fig. 3a is a schematic diagram of data transmission of a display device.
Fig. 3b is a schematic diagram of timing transmission of a display device.
Fig. 3c is a schematic diagram of timing transmission of another display device.
Fig. 4 is a schematic structural diagram of an electronic device.
Fig. 5 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
Fig. 6 is a schematic structural diagram of another smart device disclosed in 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," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. 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 electronic device in the present application may include a smart Phone (e.g., an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a notebook computer, a Mobile Internet device (MID, Mobile Internet Devices), or a wearable device, and the electronic Devices are merely examples, but not exhaustive, and include but are not limited to the electronic Devices, and for convenience of description, the electronic Devices are referred to as User Equipment (UE) in the following embodiments. Of course, in practical applications, the user equipment is not limited to the above presentation form, and may also include: intelligent vehicle-mounted terminal, computer equipment and the like.
The loudspeaker is commonly called as a loudspeaker, the loudspeaker is actually a conversion device for converting electric energy into sound, when different electronic energy is transmitted to the coil, the coil generates energy and magnetic field interaction of the magnet, the interaction causes paper disc vibration, because the electronic energy changes at any time, the coil of the loudspeaker can move forwards or backwards, so that the paper disc of the loudspeaker can move along with the coil, and the action causes the density degree of air to change to generate sound.
Fig. 1 provides a schematic structural diagram of an electronic device, as shown in fig. 1, the electronic device includes: the electronic device has a plurality of systems, such as Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like. The electronic device may select different communication channels according to different cells, and frequency channels of the different communication channels may overlap frequencies of the speaker, so that the frequencies of the speaker interfere with the frequency channels of the communication channels, thereby affecting quality of the communication channels and user experience.
Referring to fig. 2, fig. 2 is a method for preventing speaker interference in communication according to the present disclosure, where the method is executed by an electronic device, and the electronic device may specifically include: one of a smart phone, a tablet computer, a palm computer, a notebook computer, a mobile internet device or a wearable device, where the method is shown in fig. 2 and includes the following steps:
step S201, the electronic device determines a first mode of power amplifier work of a loudspeaker, and N channels (N is an integer larger than or equal to 1) interfered by the first mode are obtained according to the first mode;
the first working frequency point of the speaker is determined according to the first mode, and a calculation mode or a test mode may be adopted according to the mode of the N channels with which the first working frequency point interferes, which is obtained by calculation of the first working frequency point.
Step S202, when the electronic device starts the communication module, the electronic device receives a first traffic channel designated by the network side equipment.
The specific method for the electronic device to receive the first traffic channel specified by the network-side device in step S202 may be that, for the calling process, a corresponding flowchart is shown in fig. 2a, as shown in fig. 2a, the method includes the following steps:
step S201a, the electronic device sends a channel requirement to the base station, and the specific implementation manner may be that the electronic device sends a short random access burst to the base station.
Step S202a, the base station assigns an Independent dedicated channel (SDCCH) to the electronic device on a Broadcast Channel (BCH).
Step S203a, the electronic device communicates with the base station on SDCCH.
Step S204a, the electronic device performs authority authentication with the base station.
Step S205a, after the authority authentication is successful, the base station sends a designated traffic channel (TCH for short) to the mobile phone.
Step S206a, the electronic device performs voice data transmission with the base station through the TCH.
For the called flow, the flow is shown in FIG. 2b,
step S201b, the base station uses IMSI number in SIM to call the called terminal on the calling channel of paging channel (PCH for short);
step S202b, the called terminal sends an Access request to the base station in a Random Access Channel (RACH);
step S203b, the base station appoints BCH to the called terminal;
step S204b, the called terminal communicates with the base station on SDCCH.
Step S205b, the called terminal performs authority authentication with the base station.
Step S206b, after the authority authentication is successful, the base station sends a designated service signal to the called terminal.
Step S207b, the called terminal performs voice data transmission with the base station through the TCH.
Step S203, the electronic device determines whether the first traffic channel belongs to the N channels, and if the first traffic channel belongs to the N channels, the electronic device changes the power amplifier operating mode of the speaker from the first mode to the second mode.
The second mode may specifically be a working mode different from the first mode, and specifically, an absolute value of a difference between a second working frequency point and a first working frequency point of the speaker in the second mode is greater than a frequency threshold. The setting can ensure that the channels interfered by the second mode are not N channels, so that the mode of the power amplifier of the loudspeaker is adjusted from the first mode to the second mode to have certain significance.
According to the technical scheme, whether a first service channel belongs to N channels or not is determined according to a first mode of working of the loudspeaker, if the first service channel belongs to the N channels, the working mode of the loudspeaker power amplifier is changed from the first mode to a second mode by the electronic device, so that the working mode of the loudspeaker power amplifier is in the second mode, interference on the N channels is avoided, the communication quality of the electronic device is improved, the communication quality is improved, and the user experience is improved.
Optionally, after step S203, the method may further include:
and the electronic device receives a second service channel appointed by the network side equipment, and if the second service channel does not belong to the N channels, the electronic device adjusts the working mode of the power amplifier of the loudspeaker back to the first mode.
For electronic equipment, the optimal operating mode of the speaker power amplifier may also be referred to as a default operating mode as a first mode, where the operating efficiency of the power amplifier is highest and the effect of the speaker is best in the first mode, but the optimal operating mode may interfere with a part of communication channels in a GSM communication channel (e.g., a traffic channel), and at this time, if the GSM communication channel belongs to the part of communication channels, the operating mode of the speaker power amplifier needs to be adjusted from the default mode to a second mode, so that although a part of the audio effect is sacrificed, the interference with N channels is avoided, and the quality of the channels is improved.
Optionally, the method may further include:
and the electronic device receives a third service channel appointed by the network side equipment again, if the third service channel belongs to the N channels, whether the electronic device is connected with the earphone is detected, if the electronic device is connected with the earphone, the conversation of the electronic device is switched to the earphone for answering, and the power amplifier of the loudspeaker is closed.
When the current service channel is switched to the N channels again, the communication of the electronic device is switched to the earphone to answer by detecting whether the earphone is connected or not of the electronic device, for example, the earphone is connected (the connection can comprise wired connection or wireless connection), the power amplifier of the loudspeaker is closed, the frequency of the power amplifier of the loudspeaker is zero, and the power amplifier of the loudspeaker cannot generate any interference on the communication channel, so that the communication channel has the advantages of avoiding interference and improving the communication quality.
Optionally, the method may further include:
the electronic device detects the MIPI frequency of the display equipment, determines whether the MIPI frequency is interfered with a first working frequency point corresponding to the first mode, and if the MIPI frequency is determined to be interfered with the first working frequency point corresponding to the first mode, the electronic device starts the MIPI spread spectrum of the display equipment.
For the MIPI frequency of the display device, if the MIPI frequency is close to the first working frequency point corresponding to the first mode of the speaker, the MIPI frequency of the display device interferes with the frequency of the speaker, the frequency of the speaker also interferes with the display device, at this time, the MIPI spread spectrum is started, although the frequency of the speaker also interferes, the interference of the MIPI spread spectrum is much smaller than the interference of normal display of the display device, so the MIPI spread spectrum of the display device is started at this time, after the MIPI spread spectrum is started by the display device, the frequency range of the interference of the display device is increased, but the interference strength is reduced, although the interference of the MIPI frequency with the speaker cannot be completely avoided, the interference of the MIPI frequency with the speaker can be reduced, so that the communication quality is improved, and the user experience is improved.
Referring to fig. 3a, fig. 3a is a schematic diagram of data transmission of a display device (e.g., a liquid crystal panel), as shown in fig. 3a, the digital signals output by the LCD driving board include RGB data signals, i.e., RGB colors representing three channels of Red, Green, and Blue, which are commonly known as three primary colors, wherein R represents Red (Red), G represents Green (Green), and B represents Blue (Blue); and also includes signals such as line synchronization (Hsync, Vertical synchronization), field synchronization (Vsync, Vertical synchronization), Data Enable (DE, Data Enable), and pixel clock. Taking the output of a low-voltage differential signaling (LVDS) interface as an example, the arrangement of the signals is shown in fig. 3 a. Two transmission modes are defined in the LVDS transmission protocol: a Data Enable mode (DE mode, full name of Data Enable mode) and a synchronization mode (Sync mode, full name of synchronization mode); DE mode only needs the DE signal to synchronize RGB data, Sync mode needs to synchronize RGB data with Hsync and Vsync.
Referring to fig. 3b, a schematic diagram of a relationship between an LCD display timing and an operating timing of a speaker is shown, as shown in fig. 3b, input DE may be an input enable signal, input RGB data may be input RGB data for a line buffer in a TCON IC, output RGB data may be output RGB data for a line buffer in a TCON IC, and STV is a start signal generated or generated in a TCON IC, where the STV is used for processing input RGB data only by data in a clock control chip (TCON IC) after an STV timing, and since an electronic device normally operates, a corresponding display is normally displayed, as shown in fig. 3b, that is, in an interval shown by tx, if the timing of the speaker is also at a high level, the input RGB data and the output RGB data interfere with the speaker. Therefore, according to the technical scheme provided by the application, the MIPI frequency of the display device is detected, whether the MIPI frequency is interfered with the first working frequency point corresponding to the first mode or not is determined, the electronic device determines the first time t1 when the loudspeaker is turned on and the second time t2 when the loudspeaker is turned off, and the electronic device keeps the start signal STV of the clock control chip of the display device at a low level (namely, the level signal is 0) in the interval between t1 and t 2. The specific timing diagram is shown in fig. 3 c.
In this way, by controlling the level of the STV, the on-time and the off-time can be recorded when the speaker is turned on, and the transmission of output RGB data of the display device is cut off between the on-time and the off-time, and the frequency of the STV at this time is also zero, so that the interference to the speaker due to the display of the display device is not affected, and the interference to the communication channel is not affected to the MIPI frequency of the display device.
As shown in fig. 3c, the input DE may be an input enable signal, the input RGB data may be input RGB data for a line buffer in the TCON IC, the output RGB data may be output RGB data for a line buffer in the TCON IC, and the STV is a start signal generated or generated in the TCON IC, and the STV is used for processing the input RGB data only in the clock control chip (TCON IC) after the STV timing sequence, and since the electronic device normally operates, the corresponding display is normally displayed, as shown in fig. 3c, that is, in the interval shown in [ t1, t2 ], if the speaker also operates, and the STV also has a certain frequency, the input RGB data, the output RGB data, and the STV interfere with the speaker. Therefore, according to the technical scheme provided by the application, the first time t1 when the loudspeaker is turned on and the second time t2 when the loudspeaker is turned off are determined, and the electronic device keeps the starting signal STV of the clock control chip of the display device at a low level (namely, the level signal is 0) in the interval between t1 and t 2. Since the speaker is operated without a display device, the STV is set to a low level, which does not affect the user experience, since the user does not need to view the content of the display screen.
Referring to fig. 4, an embodiment of the present application provides an electronic device, including: a processor 401, a display screen 402, a communication module 403, a memory 404 and a speaker 405, the processor being connected to the speaker 405, the display screen, the communication module and the memory;
a memory 404 for storing one or more programs,
the processor 401 is configured to determine a first mode of power amplifier operation of the speaker, and obtain N channels interfered by the first mode according to the first mode, where a value range of N is an integer greater than or equal to 1;
the processor 401 is further configured to invoke the program stored in the memory to start the communication module to receive a first traffic channel specified by the network-side device;
the processor 401 is further configured to determine whether the first traffic channel belongs to the N channels, and if the first traffic channel belongs to the N channels, the electronic device changes the power amplifier operation mode of the speaker from the first mode to the second mode.
Optionally, the processor 401 is further configured to control the communication module to receive a second service channel specified by the network-side device, and if the second service channel does not belong to the N channels, the electronic device adjusts the working mode of the power amplifier of the speaker back to the first mode.
Optionally, the processor 401 is configured to call the program to control the communication module to receive a third service channel specified by the network-side device again, and detect whether the electronic device is connected to the headset if the third service channel belongs to the N channels, and switch the call of the electronic device to the headset for answering and turn off the power amplifier of the speaker if the electronic device is connected to the headset.
Optionally, the processor 401 is further configured to detect the MIPI frequency of the display device, determine whether the MIPI frequency interferes with the first working frequency point corresponding to the first mode, and if it is determined that the MIPI frequency interferes with the first working frequency point corresponding to the first mode, the electronic device starts the MIPI spreading of the display device.
Optionally, the display screen 402 further includes: a clock control chip 4021;
the processor is further configured to detect the MIPI frequency of the display device, determine whether the MIPI frequency interferes with a first working frequency point corresponding to the first mode, determine a first time t1 when the speaker is turned on and a second time t2 when the speaker is turned off, and keep a start signal STV of a clock control chip of the display device at a low level in an interval between t1 and t 2.
According to the technical scheme, whether a first service channel belongs to N channels or not is determined according to a first mode of working of the loudspeaker, if the first service channel belongs to the N channels, the working mode of the loudspeaker power amplifier is changed from the first mode to a second mode by the electronic device, so that the working mode of the loudspeaker power amplifier is in the second mode, interference on the N channels is avoided, the communication quality of the electronic device is improved, the communication quality is improved, and the user experience is improved.
Referring to fig. 5, the present application provides an electronic device, including: a processing unit 501, a transceiver unit 502, a speaker 504 and a display device 503, the processing unit is connected with the speaker 504, the transceiver unit and the display device respectively,
the processing unit 501 is configured to determine a first mode of power amplifier operation of a speaker, and obtain N channels interfered by the first mode according to the first mode, where a value range of N is an integer greater than or equal to 1;
the processing unit 501 is further configured to start the transceiver unit to receive a first traffic channel specified by a network side device;
the processing unit 501 is further configured to determine whether the first traffic channel belongs to the N channels, and if the first traffic channel belongs to the N channels, the electronic device changes the power amplifier operating mode of the speaker from the first mode to the second mode.
Fig. 6 is a block diagram illustrating a partial structure of an intelligent device provided in an embodiment of the present application. Referring to fig. 6, the server includes: radio Frequency (RF) circuit 910, memory 920, input unit 930, sensor 950, audio circuit 960, Wireless Fidelity (WiFi) module 970, application processor AP980, and power supply 990. Those skilled in the art will appreciate that the smart device architecture shown in FIG. 6 does not constitute a limitation of smart devices and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The following describes each component of the smart device in detail with reference to fig. 6:
the input unit 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the smart device. Specifically, the input unit 930 may include a touch display 933, a stylus 931, and other input devices 932. The input unit 930 may also include other input devices 932. In particular, other input devices 932 may include, but are not limited to, one or more of physical keys, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The AP980 is a control center of the smart device, connects various parts of the entire smart device using various interfaces and lines, and performs various functions of the smart device and processes data by running or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the smart device. Optionally, AP980 may include one or more processing units; alternatively, the AP980 may integrate an application processor that handles primarily the operating system, user interface, and applications, etc., and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into the AP 980. The AP980 may be integrated with a face recognition module, and in practical applications, the face recognition module may also be separately disposed or integrated in the camera 770, for example, the face recognition module shown in fig. 6 is integrated in the AP 980.
Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
RF circuitry 910 may be used for the reception and transmission of information. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The AP980 is used for determining a first mode of power amplifier work of the loudspeaker, and obtaining N channels interfered by the first mode according to the first mode, wherein the value range of N is an integer larger than or equal to 1;
the AP980 is also used for calling the program stored in the memory to start the communication module to receive a first service channel appointed by network side equipment;
the AP980 is further configured to determine whether the first traffic channel belongs to the N channels, and if the first traffic channel belongs to the N channels, the electronic device changes the power amplifier operation mode of the speaker from the first mode to the second mode.
Optionally, the AP980 is further configured to control the RF circuit to receive a second service channel specified by the network-side device, and if the second service channel does not belong to the N channels, the electronic device adjusts the operating mode of the power amplifier of the speaker back to the first mode.
Optionally, the AP980 is configured to control the communication module to receive a third service channel specified by the network-side device again, and if the third service channel belongs to the N channels, detect whether the electronic device is connected to the headset, if the electronic device is connected to the headset, switch the call of the electronic device to the headset, and turn off the power amplifier of the speaker.
Optionally, the AP is further configured to detect the MIPI frequency of the display device, determine whether the MIPI frequency interferes with the first working frequency point corresponding to the first mode, and if it is determined that the MIPI frequency interferes with the first working frequency point corresponding to the first mode, the electronic device starts the MIPI spreading of the display device.
Optionally, the touch display screen 933 further includes: the clock control chip 8801;
the AP980 is further configured to detect the MIPI frequency of the display device, determine whether the MIPI frequency interferes with the first working frequency point corresponding to the first mode, determine a first time t1 when the speaker is turned on and a second time t2 when the speaker is turned off, and keep the start signal STV of the clock control chip of the display device at a low level in an interval between t1 and t 2.
The smart device may also include at least one sensor 950, such as a light sensor, motion sensor, proximity sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the touch display screen according to the brightness of ambient light, and the proximity sensor may turn off the touch display screen and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; the proximity sensor may be used to detect the distance between the handset and the user. As for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between the user and the smart device. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and the audio signal is converted by the speaker 961 to be played; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, and the electrical signal is received by the audio circuit 960 and converted into audio data, and the audio data is processed by the audio playing AP980, and then sent to another mobile phone via the RF circuit 910, or played to the memory 920 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 970, and provides wireless broadband Internet access for the user. Although fig. 6 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the smart device, and may be omitted entirely as needed within the scope of not changing the essence of the application.
The smart device also includes a power supply 990 (e.g., a battery or a power module) for supplying power to various components, and optionally, the power supply may be logically connected to the AP980 via a power management system, so that functions of managing charging, discharging, and power consumption are implemented via the power management system.
According to the technical scheme, whether a first service channel belongs to N channels or not is determined according to a first mode of working of the loudspeaker, if the first service channel belongs to the N channels, the working mode of the loudspeaker power amplifier is changed from the first mode to a second mode by the electronic device, so that the working mode of the loudspeaker power amplifier is in the second mode, interference on the N channels is avoided, the communication quality of the electronic device is improved, the communication quality is improved, and the user experience is improved.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods for preventing speaker interference in communication as described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform part or all of the steps of any one of the methods for preventing speaker interference in communication as set forth in the above method embodiments.
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 exemplary 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 embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection 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 be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. 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 method described in 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 (6)

1. A method for preventing speaker interference in communications, the method comprising the steps of:
the method comprises the steps that an electronic device determines a first mode of power amplifier work of a loudspeaker, and N channels interfered by the first mode are obtained according to the first mode, wherein the value range of N is an integer larger than or equal to 1;
the method comprises the steps that when the electronic device starts a communication module, a first service channel appointed by network side equipment is received;
the electronic device determines whether the first service channel belongs to the N channels, and if the first service channel belongs to the N channels, the electronic device changes the power amplification working mode of the loudspeaker from a first mode to a second mode;
the electronic device receives a second service channel appointed by the network side equipment, and if the second service channel does not belong to the N channels, the electronic device adjusts the working mode of the power amplifier of the loudspeaker back to the first mode;
and the electronic device receives a third service channel appointed by the network side equipment again, if the third service channel belongs to the N channels, whether the electronic device is connected with the earphone is detected, if the electronic device is connected with the earphone, the conversation of the electronic device is switched to the earphone for answering, and the power amplifier of the loudspeaker is closed.
2. The method of claim 1, further comprising:
the electronic device detects the MIPI frequency of the display equipment, determines whether the MIPI frequency is interfered with a first working frequency point corresponding to the first mode, and if the MIPI frequency is determined to be interfered with the first working frequency point corresponding to the first mode, the electronic device starts the MIPI spread spectrum of the display equipment.
3. An electronic device, the electronic device comprising: a processor, a display screen, a communication module, a speaker, and a memory, the processor coupled to the speaker, the display screen, the communication module, and the memory, the memory configured to store one or more programs,
the processor is used for determining a first mode of power amplifier work of the loudspeaker, and obtaining N channels interfered by the first mode according to the first mode, wherein the value range of N is an integer larger than or equal to 1;
the processor is further configured to invoke the program stored in the memory to start the communication module to receive a first traffic channel specified by the network-side device;
the processor is further configured to determine whether the first traffic channel belongs to the N channels, and if the first traffic channel belongs to the N channels, change the power amplifier operating mode of the speaker from the first mode to the second mode;
the processor is further configured to receive a second service channel specified by the network-side device, and adjust the operating mode of the power amplifier of the speaker back to the first mode if the second service channel does not belong to the N channels;
the processor is configured to control the communication module to receive a third service channel specified by the network-side device again, detect whether an earphone is connected, if so, switch a call to the earphone for answering, and close a power amplifier of the speaker.
4. The electronic device of claim 3,
the processor is further configured to detect the MIPI frequency of the display device, determine whether the MIPI frequency interferes with the first working frequency point corresponding to the first mode, and start the MIPI spread spectrum of the display device if it is determined that the MIPI frequency interferes with the first working frequency point corresponding to the first mode.
5. An electronic device, comprising: a processing unit, a transceiver unit, a speaker and a display device, wherein the processing unit is connected with the transceiver unit, the speaker and the display device,
the processing unit is used for determining a first mode of power amplifier work of the loudspeaker, and obtaining N channels interfered by the first mode according to the first mode, wherein the value range of N is an integer larger than or equal to 1;
the processing unit is further configured to start the transceiver unit to receive a first traffic channel specified by the network side device;
the processing unit is further configured to determine whether the first traffic channel belongs to the N channels, and if the first traffic channel belongs to the N channels, change the power amplifier operating mode of the speaker from the first mode to the second mode;
the processing unit is further configured to receive a second service channel specified by the network-side device, and adjust the working mode of the power amplifier of the speaker back to the first mode if the second service channel does not belong to the N channels;
the processing unit is further configured to control the transceiver unit to receive a third service channel specified by the network-side device again, and if the third service channel belongs to the N channels, detect whether an earphone is connected, if so, switch the call to the earphone for answering, and close a power amplifier of the speaker.
6. A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-2.
CN201711349649.4A 2017-12-15 2017-12-15 Method, apparatus and computer storage medium for preventing speaker interference in communication Expired - Fee Related CN107948443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711349649.4A CN107948443B (en) 2017-12-15 2017-12-15 Method, apparatus and computer storage medium for preventing speaker interference in communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711349649.4A CN107948443B (en) 2017-12-15 2017-12-15 Method, apparatus and computer storage medium for preventing speaker interference in communication

Publications (2)

Publication Number Publication Date
CN107948443A CN107948443A (en) 2018-04-20
CN107948443B true CN107948443B (en) 2021-01-08

Family

ID=61944442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711349649.4A Expired - Fee Related CN107948443B (en) 2017-12-15 2017-12-15 Method, apparatus and computer storage medium for preventing speaker interference in communication

Country Status (1)

Country Link
CN (1) CN107948443B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495642B (en) * 2018-10-26 2020-12-08 Oppo广东移动通信有限公司 Display control method and related product
CN109474743B (en) * 2018-11-19 2021-03-12 Oppo广东移动通信有限公司 Electromagnetic interference control method and related product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5196574B2 (en) * 2009-02-04 2013-05-15 Necカシオモバイルコミュニケーションズ株式会社 Communication terminal and program
CN105827775A (en) * 2016-04-20 2016-08-03 努比亚技术有限公司 Test method and system for reducing interference of mobile industry processor interfaces (MIPI)
CN106936515A (en) * 2017-05-09 2017-07-07 广东欧珀移动通信有限公司 Radio frequency interference processing method, storage medium and terminal
CN107147419A (en) * 2017-05-09 2017-09-08 广东欧珀移动通信有限公司 Reduce method, storage medium and the terminal of signal interference

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5196574B2 (en) * 2009-02-04 2013-05-15 Necカシオモバイルコミュニケーションズ株式会社 Communication terminal and program
CN105827775A (en) * 2016-04-20 2016-08-03 努比亚技术有限公司 Test method and system for reducing interference of mobile industry processor interfaces (MIPI)
CN106936515A (en) * 2017-05-09 2017-07-07 广东欧珀移动通信有限公司 Radio frequency interference processing method, storage medium and terminal
CN107147419A (en) * 2017-05-09 2017-09-08 广东欧珀移动通信有限公司 Reduce method, storage medium and the terminal of signal interference

Also Published As

Publication number Publication date
CN107948443A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN108111679B (en) Anti-interference method of electronic device and related product
CN108632930B (en) Network searching control method and device and mobile terminal
CN106604314B (en) WiFi roaming network access method and terminal equipment
CN107172671B (en) Channel switching method, device, storage medium and terminal
CN110896560B (en) Uplink signal sending method and terminal
JP2021530914A (en) Paging instruction method, equipment and system
CN108377157B (en) Control method and device of Wi-Fi antenna
CN109714488B (en) Terminal equipment working mode adjusting method and device, terminal equipment and storage medium
CN112584374B (en) Capability parameter determination method, uplink scheduling method, terminal and network side equipment
CN112533235A (en) Channel monitoring control method and terminal
CN107948443B (en) Method, apparatus and computer storage medium for preventing speaker interference in communication
CN111263437B (en) Transmission method, equipment and medium for paging message
CN111641976A (en) Data transmission method, terminal equipment and network equipment
CN113286335B (en) Frequency point switching method and device, storage medium and access point
CN113784433A (en) Paging cycle updating method, communication device, communication system, and storage medium
CN111642000B (en) Data transmission method and device, electronic equipment and computer readable storage medium
CN113316954B (en) Indication method, receiving method, device, communication equipment and storage medium
CN112135321B (en) Channel switching method and related product
KR102327665B1 (en) Method, apparatus and terminal device for determining the position of a paging frame
WO2017193268A1 (en) Uplink data transmission method, terminal device, and network device
CN106815077B (en) Data processing method based on intelligent device architecture and intelligent device
CN106817751B (en) Data sending method and mobile terminal
CN109936422B (en) Method for preventing motor interference in communication and related product
US20210211918A1 (en) Reporting method, receiving method, terminal, and network-side device
CN108322943B (en) Local area network allocation method, terminal and storage 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210108