Frequency interference processing method, electronic equipment and storage medium
By acquiring the operating frequency band and signal status information of the baseband communication module, and dynamically adjusting the memory frequency, the interference problem of DDR memory to the baseband communication module is solved, achieving stability and real-time performance in the integrated communication chip.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- QUECTEL WIRELESS SOLUTIONS CO LTD
- Filing Date
- 2026-01-08
- Publication Date
- 2026-04-21
AI Technical Summary
In existing integrated communication chips, the harmonic components of DDR memory cause radio frequency interference to the receiving frequency band of the baseband communication module, and frequent frequency switching leads to data access delays and system instability.
By acquiring the current operating frequency band and signal status information of the baseband communication module, the non-interference frequency library of the memory is determined, and the target operating frequency of the memory is dynamically adjusted according to the current operating frequency and signal status to avoid interference.
This technology enables dynamic adjustment of the memory frequency based on the chip's internal resources, reducing hardware costs, avoiding interference from DDR to the baseband communication module, and improving the system's real-time performance and stability.
Smart Images

Figure CN121907356A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and more specifically, to a frequency interference processing method, an electronic device, and a storage medium. Background Technology
[0002] With the development of mobile communication technology, integrated communication chips typically integrate application processors, baseband processing units, radio frequency front-ends, and double data rate synchronous dynamic random access memory (DDR) into a single package to achieve miniaturization, low power consumption, and high performance. Under this highly integrated architecture, the radio frequency interference caused by the operating frequency of DDR memory and its harmonic components to the receiving frequency band of the baseband communication module is becoming increasingly prominent.
[0003] Existing technical solutions use DDR automatic frequency hopping technology to suppress DDR interference. Specifically, this involves dynamically adjusting the DDR operating frequency to avoid sensitive frequencies that may generate harmonic interference. For example, when the Nth harmonic of the current frequency is detected to be close to the receiving frequency band of a baseband communication module, the system switches to another alternative frequency. However, this method is limited by the frequency range and stability requirements specified in the DDR standard, resulting in a limited number of available frequency hopping points and making it difficult to completely avoid all potential interference. Furthermore, frequent frequency switching can lead to bus timing reconfiguration, causing brief data access delays, affecting system real-time performance, and in extreme cases, potentially causing protocol stack anomalies or system crashes. Summary of the Invention
[0004] The purpose of this application is to address the shortcomings of the prior art by providing a frequency interference processing method, electronic device, and storage medium to avoid interference from DDR to the baseband communication module.
[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows: In a first aspect, embodiments of this application provide a frequency interference processing method, the method comprising: Obtain the current operating frequency band information and current signal status information of the baseband communication module in the target communication chip, and obtain the current operating frequency and frequency information of the memory in the target communication chip; Based on the current operating frequency band information and the frequency information, a non-interference frequency library corresponding to the memory is determined, wherein the non-interference frequency library includes at least one non-interference frequency; The target operating frequency of the memory is determined based on the non-interference frequency library, the current operating frequency, and the current signal state information.
[0006] Optionally, determining the non-interference frequency library corresponding to the memory based on the current operating frequency band information and the frequency information includes: Based on the frequency range, preset frequency step size, and preset interference harmonic order information in the frequency information, multiple interference frequencies corresponding to the memory are determined, and the frequency range is used to indicate the operating frequency range of the memory. The non-interference frequency library is determined based on the multiple interference frequencies and the current operating frequency band information.
[0007] Optionally, based on the frequency range, preset frequency step size, and preset interference harmonic order information in the frequency information, multiple interference frequencies corresponding to the memory are determined, including: Based on the frequency range in the frequency information and the preset frequency step size, at least one candidate frequency is determined; Based on the preset interference harmonic order information and each candidate frequency, multiple interference frequencies corresponding to each candidate frequency are determined, and the multiple interference frequencies corresponding to all candidate frequencies are used as multiple interference frequencies corresponding to the memory.
[0008] Optionally, based on the preset interference harmonic order information and each candidate frequency, multiple interference frequencies corresponding to each candidate frequency are determined, including: The candidate frequencies are traversed, and for the current candidate frequency, the product of the current candidate frequency and each interference harmonic order in the preset interference harmonic order information is calculated to obtain multiple interference frequencies corresponding to the current candidate frequency.
[0009] Optionally, determining the non-interference frequency library based on the plurality of interference frequencies and the current operating frequency band information includes: The current frequency band range of the baseband communication module is determined based on the highest operating frequency, the lowest operating frequency, and the preset frequency band in the current operating frequency band information. Determine whether the interference frequency is within the current frequency band; If not, the interference frequency is added to the non-interference frequency library.
[0010] Optionally, determining the current frequency band range of the baseband communication module based on the highest operating frequency, lowest operating frequency, and preset frequency band in the current operating frequency band information includes: The sum of the highest operating frequency and the preset frequency band is taken as the maximum frequency of the current frequency band, and the sum of the lowest operating frequency and the preset frequency band is taken as the minimum frequency of the current frequency band.
[0011] Optionally, determining the target operating frequency of the memory based on the non-interference frequency library, the current operating frequency, and the current signal state information includes: Determine whether the current signal state information meets the preset conditions; If not, then determine the next non-interference frequency from the non-interference frequency library for the current operating frequency, and use the next non-interference frequency as the target operating frequency of the memory.
[0012] Optionally, it also includes: The operating type of the baseband communication module is determined based on its operating status, and the operating type includes a receiving window period type and an inactive period type. The task type of the memory is adjusted in real time according to the work type.
[0013] Secondly, embodiments of this application also provide a frequency interference processing apparatus, the apparatus comprising: The acquisition module is used to acquire the current operating frequency band information and current signal status information of the baseband communication module in the target communication chip, and to acquire the current operating frequency and frequency information of the memory in the target communication chip. The first determining module is used to determine the non-interference frequency library corresponding to the memory based on the current operating frequency band information and the frequency information, wherein the non-interference frequency library includes at least one non-interference frequency. The second determining module is used to determine the target operating frequency of the memory based on the non-interference frequency library, the current operating frequency, and the current signal state information.
[0014] Optionally, the first determining module is specifically used for: Based on the frequency range, preset frequency step size, and preset interference harmonic order information in the frequency information, multiple interference frequencies corresponding to the memory are determined, and the frequency range is used to indicate the operating frequency range of the memory. The non-interference frequency library is determined based on the multiple interference frequencies and the current operating frequency band information.
[0015] Optionally, the first determining module is specifically used for: Based on the frequency range in the frequency information and the preset frequency step size, at least one candidate frequency is determined; Based on the preset interference harmonic order information and each candidate frequency, multiple interference frequencies corresponding to each candidate frequency are determined, and the multiple interference frequencies corresponding to all candidate frequencies are used as multiple interference frequencies corresponding to the memory.
[0016] Optionally, the first determining module is specifically used for: The candidate frequencies are traversed, and for the current candidate frequency, the product of the current candidate frequency and each interference harmonic order in the preset interference harmonic order information is calculated to obtain multiple interference frequencies corresponding to the current candidate frequency.
[0017] Optionally, the first determining module is specifically used for: The current frequency band range of the baseband communication module is determined based on the highest operating frequency, the lowest operating frequency, and the preset frequency band in the current operating frequency band information. Determine whether the interference frequency is within the current frequency band; If not, the interference frequency is added to the non-interference frequency library.
[0018] Optionally, the first determining module is specifically used for: The sum of the highest operating frequency and the preset frequency band is taken as the maximum frequency of the current frequency band, and the sum of the lowest operating frequency and the preset frequency band is taken as the minimum frequency of the current frequency band.
[0019] Optionally, the second determining module is specifically used for: Determine whether the current signal state information meets the preset conditions; If not, then determine the next non-interference frequency from the non-interference frequency library for the current operating frequency, and use the next non-interference frequency as the target operating frequency of the memory.
[0020] Optionally, the third determining module is used for: The operating type of the baseband communication module is determined based on its operating status, and the operating type includes a receiving window period type and an inactive period type. The task type of the memory is adjusted in real time according to the work type.
[0021] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a storage medium, and a bus, wherein the storage medium stores program instructions executable by the processor, and when the application runs, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the frequency interference processing method described in the first aspect above.
[0022] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which is read and executes the steps of the frequency interference processing method described in the first aspect.
[0023] The beneficial effects of this application are: This application provides a frequency interference processing method, electronic device, and storage medium. It acquires the current operating frequency band information and current signal status information of the baseband communication module in the target communication chip, and also acquires the current operating frequency and frequency information of the memory in the target communication chip. Based on the current operating frequency band information and frequency information, it determines the corresponding non-interference frequency library for the memory. It can analyze the harmonic relationship between the current operating frequency band information of the baseband communication module and the memory in real time, thereby generating the non-interference frequency library. Based on the non-interference frequency library, the current operating frequency, and the current signal status information, it determines the target operating frequency of the memory. This allows for dynamic adjustment of the memory's operating frequency according to the communication status of the baseband communication module, thereby obtaining the target operating frequency. Furthermore, the entire process is implemented using internal chip resources, eliminating the need for external circuitry and reducing hardware costs. Attached Figure Description
[0024] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 This is a schematic diagram of the internal structure of a communication chip provided in an embodiment of this application; Figure 2 A flowchart illustrating a frequency interference processing method provided in an embodiment of this application; Figure 3 A flowchart illustrating the second frequency interference processing method provided in this application embodiment; Figure 4 A flowchart illustrating the third frequency interference processing method provided in this application embodiment; Figure 5 A flowchart illustrating the fourth frequency interference processing method provided in this application embodiment; Figure 6 A schematic diagram of the working state of a memory provided in an embodiment of this application; Figure 7 A schematic diagram of an apparatus for a frequency interference processing method provided in an embodiment of this application; Figure 8 This is a structural block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.
[0027] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0028] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.
[0029] Optionally, the frequency interference processing method provided in this application embodiment is applied to an electronic device, such as a mobile phone, tablet computer, laptop computer, PDA, desktop computer, or other terminal device with computing power and display function, or it can be a server. Specifically, it can be applied to applications in terminal devices, such as mobile phone applications (APP) and computer application systems. The electronic device deploys an integrated communication chip, which includes a memory and a baseband communication module.
[0030] The following is a detailed explanation of the specific implementation process of the frequency interference processing provided in the embodiments of this application.
[0031] Figure 1 This is a schematic diagram of the internal structure of a communication chip provided in an embodiment of this application, as shown below. Figure 1 As shown, the communication chip may include: a memory, a baseband communication module, a dynamic frequency optimization module, a time-division multiplexing control module, and a clock synchronization module. Figure 1As shown, the dynamic frequency optimization module is connected to the baseband communication module and the memory, respectively. The time-division multiplexing control module can also be connected to the memory and the clock synchronization module, respectively. The clock synchronization module can be connected to the baseband communication module. The clock synchronization module can acquire timing signals from the baseband communication module in real time, such as the subframe start pulse and the receive window identifier, and send the acquired timing signals to the time-division multiplexing control module so that the time-division multiplexing control module can control the memory according to the timing signals.
[0032] Figure 2 This is a flowchart illustrating a frequency interference processing method provided in an embodiment of this application. The subject executing this method is the aforementioned electronic device. Figure 2 As shown, the method includes: S101. Obtain the current operating frequency band information and current signal status information of the baseband communication module in the target communication chip, and obtain the current operating frequency and frequency information of the memory in the target communication chip.
[0033] Specifically, the dynamic frequency optimization module can obtain the current operating frequency band information and current signal status information of the baseband communication module in the target communication chip, and obtain the current operating frequency and frequency information of the memory in the target communication chip.
[0034] Optionally, the current operating frequency band information refers to the frequency band information of the baseband communication module in its current operating state. That is, it is the frequency band that the baseband communication module is currently using. This can include the center frequency and bandwidth of the downlink receiving frequency band, or the upper and lower frequency boundaries of the band, such as Band1, Band2, Band3, etc. Each band can include a lower frequency boundary F_low and an upper frequency boundary F_high. The operating frequency band of the baseband communication module can be the same or different at different times. The current signal state information refers to the signal information of the baseband communication module in its current operating state, such as the bit error rate or signal strength.
[0035] Optionally, the current operating frequency refers to the operating frequency Fc of the memory in the target communication chip at the current moment. The frequency information of the memory may include the frequency range, the preset frequency step size, and the preset interference harmonic order information. The frequency range refers to the frequency range that the memory can support, that is, the frequency range within which the memory can operate. This frequency range can be, for example, using (F... min F max Let F be the denoting factor, where F is the denoting factor. min F is the minimum frequency value in the frequency range. maxThis represents the maximum frequency value within the frequency range; the preset frequency step size can be represented by ΔF; the preset interference harmonic order information can include multiple interference harmonic orders, such as integer harmonics and fractional harmonics. Integer harmonics can be integer orders like 2, 3, 4, etc., while fractional harmonics can be fractional orders like 1.5, 1.77, 2.5, etc. This frequency information can be pre-stored in the chip firmware or non-volatile memory and loaded into memory for later use during system startup.
[0036] The baseband communication module employs a frame structure for full-duplex communication. Its downlink is based on orthogonal frequency division multiple access (OFDMA). The terminal device achieves time-frequency synchronization with the base station via a synchronization signal and activates the baseband processing unit of the RF front-end and receiver link within specific downlink subframes. The memory serves as system memory and is interconnected with the system bus via a memory controller.
[0037] S102. Based on the current operating frequency band information and frequency information, determine the non-interference frequency library corresponding to the memory.
[0038] The non-interference frequency library may include at least one non-interference frequency, and each non-interference frequency in the non-interference frequency library refers to a frequency in which the memory does not interfere with the baseband communication module.
[0039] Specifically, the dynamic frequency optimization module can use a preset method to determine the non-interference frequency library corresponding to the memory based on the current operating frequency band information of the baseband communication module and the frequency information of the memory.
[0040] S103. Determine the target operating frequency of the memory based on the non-interference frequency library, the current operating frequency, and the current signal status information.
[0041] Specifically, the dynamic frequency optimization module can determine the target operating frequency of the memory using a preset method based on the non-interference frequency library corresponding to the memory, the current operating frequency of the memory, and the current signal status information of the baseband communication module, so that the memory can operate based on the target operating frequency. The target operating frequency can be the current operating frequency or another operating frequency; that is, after steps S101 to S103, the memory can continue to operate using the current operating frequency obtained in step S101, or it can operate using a different operating frequency.
[0042] Optionally, if the target operating frequency is the current operating frequency, it means that the current operating frequency does not interfere with the current operating frequency band information of the baseband communication module, and the memory can continue to use the current operating frequency to work; if the target operating frequency is not the current operating frequency, it means that the current operating frequency interferes with the current operating frequency band information of the baseband communication module, and other operating frequencies are determined so that the baseband communication module can work based on the new other operating frequency, thereby avoiding interference from the operating frequency of the memory to the baseband communication module.
[0043] In this embodiment, the current operating frequency band information and current signal status information of the baseband communication module in the target communication chip are obtained, as well as the current operating frequency and frequency information of the memory in the target communication chip. Based on the current operating frequency band information and frequency information, a non-interference frequency library corresponding to the memory is determined. The harmonic relationship between the current operating frequency band information of the baseband communication module and the memory can be analyzed in real time to generate a non-interference frequency library. Based on the non-interference frequency library, the current operating frequency, and the current signal status information, the target operating frequency of the memory is determined. This allows for dynamic adjustment of the memory's operating frequency according to the communication status of the baseband communication module, thereby obtaining the target operating frequency. Furthermore, the entire process is implemented using internal chip resources, eliminating the need for external circuitry and reducing hardware costs.
[0044] Figure 3 This is a flowchart illustrating the second frequency interference processing method provided in the embodiments of this application, as shown below. Figure 3 As shown, in step S102 above, determining the non-interference frequency library corresponding to the memory based on the current operating frequency band information and frequency information may include: S201. Based on the frequency range, preset frequency step size, and preset interference harmonic order information in the frequency information, determine the multiple interference frequencies corresponding to the memory.
[0045] Here, the frequency range refers to the operating frequency range of the memory. The preset frequency step size refers to the smallest frequency increment unit used when scanning or modeling within the frequency range, such as 1MHz, 5MHz, or 100kHz. The value of the preset frequency step size can be set according to actual needs; a smaller frequency step size can improve detection accuracy, while a larger frequency step size is suitable for rapid and rough calculations. The preset interference harmonic order information can be obtained by performing a spectrum analysis on the memory beforehand to determine the order of the harmonics generated by the memory. That is, it can be determined based on the frequency range (F...) in the memory's frequency information. min F max Using a preset method, the preset frequency step size ΔF and preset interference harmonic order information are used to determine multiple interference frequencies corresponding to the memory. These multiple interference frequencies can be multiple high-risk frequencies, such as the determined multiple interference frequencies being 2400 MHz, 2430 MHz, 2460 MHz, etc.
[0046] S202. Determine the non-interference frequency library based on multiple interference frequencies and the current operating frequency band information.
[0047] Optionally, after determining multiple interference frequencies in the memory, and combining the current operating frequency band information (F_low, F_high) of the baseband communication module, a non-interference frequency library is determined using a preset method, that is, at least one non-interference frequency is determined. Each non-interference frequency in the non-interference frequency library is applicable to the current operating frequency band information of the baseband communication module. In other words, each non-interference frequency does not interfere with the current operating frequency band information of the baseband communication module. The obtained non-interference frequency library can be stored in the memory for subsequent scheduling.
[0048] In this embodiment, potential interference points caused by harmonic distortion are identified in advance based on pre-stored frequency information from the memory. Then, the current operating frequency band information of the baseband communication module is used as a filtering condition to filter multiple interfering frequencies, eliminating interference points that pose a risk of conflict with the current communication task. This constructs a non-interference frequency library suitable for the current scenario, achieving proactive defense, avoiding high-risk frequencies in advance, and significantly reducing the probability of connection interruption due to self-interference during communication. Compared to the traditional approach of disabling an entire frequency band outright, this embodiment only excludes truly overlapping interference risk points, retaining the remaining clean frequencies for use, achieving refined spectrum resource management. Furthermore, since interference risk assessment can be completed without relying on external testing equipment, the complexity of system debugging and maintenance costs are significantly reduced.
[0049] Figure 4 A flowchart illustrating the third frequency interference processing method provided in this application embodiment is shown below. Figure 4 As shown, in step S201 above, determining multiple interference frequencies corresponding to the memory based on the frequency range, preset frequency step size, and preset interference harmonic order information in the frequency information may include: S301. Determine at least one candidate frequency based on the frequency range in the frequency information and the preset frequency step size.
[0050] For example, if the frequency range is 2400~2483.5 MHz and the preset frequency step size is 1 MHz, a total of 84 candidate frequencies can be generated, namely 2400 MHz, 2401 MHz, 2402 MHz, etc. These candidate frequencies constitute the basic resource pool for subsequent processing.
[0051] S302. Based on the preset interference harmonic order information and each candidate frequency, determine the multiple interference frequencies corresponding to each candidate frequency, and use the multiple interference frequencies corresponding to all candidate frequencies as the multiple interference frequencies corresponding to the memory.
[0052] Optionally, for each candidate frequency, multiple interference frequencies corresponding to the candidate frequency can be determined using a preset method based on the candidate frequency and the interference harmonic orders in the preset interference harmonic order information.
[0053] For example, if the candidate frequency is 2400 MHz and the number of interference harmonic orders in the preset interference harmonic order information is 30, then the 30 interference frequencies corresponding to the candidate frequency of 2400 MHz can be obtained; if 84 candidate frequencies are obtained in step S301, then 2520 interference frequencies can be obtained in step S302.
[0054] In this embodiment, the risk of harmonic interference caused by memory can be predicted without relying on the measured signal quality, thus improving the initiative and reliability of the anti-interference strategy.
[0055] Optionally, determining the multiple interference frequencies corresponding to each candidate frequency in step S302 based on preset interference harmonic order information and each candidate frequency may include: Specifically, each candidate frequency is traversed. For the current candidate frequency, the product of the current candidate frequency and the order of each interference harmonic in the preset interference harmonic order information is calculated to obtain multiple interference frequencies corresponding to the current candidate frequency. Specifically, this can be achieved using formula F. 干扰 = N × F DDR The interference frequencies are obtained. Where N is the order of each interference harmonic in the preset interference harmonic order information, and F... DDR For the current candidate frequency, F 干扰 This is the interference frequency.
[0056] Figure 5 A flowchart illustrating the fourth frequency interference processing method provided in this application embodiment is shown below. Figure 5 As shown, the above-mentioned S202 determines the non-interference frequency library based on multiple interference frequencies and the current operating frequency band information, which may include: S401. Determine the current frequency band range of the baseband communication module based on the highest operating frequency, lowest operating frequency, and preset frequency band in the current operating frequency band information.
[0057] Since there is a measurement deviation in the current frequency band information of the baseband communication module, a preset frequency band can be used to correct the deviation. This current frequency band range is the precise frequency band of the baseband communication module, so that subsequent processing of each interfering frequency can be performed based on this current frequency band range.
[0058] S402. Determine whether the interference frequency is within the current frequency range.
[0059] Specifically, if the interference frequency is within the current frequency range, it means that the interference frequency of the memory is interfering with the baseband communication module, and the following step S403 is executed; if the interference frequency is not within the current frequency range, it means that the interference frequency of the memory is not interfering with the baseband communication module, and the following step S404 is executed.
[0060] S403, Remove the interfering frequency.
[0061] S404. Add the interfering frequency to the non-interfering frequency library.
[0062] Specifically, the interference frequencies can be sorted and stored in descending order.
[0063] Optionally, determining the current frequency band range of the baseband communication module in S401 based on the highest operating frequency, lowest operating frequency, and preset frequency band in the current operating frequency band information may include: Specifically, the sum of the highest operating frequency and the preset frequency band is taken as the maximum frequency of the current frequency band, and the sum of the lowest operating frequency and the preset frequency band is taken as the minimum frequency of the current frequency band.
[0064] Specifically, the current frequency band range is obtained by the formula F_low - Δf_guard ≤ F_interference ≤ F_high + Δf_guard, where F_low is the lowest operating frequency in the current operating frequency band information, F_high is the highest operating frequency in the current operating frequency band information, and Δf_guard is the preset frequency band.
[0065] Optionally, determining the target operating frequency of the memory in S103 based on the non-interference frequency library, the current operating frequency, and the current signal state information may include: Specifically, it can be determined whether the current signal state information meets the preset conditions, wherein the preset conditions can be that the bit error rate in the current signal state is less than or equal to a preset bit error rate threshold, or the signal strength in the current signal state is less than or equal to a preset strength threshold.
[0066] If the bit error rate in the current signal state is greater than the preset bit error rate threshold, or the signal strength in the current signal state is greater than the preset strength threshold, it indicates that the memory is interfering with the operation of the baseband communication module at the current moment. In this case, the current operating frequency can be fine-tuned. The maximum frequency range for fine-tuning is ±10MHz, that is, the maximum increase can be 10MHz or the maximum decrease can be 10MHz from the current operating frequency. The adjustment step can be 1MHz. After each fine-tuning, it is determined whether the current operating frequency after fine-tuning interferes with the memory.
[0067] If there is no interference, the fine-tuned current operating frequency is used as the target operating frequency of the memory. If the fine-tuned current operating frequency still interferes with the memory, the next non-interference frequency is determined from the non-interference frequency library, and this next non-interference frequency is used as the target operating frequency of the memory. The next non-interference frequency refers to the smallest non-interference frequency in the non-interference frequency library that is higher than the current operating frequency. For example, if the current operating frequency of the memory is 480MHz, and the non-interference frequencies higher than 480MHz in the non-interference frequency library include 495MHz, 501MHz, and 562MHz, then 495MHz is chosen as the next non-interference frequency after the current operating frequency of 480MHz, and thus, 495MHz is used as the target operating frequency of the memory.
[0068] If the current signal state meets the preset conditions, that is, the bit error rate in the current signal state is less than or equal to the preset bit error rate threshold, or the signal strength in the current signal state is less than or equal to the preset strength threshold, it means that the memory does not interfere with the operation of the baseband communication module at the current moment, and the current operating frequency will continue to be used as the target operating frequency.
[0069] Optionally, the above method may further include: Optionally, the operating type of the baseband communication module is determined based on its operating state. This operating type may include a receive window period type and an inactive period type. The operation of the baseband communication module is periodic and defined by the frame structure.
[0070] The operating state of the baseband communication module can be characterized using a timing signal, which can be either high or low. Specifically, the clock synchronization module monitors the timing signal of the baseband communication module and sends the acquired timing signal to the time-division multiplexing control module. The time-division multiplexing module determines the operating type of the baseband communication module based on the timing signal. If the positioning signal is low, it indicates that the baseband communication module is in the receiving window period; if the positioning signal is high, it indicates that the baseband communication module is in an inactive period. The memory's operating cycle can be, for example, used... Figure 6 To indicate.
[0071] Optionally, the clock synchronization module can also use phase-locked loop or delay-locked loop technology to align the edge of the memory clock with the timing signal of the baseband communication module to eliminate clock offset and jitter.
[0072] Optionally, the time-division multiplexing control module can adjust the memory task type according to the determined operating type of the baseband communication module. Specifically, when the baseband communication module operates in the receive window period type, the time-division multiplexing control module can control the memory to execute high-priority tasks related to real-time communication tasks, and restrict or postpone non-urgent memory access tasks, such as data transfer tasks related to the baseband communication module, such as downstream data storage tasks and upstream data reading tasks; it can also ensure memory access necessary for real-time response, such as critical operating system tasks and interrupt services.
[0073] Optionally, when the baseband communication module is determined to be inactive, the time-division multiplexing control module can control the memory to perform background tasks, such as background application data read / write tasks, such as application background synchronization and log recording; memory management operations, such as garbage collection and memory compression; file system read / write operations, such as saving non-urgent files; and system maintenance tasks such as prefetching data and clearing cache.
[0074] Figure 7 A schematic diagram of an apparatus for a frequency interference processing method provided in an embodiment of this application is shown below. Figure 7 As shown, the device includes: The acquisition module 501 is used to acquire the current operating frequency band information and current signal status information of the baseband communication module in the target communication chip, and to acquire the current operating frequency and frequency information of the memory in the target communication chip. The first determining module 502 is used to determine the non-interference frequency library corresponding to the memory based on the current operating frequency band information and the frequency information, wherein the non-interference frequency library includes at least one non-interference frequency. The second determining module 503 is used to determine the target operating frequency of the memory based on the non-interference frequency library, the current operating frequency, and the current signal state information.
[0075] Optionally, the first determining module 502 is specifically used for: Based on the frequency range, preset frequency step size, and preset interference harmonic order information in the frequency information, multiple interference frequencies corresponding to the memory are determined, and the frequency range is used to indicate the operating frequency range of the memory. The non-interference frequency library is determined based on the multiple interference frequencies and the current operating frequency band information.
[0076] Optionally, the first determining module 502 is specifically used for: Based on the frequency range in the frequency information and the preset frequency step size, at least one candidate frequency is determined; Based on the preset interference harmonic order information and each candidate frequency, multiple interference frequencies corresponding to each candidate frequency are determined, and the multiple interference frequencies corresponding to all candidate frequencies are used as multiple interference frequencies corresponding to the memory.
[0077] Optionally, the first determining module 502 is specifically used for: The candidate frequencies are traversed, and for the current candidate frequency, the product of the current candidate frequency and each interference harmonic order in the preset interference harmonic order information is calculated to obtain multiple interference frequencies corresponding to the current candidate frequency.
[0078] Optionally, the first determining module 502 is specifically used for: The current frequency band range of the baseband communication module is determined based on the highest operating frequency, the lowest operating frequency, and the preset frequency band in the current operating frequency band information. Determine whether the interference frequency is within the current frequency band; If not, the interference frequency is added to the non-interference frequency library.
[0079] Optionally, the first determining module 502 is specifically used for: The sum of the highest operating frequency and the preset frequency band is taken as the maximum frequency of the current frequency band, and the sum of the lowest operating frequency and the preset frequency band is taken as the minimum frequency of the current frequency band.
[0080] Optionally, the second determining module 503 is specifically used for: Determine whether the current signal state information meets the preset conditions; If not, then determine the next non-interference frequency from the non-interference frequency library for the current operating frequency, and use the next non-interference frequency as the target operating frequency of the memory.
[0081] Optionally, the third determining module 504 is used for: The operating type of the baseband communication module is determined based on its operating status, and the operating type includes a receiving window period type and an inactive period type. The task type of the memory is adjusted in real time according to the work type.
[0082] Figure 8 This is a structural block diagram of an electronic device 600 provided in an embodiment of this application. (See diagram below.) Figure 8 As shown, the electronic device may include: a processor 601 and a memory 602.
[0083] Optionally, a bus 603 may also be included, wherein the memory 602 is used to store machine-readable instructions executable by the processor 601. When the electronic device 600 is running, the processor 601 and the memory 602 communicate via the bus 603. When the machine-readable instructions are executed by the processor 601, the method steps in the above method embodiments are performed.
[0084] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the method steps described in the frequency interference processing method embodiments.
[0085] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the method embodiments, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces; the indirect coupling or communication connection of devices or modules may be electrical, mechanical, or other forms.
[0086] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.
[0087] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A frequency interference processing method, characterized in that, The method includes: Obtain the current operating frequency band information and current signal status information of the baseband communication module in the target communication chip, and obtain the current operating frequency and frequency information of the memory in the target communication chip; Based on the current operating frequency band information and the frequency information, a non-interference frequency library corresponding to the memory is determined, wherein the non-interference frequency library includes at least one non-interference frequency; The target operating frequency of the memory is determined based on the non-interference frequency library, the current operating frequency, and the current signal state information.
2. The frequency interference processing method according to claim 1, characterized in that, The step of determining the non-interference frequency library corresponding to the memory based on the current operating frequency band information and the frequency information includes: Based on the frequency range, preset frequency step size, and preset interference harmonic order information in the frequency information, multiple interference frequencies corresponding to the memory are determined, and the frequency range is used to indicate the operating frequency range of the memory. The non-interference frequency library is determined based on the multiple interference frequencies and the current operating frequency band information.
3. The frequency interference processing method according to claim 2, characterized in that, Based on the frequency range, preset frequency step size, and preset interference harmonic order information in the frequency information, multiple interference frequencies corresponding to the memory are determined, including: Based on the frequency range in the frequency information and the preset frequency step size, at least one candidate frequency is determined; Based on the preset interference harmonic order information and each candidate frequency, multiple interference frequencies corresponding to each candidate frequency are determined, and the multiple interference frequencies corresponding to all candidate frequencies are used as multiple interference frequencies corresponding to the memory.
4. The frequency interference processing method according to claim 3, characterized in that, Based on the preset interference harmonic order information and each candidate frequency, determine multiple interference frequencies corresponding to each candidate frequency, including: The candidate frequencies are traversed, and for the current candidate frequency, the product of the current candidate frequency and each interference harmonic order in the preset interference harmonic order information is calculated to obtain multiple interference frequencies corresponding to the current candidate frequency.
5. The frequency interference processing method according to claim 2, characterized in that, The step of determining the non-interference frequency library based on the multiple interference frequencies and the current operating frequency band information includes: The current frequency band range of the baseband communication module is determined based on the highest operating frequency, the lowest operating frequency, and the preset frequency band in the current operating frequency band information. Determine whether the interference frequency is within the current frequency band; If not, the interference frequency is added to the non-interference frequency library.
6. The frequency interference processing method according to claim 5, characterized in that, The step of determining the current frequency band range of the baseband communication module based on the highest operating frequency, lowest operating frequency, and preset frequency band in the current operating frequency band information includes: The sum of the highest operating frequency and the preset frequency band is taken as the maximum frequency of the current frequency band, and the sum of the lowest operating frequency and the preset frequency band is taken as the minimum frequency of the current frequency band.
7. The frequency interference processing method according to claim 1, characterized in that, Determining the target operating frequency of the memory based on the non-interference frequency library, the current operating frequency, and the current signal state information includes: Determine whether the current signal state information meets the preset conditions; If not, then determine the next non-interference frequency from the non-interference frequency library for the current operating frequency, and use the next non-interference frequency as the target operating frequency of the memory.
8. The frequency interference processing method according to claim 1, characterized in that, Also includes: The operating type of the baseband communication module is determined based on its operating status, and the operating type includes a receiving window period type and an inactive period type. The task type of the memory is adjusted in real time according to the work type.
9. An electronic device, characterized in that, The device includes a memory and a processor, wherein the memory stores a computer program executable by the processor, and the processor executes the computer program to implement the steps of the frequency interference processing method according to any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the frequency interference processing method as described in any one of claims 1-8.