Method of signal processing and electronic device

By introducing an instruction processing module into electronic devices and pre-storing the correspondence between MIPI instructions and operations, rapid hardware processing is achieved, solving the problems of difficult antenna deployment and slow MIPI instruction processing in mobile terminals, and improving response speed in tight timing scenarios.

CN120091460BActive Publication Date: 2025-12-12HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311593815.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-24
Publication Date
2025-12-12
Estimated Expiration
2043-11-24

AI Technical Summary

Technical Problem

Antenna deployment in mobile terminals is difficult and MIPI instruction processing time is long, making it difficult to apply in tight timing scenarios and affecting user experience.

Method used

Adding an instruction processing module to electronic devices allows for the pre-storing of the correspondence between MIPI instructions and operations to be executed. This enables direct processing of MIPI instructions through the hardware module, reducing reliance on the MCU and improving processing speed.

Benefits of technology

It shortens the processing time of MIPI commands, enabling electronic devices to respond quickly in time-sensitive scenarios and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120091460B_ABST
    Figure CN120091460B_ABST
Patent Text Reader

Abstract

The application provides a signal processing method and an electronic device, and relates to the technical field of communication. The signal processing method in the application comprises the following steps: receiving a first MIPI instruction sent by a modem processor, obtaining information of a target operation matched with the first MIPI instruction through the first MIPI instruction and a stored first group of corresponding relationships, and the first group of corresponding relationships comprises corresponding relationships between N MIPI instructions and N pieces of information of operations to be executed; and an instruction processing module executes the target operation according to the information of the target operation. By using the method in the application, the electronic device can accelerate the processing speed of the MIPI instruction, shorten the processing time length of the MIPI instruction, and make the electronic device applicable to various scenes with high time sequence requirements, thereby increasing the application scenarios of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a signal processing method and electronic device. Background Technology

[0002] With the adoption of full-screen displays in mobile terminals, the space available for antenna deployment within these terminals has decreased, limiting antenna deployment options. Furthermore, the increasing number of communication frequency bands further complicates antenna deployment. To minimize antenna deployment, the modem processor (MDM) in the mobile terminal can generate different Mobile Industry Processor Interface (MIPI) instructions for different communication scenarios. This MDM transmits the generated MIPI instructions to the microcontroller unit (MCU) within the mobile terminal. The MCU then recognizes and processes the MIPI instructions. Through the MCU's processing of MIPI instructions, the mobile terminal can control front-end modules (FEMs) in different scenarios, achieving efficient control of the radio frequency front-end (RFFE) or efficient antenna multiplexing. These communication scenarios can include cellular communication, Bluetooth communication, and dual-SIM dual-standby scenarios.

[0003] However, the process of the mobile terminal uploading MIPI instructions to the MCU and the MCU transmitting the processing results to the corresponding module takes a long time. In addition, the large amount of information to be processed by the MCU exacerbates the time required for the MCU to process MIPI instructions. This makes it difficult for the mobile terminal to be used in some time-sensitive scenarios, such as the switching between primary and secondary SIM card communication. The long MIPI instruction processing time may lead to a long switching time between the primary and secondary SIM cards, which affects the user experience. Summary of the Invention

[0004] To address the aforementioned technical problems, this application provides a signal processing method and an electronic device that enables the electronic device to accelerate the processing speed of MIPI instructions and shorten the processing time of MIPI instructions. Due to the shortened processing time of MIPI instructions, the electronic device can be applied to various scenarios with tight timing requirements, thereby increasing the application scenarios of the electronic device.

[0005] In a first aspect, this application provides a signal processing method applied to an electronic device, the electronic device including a modem processor and an instruction processing module electrically connected to the modem processor; the method includes: the modem processor generating a first Mobile Industry Processor Interface (MIPI) instruction and transmitting the first MIPI instruction to the instruction processing module; upon receiving the first MIPI instruction, the instruction processing module obtains information of a target operation matching the first MIPI instruction according to a first set of correspondences stored in the instruction processing module, the first set of correspondences including N correspondences, each correspondence indicating a correspondence between the MIPI instruction and the information of the operation to be executed, where N is an integer greater than 0, and the information of the operation to be executed includes: the operation type of the operation to be executed and the parameter information of the operation to be executed; the instruction processing module executes the target operation according to the information of the target operation.

[0006] In this way, the electronic device can be a communication-enabled device, such as a mobile phone, smartwatch, tablet, or in-vehicle device. An instruction processing module is added to the electronic device. This module directly determines the target operation corresponding to the first MIPI instruction through a pre-stored first set of correspondences and executes the target operation. Since the instruction processing module is a hardware module, its processing speed for MIPI instructions is faster than that of software. Furthermore, because the correspondence between N MIPI instructions and their corresponding operations is pre-stored, MIPI instructions can be processed without software intervention in different communication scenarios, improving the flexibility of the instruction processing module in handling different MIPI instructions. Moreover, there is no need to upload the first MIPI instruction to the microcontroller unit in the electronic device for software processing, further reducing the processing speed of the first MIPI instruction. Because the electronic device reduces the processing speed of the first MIPI instruction, it can be used in time-sensitive scenarios, such as primary card switching.

[0007] According to the first aspect, when the instruction processing module receives a first MIPI instruction, it obtains information about a target operation matching the first MIPI instruction based on a first set of correspondences stored in the instruction processing module. This includes: the instruction processing module obtaining first query information from the first MIPI instruction, the query information being used to identify the MIPI instruction; the instruction processing module detecting whether there is a MIPI instruction matching the first query information in the first set of correspondences; if a MIPI instruction matching the first query information is detected, obtaining the MIPI instruction matching the first query information as the target MIPI instruction; and obtaining information about the operation to be executed corresponding to the target MIPI instruction as the information of the target operation.

[0008] Thus, the instruction processing module does not have the function of recognizing MIPI instructions. In this example, after the instruction processing module obtains the first set of stored correspondences, it matches the query information in the first MIPI instruction with the stored MIPI instructions. This allows it to quickly detect whether there is a MIPI instruction in the first set of stored correspondences that is the same as the first MIPI instruction, and then quickly find the information of the operation to be executed corresponding to the first MIPI instruction.

[0009] According to the first aspect, the query information includes one or more of the following: register address, instruction type, user service identifier, data volume, or data content. Thus, the query information can include one or more pieces of information from the MIPI instruction, enabling the instruction processing module to accurately identify identical MIPI instructions using the query information. Furthermore, using multiple pieces of information from the MIPI instruction as query information increases the accuracy of detecting whether an instruction identical to the first MIPI instruction exists in the first set of correspondences.

[0010] According to the first aspect, the instruction processing module includes: a first storage unit and a second storage unit; before obtaining information about a target operation matching the first MIPI instruction based on a first set of correspondences stored in the instruction processing module, the method further includes: the microcontroller unit of the electronic device sending N MIPI instructions from the first set of correspondences to the first storage unit; the microcontroller unit sending information about N operations to be executed from the first set of correspondences to the second storage unit for storage, wherein the identification information of the MIPI instruction stored in the first storage unit is the same as the identification information of the corresponding operation to be executed stored in the second storage unit.

[0011] Thus, the first storage unit in the instruction processing module stores the MIPI instructions in the first set of correspondences, and the second storage unit stores the information of the operations to be executed in the first set of correspondences. The MIPI instructions and the information of the operations to be executed in each correspondence are bound together by the same identification information. Storing the MIPI instructions and the information of the operations to be executed separately can speed up the subsequent retrieval of the information of the operations to be executed. The first and second storage units can be random access memory (RAM).

[0012] According to the first aspect, the instruction processing module further includes: a matching unit, which is electrically connected to the first storage unit and the second storage unit; the instruction processing module detects whether there is a MIPI instruction in the first set of correspondences that matches the first query information, including: when the matching unit receives the first MIPI instruction, it retrieves the MIPI instruction in the first set of correspondences from the first storage unit; the matching unit detects whether there is a MIPI instruction identical to the first MIPI instruction based on the query information of the retrieved MIPI instruction and the first query information of the first MIPI instruction, and obtains the detection result.

[0013] In this way, the matching unit in the instruction processing module retrieves the MIPI instructions from the first set of correspondences in the first storage unit. Using the first query information of the first MIPI instruction and the query information of the MIPI instructions in the first set of correspondences, it can quickly determine whether the MIPI instructions in the first set of correspondences match the first MIPI instruction. Furthermore, in this example, the first set of correspondences is only retrieved from the first storage unit when the matching unit needs to perform a match. The matching unit does not need to store a large number of MIPI instructions in real time, and can release the retrieved MIPI instructions after completing the match, thereby improving the running speed of the matching unit.

[0014] According to the first aspect, the instruction processing module stores m sets of correspondences, each corresponding one-to-one with one of the m working modes, where m is an integer greater than 1. In this way, the instruction storage module can store multiple sets of correspondences, each corresponding to a working mode, storing correspondences for different working modules. This facilitates the subsequent retrieval of the corresponding set of correspondences according to the working mode, accelerating the matching speed of the matching unit.

[0015] According to the first aspect, the instruction processing module further includes: a matching unit and a working mode acquisition unit, wherein the matching unit is electrically connected to the first storage unit and the second storage unit; the input terminal of the working mode acquisition unit is connected to the system-on-a-chip of the electronic device and the matching unit, and the output terminal of the working mode acquisition unit is connected to the first storage unit; when the matching unit receives a first MIPI instruction, it acquires the MIPI instruction from the first set of correspondences in the first storage unit, including: when the matching unit receives the first MIPI instruction, it generates first indication information; the working mode acquisition unit uploads the information of the working mode of the current instruction processing module to the first storage unit according to the first indication information, wherein the information of the working mode of the instruction processing module stored in the working mode acquisition unit is issued by the system-on-a-chip; the first storage unit acquires the MIPI instruction from the first set of correspondences that matches the current working mode according to the information of the current working mode, and transmits the MIPI instruction from the first set of correspondences to the matching unit.

[0016] In this way, the system-on-a-chip in the electronic device sends the current working mode of the instruction processing module to the working mode acquisition unit. After receiving the first MIPI instruction, the matching unit instructs the working mode acquisition unit to transmit the information of the current working mode of the instruction processing module to the first storage unit, so that the first storage unit can obtain a set of correspondences with the current working mode of the instruction processing module, reduce the number of MIPI instructions that the matching unit performs matching, and thus speed up the matching of the first MIPI instruction.

[0017] According to the first aspect, the instruction processing module further includes an operation execution unit electrically connected to the output of the second storage unit; the instruction processing module executes the target operation according to the target operation information, including: the operation execution unit generating a target instruction based on the operation type and parameter information of the target operation; and the operation execution unit running the target instruction. In this way, the operation type and parameter information obtained by the operation execution unit can generate the target instruction for the target operation, eliminating the need for software to provide the target instruction, thus enabling the operation execution unit to execute the target operation quickly.

[0018] According to the first aspect, obtaining the information of the operation to be executed corresponding to the target MIPI instruction as the target operation information includes: when the detection result indicates the existence of a MIPI instruction identical to the first MIPI instruction, the matching unit instructs the second storage unit to obtain the information of the operation to be executed corresponding to the target MIPI instruction based on the identification information of the target MIPI instruction. In this way, the MIPI instruction and the information of the operation to be executed in each set of correspondences are bound together by the same identification information. The matching unit can instruct the second storage unit to obtain the corresponding information of the operation to be executed based on the identification information of the matched MIPI instruction. This method enables the second storage unit to quickly and accurately obtain the corresponding information of the operation to be executed.

[0019] According to the first aspect, obtaining information about the operation to be executed corresponding to the target MIPI instruction as the target operation information includes: when the detection result indicates the existence of a MIPI instruction identical to the first MIPI instruction, the matching unit instructs the operating mode acquisition unit to transmit the operating mode information of the instruction processing module to the second storage unit; the matching unit instructs the second storage unit to obtain information about the operation to be executed corresponding to the target MIPI instruction as the target operation information based on the identification information of the target MIPI instruction and the operating mode information of the instruction processing module. In this way, the second storage unit can accurately obtain information about the target operation corresponding to the target MIPI instruction based on the identification information of the target MIPI instruction and the operating mode of the instruction processing module.

[0020] According to the first aspect, the instruction processing module further includes: a counter, the input of which is electrically connected to the output of the matching unit, and the output of which is electrically connected to the second storage unit; before the matching unit instructs the second storage unit to obtain the information of the operation to be executed corresponding to the target MIPI instruction as the target operation information, when the detection result indicates the existence of a MIPI instruction identical to the first MIPI instruction, the method further includes: after each MIPI instruction is matched with a stored MIPI instruction, the matching unit instructs the counter to increment its current value by one, wherein the counter is used to record the identification information of the MIPI instruction matched with the first MIPI instruction each time; when the matching unit detects the existence of a MIPI instruction identical to the first MIPI instruction, it instructs the counter to transmit the counter's counting result to the second storage unit, so that the second storage unit can use the counting result as the identification information of the target MIPI instruction. In this way, the instruction processing module can record the identification information of each matched MIPI instruction through the counter, enabling the hardware module to accurately obtain the identification information of the successfully matched MIPI instruction, so that the identification information of the successfully matched MIPI instruction can be subsequently transmitted to the second storage unit, allowing the operation execution unit to accurately obtain the target operation information.

[0021] According to the first aspect, the microcontroller unit (MCU) sends m sets of correspondences to the instruction processing module via an advanced high-performance bus. In this way, the MCU can configure new correspondences through the advanced high-performance bus, improving the flexibility of MIPI instruction processing.

[0022] According to the first aspect, the electronic device is a device that supports dual-SIM dual-pass mode and shares a transmitting antenna; the instruction processing module executes the target operation according to the target operation information, including: when the target operation information indicates that the primary card is switched from the first user identification SIM card to the second SIM card, the instruction processing module switches the primary card from the first SIM card to the second SIM card and transfers the authorization permissions of the first SIM card to the second SIM card; the instruction processing module transmits the processing result to the radio frequency front-end device. In this way, the electronic device switches the primary card from the first SIM card to the second SIM card without the need for switching processing by the MCU, reducing the time for switching the primary card to the SIM card and speeding up the switching speed, thereby making the electronic device switch the primary card quickly and reducing the duration of communication interruption during the SIM card switching process.

[0023] According to the first aspect, the electronic device is a device that supports dual-SIM dual-pass mode and shares a transmit antenna. Before the instruction processing module executes the target operation according to the target operation information, the method further includes: the instruction processing module determining that the Bluetooth antenna utilization rate of the electronic device exceeds a utilization rate threshold and that there is an idle cellular antenna; the instruction processing module executing the target operation according to the target operation information includes: if the target operation information indicates an interception operation, the instruction processing module intercepts a first MIPI instruction; the instruction processing module replaces the intercepted first MIPI instruction with a second instruction, the second instruction being an instruction to instruct the idle cellular antenna to perform Bluetooth communication; the instruction processing module transmitting the second instruction to the radio frequency front-end device. Thus, for the electronic device to support dual-SIM dual-pass mode, the system-on-a-chip (SoC) of the electronic device can detect that the Bluetooth antenna utilization rate exceeds the utilization rate threshold, and the SoC can transmit the first detection result to the MCU, which then transmits it to the instruction processing module. The MCU can also detect the presence of idle cellular antennas. If an idle cellular antenna is found, the second detection result can be transmitted to the instruction processing module. When the instruction processing module determines that the Bluetooth antenna utilization rate of the electronic device exceeds the utilization threshold and an idle cellular antenna exists, the instruction processing module can intercept redundant MIPI commands (i.e., successfully matched MIPI commands) and replace them with the second command to enable Bluetooth communication through the idle cellular antenna, thereby improving the speed of Bluetooth data transmission. In this example, there is no need for the MCU to intercept and replace redundant MIPI commands, reducing the time spent on intercepting and replacing commands. This ensures that the speed of Bluetooth communication through the cellular antenna is not affected, thus improving the speed of Bluetooth communication using the cellular antenna of the electronic device. Furthermore, the redundant MIPI command in this example is a relevant command generated when the idle cellular antenna is activated to indicate cellular communication.

[0024] According to the first aspect, the electronic device is a device that supports dual-SIM dual-pass mode and shares a transmitting antenna. The electronic device is in dual-SIM dual-pass mode or its cellular antenna is in a tuning state. The instruction processing module executes the target operation according to the target operation information, including: when the target operation information indicates a filtering operation, the instruction processing module deletes the first MIPI instruction. Thus, in a device that supports dual-SIM dual-pass mode and shares a transmitting antenna, in cellular communication or dual-SIM dual-pass mode, the electronic device needs to filter out certain specific instructions. However, hardware modules such as Radio Frequency Integrated Circuits (RFICs) typically do not have the function of recognizing MIPI instructions and need to filter them through an MCU, resulting in a long time consumption for filtering specific instructions. In this example, through the first set of correspondences, it is possible to quickly determine whether the first MIPI instruction is an instruction that needs to be filtered. When it is determined that the first MIPI instruction is an instruction that needs to be filtered, it is deleted, improving the speed of the electronic device filtering specific instructions.

[0025] Secondly, this application provides a processor for calling and running a computer program from a memory, causing an electronic device equipped with the chip system to perform the signal processing method corresponding to the first aspect and any implementation thereof.

[0026] The second aspect and any implementation thereof correspond to the first aspect and any implementation thereof, respectively. The technical effects of the second aspect and any implementation thereof are similar to those of the first aspect and any implementation thereof, and will not be repeated here.

[0027] Thirdly, this application provides an electronic device, including: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the electronic device performs the signal processing method corresponding to the first aspect and any implementation thereof.

[0028] The third aspect and any implementation thereof correspond to the first aspect and any implementation thereof, respectively. The technical effects of the third aspect and any implementation thereof are similar to those of the first aspect and any implementation thereof, and will not be repeated here.

[0029] Fourthly, this application provides a computer-readable medium for storing a computer program that, when run on an electronic device, causes the electronic device to perform the signal processing method corresponding to the first aspect and any implementation thereof. Attached Figure Description

[0030] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0031] Figure 1 This is an illustrative diagram of a scenario for processing MIPI instructions;

[0032] Figure 2 This is a schematic diagram illustrating the structure of a module for processing MIPI instructions;

[0033] Figure 3 This is a schematic diagram illustrating the structure of an electronic device;

[0034] Figure 4 This is a schematic diagram illustrating the structure of a module for processing MIPI instructions;

[0035] Figure 5 This is an example of a flowchart illustrating signal processing;

[0036] Figure 6 This is a schematic diagram illustrating an exemplary set of correspondences;

[0037] Figure 7 This is a schematic diagram illustrating the correspondence between m working modes and m groups of relationships.

[0038] Figure 8 This is a schematic diagram of the hardware structure of an instruction processing module, which is an example of such a module.

[0039] Figure 9 This is a schematic diagram of the hardware structure of an instruction processing module, which is an example of such a module. Detailed Implementation

[0040] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0041] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.

[0042] The terms "first" and "second," etc., used in the specification and claims of this application are used to distinguish different objects, not to describe a specific order of objects. For example, "first target object" and "second target object," etc., are used to distinguish different target objects, not to describe a specific order of target objects.

[0043] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0044] In the description of the embodiments in this application, unless otherwise stated, "multiple" means two or more. For example, multiple processing units means two or more processing units; multiple systems means two or more systems.

[0045] In the description of the embodiments of this application, the names of various instructions and / or commands and / or instructions and / or information and / or signaling and / or messages are only examples. In the specific implementation process, they can also be replaced with other names according to the actual scenario.

[0046] Before providing a detailed explanation of the embodiments of this application, some of the technical terms involved in this application will be explained first.

[0047] (1) Dual SIM dual active (DSDA) mode: The mobile terminal can support two numbers to be dialed and talk at the same time.

[0048] (2) Shared transmit antenna (TX sharing): In mobile terminals that support dual-SIM dual-pass mode, the first Subscriber Identity Module (SIM) card and the second SIM card usually share the same transmit antenna.

[0049] (3) Radio-frequency front-end modules (FEM): These are devices between the baseband and the antenna, and typically integrate radio-frequency power amplifiers, radio-frequency low-noise amplifiers, and filtering / switching circuits.

[0050] (4) Radio Frequency Front-End (RFFE): also known as the FEM of the front-end module.

[0051] (5) Modem / Demodulator (MDM): A device that performs the modulation and demodulation functions required for communication. This modem / demodulator is part of the mobile terminal. A modem / demodulator can be viewed as a conversion interface that enables digital data to be transmitted over analog signal transmission lines. In this example, the modem / demodulator can also generate MIPI instructions required for the current communication scenario under different communication conditions.

[0052] (6) Advanced High Performance Bus (AHB): AHB is mainly used for the connection between high-performance modules, such as MCU, Direct Memory Access (DMA) and Digital Signal Processor (DSP).

[0053] (7) Non-Dedicated data subscription (NonDDS or nDDS) card: can be understood as a non-dedicated data card, i.e. a secondary card.

[0054] (8) Non-Dedicated data subscription (DDS) card: This can be understood as a dedicated data card, i.e., the main card.

[0055] (9) Sequence (SEQ): A queue of a series of instructions.

[0056] (10) Software-Defined Radio (SDR): SDR is a radio broadcasting communication technology that is based on software-defined wireless communication protocols rather than hard-wired implementations. In other words, frequency bands, air interface protocols, and functions can be upgraded through software downloads and updates without completely replacing the hardware.

[0057] (11) Exchange Termination-Digital to Analog Converter (ET DAC): A device used to convert digital signals in an exchange terminal into analog signals.

[0058] (12) First-In-First-Out (FIFO) is a common data buffering and communication principle used to cache and manage data during data transmission. That is, the data that enters the buffer first will be read and processed first, and the data that enters last will be read last.

[0059] (13) Radio Frequency Integrated Circuit (RFIC): A series of circuits, chips, components, etc. in a mobile terminal that are responsible for transmitting and receiving radio electromagnetic waves are collectively referred to as radio frequency integrated circuits (or radio frequency chips).

[0060] Figure 1 This is a schematic diagram illustrating a scenario for processing MIPI commands according to an embodiment of this application. In different communication scenarios, the modem processor of the electronic device can generate MIPI commands corresponding to each scenario. In one example, the modem processor can directly transmit the generated MIPI commands to the RFIC, which then controls the FEM of the current scenario.

[0061] Optionally, the communication scenarios may include: cellular communication scenarios, scenarios where the primary card is switched from the first SIM card to the second SIM card, Bluetooth communication scenarios, cellular antenna tuning scenarios, etc. Figure 1 Taking mobile phone A as an example, the following explanation is given for electronic devices: Figure 1 As shown in 1a, mobile phone A is a device that supports dual SIM dual standby mode, and the primary and secondary SIM cards in mobile phone A share a common transmit antenna. In response to a user-inputted primary SIM card switching operation (i.e., switching the primary SIM card from the first SIM card to the second SIM card), the modem processor of mobile phone A generates a switching command. This switching command is a MIPI command. The modem processor transmits the generated switching command to the RFIC, which then controls the FEM in mobile phone A according to the switching command. In this example, the connection relationship between the modem processor, RFIC, and FEM in this electronic device is as follows: Figure 2As shown in 2a, the modem processor (MDM) is electrically connected to the RFIC, which in turn is electrically connected to the FEM. The MDM transmits the generated MIPI commands to the RFIC, which then controls the FEM to switch according to the MIPI commands generated by the MDM. While the modem processor in the electronic device controls the FEM via the RFIC, this method offers high speed. However, because the RFIC is a hardware device, its processing method for MIPI commands is fixed. This results in the RFIC being unable to process MIPI commands in certain communication scenarios (such as scenarios where both cellular and Bluetooth communications use cellular antennas), affecting the application of the electronic device. To improve the flexibility of the electronic device in processing MIPI commands, the MIPI commands can be transmitted to the MCU, which then processes them through software.

[0062] Figure 1 In the communication scenario shown in Figure 1b, mobile phone A includes multiple (e.g., four) cellular antennas and Bluetooth antennas. Even when the Bluetooth antennas are frequently used, mobile phone A can still conduct Bluetooth communication through idle cellular antennas to improve Bluetooth data transmission speed and avoid lag issues. The SOC of mobile phone A can detect whether the Bluetooth antenna usage exceeds a usage threshold. When the SOC detects that the Bluetooth antenna usage exceeds the threshold, it determines that mobile phone A is in a scenario where the Bluetooth antenna is frequently used. This usage threshold can be preset, for example, it can be 80%.

[0063] The mobile phone A also includes an MCU, a receive control module, and a transmit control module, such as Figure 2 As shown in 2b, the modem processor is electrically connected to the receiver control module, the receiver control module is electrically connected to the MCU, the MCU is electrically connected to the transmitter control module, the transmitter control module is electrically connected to the FEM, and the FEM is electrically connected to the antenna. When mobile phone A's Bluetooth antenna is frequently used, the modem processor of mobile phone A transmits the generated MIPI commands to the receiver control module, which then uploads the MIPI commands transmitted by the modem to the MCU. The MCU continuously monitors the received MIPI commands. When it detects an idle cellular antenna, the MCU sends a new MIPI command to the FEM. This new MIPI command instructs the FEM to modify the FEM parameters of the cellular antenna, enabling the cellular antenna to perform Bluetooth transmission. In scenarios where the Bluetooth antenna is frequently used, the MCU's detection of various MIPI commands takes a significant amount of time, and sending a new MIPI command to the FEM also takes time, resulting in slow Bluetooth data transmission speeds and data transmission stuttering.

[0064] Optionally, the electronic device may simultaneously contain Figure 2 The hardware structure shown in Figure 2a, and Figure 2 The hardware structure shown in Figure 2b illustrates this. Different hardware structures can be used to process MIPI instructions in different communication scenarios to meet the needs of those scenarios.

[0065] When an electronic device's MCU processes MIPI instructions via software, it needs to receive the MIPI instructions uploaded by the control module. The MCU then processes the received MIPI instructions through its software program. However, the MCU needs to process a large amount of information, resulting in a slow MIPI instruction processing speed. Furthermore, the software program's processing speed is slower than the hardware's processing speed, further extending the processing time and impacting user experience. For example, ... Figure 1 In scenario 1b, the MCU needs to process MIPI instructions, which is slow, resulting in long Bluetooth connection establishment time and large data transmission delays between mobile phone A and watch B.

[0066] This application provides a signal processing method applied to an electronic device, which includes a modem processor and an instruction processing module electrically connected to the modem processor. The modem processor generates a first MIPI instruction and transmits the first MIPI instruction to the instruction processing module. Upon receiving the first MIPI instruction, the instruction processing module obtains information about a target operation matching the first MIPI instruction based on a first set of correspondences stored in the instruction processing module. The first set of correspondences includes the correspondence between N MIPI instructions and information about N operations to be executed, where N is an integer greater than 0. The information about the operations to be executed includes the operation type and parameter information of the operations to be executed. The instruction processing module executes the target operation according to the information about the target operation.

[0067] In this example, an instruction processing module is added to the electronic device. This module pre-stores a first set of correspondences, which includes the relationship between different MIPI instructions and their corresponding operations to be executed. This eliminates the need for the instruction processing module to report MIPI instructions to the MCU, and also eliminates the need for the MCU to decide which operation to perform. This saves the electronic device time in processing MIPI instructions. Furthermore, since the instruction processing module is a hardware module, its processing speed for MIPI instructions is faster than that of the MCU processing MIPI instructions through software. This improved processing speed for different MIPI instructions allows the electronic device to be used in scenarios with short timing processing times, thus enhancing the user experience.

[0068] Figure 3 This is a schematic diagram illustrating the structure of an electronic device 100 according to an embodiment of this application. It should be understood that... Figure 3The electronic device 100 shown is merely an example of an electronic device, and the electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. Figure 3 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits. In this example, electronic device 100 is exemplified by a mobile phone.

[0069] Electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include pressure sensors, gyroscope sensors, barometric pressure sensors, magnetic sensors, accelerometers, distance sensors, proximity sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc.

[0070] The processor 110 may include one or more processing units, such as an application processor (AP), a modem (MDM), a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU).

[0071] In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.

[0072] In some embodiments, the processor may include a system-on-chip (SOC) or an MCU. The SOC can determine the operating mode of the current instruction processing module. The SOC can determine the operating mode of the instruction processing module based on the current business scenario of the electronic device. Different operating modes have their own corresponding set of relationships; the electronic device can classify MIPI instructions and operations to be executed generated under the same business scenario into corresponding operating modes according to the business scenario. For example, if the current business scenario of the electronic device is Bluetooth communication, the corresponding operating mode for this Bluetooth communication scenario is mode 0. The electronic device can classify MIPI instructions and corresponding operations to be executed generated under the Bluetooth communication scenario into the set of relationships corresponding to mode 0.

[0073] The wireless communication function of electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

[0074] Figure 5 This is a flowchart illustrating a signal processing method provided in an embodiment of this application. The signal processing method is executed by an electronic device, such as a mobile phone, watch, or in-vehicle device.

[0075] The connection relationships between the instruction processing module and various components in this electronic device are as follows: Figure 4 As shown, the modem processor of this electronic device is electrically connected to the instruction processing module, which is in turn electrically connected to the MCU. The processing results obtained by the instruction processing module can be transmitted to the module corresponding to the current service, so that the module can use the processing results. For example, the instruction processing module is electrically connected to the FEM; when the current service scenario of the electronic device is Bluetooth communication (e.g.,...) Figure 1 In the scenario shown in Figure 1b, the instruction processing module transmits the processed MIPI instruction to the FEM to achieve Bluetooth communication via the cellular antenna.

[0076] In some embodiments, the MCU can pre-configure (or predefine) different mappings between MIPI instructions and information about operations to be executed, and then send the configured mappings to the instruction processing module. Optionally, the MCU can also add new mappings between MIPI instructions and operations to be executed according to business needs, and send the added mappings to the instruction processing module for storage.

[0077] In other embodiments, the electronic device may also store the correspondence between pre-configured different MIPI instructions and information on the operation to be performed in the instruction processing module in other ways.

[0078] In this example, the first set of relationships can include the relationship between N different MIPI instructions and N corresponding operations to be executed, where N is an integer greater than 0, for example, N is 20, 30, 50, 100, etc. This first set of relationships can be stored in the form of a mapping table, such as... Figure 6 The first set of mapping tables shows the correspondence between Rules and Actions. In this table, Rules indicate MIPI instructions, and Actions indicate information about the operation to be executed. This information includes the operation type and parameter information. The electronic device can generate the instruction for the operation to be executed based on the operation type and parameter information. The parameter information can include information about the parameters required in the instruction, such as the location of an interrupt instruction.

[0079] Step 501: The modem processor generates a first mobile industry processor interface MIPI instruction and transmits the first MIPI instruction to the instruction processing module.

[0080] In some embodiments, in response to a user-input service operation, the modem processor generates a MIPI instruction corresponding to that service operation as a first MIPI instruction. Examples of service operations include user-inputted operations such as enabling Bluetooth or switching primary SIM cards.

[0081] In other embodiments, the modem processor may also respond to service instructions transmitted by the upper-layer application, generate MIPI instructions corresponding to the service instructions, and use the generated MIPI instructions as the first MIPI instructions.

[0082] In this example, all MIPI instructions generated by the modem processor can be used as the first MIPI instruction. After generating the first MIPI instruction, the modem processor can transmit the first MIPI instruction to the instruction processing module electrically connected to the modem processor.

[0083] Step 502: Upon receiving the first MIPI instruction, the instruction processing module obtains the target operation information matching the first MIPI instruction based on the first set of correspondences stored in the instruction processing module.

[0084] For example, upon receiving a first MIPI instruction, the instruction processing module searches the stored first set of correspondences for a MIPI instruction identical to the first MIPI instruction. If the instruction processing module detects a MIPI instruction identical to the first MIPI instruction in the first set of correspondences, it retrieves the MIPI instruction identical to the first MIPI instruction in the first set of correspondences as the target MIPI instruction. The instruction processing module then retrieves the information of the operation to be executed corresponding to the target MIPI instruction as the information of the target operation.

[0085] The MIPI instruction may include the following information: register address, instruction type, unique slave ID (USID), data volume, and data content. Optionally, the instruction processing module may obtain first query information from the first MIPI instruction by matching the first query information in the first MIPI instruction with the query information of each MIPI instruction stored in the instruction processing module. If the instruction processing module detects that there is query information identical to the first query information in the first set of correspondences, the instruction processing module determines that there is a MIPI instruction identical to the first MIPI instruction in the first set of correspondences. If the instruction processing module detects that there is no query information identical to the first query information in the first set of correspondences, the instruction processing module determines that there is no MIPI instruction identical to the first MIPI instruction in the first set of correspondences. In this example, the query information may be one or more of the following: register address, instruction type, user service identifier, data volume, or data content in the MIPI instruction. For example, the first query information may include: register address; the first query information may also include: register address and instruction type.

[0086] For example, such as Figure 6 As shown, the first set of correspondences stored in the instruction processing module includes x correspondences. Each correspondence includes a MIPI instruction and information about the operation to be executed corresponding to that MIPI instruction. The Rule is used to indicate the MIPI instruction. Figure 6 The Action in the Rule indicates the operation information to be executed corresponding to the MIPI instruction. The MIPI instruction in the Rule includes information such as register address, instruction type, user service identifier, data volume or data content. Optionally, the Rule can also contain information used to characterize the MIPI instruction. For example, the Rule may include query information for the MIPI instruction, which may include one or more of the following: register address, instruction type, user service identifier, data volume or data content.

[0087] In this example, a Rule represents a MIPI instruction, and the query information is represented by a register address. The register address in the first MIPI instruction obtained by the instruction processing module is "00". The instruction processing module obtains the first query information (i.e., Rule0) in the first set of correspondences. The register address in the first query information is "01". The instruction processing module detects that the register address in the first query information is inconsistent with the register address in the first MIPI instruction, and determines that the first MIPI instruction does not match the first correspondence. The instruction processing module obtains the second query information (i.e., Rule1), and detects that the register address in the second query information (e.g., "02") is inconsistent with the first MIPI instruction, and determines that the first MIPI instruction does not match the second correspondence. The instruction processing module obtains the third query information (i.e., Rule2), and detects that the register address in the second query information (e.g., "00") matches the first MIPI instruction, and determines that the first MIPI instruction matches the third correspondence. The module then obtains Action2 corresponding to Rule2, which is the information of the target operation.

[0088] In one example, the instruction processing module can read information about the target operation. This information may include the operation type and parameter information of the operation to be executed. The types of operations to be executed include: interrupt operations, delay operations, and storing data in a FIFO, etc. The instruction processing module can obtain parameter information from the target operation information and use this parameter information as the variable parameters required for the first operation instruction. The instruction processing module generates the target instruction based on the type of the operation to be executed and the parameter information. For example, the instruction processing module determines that the operation to be executed is an interrupt operation based on its operation type, obtains parameters indicating the location where the interrupt occurs, and combines the interrupt location information with the type of operation to be executed (i.e., interrupt operation) to generate the target instruction (i.e., the interrupt instruction).

[0089] For example, such as Figure 6 As shown, when the instruction processing module determines that Rule2 in the first pair matches the first MIPI instruction, it obtains Action2 corresponding to Rule2, that is, it obtains the operation type and parameter information of the operation to be executed. The instruction processing module then determines the target instruction of the target operation based on the operation type and parameter information. In this example, the types of operations to be executed may include: data storage FIFO operations, interrupt operations, discard operations, replacement operations, DMA operations, SEQ operations, GPIO, delay operations, insert operations, mode switching operations, etc. The function of each operation is explained in detail below:

[0090] The FIFO (First-In, First-Out) data storage operation is used to instruct the instruction processing module to store data into a queue according to the first-in, first-out principle.

[0091] Interrupt operation is used to instruct the instruction processing module to perform an interrupt operation at a specified location, where the parameter information includes the location of the interrupt instruction.

[0092] The discard operation instructs the instruction processing module to discard the current MIPI instruction. The parameter information can be empty.

[0093] The replacement operation is used to instruct the instruction processing module to replace the first MIPI instruction with a specified MIPI instruction. The parameter information may include the specified MIPI instruction.

[0094] DMA operations are used to instruct the instruction processing module to read data from a source address and store the read data in a preset location. Parameter information may include the source address and the preset location. For example, the instruction processing module can use a DMA operation to load a batch of MIPI instruction queues into FIFO memory.

[0095] The SEQ operation is used to instruct the instruction processing module to issue the instructions in the loaded MIPI instruction queue. The parameter information can be empty.

[0096] GPIO operations are used to instruct the instruction processing module to configure the GPIO interface. This parameter information includes the configuration information of the GPIO interface.

[0097] The delay operation is used to indicate an additional delay between the currently matched MIPI instruction and the previous MIPI instruction. The default instruction processing module stores the currently matched MIPI instruction in a FIFO queue. The delay duration is a preset duration, and the parameter information includes the preset duration.

[0098] The insert operation is used to instruct that after the currently matched MIPI instruction is stored in the FIFO queue, a new MIPI instruction is inserted into the FIFO queue. The parameter information includes the newly added MIPI instruction.

[0099] The mode switching operation is used to instruct the instruction processing module to switch to the target mode, and the target mode is included in the parameter information.

[0100] It should be noted that if the instruction processing module, after traversing each query in the first set of correspondences, does not detect a register address identical to "00", the instruction processing module determines that there is no MIPI instruction identical to the first MIPI instruction in the first set of correspondences, that is, there is no information on the operation to be executed corresponding to the first MIPI instruction. Optionally, the instruction processing module can upload the first MIPI instruction to the MCU for processing by the MCU through software. Optionally, the instruction processing module can also directly transmit the first MIPI instruction to the FEM, or directly discard the first MIPI instruction.

[0101] Step 503: The instruction processing module executes the target operation according to the target operation information.

[0102] For example, the instruction processing module receives the instruction for the target operation and executes the instruction for the target operation. For instance, the instruction processing module performs an interrupt operation, that is, suspends the currently running program.

[0103] It should be noted that the first MIPI instruction can have multiple corresponding target operation information, that is, the instruction processing module can execute multiple target operations.

[0104] In this example, the electronic device can determine the target operation information corresponding to the first MIPI instruction by using the information of the operation to be executed stored in the instruction processing module. Then, the instruction processing module can execute the target operation according to the target operation information. Since the MCU does not need to process the MIPI instruction through software program, the speed of MIPI instruction processing is improved.

[0105] Figure 8 The hardware structure of the instruction processing module is shown as an example. Figure 8 As shown, the instruction processing module may include a first storage unit, a matching unit, a counter, a second storage unit, and an operation execution unit. The first storage unit is electrically connected to the matching unit, the matching unit is electrically connected to the input of the counter, the output of the counter is electrically connected to the second storage unit, and the second storage unit is electrically connected to the operation execution unit. Both the first and second storage units are electrically connected to the MCU. The electronic device can pre-configure N correspondences in the MCU, where N is an integer greater than 1, for example, N = 200. When the electronic device is powered on, during the initialization phase, the MCU can send the MIPI instruction from the N correspondences to the first storage unit via AHB, where the first storage unit stores the MIPI instruction. The MCU also sends the information of the operation to be executed corresponding to the MIPI instruction to the second storage unit via AHB, where the second storage unit stores the information of the operation to be executed corresponding to the MIPI instruction.

[0106] Optionally, the mapping relationship between MIPI instructions and corresponding information of operations to be executed in the N mapping relationships is configured by the MCU via AHB. Specifically, the MCU can mark each mapping relationship with its identification information (hereinafter referred to as second identification information). That is, the second identification information of the MIPI instruction in the first storage space is the same as the second identification information of the corresponding operation to be executed in the second storage space. For example, the MCU can indicate that the first mapping relationship is marked with an identifier "0". The MCU also indicates that the identification information of the MIPI instruction in the first mapping relationship in the first storage unit is "0", and the MCU further indicates that the identification information of the operation to be executed corresponding to the MIPI instruction in the first mapping relationship in the second storage unit is also "0". The MCU strongly binds the MIPI instruction with the corresponding operation to be executed by using the same second identification information.

[0107] After generating MIPI instructions, the modem processor transmits the MIPI instructions to the instruction processing module, such as... Figure 8 As shown, MIPIDATA refers to the MIPI instructions generated by the modem processor. The matching unit in the instruction processing module receives MIPIDATA and is triggered to retrieve x MIPI instructions from the first set of correspondences in the first storage unit. Upon retrieving x MIPI instructions from the first set of correspondences, the matching unit can check whether any of the x MIPI instructions in the first set of correspondences contains an instruction identical to MIPIDATA, according to a preset matching rule (i.e., matching the query information in the first MIPI instruction with the query information of each MIPI instruction in the first set of correspondences). The matching unit can sequentially traverse the x MIPI instructions in ascending order of the second identifier information, for example, as... Figure 6 As shown, in the first set of correspondences, there are x MIPI instructions and x corresponding Actions. The second identifier information of the first MIPI instruction is "1", and the second identifier information of the second MIPI instruction is "2". The order of the second identifier information in this set of correspondences from smallest to largest is: 1, 2...x. The matching unit matches the first MIPI instruction, the second MIPI instruction, and so on, the xth MIPI instruction in sequence.

[0108] Each time the matching unit completes a match for a MIPI instruction, it increments a counter by 1. The value recorded by this counter is the same as the second identification information of the MIPI instruction. The instruction processing module records the second identification information of the matched MIPI instruction based on the counter value. When the matching unit detects that Rule2 matches the first MIPI instruction, it increments the counter by 1 (the current value of the counter is 2, i.e., 2+1), resulting in a value of 3. The matching unit can then instruct the counter to transmit the recorded count result (i.e., "3") to the second storage unit.

[0109] The second storage unit retrieves Action2 corresponding to the counting result; the second storage unit then transmits Action2 to the operation execution unit. The operation execution unit may include a multiplexer, which executes the target instruction. For example... Figure 7 As shown, the storage space corresponding to Action2 stores Act_num and Act_para; Act_num represents the operation type to be executed, such as an interrupt operation, and Act_para can be used to indicate parameter information, such as the interrupt location. The operation execution unit obtains the corresponding operation type and required parameters, generates the target instruction, and then executes the target instruction.

[0110] In some embodiments, the MCU configures a set of correspondences for different working scenarios, and the instruction processing module stores the set of correspondences for different working scenarios. The structure of the instruction processing module is as follows: Figure 9 As shown, the instruction processing module also includes a working mode acquisition unit. The first storage unit is electrically connected to a matching unit, the matching unit is electrically connected to the input of a counter, the output of the counter is electrically connected to a second storage unit, and the second storage unit is electrically connected to an operation execution unit. Both the first and second storage units are electrically connected to the MCU. The matching unit is also electrically connected to the working mode acquisition unit, which is electrically connected to the first storage unit.

[0111] This electronic device can pre-configure a set of correspondences for m working scenarios in the MCU. Each set of correspondences includes at least one correspondence, and the number of correspondences in each set can be different or the same. In this example, the MCU can divide working scenarios according to business scenarios. The MCU can group MIPI instructions belonging to the same business scenario into the same working scenario, or it can group MIPI instructions from multiple business scenarios into the same working scenario.

[0112] For example, the MCU determines that each business scenario has its own corresponding work scenario, and each work scenario corresponds to a set of relationships. The MCU can also divide specific business scenarios into corresponding work scenarios; that is, multiple business scenarios may correspond to the same work scenario, and each work scenario has a corresponding set of relationships. In this example, we take the division of multiple business scenarios into the same work scenario as an example. Figure 7 As shown, the MCU determines that the first business scenario corresponds to working mode 0, the second and third business scenarios correspond to working mode 1, the third business scenario corresponds to working mode 2, and the fourth, fifth, and sixth business scenarios correspond to working mode m. For example... Figure 7 As shown, the correspondence corresponding to working mode 1 includes x correspondences. Optionally, the number of correspondences contained in each group can be the same or different.

[0113] When the electronic device is powered on, during the initialization phase, the MCU can use AHB to send a set of correspondences corresponding to each working scenario to the instruction processing module for storage. Optionally, the MCU sends the MIPI instruction from the corresponding set of correspondences for each working scenario to the first storage unit for storage, where the first storage unit stores the MIPI instruction. The MCU then uses AHB to send the information of the operation to be executed corresponding to the MIPI instruction in each set of correspondences to the second storage unit for storage.

[0114] Combination Figure 9 The process of issuing each group of correspondences is explained in detail. Assume that working mode 0 corresponds to the first group of correspondences, which includes n1 correspondences; working mode 1 corresponds to the second group of correspondences, which includes n2 correspondences; and working mode 2 corresponds to the third group of correspondences, which includes n3 correspondences. n1, n2, and n3 are all integers greater than 1. The MCU marks each group of correspondences using the first identification information. For example... Figure 9As shown, the MCU stores n1 MIPI instructions from the first set of correspondences in the first memory unit via AHB, and identifies these n1 MIPI instructions with the identification information of working mode 0 (e.g., WorkMode0). The MCU also stores n2 MIPI instructions from the second set of correspondences in the first memory unit via AHB, and identifies these n2 MIPI instructions with the identification information of working mode 1 (e.g., WorkMode1). Finally, the MCU stores n3 MIPI instructions from the third set of correspondences in the first memory unit via AHB, and identifies these n3 MIPI instructions with the identification information of working mode 2 (e.g., WorkMode2). The identification information for each working mode in the first memory unit is called the first identification information. WorkMode0 is denoted as the identification information for the second set of correspondences, i.e., the first identification information.

[0115] The MCU stores the information of n1 operations to be executed in the first set of correspondences in the second storage unit through AHB, and identifies the information of n1 operations to be executed in the second set of correspondences with the identification information of working mode 0 (e.g., WorkMode0). The MCU stores the information of n2 operations to be executed in the second set of correspondences in the first storage unit through AHB, and identifies the information of n2 operations to be executed in the second set of correspondences with the identification information of working mode 1 (e.g., WorkMode1). The MCU stores the information of n3 operations to be executed in the third set of correspondences in the first storage unit through AHB, and identifies the information of n3 operations to be executed in the third set of correspondences with the identification information of working mode 2 (e.g., WorkMode2).

[0116] Continue to refer to Figure 9 The mapping relationship between MIPI instructions and corresponding operation information in the n1 correspondences in the first group is configured by the MCU through AHB. Specifically, the MCU can mark each correspondence with the identification information (called the second identification information). That is, the second identification information of the MIPI instruction in the first storage space is the same as the second identification information of the corresponding operation information in the second storage space.

[0117] Furthermore, since the first storage space stores MIPI instructions corresponding to different operating modes, the second storage space also stores instructions according to different operating modes. Specifically, the MCU can store the information of each group of operations to be executed according to the first identification information, and use the second identification information to identify the information of each operation to be executed in the group of correspondences. For example, the second storage unit marks the second group of correspondences with "WorkMode2", and marks the information of the first operation to be executed in the second group of correspondences (i.e., Action0) with the second identification information "0". The MCU instructs the identification information of the first MIPI instruction in the first group of correspondences in the first storage unit to also be "0". The MCU strongly binds the MIPI instruction with the information of the corresponding operation to be executed through the first and second identification information. Therefore, the instruction processing module can obtain the MIPI instruction in the corresponding operating mode through the first identification information, and obtain the information of the corresponding operation to be executed through the first and second identification information.

[0118] After generating MIPI instructions, the modem processor transmits the MIPI instructions to the instruction processing module, such as... Figure 9 As shown, MIPIDATA is the MIPI instruction generated by the modem processor. The matching unit in the instruction processing module receives MIPIDATA and instructs the working mode acquisition unit to transmit the information of the current instruction processing module's working mode to the first storage unit. The working mode acquisition unit obtains that the current instruction processing module's working mode is working mode 1, acquires the identification information "WorkMode1" for working mode 1, and transmits it to the first storage unit. The first storage unit finds the corresponding MIPI instructions (i.e., n² MIPI instructions) in a set of correspondences (i.e., the second set of correspondences) according to "WorkMode1" and transmits them to the matching unit. When the matching unit obtains the n² MIPI instructions in the second set of correspondences, it can check whether there is an instruction identical to MIPIDATA among the n² MIPI instructions in the second set of correspondences according to a preset matching rule. The matching unit can perform matching operations on the n² MIPI instructions sequentially according to the arrangement order of the second identification information.

[0119] Each time a MIPI instruction match is completed, the matching unit increments a counter by 1. The value recorded by this counter is the same as the identification information of the MIPI instruction. The instruction processing module records the MIPI instructions in the second set of correspondences that have completed the match based on the counter value. When the matching unit detects that Rule2 matches the first MIPI instruction, the counter value is incremented by 1, resulting in a value of 3. The matching unit can instruct the counter to transmit the recorded count result to the second storage unit. Additionally, the matching unit can instruct the operating mode acquisition unit to transmit the first identification information to the second storage unit. The second storage unit, based on the count result and the first identification information, retrieves Action2 corresponding to the count result; the second storage unit then transmits Action2 to the operation execution unit. The operation execution unit may include a multiplexer, through which the target instruction is executed. Figure 7 As shown, in Action2, there are Act_num and Act_para. Act_num represents the operation type to be executed, indicating the type of operation. Act_para can be used to indicate parameters, such as interrupt location. The operation execution unit generates the target instruction based on the type and parameters of the operation to be executed, and then executes the target instruction.

[0120] It should be noted that if the instruction processing module, after traversing each query in the second set of correspondences, does not detect an instruction matching the first MIPI instruction, the instruction processing module determines that there is no MIPI instruction identical to the first MIPI instruction in the second set of correspondences, that is, there is no information on the operation to be executed corresponding to the first MIPI instruction. Optionally, the instruction processing module can determine the processing method for the first MIPI instruction based on its operating mode. For example, the MCU can be pre-set that when the instruction processing module is in operating mode 1 and does not detect an instruction matching the first MIPI instruction, the operation corresponding to the first MIPI instruction is to transmit the first MIPI instruction to the MCU for processing by the MCU through software. As another example, the MCU can be pre-set that when the instruction processing module is in operating mode 0 and does not detect an instruction matching the first MIPI instruction, the operation corresponding to the first MIPI instruction is to directly transmit the first MIPI instruction to the FEM, or to directly discard the first MIPI instruction.

[0121] The following describes the process of using the signal processing method described in this application in four different operating scenarios of electronic devices.

[0122] Scene 1:

[0123] In this example, the electronic device is a mobile phone that supports TX-Sharing DSDA mode. At time T1, the primary SIM card is the first SIM card. In response to the user's input to switch the primary SIM card (e.g., clicking the primary SIM card switch button), the phone instructs the modem processor to generate a MIPI command for switching the primary SIM card. This MIPI command can be used to trigger the transfer of transmit authorization permissions for the transmit antenna and the switching of the antenna operating mode. Optionally, the MIPI commands for switching the primary SIM card generated by the modem processor of different mobile phone models may differ, and there can be multiple MIPI commands. For example, in a mobile phone of model A, the MIPI commands "PA ON / OFF" and "ET ON" generated by the modem processor can both be used to trigger the transfer of transmit authorization permissions for the transmit antenna and the switching of the antenna operating mode.

[0124] The modem processor of the mobile phone transmits the MIPI instruction "PA ON / OFF" to the matching unit of the instruction processing module. Upon receiving the MIPI instruction "PA ON / OFF", the matching unit instructs the working mode acquisition unit to transmit the identification information of the current working mode of the instruction processing module (such as WorkMode1) to the first storage unit. Based on the received working mode identification information, the first storage unit retrieves the MIPI instructions corresponding to a set marked "WorkMode1", that is, it retrieves a set of MIPI instructions marked "WorkMode1" and transmits them to the matching unit.

[0125] The matching unit sequentially matches each MIPI instruction with the MIPI instruction "PA ON / OFF" according to the second identifier information in the group of MIPI instructions. After each sequential matching operation, the matching unit instructs a counter to increment by 1; the initial value of the counter is 0. Optionally, the matching unit instructs the counter to initialize upon receiving a MIPI instruction transmitted via MDM.

[0126] When the matching unit detects that a MIPI instruction labeled "WorkMode1" contains an instruction identical to "PA ON / OFF", it can instruct the counter to transfer the recorded value to the second storage unit. The matching unit also instructs the working mode acquisition unit to transfer the working mode information of the instruction processing module to the second storage unit. In this example, assuming the matching unit detects that a MIPI instruction with the second identifier "5" in a group of MIPI instructions labeled "WorkMode1" is identical to "PAON / OFF", the value recorded by the counter changes from 4 to 5, and the recorded value (i.e., 5) is transferred to the second storage unit.

[0127] The second storage unit acquires information about a group of operations to be executed labeled "WorkMode1," and based on the counter value "5," retrieves the information of the operation to be executed with identifier "5" from the group labeled "WorkMode1," denoted as information_1. The second storage unit transmits information_1 to the operation execution unit. This information about the operation to be executed may include multiple operation types and corresponding parameter information. For example, information_1 may include: the operation type of transferring transmission authorization for the transmitting antenna, and the target object of the transmission authorization transfer (i.e., parameter information). The operation execution unit transfers the transmission authorization from the first SIM card to the second SIM card based on the parameter information and the first operation instruction. Information_1 may also include: the operation type of changing parameter information, and the target parameter information. The operation execution unit updates the parameter to be changed to the target parameter information.

[0128] Optionally, the information _1 may also include: the operation type of the instruction processing module switching the working mode and the working mode to be switched (parameter information); the operation execution unit switches the working mode of the instruction processing module from the first working mode to the target working mode.

[0129] Scene 2:

[0130] Taking a mobile phone as an example, the electronic device includes a cellular antenna (such as a 4G / 5G antenna). Currently, the utilization rate of cellular antennas is low. In this example, when the electronic device detects that the current Bluetooth antenna utilization rate exceeds a threshold, it can detect whether there is an idle cellular antenna. When the electronic device detects an idle cellular antenna, it uses the cellular antenna for Bluetooth communication. Cellular communication using the cellular antenna has a higher priority than Bluetooth communication using the cellular antenna. When the phone uses the cellular antenna for Bluetooth communication, redundant MIPI commands need to be intercepted and replaced to ensure that the cellular antenna can perform Bluetooth communication. In this example, MIPI commands related to cellular communication received by an idle cellular antenna can be used as redundant MIPI commands for that idle cellular antenna.

[0131] Specifically, when the electronic device detects that the current Bluetooth antenna usage exceeds the usage threshold and detects the existence of idle cellular antennas, the modem processor transmits the generated MIPI command to the matching unit of the command processing module. Upon receiving the MIPI command (denoted as MIPI_1), the matching unit instructs the working mode acquisition unit to transmit the identification information of the current command processing module's working mode (e.g., WorkMode1) to the first storage unit. Based on the received working mode identification information, the first storage unit retrieves the MIPI commands corresponding to a set labeled "WorkMode1," i.e., it retrieves a set of MIPI commands labeled "WorkMode1" and transmits them to the matching unit.

[0132] The matching unit sequentially matches each MIPI instruction with MIPI_1 according to the second identifier information in the group of MIPI instructions. After each sequential matching operation, the matching unit instructs a counter to increment by 1; the initial value of the counter is 0. When the matching unit detects that a MIPI instruction labeled "WorkMode1" contains an instruction identical to MIPI_1, it instructs the counter to increment the recorded value and transmit the updated value to the second storage unit. The matching unit also instructs the working mode acquisition unit to transmit the working mode information of the instruction processing module to the second storage unit. For example, if the matching unit detects that a MIPI instruction with the second identifier information "7" in the group of MIPI instructions labeled "WorkMode1" is identical to MIPI_1, the value recorded by the counter changes from 6 to 7, and the recorded value (i.e., 7) is transmitted to the second storage unit.

[0133] The second storage unit acquires information about a group of operations to be executed labeled "WorkMode1," and based on the counter value "7," retrieves the information of the operation to be executed with identifier "7" from the group labeled "WorkMode1," denoted as information_2. This second storage unit transmits information_2 to the operation execution unit. Information_2 includes: the interception operation and the identification information (parameter information) of the instruction to be intercepted, the replacement operation, and the MIPI instruction to be replaced. The instruction to be intercepted may include one or more of the following information: the instruction's register address, instruction type, data content, data volume, usid, etc.

[0134] The operation execution unit identifies redundant MIPI commands based on the interception operation and the identification information of the commands to be intercepted, and intercepts the redundant MIPI commands. The operation execution unit then obtains the command to be replaced (i.e., the command related to Bluetooth communication) and replaces the redundant MIPI commands with the command related to Bluetooth communication. The operation execution unit transmits the replaced command to the FEM to instruct idle cellular antennas to operate.

[0135] Scene 3:

[0136] In this example, the electronic device is a mobile phone that supports TX-Sharing DSDA mode. When the mobile phone is in TX-Sharing DSDA mode or in a cellular antenna tuning scenario, the instruction processing module needs to filter out specific MIPI instructions to reduce software interruptions or to protect the hardware.

[0137] When the phone is in TX-Sharing DSDA mode or in a cellular antenna tuning scenario, the modem processor generates the corresponding MIPI instruction. In this example, the MIPI instruction is denoted as MIPI_2.

[0138] The modem processor of the mobile phone transmits MIPI_2 to the matching unit of the instruction processing module. Upon receiving MIPI_2, the matching unit instructs the working mode acquisition unit to transmit the identification information of the current working mode of the instruction processing module (such as WorkMode2) to the first storage unit. Based on the received working mode identification information, the first storage unit retrieves the MIPI instructions corresponding to a set labeled "WorkMode2", that is, it retrieves a set of MIPI instructions labeled "WorkMode2" and transmits them to the matching unit.

[0139] The matching unit sequentially matches each MIPI instruction with the MIPI_2 instruction according to the second identifier information in the group of MIPI instructions, with the initial value of the counter being 0. When the matching unit detects that there is an instruction identical to MIPI_2 in the group of MIPI instructions labeled "WorkMode2", it can instruct the counter to increment the recorded value by 1 and transmit the updated value to the second storage unit. The matching unit also instructs the working mode acquisition unit to transmit the working mode information of the instruction processing module to the second storage unit. For example, if the matching unit detects that the MIPI instruction with the second identifier information "9" in the group of MIPI instructions labeled "WorkMode2" is identical to MIPI_2, the value recorded by the counter changes from 8 to 9, and the recorded value (i.e., 9) is transmitted to the second storage unit.

[0140] The second storage unit retrieves information about a group of operations to be executed labeled "WorkMode2", and based on the counter value "9", retrieves information about the operation to be executed labeled "WorkMode1" with identifier "9", denoted as information_3. This second storage unit transmits information_3 to the operation execution unit. Information_3 includes a filtering operation and parameter information; the parameter information can be empty. The operation execution unit filters out MIPI_2 according to the filtering operation. In this example, the instruction processing module can filter out specific MIPI instructions through the stored correspondence, thereby reducing MCU interruptions. Furthermore, since the instruction processing module filters out specific MIPI instructions directly, there is no need for the MCU to identify and then filter them, thus improving the filtering speed and reducing the number of MCU interrupts.

[0141] Scene 4:

[0142] In this example, the electronic device is a mobile phone that supports TX-Sharing DSDA mode. When the nDDS card (secondary card) preempts the transmission authorization of the DDS card (i.e., the primary card) through a preemption command (such as QET ON), the following operations are performed simultaneously upon receiving the preemption command:

[0143] S1: The instruction processing module executes an interrupt instruction to achieve TX-Sharing DSDA dynamic tuning.

[0144] For example, the modem processor generates a preemption instruction, which is transmitted to the instruction processing module. Upon receiving the preemption instruction, the matching unit of the instruction processing module instructs the operating mode acquisition unit to transmit the identification information of the current operating mode of the instruction processing module (e.g., WorkMode2) to the first storage unit. Based on the received operating mode identification information, the first storage unit retrieves the MIPI instructions corresponding to a set labeled "WorkMode2," i.e., it retrieves a set of MIPI instructions labeled "WorkMode2" and transmits them to the matching unit.

[0145] The matching unit sequentially matches each MIPI instruction with the preemption instruction according to the second identifier information in the group of MIPI instructions, with the initial value of the counter being 0. When the matching unit detects that there is an instruction identical to the preemption instruction in a group of MIPI instructions marked "WorkMode2", it can instruct the counter to increment the recorded value by 1 and transmit the updated value to the second storage unit. The matching unit also instructs the working mode acquisition unit to transmit the working mode information of the instruction processing module to the second storage unit.

[0146] The second storage unit acquires information about a group of operations to be executed labeled "WorkMode2," and based on the counter value "2," retrieves the information of the operation to be executed with identifier "2" from the group labeled "WorkMode2," denoted as information_4. This second storage unit transmits information_4 to the operation execution unit. Information_4 includes an interrupt operation and the location where the interrupt occurred. The operation execution unit then executes the interrupt operation at the location where the interrupt occurred.

[0147] S2: The instruction processing module loads the instruction queue and enables SEQ to realize FEM state switching and switching between SDR and ETDAC signal channels.

[0148] For example, the modem processor sends a load command to the instruction processing module. Upon receiving the load command, the matching unit of the instruction processing module instructs the working mode acquisition unit to transmit the identification information of the current working mode of the instruction processing module (e.g., WorkMode2) to the first storage unit. The first storage unit, based on the received working mode identification information, retrieves the MIPI instructions corresponding to a set labeled "WorkMode2," i.e., retrieves a set of MIPI instructions labeled "WorkMode2" and transmits them to the matching unit.

[0149] The matching unit sequentially matches each MIPI instruction with the load instruction according to the second identifier information in the group of MIPI instructions, with the initial value of the counter being 0. When the matching unit detects that there is an instruction identical to the load instruction in a group of MIPI instructions marked "WorkMode2", it can instruct the counter to increment the recorded value by 1 and transmit the updated value to the second storage unit. The matching unit also instructs the working mode acquisition unit to transmit the working mode information of the instruction processing module to the second storage unit.

[0150] The second storage unit acquires information about a group of operations to be executed labeled "WorkMode2," and based on the counter value "4," retrieves the information of the operation to be executed with identifier "4" from the group labeled "WorkMode2," denoted as information_5. This second storage unit transmits information_5 to the operation execution unit. Information_5 includes: DMA operation and data source address information, and preset position information (such as FIFO position information). The operation execution unit loads SEQ data into the FIFO in batches from the data source address. The operation execution unit then loads the SEQ data in batches and sends the loaded MIPI data to the FEM to modify the parameters in the FEM, enabling FEM state switching and switching between the SDR signal and ET DAC signal channels.

[0151] S3: The instruction processing module switches its working mode to transfer the transmission authorization.

[0152] The operation execution unit of the instruction processing module switches its working mode after detecting that SEQ has been loaded.

[0153] S4: The instruction processing module sends an interrupt to the software, indicating that the notification mode switch is complete.

[0154] After switching its own operating mode, the operation execution unit of the instruction processing module can send an interrupt command to the MCU to notify the MCU that the instruction processing module has completed the mode switching.

[0155] It is understood that, in order to achieve the above-mentioned functions, electronic devices include hardware and / or software modules that perform the respective functions. Based on the algorithmic steps of the examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.

[0156] This application also provides a chip system including at least one processor and at least one interface circuit. The processor and the interface circuit are interconnected via lines. For example, the interface circuit can be used to receive signals from other devices (e.g., the memory of an electronic device). As another example, the interface circuit can be used to send signals to other devices (e.g., the processor). Exemplarily, the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the electronic device can perform the steps in the above embodiments. Of course, the chip system may also include other discrete devices, and this application does not specifically limit this.

[0157] This embodiment also provides a computer storage medium storing computer instructions. When these computer instructions are executed on an electronic device, the electronic device performs the aforementioned method steps to implement the signal processing method described in the above embodiment. The storage medium includes various media capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0158] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement the signal processing method described in the above embodiment.

[0159] In this embodiment, the electronic device, computer storage medium, computer program product or chip are all used to execute the corresponding signal processing method provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding method provided above, and will not be repeated here.

[0160] Any content in the various embodiments of this application, as well as any content in the same embodiment, can be freely combined. Any combination of the above content is within the scope of this application.

[0161] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A signal processing method, characterized in that, The method is applied to an electronic device, the electronic device including a modem processor and an instruction processing module electrically connected to the modem processor; the method includes: The modem processor generates a first mobile industry processor interface (MIPI) instruction and transmits the first MIPI instruction to the instruction processing module. Upon receiving the first MIPI instruction, the instruction processing module obtains information about the target operation matching the first MIPI instruction based on a first set of correspondences stored in the instruction processing module. The first set of correspondences includes N correspondences, each of which indicates a correspondence between the MIPI instruction and the information of the operation to be executed. N is an integer greater than 0. The information of the operation to be executed includes: the operation type of the operation to be executed and the parameter information of the operation to be executed. The instruction processing module executes the target operation according to the information of the target operation.

2. The method according to claim 1, characterized in that, Upon receiving the first MIPI instruction, the instruction processing module retrieves information about the target operation matching the first MIPI instruction based on a first set of correspondences stored in the instruction processing module, including: The instruction processing module obtains the first query information from the first MIPI instruction, and the query information is used to identify the MIPI instruction. The instruction processing module detects whether there is a MIPI instruction in the first set of correspondences that matches the first query information; If a MIPI instruction matching the first query information is detected, the MIPI instruction matching the first query information is obtained as the target MIPI instruction. Information about the operation to be executed corresponding to the target MIPI instruction is obtained as the target operation information.

3. The method according to claim 2, characterized in that, The query information includes one or more of the following: register address, instruction type, user service identifier, data volume, or data content.

4. The method according to claim 2, characterized in that, The instruction processing module includes: a first storage unit and a second storage unit; Before obtaining information about the target operation matching the first MIPI instruction based on the first set of correspondences stored in the instruction processing module, the method further includes: The microcontroller unit of the electronic device sends N MIPI instructions from the first set of correspondences to the first storage unit; The microcontroller sends information about N operations to be executed in the first set of correspondences to the second storage unit for storage. The identification information of the MIPI instruction stored in the first storage unit is the same as the identification information of the corresponding operation to be executed stored in the second storage unit.

5. The method according to claim 4, characterized in that, The instruction processing module further includes a matching unit, which is electrically connected to the first storage unit and the second storage unit. The instruction processing module detects whether there is a MIPI instruction matching the first query information in the first set of correspondences, including: Upon receiving the first MIPI instruction, the matching unit retrieves the MIPI instruction from the first set of correspondences in the first storage unit; The matching unit detects whether there is a MIPI instruction that is the same as the first MIPI instruction based on the query information of the acquired MIPI instruction and the first query information of the first MIPI instruction, and obtains the detection result.

6. The method according to claim 5, characterized in that, The instruction processing module stores m sets of correspondences, each of which corresponds one-to-one with one of the m working modes, where m is an integer greater than 1.

7. The method according to claim 6, characterized in that, The instruction processing module further includes: a working mode acquisition unit; the input terminal of the working mode acquisition unit is connected to the system-on-a-chip of the electronic device and the matching unit, and the output terminal of the working mode acquisition unit is connected to the first storage unit; Upon receiving the first MIPI instruction, the matching unit retrieves the MIPI instruction from the first set of correspondences in the first storage unit, including: Upon receiving the first MIPI instruction, the matching unit generates first indication information; The working mode acquisition unit uploads the information of the current working mode of the instruction processing module to the first storage unit according to the first indication information, wherein the information of the working mode of the instruction processing module stored in the working mode acquisition unit is issued by the system-on-a-chip. The first storage unit obtains the MIPI instruction from the first set of correspondences that matches the current working mode based on the information of the current working mode, and transmits the MIPI instruction from the first set of correspondences to the matching unit.

8. The method according to any one of claims 4-7, characterized in that, The instruction processing module further includes an operation execution unit electrically connected to the output terminal of the second storage unit; The instruction processing module executes the target operation according to the target operation information, including: The operation execution unit generates a target instruction based on the operation type and parameter information of the target operation; The operation execution unit runs the target instruction.

9. The method according to claim 5, characterized in that, The step of obtaining information about the operation to be executed corresponding to the target MIPI instruction as the target operation information includes: If the detection result indicates the existence of a MIPI instruction identical to the first MIPI instruction, the matching unit instructs the second storage unit to obtain the information of the operation to be executed corresponding to the target MIPI instruction as the information of the target operation, based on the identification information of the target MIPI instruction.

10. The method according to claim 7, characterized in that, The step of obtaining information about the operation to be executed corresponding to the target MIPI instruction as the target operation information includes: If the detection result indicates the presence of a MIPI instruction identical to the first MIPI instruction, the matching unit instructs the working mode acquisition unit to transmit the working mode information of the instruction processing module to the second storage unit; The matching unit instructs the second storage unit to obtain the information of the operation to be executed corresponding to the target MIPI instruction as the target operation information, based on the identification information of the target MIPI instruction and the working mode information of the instruction processing module.

11. The method according to claim 9 or 10, characterized in that, The instruction processing module further includes: a counter, the input terminal of which is electrically connected to the output terminal of the matching unit, and the output terminal of which is electrically connected to the second storage unit; Before the matching unit instructs the second storage unit to obtain information about the operation to be executed corresponding to the target MIPI instruction as the target operation information, when the detection result indicates the existence of a MIPI instruction identical to the first MIPI instruction, the method further includes: After each matching unit completes a matching of the MIPI instruction with the stored MIPI instruction, it instructs the counter to increment the current value by one. The counter is used to record the identification information of the MIPI instruction that is matched with the first MIPI instruction each time. When the matching unit detects the existence of a MIPI instruction identical to the first MIPI instruction, it instructs the counter to transmit the counter's count result to the second storage unit, so that the second storage unit can use the count result as the identification information of the target MIPI instruction.

12. The method according to claim 6, characterized in that, The microcontroller unit sends the m sets of correspondences to the instruction processing module via an advanced high-performance bus.

13. The method according to claim 1, characterized in that, The electronic device is a device that supports dual-SIM dual-pass mode and shares a transmitting antenna; The instruction processing module executes the target operation according to the target operation information, including: When the target operation information indicates that the primary card is to be switched from the first user identification SIM card to the second SIM card, the instruction processing module switches the primary card from the first SIM card to the second SIM card and transfers the authorization permissions of the first SIM card to the second SIM card; The instruction processing module transmits the processing results to the radio frequency front-end device.

14. The method according to claim 1, characterized in that, The electronic device is a device that supports dual-SIM dual-pass mode and shares a transmitting antenna; Before the instruction processing module executes the target operation according to the target operation information, the method further includes: The instruction processing module determines that the Bluetooth antenna of the electronic device has a usage rate exceeding the usage rate threshold and that there are idle cellular antennas. The instruction processing module executes the target operation according to the target operation information, including: If the target operation information indicates an interception operation, the instruction processing module intercepts the first MIPI instruction; The instruction processing module replaces the intercepted first MIPI instruction with a second instruction, which is an instruction to instruct the idle cellular antenna to perform Bluetooth communication; The instruction processing module transmits the second instruction to the radio frequency front-end device.

15. The method according to claim 1, characterized in that, The electronic device is a device that supports dual-SIM dual-pass mode and shares a transmitting antenna. The electronic device is in dual-SIM dual-pass mode or the cellular antenna of the electronic device is in a tuning scenario. The instruction processing module executes the target operation according to the target operation information, including: If the target operation indicates a filtering operation, the instruction processing module deletes the first MIPI instruction.

16. A chip system, characterized in that, Includes a processor for retrieving and running a computer program from memory, causing an electronic device on which the chip system is mounted to perform the signal processing method of any one of claims 1 to 14.

17. An electronic device, characterized in that, include: A memory and a processor, wherein the memory is coupled to the processor; The memory stores program instructions that, when executed by the processor, cause the electronic device to perform the signal processing method according to any one of claims 1 to 15.

18. A computer-readable storage medium comprising a computer program, characterized in that, When the computer program is run on an electronic device, it causes the electronic device to perform the signal processing method according to any one of claims 1 to 15.

Citation Information

Patent Citations

  • Electronic device for supporting data communication and method therefor

    CN110830936A

  • Electronic device and method for transmitting uplink reference signal

    CN112913150A