Method and device for suppressing interference of peripheral IC device, equipment and storage medium
By detecting the power mode of the RF power amplifier and dynamically adjusting the operating frequency of peripheral IC devices, the problem of peripheral IC devices interfering with communication quality is solved, and the effect of avoiding frame drops and processing speed reduction is achieved while ensuring communication quality. .
Patent Information
- Application Number
- CN202411442977.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-01-21
AI Technical Summary
The noise generated by the peripheral IC devices of electronic devices during operation interferes with the main antenna, resulting in a decrease in communication quality. Especially in wearable devices with limited size, traditional shielding measures are not effective, and frequency reduction processing leads to frame drops and processing. Speed drop and other problems.
By detecting the power mode of the RF power amplifier, if you switch from low power mode to high power mode or vice versa, the working frequency of the peripheral IC device is dynamically adjusted to match the current power mode, thereby reducing the interference of communication quality.
Effectively reduce the interference of the communication quality of the peripheral IC device, avoid decreased frame drops and processing speed caused by long -term frequency reduction, and improve the user experience.
Smart Images

Figure CN119341660A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic devices, and in particular to a method, device, equipment and storage medium for suppressing interference of peripheral IC devices. Background Art
[0002] For some peripheral IC devices of electronic devices (such as cameras and screens), the noise generated during operation will interfere with the main antenna of the electronic device, resulting in reduced communication quality and affecting the user experience. At this time, what can be done is to reduce the impact of the operation of peripheral IC devices on the electronic device through various measures. Conventional treatment solutions include adding auxiliary materials for shielding or reducing the operating frequency of peripheral IC devices through patch updates. However, due to the size limitations of some electronic devices (such as wearable electronic devices), peripheral IC devices are generally close to the main antenna, and adding auxiliary materials cannot achieve a good shielding effect. Reducing the operating frequency of peripheral IC devices through patch updates will cause the peripheral IC devices to be in a down-clocked state until the next patch update, resulting in a series of defects such as frame drops and reduced processing speed, affecting the user experience. Summary of the invention
[0003] In a first aspect, an embodiment of the present invention provides a method for suppressing interference of a peripheral IC device, the method comprising:
[0004] When the electronic device is in a communication state, detecting the power of a radio frequency power amplifier of the electronic device;
[0005] Determining the power mode of the radio frequency power amplifier according to the power of the radio frequency power amplifier;
[0006] If the power mode of the radio frequency power amplifier at the current moment is the high power mode, and the power mode at the previous moment is the low power mode, then the operating frequency of the peripheral IC device in the working state of the electronic device is reduced;
[0007] If the power mode of the radio frequency power amplifier at the current moment is the low power mode, and the power mode at the previous moment is the high power mode, the operating frequency of the peripheral IC device of the electronic device in the working state is increased.
[0008] In some implementations of the first aspect, detecting the power of a radio frequency power amplifier of an electronic device includes:
[0009] The power of the radio frequency power amplifier is detected by a power detector connected to the radio frequency power amplifier in the electronic device.
[0010] In some implementable embodiments of the first aspect, the low power mode includes L mode and M mode, the power range corresponding to L mode is -20 to 0db, and the power range corresponding to M mode is -3 to 13db; the high power mode is H mode, and its corresponding power range is 11 to 23db; the intersection of the power ranges corresponding to L mode, M mode, and H mode is the switching point.
[0011] In some implementations of the first aspect, if the power mode of the radio frequency power amplifier at the current moment is a high power mode, and the power mode at the previous moment is a low power mode, reducing the operating frequency of a peripheral IC device in a working state of the electronic device includes:
[0012] If the power mode of the RF power amplifier at the current moment is the high power mode, and the power mode at the previous moment is the low power mode, the operating frequency of the peripheral IC device of the electronic device in working state is reduced to below its corresponding standard operating frequency.
[0013] In some implementations of the first aspect, if the power mode of the radio frequency power amplifier at the current moment is a low power mode, and the power mode at the previous moment is a high power mode, increasing the operating frequency of a peripheral IC device in a working state of the electronic device includes:
[0014] If the power mode of the RF power amplifier is currently a low power mode and the power mode of the previous moment is a high power mode, the operating frequency of the peripheral IC device of the electronic device in working state is increased to its corresponding standard operating frequency.
[0015] In some implementable methods of the first aspect, frequency reduction of the peripheral IC device is achieved by using the driver interface of the peripheral IC device to control the peripheral IC device to call the frequency reduction parameters; frequency increase of the peripheral IC device is achieved by using the driver interface of the peripheral IC device to control the peripheral IC device to call the frequency increase parameters.
[0016] In some implementations of the first aspect, the method further includes:
[0017] Before reducing the operating frequency of the peripheral IC device in the working state of the electronic device, outputting a query message to the user to inquire whether the user agrees to reduce the frequency of the peripheral IC device to ensure communication quality;
[0018] If the frequency reduction confirmation information input by the user is received, it is allowed to reduce the operating frequency of the peripheral IC device in the working state of the electronic device.
[0019] In a second aspect, an embodiment of the present invention provides a device for suppressing interference of an external IC device, the device comprising:
[0020] A detection module, used to detect the power of a radio frequency power amplifier of the electronic device when the electronic device is in a communication state;
[0021] A determination module, used to determine the power mode of the radio frequency power amplifier according to the power of the radio frequency power amplifier;
[0022] A frequency reduction module, used for reducing the operating frequency of the peripheral IC device in the working state of the electronic device if the power mode of the radio frequency power amplifier at the current moment is the high power mode and the power mode at the previous moment is the low power mode;
[0023] The frequency increasing module is used to increase the operating frequency of the peripheral IC device in the working state of the electronic device if the power mode of the radio frequency power amplifier is currently in the low power mode and the power mode in the previous moment is the high power mode.
[0024] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described above.
[0025] In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to enable a computer to execute the method described above.
[0026] In an embodiment of the present invention, the operating frequency of the peripheral IC device can be adaptively adjusted according to the power of the RF power amplifier, thereby solving the defects of the peripheral IC device maintaining low frequency and dropping frames for a long time while ensuring the communication quality, and effectively improving the user experience.
[0027] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The above and other features, advantages and aspects of the embodiments of the present invention will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. The accompanying drawings are used to better understand the present invention and do not constitute a limitation of the present invention. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0029] Figure 1 A flow chart of a method for suppressing interference from peripheral IC devices provided by an embodiment of the present invention;
[0030] Figure 2A schematic diagram of an operating environment provided by an embodiment of the present invention;
[0031] Figure 3 A schematic diagram of a frequency modulation principle provided by an embodiment of the present invention;
[0032] Figure 4 A structural diagram of a device for suppressing interference from an external IC device provided by an embodiment of the present invention;
[0033] Figure 5 The figure is a structural diagram of an exemplary electronic device capable of implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0035] In addition, the term "and / or" in the present invention is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects before and after are in an "or" relationship.
[0036] In order to solve the technical problems arising from the background technology, the embodiments of the present invention provide a method, apparatus, device and storage medium for suppressing interference of peripheral IC devices. Specifically, when the electronic device is in a communication state, the power of the radio frequency power amplifier of the electronic device is detected; according to the power of the radio frequency power amplifier, the power mode in which it is located is determined; if the power mode at the current moment is a high power mode, and the power mode at the previous moment is a low power mode, the operating frequency of the peripheral IC device in the working state of the electronic device is reduced; if the power mode at the current moment is a low power mode, and the power mode at the previous moment is a high power mode, the operating frequency of the peripheral IC device in the working state of the electronic device is increased.
[0037] In this way, the operating frequency of the peripheral IC device can be adaptively adjusted according to the power of the RF power amplifier, thereby solving the defect of the peripheral IC device maintaining frequency reduction and frame dropping for a long time while ensuring the communication quality.
[0038] In conjunction with the accompanying drawings, a method, apparatus, device and storage medium for suppressing interference of peripheral IC devices provided by the embodiments of the present invention are described in detail through specific embodiments.
[0039] First, the theoretical basis involved in the embodiments of the present invention is further explained:
[0040] (1) According to the communication protocol, when the signal obtained by the electronic device from the base station becomes weaker and weaker, the electronic device will increase the transmission power accordingly to ensure the communication quality. In view of this, the power mode (also known as gain mode) of the RF power amplifier (PA for short) is divided into low power mode (including L, M) and high power mode (H), wherein the power range corresponding to the L mode is -20~0db, the power range corresponding to the M mode is -3~13db, and the power range corresponding to the H mode is 11~23db. The intersection of the power ranges corresponding to the L mode, M mode, and H mode is the switching point. When the signal is good, the RF power amplifier is in low power mode, and when the signal is poor, the RF power amplifier is in high power mode. Exemplarily, the impact of peripheral IC devices on the communication of electronic devices can be shown as follows:
[0041] Peripheral IC devices work + electronic devices do not communicate = (no impact);
[0042] Peripheral IC device operation + electronic device communication + PA low power mode = (no impact);
[0043] Peripheral IC device operation + electronic device communication + PA high power mode = (impact, needs to be resolved).
[0044] (2) Working status of peripheral IC devices:
[0045] The peripheral IC devices work at the standard operating frequency (that is, the normal working frequency) + have no impact on the user experience + generate clutter that interferes with the communication of electronic equipment;
[0046] The peripheral IC devices work at a reduced frequency + which has a certain impact on the user experience but is within a controllable range + has little impact on the communication of electronic equipment.
[0047] To address this, an embodiment of the present invention provides a method for suppressing interference from peripheral IC devices, such as Figure 1 As shown, the method 100 may include the following steps:
[0048] S110, when the electronic device is in a communication state, detecting the power of a radio frequency power amplifier of the electronic device.
[0049] In some embodiments, it can be determined whether the electronic device is in a communication state. When the electronic device is in a communication state, the power of the RF power amplifier is detected in real time by a power detector connected to the RF power amplifier in the electronic device.
[0050] S120: Determine a power mode of the radio frequency power amplifier according to the power of the radio frequency power amplifier.
[0051] S130: If the power mode of the radio frequency power amplifier at the current moment is the high power mode and the power mode at the previous moment is the low power mode, then reduce the operating frequency of the peripheral IC device of the electronic device that is in a working state.
[0052] Specifically, if the power mode of the RF power amplifier is currently a high power mode and the power mode at the previous moment is a low power mode, the operating frequency of the peripheral IC device of the electronic device in operation is reduced to below its corresponding standard operating frequency.
[0053] It is worth noting that if the power mode of the RF power amplifier at the current moment is the high power mode, and the current moment is the first moment, and there is no power mode at the previous moment, then the operating frequency of the peripheral IC device of the electronic device in a working state is reduced to below its corresponding standard operating frequency; if the power mode of the RF power amplifier at the current moment is the high power mode, and the power mode at the previous moment was also the high power mode, then the peripheral IC device in a working state will not be frequency reduced.
[0054] It should be noted that before reducing the operating frequency of the peripheral IC device in the working state of the electronic device, a query message can be output to the user to ask whether the user agrees to reduce the frequency of the peripheral IC device to ensure the communication quality. If the frequency reduction confirmation message input by the user is received, the operating frequency of the peripheral IC device in the working state of the electronic device is allowed to be reduced. In this way, the user's current needs can be guided to further optimize the user experience.
[0055] S140: If the power mode of the radio frequency power amplifier at the current moment is the low power mode and the power mode at the previous moment is the high power mode, then increase the operating frequency of the peripheral IC device of the electronic device that is in a working state.
[0056] Specifically, if the power mode of the RF power amplifier is currently a low power mode and the power mode of the previous moment is a high power mode, the operating frequency of the peripheral IC device of the electronic device in operation is increased to its corresponding standard operating frequency.
[0057] It is worth noting that if the power mode of the RF power amplifier at the current moment is the low power mode, and the current moment is the first moment, and the power mode of the previous moment does not exist, then the peripheral IC device in the working state will not be up-converted; if the power mode of the RF power amplifier at the current moment is the low power mode, and the power mode of the previous moment was also the low power mode, then the peripheral IC device in the working state will not be up-converted.
[0058] It should be noted that the frequency modulation (up / down) of the peripheral IC device is achieved by using the driver interface of the peripheral IC device to control the peripheral IC device to call the frequency modulation parameters (up / down parameters).
[0059] In summary, according to the embodiments of the present invention, at least the following technical effects are achieved:
[0060] When the RF power amplifier is in high-power mode, it adaptively down-converts the working peripheral IC devices to reduce their driving capability, thereby ensuring the communication quality when the base station signal is weak; when the RF power amplifier is in low-power mode, it adaptively up-converts the working peripheral IC devices to restore their driving capability and ensure that users can use the peripheral devices normally. In this way, the operating frequency of the signal and the peripheral IC devices can be adjusted without affecting the work and use of users as much as possible (that is, the intermodulation frequency of the peripheral IC devices and TX does not fall within the generation of RX and does not cause interference).
[0061] The following takes a camera (cam_IC for short) in a common peripheral IC device as an example, and describes the method 100 provided by the embodiment of the present invention in detail in combination with a specific operating environment:
[0062] like Figure 2 As shown, the operating environment (ie, electronic device) includes PA, power detector, TR (ie, RF modem), CPU, and cam_IC connected in sequence. In this operating environment, cam_IC is in working state, and method 100 is specifically as follows:
[0063] When the electronic device is in the communication state, the power detector detects the power of the PA in real time. The power detector determines the power mode of the PA based on the power of the PA, and feeds back the power mode of the PA to the TR through the RF_POWER_DET pin. The TR feeds back the power mode of the PA to the CPU, and the CPU executes the following processing logic:
[0064] If the power mode of PA at the current moment is high power mode, and the current moment is the first moment, and there is no power mode at the previous moment, the operating frequency of cam_IC is reduced to below its corresponding standard operating frequency; if the power mode of PA at the current moment is high power mode, and the power mode at the previous moment is also high power mode, cam_IC is not frequency reduced; if the power mode of PA at the current moment is high power mode, and the power mode at the previous moment is low power mode, the operating frequency of cam_IC is reduced to below its corresponding standard operating frequency.
[0065] If the power mode of PA at the current moment is low power mode, and the current moment is the first moment, and there is no power mode at the previous moment, then cam_IC will not be frequency-upgraded; if the power mode of PA at the current moment is low power mode, and the power mode at the previous moment is also low power mode, then cam_IC will not be frequency-upgraded; if the power mode of PA at the current moment is low power mode, and the power mode at the previous moment was high power mode, then the operating frequency of cam_IC will be increased to its corresponding standard operating frequency.
[0066] It should be noted that the frequency modulation (up / down) of the cam device is completed by adjusting the parameters such as cam mipi_clk, cam_data transmission interval, cam data packet length, etc. in the driver interface of cam_IC. Figure 3 shown.
[0067] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described order of actions, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0068] The above is an introduction to a method embodiment. The following is a further explanation of the solution of the present invention through an apparatus embodiment.
[0069] Figure 4 A structural diagram of a device for suppressing interference from an external IC device provided by an embodiment of the present disclosure, such as Figure 4 As shown, the apparatus 400 may include:
[0070] The detection module 410 is used to detect the power of the radio frequency power amplifier of the electronic device when the electronic device is in a communication state.
[0071] The determination module 420 is used to determine the power mode of the radio frequency power amplifier according to the power of the radio frequency power amplifier.
[0072] The frequency reduction module 430 is used to reduce the operating frequency of the peripheral IC device in the electronic device in working state if the power mode of the RF power amplifier is currently in high power mode and the power mode at the previous moment is low power mode.
[0073] The frequency increasing module 440 is used to increase the operating frequency of the peripheral IC device in the electronic device in working state if the power mode of the RF power amplifier is currently in the low power mode and the power mode in the previous moment is the high power mode.
[0074] In some embodiments, the detection module 410 is specifically used to:
[0075] The power of the radio frequency power amplifier is detected by a power detector connected to the radio frequency power amplifier in the electronic device.
[0076] In some embodiments, the low power mode includes L mode and M mode. The power range corresponding to L mode is -20 to 0db, and the power range corresponding to M mode is -3 to 13db. The high power mode is H mode, and its corresponding power range is 11 to 23db. The intersection of the power ranges corresponding to L mode, M mode, and H mode is the switching point.
[0077] In some embodiments, the frequency reduction module 430 is specifically used for:
[0078] If the power mode of the RF power amplifier at the current moment is the high power mode, and the power mode at the previous moment is the low power mode, the operating frequency of the peripheral IC device of the electronic device in working state is reduced to below its corresponding standard operating frequency.
[0079] In some embodiments, the up-conversion module 440 is specifically used for:
[0080] If the power mode of the RF power amplifier is currently a low power mode and the power mode of the previous moment is a high power mode, the operating frequency of the peripheral IC device of the electronic device in working state is increased to its corresponding standard operating frequency.
[0081] In some embodiments, the frequency reduction of the peripheral IC device is achieved by using the driver interface of the peripheral IC device to control the peripheral IC device to call the frequency reduction parameters; the frequency increase of the peripheral IC device is achieved by using the driver interface of the peripheral IC device to control the peripheral IC device to call the frequency increase parameters.
[0082] In some embodiments, the apparatus 400 further comprises:
[0083] The output module is used to output inquiry information to the user before reducing the operating frequency of the peripheral IC device in the working state of the electronic device, asking the user whether to agree to reduce the frequency of the peripheral IC device to ensure the communication quality.
[0084] The authorization module is used to allow the operating frequency of the peripheral IC device in the working state of the electronic device to be reduced if the frequency reduction confirmation information input by the user is received.
[0085] Understandably, Figure 4 Each module / unit in the device 400 shown has the function of implementing Figure 1 The functions of the various steps in the method 100 shown can achieve their corresponding technical effects, and for the sake of brevity, they will not be repeated here.
[0086] Figure 5 5 is a block diagram of an exemplary electronic device capable of implementing an embodiment of the present invention. Electronic device 500 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic device 500 may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown in the present invention, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required in the present invention.
[0087] like Figure 5 As shown, the electronic device 500 may include a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0088] Multiple components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0089] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as method 100. For example, in some embodiments, the method 100 may be implemented as a computer program product, including a computer program, which is tangibly contained in a computer-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by the computing unit 501, one or more steps of the method 100 described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the method 100 in any other appropriate manner (e.g., by means of firmware).
[0090] The various embodiments described above in the present invention can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs, which may be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general programmable processor, which may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0091] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0092] In the context of the present invention, a computer-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a computer-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0093] It should be noted that the present invention also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute method 100 and achieve the corresponding technical effect achieved by executing the method in an embodiment of the present invention. For the sake of concise description, they will not be repeated here.
[0094] In addition, the present invention also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method 100 is implemented.
[0095] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and the present invention is not limited here.
[0096] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for suppressing interference from peripheral IC devices, characterized in that: The method comprises: When the electronic device is in a communication state, detecting the power of a radio frequency power amplifier of the electronic device; Determining a power mode of the radio frequency power amplifier according to the power of the radio frequency power amplifier; If the power mode of the radio frequency power amplifier at the current moment is a high power mode, and the power mode at the previous moment is a low power mode, then reducing the operating frequency of the peripheral IC device of the electronic device in a working state; If the power mode of the radio frequency power amplifier at the current moment is the low power mode, and the power mode at the previous moment is the high power mode, the operating frequency of the peripheral IC device of the electronic device in working state is increased.
2. The method according to claim 1, characterized in that: The detecting the power of the radio frequency power amplifier of the electronic device comprises: The power of the radio frequency power amplifier is detected by a power detector connected to the radio frequency power amplifier in the electronic device.
3. The method according to claim 1, characterized in that The low power mode includes L mode and M mode. The power range corresponding to L mode is -20~0db, and the power range corresponding to M mode is -3~13db; the high power mode is H mode, and its corresponding power range is 11~23db; the intersection between the power ranges corresponding to L mode, M mode and H mode is the switching point.
4. The method according to claim 1, characterized in that If the power mode of the radio frequency power amplifier at the current moment is a high power mode, and the power mode at the previous moment is a low power mode, reducing the operating frequency of the peripheral IC device in the working state of the electronic device includes: If the power mode of the RF power amplifier at the current moment is a high power mode, and the power mode at the previous moment is a low power mode, the operating frequency of the peripheral IC device of the electronic device in operation is reduced to below its corresponding standard operating frequency.
5. The method according to claim 1, characterized in that If the power mode of the radio frequency power amplifier at the current moment is a low power mode, and the power mode at the previous moment is a high power mode, increasing the operating frequency of the peripheral IC device of the electronic device in a working state includes: If the power mode of the RF power amplifier at the current moment is the low power mode, and the power mode at the previous moment is the high power mode, the operating frequency of the peripheral IC device of the electronic device in working state is increased to its corresponding standard operating frequency.
6. The method according to claim 1, characterized in that The frequency reduction of the peripheral IC device is achieved by using the driver interface of the peripheral IC device to control the peripheral IC device to call the frequency reduction parameters; the frequency increase of the peripheral IC device is achieved by using the driver interface of the peripheral IC device to control the peripheral IC device to call the frequency increase parameters.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Before reducing the operating frequency of the peripheral IC device in the working state of the electronic device, outputting a query message to the user to inquire whether the user agrees to reduce the frequency of the peripheral IC device to ensure communication quality; If the frequency reduction confirmation information input by the user is received, it is allowed to reduce the operating frequency of the peripheral IC device in the working state of the electronic device.
8. A device for suppressing interference from an external IC device, characterized in that: The device comprises: A detection module, used to detect the power of a radio frequency power amplifier of the electronic device when the electronic device is in a communication state; A determination module, configured to determine a power mode of the radio frequency power amplifier according to the power of the radio frequency power amplifier; A frequency reduction module, used for reducing the operating frequency of the peripheral IC device in the working state of the electronic device if the power mode of the RF power amplifier at the current moment is the high power mode and the power mode at the previous moment is the low power mode; The frequency increasing module is used to increase the operating frequency of the peripheral IC device in the working state of the electronic device if the power mode of the RF power amplifier at the current moment is the low power mode and the power mode at the previous moment was the high power mode.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.