CN114285995B - Method and device for reducing signal interference, computer readable storage medium and terminal - Google Patents

Method and device for reducing signal interference, computer readable storage medium and terminal Download PDF

Info

Publication number
CN114285995B
CN114285995B CN202111584620.0A CN202111584620A CN114285995B CN 114285995 B CN114285995 B CN 114285995B CN 202111584620 A CN202111584620 A CN 202111584620A CN 114285995 B CN114285995 B CN 114285995B
Authority
CN
China
Prior art keywords
preset
camera
wifi
working
adjustment times
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111584620.0A
Other languages
Chinese (zh)
Other versions
CN114285995A (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.)
Spreadtrum Communications Shenzhen Co ltd
Original Assignee
Spreadtrum Communications Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shenzhen Co ltd filed Critical Spreadtrum Communications Shenzhen Co ltd
Priority to CN202111584620.0A priority Critical patent/CN114285995B/en
Publication of CN114285995A publication Critical patent/CN114285995A/en
Application granted granted Critical
Publication of CN114285995B publication Critical patent/CN114285995B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

A method and device for reducing signal interference, a computer readable storage medium and a terminal are provided, wherein the method comprises the following steps: when the WiFi and the camera are in working states, detecting the WiFi signal intensity; and if the WiFi signal strength is lower than a first preset strength threshold, adjusting working parameters of the camera, and detecting the WiFi signal strength after each adjustment until the WiFi signal strength is higher than a second preset strength threshold or the adjustment times reach the first preset adjustment times. The invention can reduce the signal interference of the camera and lighten the influence on WiFi performance.

Description

Method and device for reducing signal interference, computer readable storage medium and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for reducing signal interference, a computer readable storage medium, and a terminal.
Background
With the rapid development of the technology level, the internal layout of the terminal is also more and more compact under the development trend of lighter, thinner and more applied terminals, and the situation that the distance between the camera and the wireless communication technology (Wireless Fidelity, wiFi) is closer exists in many terminals.
In the prior art, when both the WiFi and the camera are in a working state, the high-speed clock signal of the camera easily interferes with the WiFi, for example, intermodulation interference is formed with a signal received by the WiFi, which results in influencing the WiFi performance of the terminal. In a specific embodiment, when the WiFi is turned on, the camera is turned on to shoot, and the WiFi jumps from the connected state to the disconnected state, so that the terminal cannot use the WiFi network.
What is needed is a method for reducing signal interference that reduces the signal interference of a camera and reduces the impact on WiFi performance.
Disclosure of Invention
The invention solves the technical problem of providing a method and a device for reducing signal interference, a computer readable storage medium and a terminal, which can reduce the signal interference of a camera and lighten the influence on WiFi performance.
In order to solve the above technical problems, an embodiment of the present invention provides a method for reducing signal interference, including: when the WiFi and the camera are in working states, detecting the WiFi signal intensity; if the WiFi signal strength is lower than a first preset strength threshold, adjusting working parameters of the camera, detecting the WiFi signal strength after each adjustment until the WiFi signal strength is higher than a second preset strength threshold or the adjustment times reach a first preset adjustment times; wherein, the working parameters of the camera are selected from one or more of the following: changing the working frequency of M_CLK of the camera, wherein the working frequency of M_CLK and the working frequency of WiFi are in a non-multiple relation; changing the working frequency of MIPI_CLK of the camera, wherein the working frequency of MIPI_CLK and the working frequency of WiFi are in a non-multiple relation; reducing IO driving current of the camera; wherein the second preset intensity threshold is greater than or equal to the first preset intensity threshold.
Optionally, adjusting the working parameters of the camera includes: the working parameters are selected in turn for adjustment, or the working parameters are selected randomly for adjustment until the number of times of changing the working frequency of the M_CLK of the camera reaches a second preset adjustment number of times, the number of times of changing the working frequency of the MIPI_CLK of the camera reaches a third preset adjustment number of times, and the number of times of reducing the IO driving current of the camera reaches a fourth preset adjustment number of times; the sum of the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times is equal to the first preset adjustment times.
Optionally, adjusting the working parameters of the camera includes: the working frequency of the M_CLK of the camera is changed gradually until the second preset adjustment times, and/or the working frequency of the MIPI_CLK of the camera is changed gradually until the third preset adjustment times; successively reducing IO driving current of the camera until a fourth preset adjustment time; the sum of the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times is equal to the first preset adjustment times.
Optionally, in the process of adjusting the working parameters of the camera, adjusting a single working parameter at a time.
Optionally, the method further comprises: and if the adjustment times reach the first preset times, the WiFi signal strength is still smaller than or equal to the second preset strength threshold, connecting clock signal lines of the preset clock signals to different filter capacitors successively, and detecting the WiFi signal strength after each connection until the WiFi signal strength is higher than the second preset strength threshold or the connection times reach the second preset connection times.
Optionally, the filter capacitors are connected in parallel; connecting the clock signal lines of the preset clock signal to different filter capacitors includes: and a switch switching unit is adopted to connect clock signal lines of the preset clock signals to different filter capacitors.
Optionally, the method further comprises: and if the connection times reach the second preset connection times, the WiFi signal strength is still smaller than or equal to the second preset strength threshold value, and the camera is restored to the factory setting.
Optionally, the preset clock signal is selected from: m_clk and mipi_clk.
Optionally, before detecting the WiFi signal strength when both the WiFi and the camera are in the working states, the method further includes: if the WiFi is started when the camera is in a working state and the terminal does not successfully reside in the WiFi network, changing the working parameters of the camera into preset parameters; the preset parameters are determined according to factory setting parameters of the camera.
To solve the above technical problem, an embodiment of the present invention provides a device for reducing signal interference, which is characterized by comprising: the intensity detection module is used for detecting the intensity of WiFi signals when the WiFi and the camera are in the working state; the working parameter adjusting module is used for adjusting the working parameters of the camera when the WiFi signal intensity is lower than a first preset intensity threshold value, and detecting the WiFi signal intensity after each adjustment until the WiFi signal intensity is higher than a second preset intensity threshold value or the adjustment times reach a first preset adjustment times; wherein, the working parameters of the camera are selected from one or more of the following: changing the working frequency of M_CLK of the camera, wherein the working frequency of M_CLK and the working frequency of WiFi are in a non-multiple relation; changing the working frequency of MIPI_CLK of the camera, wherein the working frequency of MIPI_CLK and the working frequency of WiFi are in a non-multiple relation; reducing IO driving current of the camera; wherein the second preset intensity threshold is greater than or equal to the first preset intensity threshold.
To solve the above-mentioned technical problem, an embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the above-mentioned method for reducing signal interference.
In order to solve the above technical problems, an embodiment of the present invention provides a terminal, including a memory and a processor, where the memory stores a computer program capable of running on the processor, and the processor executes the steps of the method for reducing signal interference when running the computer program.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the working parameters of the camera are adjusted, and the WiFi signal intensity is detected after each adjustment until the WiFi signal intensity is higher than a second preset intensity threshold or the adjustment times reach a first preset adjustment times. Compared with the prior art, the shielding material is adopted to wrap the flexible board and the base of the camera and then grounded, the operation mode is complex, and the problem of signal leakage still exists.
Further, in adjusting the working parameters of the camera, the working parameters can be selected in turn for adjustment, or the working parameters can be selected randomly for adjustment until the sum of adjustment times reaches a first preset adjustment time, so that on the premise that which working parameters cannot be expected to be adjusted more effectively, higher WiFi signal intensity can be detected more quickly through the alternative selection or the random selection, the expected adjustment effect is obtained, and the adjustment efficiency is effectively improved.
Further, in adjusting the working parameters of the camera, the former working parameters can be adjusted successively, and then the latter working parameters can be adjusted successively until the sum of the adjustment times reaches the first preset adjustment times, so that on the premise that which working parameter can be expected to become more effective, by adjusting the working parameters successively, the higher WiFi signal intensity can be detected more quickly, the expected adjustment effect can be obtained, and the adjustment efficiency can be effectively improved.
Further, in the process of adjusting the working parameters of the camera, each time a single working parameter is adjusted, compared with the process of adjusting a plurality of working parameters at the same time, the adjusting effect of each working parameter is difficult to judge.
Furthermore, the clock signal lines of the preset clock signals are connected to different filter capacitors by adopting the switch switching unit, compared with the filter capacitors for manually replacing the clock signals of the cameras, the filter capacitors are complex in operation mode and labor-consuming, and by adopting the scheme of the embodiment of the invention, the efficiency and accuracy of switching the filter capacitors can be improved, and the operation cost is reduced.
Further, if the connection frequency reaches the second preset connection frequency, the WiFi signal strength is still smaller than or equal to the second preset strength threshold, and the camera is restored to the factory setting, so that after the above technical scheme is tried, the factory setting of the camera is not effective, the signal interference of the camera is reduced, and the influence on the WiFi performance is reduced.
Drawings
FIG. 1 is a flow chart of a method for reducing signal interference in an embodiment of the invention;
FIG. 2 is a flow chart of one embodiment of step S12 of FIG. 1;
FIG. 3 is a flow chart of another method for reducing signal interference in an embodiment of the invention;
FIG. 4 is a schematic diagram of a circuit for connecting clock signal lines of a predetermined clock signal to different filter capacitors according to an embodiment of the present invention;
Fig. 5 is a schematic structural diagram of an apparatus for reducing signal interference according to an embodiment of the present invention.
Detailed Description
As described above, in the prior art, when both WiFi and the camera are in an operating state, the high-speed clock signal of the camera easily interferes with WiFi, for example, forms intermodulation with the signal received by WiFi, which results in affecting the WiFi performance of the terminal.
In an existing technical scheme, a shielding material (such as conductive cloth) is used for wrapping a soft board and a base of the camera and then is grounded, and signal interference of the camera is reduced by guiding current into a grounding end.
The inventor of the invention discovers through researches that the method is mainly manually operated, has a complex operation mode, consumes long time and more manpower, still has the problem of signal leakage, and affects the WiFi performance of the terminal.
In the embodiment of the invention, the working parameters of the camera are adjusted, and the WiFi signal intensity is detected after each adjustment until the WiFi signal intensity is higher than a second preset intensity threshold or the adjustment times reach a first preset adjustment times. Compared with the prior art, the shielding material is adopted to wrap the flexible board and the base of the camera and then grounded, the operation mode is complex, and the problem of signal leakage still exists.
In order to make the above objects, features and advantages of the present invention more comprehensible, embodiments accompanied with figures are described in detail below.
Referring to fig. 1, fig. 1 is a flowchart of a method for reducing signal interference in an embodiment of the present invention. The method for reducing signal interference may include steps S11 to S12:
step S11: when the WiFi and the camera are in working states, detecting the WiFi signal intensity;
step S12: and if the WiFi signal strength is lower than a first preset strength threshold, adjusting working parameters of the camera, and detecting the WiFi signal strength after each adjustment until the WiFi signal strength is higher than a second preset strength threshold or the adjustment times reach the first preset adjustment times.
Wherein, the working parameters of the camera are selected from one or more of the following: changing the working frequency of M_CLK of the camera, wherein the working frequency of M_CLK and the working frequency of WiFi are in a non-multiple relation; changing the working frequency of MIPI_CLK of the camera, wherein the working frequency of MIPI_CLK and the working frequency of WiFi are in a non-multiple relation; reducing IO driving current of the camera; wherein the second preset intensity threshold is greater than or equal to the first preset intensity threshold.
It will be appreciated that in a specific implementation, the method may be implemented in a software program running on a processor integrated within a chip or a chip module; alternatively, the method may be implemented in hardware or a combination of hardware and software.
In the implementation of step S11, when both the WiFi and the camera are in the working states, there may be a problem of interference of the clock signal of the camera, and at this time, whether the WiFi performance is interfered may be determined by detecting the WiFi signal strength.
Specifically, in an operating scenario of the embodiment of the present invention, wiFi may be turned on first, so that a terminal successfully resides in a WiFi network, and then a camera is turned on, if the WiFi signal strength is reduced, or even the WiFi jumps from a connection state to a disconnection state, so that the terminal cannot use the WiFi network, it may be determined that the WiFi performance is interfered, and thus, a subsequent operation is performed.
In another working scenario of the embodiment of the present invention, the camera may be turned on first, and then WiFi may be turned on, and if the terminal successfully resides in the WiFi network, but the WiFi signal strength is very low, it may be determined that the WiFi performance is interfered, so as to perform subsequent operations.
It should be noted that if the camera is turned on first and then the WiFi is turned on, however, the terminal does not successfully reside in the WiFi network, it may be determined that the influence of the camera on the WiFi performance is very large, and at this time, the working parameters of the camera may be adjusted.
Further, before detecting the WiFi signal strength when both the WiFi and the camera are in the working states, the method may further include: if the WiFi is started when the camera is in a working state and the terminal does not successfully reside in the WiFi network, changing the working parameters of the camera into preset parameters; the preset parameters are determined according to factory setting parameters of the camera.
Further, at least a part of the preset parameters are factory setting parameters of the camera.
In a specific implementation manner of the embodiment of the present invention, a part of the preset parameters are the factory setting parameters, another part may be parameters that are verified to have a very low influence on WiFi performance, and the part of parameters may retain the adjusted parameter values.
In another specific implementation manner of the embodiment of the present invention, the preset parameters are all the factory setting parameters, and the process of changing the working parameters of the camera to the preset parameters is equivalent to the process of restoring factory setting, so that signal interference of the camera is reduced, and influence on WiFi performance is reduced.
In the embodiment of the invention, if the WiFi is started when the camera is in the working state and the terminal does not successfully reside in the WiFi network, the working parameters of the camera are changed into the preset parameters, so that the signal interference of the camera is reduced and the influence on the WiFi performance is lightened by changing into the preset parameters (such as restoring all or part of factory settings of the camera) under the condition that the influence of the camera on the WiFi performance is very large.
In the implementation of step S12, when the WiFi signal strength is lower than a first preset strength threshold, the working parameters of the camera may be adjusted gradually, and the WiFi signal strength is detected after each adjustment, so as to verify the current adjustment result.
Specifically, one or more working parameters can be selected as parameters to be adjusted in the working frequency of m_clk of the camera, the working frequency of mipi_clk of the camera and the IO driving current of the camera, and when each adjustment is performed, one or more working parameters are selected to be adjusted at the same time.
Further, in the process of adjusting the working parameters of the camera, a single working parameter is adjusted each time.
In the embodiment of the invention, in the process of adjusting the working parameters of the camera, compared with the process of simultaneously adjusting a plurality of working parameters, each time adjusting a single working parameter, the adjusting effect of each working parameter is difficult to judge.
In a specific implementation, the m_clk of the camera may be an internal clock signal of the camera, which is used to indicate a clock signal sent from the terminal to the camera, and if the m_clk is in a multiple relationship with the WiFi operating frequency, frequency multiplication interference is easily generated between the camera and the WiFi.
The mipi_clk of the camera may be an interface clock signal of a mobile industrial processor interface (Mobile Industry Processor Interface, MIPI) of the camera, and if mipi_clk is in a multiple relationship with the operating frequency of WiFi, frequency multiplication interference is easily generated between the camera and WiFi.
In the embodiment of the invention, the frequency multiplication interference between the camera and the WiFi can be avoided by changing the working frequency of the clock signal of the camera.
The IO driving current of the camera can be the driving current of an Input/Output (IO) interface of the camera, the IO driving current is increased, the signal interference degree of the camera to WiFi is amplified, the IO driving current is reduced, and the signal interference degree of the camera to WiFi is reduced.
In the embodiment of the invention, the signal interference degree of the camera to WiFi can be reduced by reducing the IO driving current of the camera.
The second preset intensity threshold value is larger than or equal to the first preset intensity threshold value.
It can be appreciated that in the case where the WiFi signal strength is low, for example, when the WiFi signal strength is lower than the first preset strength threshold, the working parameters of the camera are adjusted until the WiFi signal strength is high, for example, when the WiFi signal strength is higher than the second preset strength threshold, and the WiFi signal strength can be adjusted after the WiFi signal is interfered by the signal, so that the WiFi signal strength is enhanced to a level when the WiFi signal strength is not interfered by the signal.
Furthermore, the second preset intensity threshold may be greater than the first preset intensity threshold, so that repeated starting of the technical scheme of the embodiment of the present invention at the critical point of the WiFi signal intensity may be avoided.
In the specific application of the embodiment of the invention, the working parameters of the cameras can be selected and adjusted in different sequences according to specific requirements.
In a first specific implementation manner of the embodiment of the present invention, the step of adjusting the working parameters of the camera may include: the working parameters are selected in turn for adjustment, or the working parameters are selected randomly for adjustment until the number of times of changing the working frequency of the M_CLK of the camera reaches a second preset adjustment number of times, the number of times of changing the working frequency of the MIPI_CLK of the camera reaches a third preset adjustment number of times, and the number of times of reducing the IO driving current of the camera reaches a fourth preset adjustment number of times; the sum of the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times is equal to the first preset adjustment times.
Specifically, the second preset adjustment times may be predetermined according to the operating frequency of the m_clk of the camera, for example, the optional operating frequency of the m_clk of the camera is frequency A, B, C, D, E, where a multiple relationship exists between the frequency A, C and the operating frequency of WiFi, and the operating frequency of the m_clk that may be changed is frequency B, D, E, that is, the second preset adjustment times is less than or equal to 3.
Similarly, the third preset adjustment times may be predetermined according to the operating frequency of the mipi_clk of the camera.
Specifically, an initial value of the IO driving current of the camera, a minimum value of the IO driving current, and a step size (step) may be predetermined, and it may be understood that the IO driving current cannot be too small, otherwise, the driving effect of the IO interface may be affected. For example, the initial value of IO driving current is I 0 The minimum value of IO driving current is I 1 Predetermined step-down I c Then it can be determined that the fourth preset adjustment number is equal to or less (I 0 -I 1 )/I c
In a specific implementation, the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times can be determined first, and then the first preset adjustment times are obtained based on the sum of the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times; the first preset adjustment times may be set first, and then the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times may be selected appropriately so that the sum of the three times is equal to the first preset adjustment times.
It will be appreciated that during the adjustment process, the WiFi signal strength is continuously detected after each adjustment, and if the WiFi signal strength is higher than a second preset strength threshold, the current adjusted condition is maintained and the subsequent adjustment is stopped.
In the embodiment of the invention, in adjusting the working parameters of the camera, the working parameters can be selected in turn for adjustment, or the working parameters can be selected randomly for adjustment until the sum of adjustment times reaches the first preset adjustment times, so that on the premise that which working parameters cannot be expected to be adjusted more effectively, higher WiFi signal intensity can be detected more quickly through the alternative selection or the random selection, the expected adjustment effect is obtained, and the adjustment efficiency is effectively improved.
In a second specific implementation manner of the embodiment of the present invention, the previous working parameter may be adjusted successively, and then the next working parameter may be adjusted successively until the sum of the adjustment times reaches the first preset adjustment time.
Further, adjusting the working parameters of the camera includes: the working frequency of the M_CLK of the camera is changed gradually until the second preset adjustment times, and/or the working frequency of the MIPI_CLK of the camera is changed gradually until the third preset adjustment times; successively reducing IO driving current of the camera until a fourth preset adjustment time; the sum of the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times is equal to the first preset adjustment times.
Referring to fig. 2, fig. 2 is a flowchart of one embodiment of step S12 in fig. 1. The step of adjusting the working parameters of the camera may include steps S21 to S23, and each step is described below.
In step S21, the operating frequency of m_clk of the camera is gradually changed until the second preset adjustment times.
In step S22, the operating frequency of mipi_clk of the camera is changed successively until a third preset adjustment number.
In a specific implementation, the working frequency of m_clk of the camera may be first changed gradually until a second preset adjustment time, and then the working frequency of mipi_clk of the camera may be changed gradually until a third preset adjustment time; the working frequency of the mipi_clk of the camera may be changed sequentially until a third preset adjustment time, and then the working frequency of the m_clk of the camera may be changed sequentially until a second preset adjustment time.
It will be appreciated that during the adjustment process, the WiFi signal strength is continuously detected after each adjustment, and if the WiFi signal strength is higher than a second preset strength threshold, the current adjusted condition is maintained and the subsequent adjustment is stopped.
In step S23, the IO driving current of the camera is gradually reduced until a fourth preset adjustment time.
The sum of the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times is equal to the first preset adjustment times.
In the embodiment of the invention, in the process of adjusting the working parameters of the camera, the former working parameters can be adjusted successively, and then the latter working parameters can be adjusted successively until the sum of the adjustment times reaches the first preset adjustment times, so that on the premise that which working parameters can be expected to become more effective, the higher WiFi signal intensity can be detected more quickly by adjusting the working parameters successively, the expected adjustment effect can be obtained, and the adjustment efficiency can be effectively improved.
In a specific implementation, the determining steps of the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times may refer to the foregoing, and are not repeated herein.
In the embodiment of the invention, the working parameters of the camera are adjusted, and the WiFi signal intensity is detected after each adjustment until the WiFi signal intensity is higher than a second preset intensity threshold or the adjustment times reach a first preset adjustment times. Compared with the prior art, the shielding material is adopted to wrap the flexible board and the base of the camera and then grounded, the operation mode is complex, and the problem of signal leakage still exists.
Referring to fig. 3, fig. 3 is a flowchart of another method for reducing signal interference in an embodiment of the present invention. The other method for reducing signal interference may include steps S11 to S12 shown in fig. 1, further include step S31, and further include step S32. Step S31 and step S32 are explained below.
In step S31, if the WiFi signal strength is still less than or equal to the second preset strength threshold after the adjustment times reach the first preset times, the clock signal lines of the preset clock signal are sequentially connected to different filter capacitors, and the WiFi signal strength is detected after each connection until the WiFi signal strength is higher than the second preset strength threshold or the connection times reach the second preset connection times.
It will be appreciated that when the WiFi is not disturbed by the clock signal of the camera, the clock signal line of the camera may remain disconnected from the filter capacitor, i.e. not connected to the filter capacitor.
In the embodiment of the invention, after the WiFi is interfered by the clock signal of the camera and the technical scheme is tried to be still not effective, the clock signal lines of the preset clock signal can be sequentially connected to different filter capacitors so as to reduce the signal interference of the camera and lighten the influence on the WiFi performance.
Further, the filter capacitors can be connected in parallel; the step of connecting the clock signal line of the m_clk to different filter capacitors may include: and a switch switching unit is adopted to connect clock signal lines of the preset clock signals to different filter capacitors.
Wherein the preset clock signal may be selected from: m_clk and mipi_clk.
Specifically, the clock signal line of one clock signal (such as m_clk) may be connected to a different filter capacitor to reduce signal interference of the camera, and if the effect is not obvious, the clock signal line of the other clock signal (mipi_clk) may be connected to a different filter capacitor to reduce signal interference of the camera.
Referring to fig. 4, fig. 4 is a schematic diagram of a connection circuit of a clock signal line of a preset clock signal to different filter capacitors according to an embodiment of the present invention.
As shown in the figure, the filter capacitors C1, C2 and C3 may be connected in parallel, and the switch switching unit S1 may be controlled to switch to one of the filter capacitors, so as to connect a clock signal line of a preset clock signal with the filter capacitor.
Further, the switch switching unit may be a single pole, multi throw switch.
The single pole, multi-throw switch as shown in fig. 4 can be a single pole, three throw switch.
It should be noted that the second preset number of connections needs to be equal to or less than the number of filter capacitors that can be connected. As illustrated in fig. 4, the second preset connection number is 3 or less.
Specifically, taking m_clk as an example, a plurality of capacitors with different capacitance values may be attached to the parallel bit of the clock signal line of m_clk of the camera, and in a non-limiting embodiment, in order to filter interference suffered by WiFi with an operating frequency of 2.4ghz, capacitors with capacitance values lower than 10pf may be selected, for example, capacitance values of 7.5pf,8.2pf,9.5pf, and the like, respectively.
For more details regarding the connection of the clock signal line of mipi_clk to different filter capacitors, please refer to the description of the clock signal line of m_clk, which is not repeated here.
In the embodiment of the invention, the clock signal lines of the preset clock signals are connected to different filter capacitors by adopting the switch switching unit, so that compared with the filter capacitors for manually replacing the clock signals of the cameras, the operation mode is complex and labor is consumed.
With continued reference to fig. 3, in the implementation of step S32, if the above technical solution is still not effective, the camera may be restored to the factory setting.
In the embodiment of the invention, if the connection frequency reaches the second preset connection frequency, the WiFi signal strength is still smaller than or equal to the second preset strength threshold, and the camera is restored to the factory setting, so that after the technical scheme is tried, the factory setting of the camera is not effective, the signal interference of the camera is reduced, and the influence on WiFi performance is reduced.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an apparatus for reducing signal interference according to an embodiment of the present invention. The apparatus for reducing signal interference may include:
the intensity detection module 51 is configured to detect the intensity of the WiFi signal when both the WiFi and the camera are in a working state;
the working parameter adjusting module 52 is configured to adjust the working parameter of the camera when the WiFi signal strength is lower than a first preset strength threshold, and detect the WiFi signal strength after each adjustment until the WiFi signal strength is higher than a second preset strength threshold or the adjustment frequency reaches a first preset adjustment frequency; wherein, the working parameters of the camera are selected from one or more of the following: changing the working frequency of M_CLK of the camera, wherein the working frequency of M_CLK and the working frequency of WiFi are in a non-multiple relation; changing the working frequency of MIPI_CLK of the camera, wherein the working frequency of MIPI_CLK and the working frequency of WiFi are in a non-multiple relation; reducing IO driving current of the camera; wherein the second preset intensity threshold is greater than or equal to the first preset intensity threshold.
In a specific implementation, the device for reducing signal interference may correspond to a chip having a function of reducing signal interference in the terminal; or corresponds to a chip module having a signal interference reduction function in the terminal, or corresponds to the terminal.
For more matters about the working principle, the working manner, the beneficial effects and the like of the device for reducing signal interference shown in fig. 5, reference may be made to the above description about fig. 1 to 4, and the details are not repeated here.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when being run by a processor, performs the steps of the method for reducing signal interference. The computer readable storage medium may include ROM, RAM, magnetic or optical disks, and the like. The computer readable storage medium may also include non-volatile memory (non-volatile) or non-transitory memory (non-transitory) or the like.
The embodiment of the invention also provides a terminal, which comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor executes the steps of the method for reducing signal interference when running the computer program. The terminal comprises, but is not limited to, a mobile phone, a computer, a tablet personal computer, a server, a cloud platform and other terminal equipment.
It should be appreciated that in the embodiments of the present application, the processor may be a central processing unit (central processing unit, abbreviated as CPU), and the processor may also be other general purpose processors, digital signal processors (digital signal processor, abbreviated as DSP), application specific integrated circuits (application specific integrated circuit, abbreviated as ASIC), off-the-shelf programmable gate arrays (field programmable gate array, abbreviated as FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It should also be appreciated that the memory in embodiments of the present application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically erasable ROM (electrically EPROM, EEPROM), or a flash memory. The volatile memory may be a random access memory (random access memory, RAM for short) which acts as an external cache. By way of example but not limitation, many forms of random access memory (random access memory, abbreviated as RAM) are available, such as static random access memory (static RAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, abbreviated as DDR SDRAM), enhanced Synchronous Dynamic Random Access Memory (ESDRAM), synchronous Link DRAM (SLDRAM), and direct memory bus random access memory (direct rambus RAM, abbreviated as DR RAM).
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the processes or functions described in accordance with the embodiments of the present application are all or partially produced. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer program may be stored in or transmitted from one computer readable storage medium to another, for example, by wired or wireless means from one website, computer, server, or data center.
In the several embodiments provided in the present application, it should be understood that the disclosed method, apparatus, and system may be implemented in other manners. For example, the device embodiments described above are merely illustrative; for example, the division of the units is only one logic function division, and other division modes can be adopted in actual implementation; for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may be physically included separately, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units. For example, for each device or product applied to or integrated on a chip, each module/unit included in the device or product may be implemented in hardware such as a circuit, or at least part of the modules/units may be implemented in software program, where the software program runs on a processor integrated inside the chip, and the rest (if any) of the modules/units may be implemented in hardware such as a circuit; for each device and product applied to or integrated in the chip module, each module/unit contained in the device and product can be realized in a hardware manner such as a circuit, different modules/units can be located in the same component (such as a chip, a circuit module and the like) or different components of the chip module, or at least part of the modules/units can be realized in a software program, the software program runs on a processor integrated in the chip module, and the rest (if any) of the modules/units can be realized in a hardware manner such as a circuit; for each device, product, or application to or integrated with the terminal, each module/unit included in the device, product, or application may be implemented by using hardware such as a circuit, different modules/units may be located in the same component (for example, a chip, a circuit module, or the like) or different components in the terminal, or at least part of the modules/units may be implemented by using a software program, where the software program runs on a processor integrated inside the terminal, and the remaining (if any) part of the modules/units may be implemented by using hardware such as a circuit.
It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In this context, the character "/" indicates that the front and rear associated objects are an "or" relationship.
The term "plurality" as used in the embodiments herein refers to two or more.
The first, second, etc. descriptions in the embodiments of the present application are only used for illustrating and distinguishing the description objects, and no order division is used, nor does it indicate that the number of the devices in the embodiments of the present application is particularly limited, and no limitation on the embodiments of the present application should be construed.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be made by one skilled in the art without departing from the spirit and scope of the invention, and the scope of the invention should be assessed accordingly to that of the appended claims.

Claims (12)

1. A method of reducing signal interference, comprising:
when the WiFi and the camera are in working states, detecting the WiFi signal intensity;
if the WiFi signal strength is lower than a first preset strength threshold, adjusting working parameters of the camera, detecting the WiFi signal strength after each adjustment until the WiFi signal strength is higher than a second preset strength threshold or the adjustment times reach a first preset adjustment times;
Wherein, the working parameters of the camera are selected from one or more of the following:
changing the working frequency of M_CLK of the camera, wherein the working frequency of M_CLK and the working frequency of WiFi are in a non-multiple relation;
changing the working frequency of MIPI_CLK of the camera, wherein the working frequency of MIPI_CLK and the working frequency of WiFi are in a non-multiple relation;
reducing IO driving current of the camera;
wherein the second preset intensity threshold is greater than or equal to the first preset intensity threshold;
the selection mode of the adjusted working parameters is alternate selection or random selection;
the first preset adjustment times are obtained by firstly determining the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times and then based on the sum of the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times;
the second preset adjustment times are smaller than or equal to the number of selectable working frequencies of M_CLK which are in a non-multiple relation with the working frequency of WiFi;
the third preset adjustment times are smaller than or equal to the number of selectable working frequencies of MIPI_CLK which are in a non-multiple relation with the working frequency of WiFi;
the fourth presetThe adjustment times are less than or equal to (I) 0 -I 1 )/I c Wherein I 0 For the initial value of IO driving current, I 1 Is the minimum value of IO driving current, I c For a predetermined step-down;
the sum of the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times is equal to the first preset adjustment times.
2. The method of reducing signal interference of claim 1, wherein adjusting the operating parameters of the camera comprises:
and selecting the working parameters in turn to adjust, or randomly selecting the working parameters to adjust until the frequency of changing the working frequency of the M_CLK of the camera reaches a second preset adjustment frequency, the frequency of changing the working frequency of the MIPI_CLK of the camera reaches a third preset adjustment frequency, and the frequency of reducing the IO driving current of the camera reaches a fourth preset adjustment frequency.
3. The method of reducing signal interference of claim 1, wherein adjusting the operating parameters of the camera comprises:
the working frequency of the M_CLK of the camera is changed gradually until the second preset adjustment times, and/or the working frequency of the MIPI_CLK of the camera is changed gradually until the third preset adjustment times;
successively reducing IO driving current of the camera until a fourth preset adjustment time;
The sum of the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times is equal to the first preset adjustment times.
4. The method of reducing signal interference according to claim 1, wherein during the adjusting of the operating parameters of the camera, a single operating parameter is adjusted at a time.
5. The method of reducing signal interference according to any one of claims 1 to 4, further comprising:
and if the adjustment times reach the first preset times, the WiFi signal strength is still smaller than or equal to the second preset strength threshold, connecting clock signal lines of preset clock signals to different filter capacitors successively, and detecting the WiFi signal strength after each connection until the WiFi signal strength is higher than the second preset strength threshold or the connection times reach the second preset connection times.
6. The method for reducing signal interference according to claim 5, wherein the filter capacitors are connected in parallel;
connecting the clock signal lines of the preset clock signal to different filter capacitors includes:
and a switch switching unit is adopted to connect clock signal lines of the preset clock signals to different filter capacitors.
7. The method of reducing signal interference of claim 5, further comprising:
and if the connection times reach the second preset connection times, the WiFi signal strength is still smaller than or equal to the second preset strength threshold value, and the camera is restored to the factory setting.
8. The method of reducing signal interference according to claim 5, wherein the predetermined clock signal is selected from the group consisting of: m_clk and mipi_clk.
9. The method of reducing signal interference of claim 1, wherein before detecting WiFi signal strength when both WiFi and camera are active, the method further comprises:
if the WiFi is started when the camera is in a working state and the terminal does not successfully reside in the WiFi network, changing the working parameters of the camera into preset parameters;
the preset parameters are determined according to factory setting parameters of the camera.
10. An apparatus for reducing signal interference, comprising:
the intensity detection module is used for detecting the intensity of WiFi signals when the WiFi and the camera are in the working state;
the working parameter adjusting module is used for adjusting the working parameters of the camera when the WiFi signal intensity is lower than a first preset intensity threshold value, and detecting the WiFi signal intensity after each adjustment until the WiFi signal intensity is higher than a second preset intensity threshold value or the adjustment times reach a first preset adjustment times;
Wherein, the working parameters of the camera are selected from one or more of the following:
changing the working frequency of M_CLK of the camera, wherein the working frequency of M_CLK and the working frequency of WiFi are in a non-multiple relation;
changing the working frequency of MIPI_CLK of the camera, wherein the working frequency of MIPI_CLK and the working frequency of WiFi are in a non-multiple relation;
reducing IO driving current of the camera;
wherein the second preset intensity threshold is greater than or equal to the first preset intensity threshold;
the selection mode of the adjusted working parameters is alternate selection or random selection;
the first preset adjustment times are obtained by firstly determining the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times and then based on the sum of the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times;
the second preset adjustment times are smaller than or equal to the number of selectable working frequencies of M_CLK which are in a non-multiple relation with the working frequency of WiFi;
the third preset adjustment times are smaller than or equal to the number of selectable working frequencies of MIPI_CLK which are in a non-multiple relation with the working frequency of WiFi;
the fourth preset adjustment timeThe number is less than or equal to (I) 0 -I 1 )/I c Wherein I 0 For the initial value of IO driving current, I 1 Is the minimum value of IO driving current, I c For a predetermined step-down;
the sum of the second preset adjustment times, the third preset adjustment times and the fourth preset adjustment times is equal to the first preset adjustment times.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, performs the steps of the method of reducing signal interference as claimed in any one of claims 1 to 9.
12. A terminal comprising a memory and a processor, the memory having stored thereon a computer program capable of being run on the processor, characterized in that the processor executes the steps of the method of reducing signal interference according to any of claims 1 to 9 when the computer program is run on the processor.
CN202111584620.0A 2021-12-22 2021-12-22 Method and device for reducing signal interference, computer readable storage medium and terminal Active CN114285995B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111584620.0A CN114285995B (en) 2021-12-22 2021-12-22 Method and device for reducing signal interference, computer readable storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111584620.0A CN114285995B (en) 2021-12-22 2021-12-22 Method and device for reducing signal interference, computer readable storage medium and terminal

Publications (2)

Publication Number Publication Date
CN114285995A CN114285995A (en) 2022-04-05
CN114285995B true CN114285995B (en) 2024-02-23

Family

ID=80874062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111584620.0A Active CN114285995B (en) 2021-12-22 2021-12-22 Method and device for reducing signal interference, computer readable storage medium and terminal

Country Status (1)

Country Link
CN (1) CN114285995B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107147453A (en) * 2017-05-31 2017-09-08 广东欧珀移动通信有限公司 Processing method, device, storage medium and the terminal of Radio frequency interference
CN108093134A (en) * 2017-12-15 2018-05-29 广东欧珀移动通信有限公司 The anti-interference method and Related product of electronic equipment
CN108512625A (en) * 2018-03-28 2018-09-07 努比亚技术有限公司 Anti-interference method, mobile terminal and the storage medium of camera
CN108601037A (en) * 2018-04-16 2018-09-28 Oppo广东移动通信有限公司 Camera module control method based on WIFI network and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107147453A (en) * 2017-05-31 2017-09-08 广东欧珀移动通信有限公司 Processing method, device, storage medium and the terminal of Radio frequency interference
CN108093134A (en) * 2017-12-15 2018-05-29 广东欧珀移动通信有限公司 The anti-interference method and Related product of electronic equipment
CN108512625A (en) * 2018-03-28 2018-09-07 努比亚技术有限公司 Anti-interference method, mobile terminal and the storage medium of camera
CN108601037A (en) * 2018-04-16 2018-09-28 Oppo广东移动通信有限公司 Camera module control method based on WIFI network and device

Also Published As

Publication number Publication date
CN114285995A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
US20220209403A1 (en) Antenna Assembly and Mobile Terminal
US20190356596A1 (en) Service link selection control method and device
US20210289108A1 (en) Electromagnetic interference control method and related electromagnetic interference control device
CN107147419A (en) Reduce method, storage medium and the terminal of signal interference
CN106230492B (en) Terminal antenna switching method and device and mobile terminal
RU2685225C1 (en) Method and device for interference prevention by a camera antenna and electronic device
KR20110103367A (en) Firmware flashing of a portable device using a serial bus hub
KR102499068B1 (en) Display control method and related products
US9906252B2 (en) Electronic device having FM antenna and method for switching FM antenna
CN106465135A (en) Method and apparatus for reducing interference between WiFi and LTE
CN108495344B (en) Network switching method, device and terminal
CN109600173B (en) Interference processing method and device, electronic equipment and storage medium
US11177839B2 (en) Antenna adjustment method, apparatus and terminal device
CN114285995B (en) Method and device for reducing signal interference, computer readable storage medium and terminal
WO2024001907A1 (en) Radio frequency control method and apparatus, and electronic device
CN111970749A (en) Network connection method and device, intelligent household equipment and intelligent household system
CN114827984B (en) Communication method and communication device
CN111130591B (en) Antenna tuning method, antenna tuning device and terminal equipment
CN106775856A (en) A kind of working mode of mobile terminal changing method and mobile terminal
CN112823549B (en) Method and device for adjusting Wi-Fi gain, electronic equipment and storage medium
CN106788542B (en) Signal enhancement circuit, system and implementation method thereof
CN110399114B (en) Method, device and terminal equipment for controlling robot to perform video monitoring
CN112448773B (en) Radio frequency compensator, radio frequency test method and system
WO2018010295A1 (en) Method and device for adjusting antenna, and mobile terminal
CN110971742A (en) Antenna switching method, device, terminal and computer readable 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
GR01 Patent grant
GR01 Patent grant