Radio frequency channel, signal receiving method and electronic equipment

By reusing the radio frequency front-end module in electronic devices and using priority order to send commands in time periods, the problem of increased cost caused by adding radio frequency channels is solved, thus achieving cost reduction while improving communication quality.

CN121508565APending Publication Date: 2026-02-10HONOR DEVICE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411052807.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Adding radio frequency channels to electronic devices to improve communication quality can lead to increased costs.

Method used

By using a multiplexed RF front-end module, commands are sent through the first modem and the second modem respectively. The RF channel controller sends commands in time periods according to a preset priority order, so that the RF front-end module receives different signals at different time periods, avoiding command conflicts and improving signal quality.

Benefits of technology

While improving the communication quality of electronic devices, the cost of the equipment has been reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121508565A_ABST
    Figure CN121508565A_ABST
Patent Text Reader

Abstract

The embodiment of the invention is applicable to the technical field of radio frequency, and provides a radio frequency channel, a signal receiving method and electronic equipment, the radio frequency channel comprises a first Modem, a second Modem, a radio frequency channel controller and a radio frequency front-end module, the first Modem and the second Modem are respectively connected with the radio frequency channel controller, the radio frequency channel controller is connected with the radio frequency front-end module, and the radio frequency front-end module is connected with an antenna. The radio frequency channel controller sends a first instruction to the radio frequency front-end module in a first time period according to a preset priority sequence, or sends a second instruction to the radio frequency front-end module in a second time period, and the radio frequency front-end module configures the radio frequency front-end module according to the first instruction so as to enable the radio frequency front-end module to receive a first signal; or the radio frequency front-end module is configured according to the second instruction, so that the radio frequency front-end module receives the second signal, and the function of reducing the cost of the electronic equipment on the premise of improving the communication quality of the electronic equipment is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of radio frequency technology, and more specifically, to a radio frequency channel, a signal receiving method, and an electronic device. Background Technology

[0002] In some cases, the environment in which electronic devices operate may contain factors that interfere with the propagation of electromagnetic waves. In such cases, the communication quality of electronic devices deteriorates due to the influence of environmental factors.

[0003] Typically, electronic devices can improve their received signal quality and communication quality by adding an additional radio frequency (RF) channel. This added RF channel usually includes a modem and an RF front-end module. However, improving communication quality by adding an RF channel increases the cost of the electronic device.

[0004] Therefore, how to reduce the cost of electronic devices while improving their communication quality has become an urgent problem to be solved. Summary of the Invention

[0005] This application provides a radio frequency channel, a signal receiving method, and an electronic device that can reduce the cost of electronic devices while improving the communication quality of the electronic devices.

[0006] In the first aspect, a radio frequency channel is provided, which is used in an electronic device. The electronic device includes the radio frequency channel and an antenna. The radio frequency channel includes: a first modem, a second modem, a radio frequency channel controller, and a radio frequency front-end module. The first modem and the second modem are respectively connected to the radio frequency channel controller, the radio frequency channel controller is connected to the radio frequency front-end module, and the radio frequency front-end module is connected to the antenna.

[0007] The first modem is used to send a first instruction to the RF front-end module through the RF channel controller, and the second modem is used to send a second instruction to the RF front-end module through the RF channel controller. The RF channel controller is used to send the first instruction and the second instruction to the RF front-end module in a preset priority order. The RF front-end module is used to configure the RF front-end module according to the first instruction so that the RF front-end module receives the first signal from the antenna, or to configure the RF front-end module according to the second instruction so that the RF front-end module receives the second signal from the antenna.

[0008] This application provides a radio frequency (RF) channel, including a first modem, a second modem, an RF channel controller, and an RF front-end module. The first and second modems are connected to the RF channel controller, which is connected to the RF front-end module. The RF front-end module is connected to an antenna. The first modem sends a first command to the RF front-end module through the RF channel controller, and the second modem sends a second command to the RF front-end module through the RF channel controller. The RF channel controller sends the first command to the RF front-end module in a first time period according to a preset priority sequence, and sends the second command to the RF front-end module in a second time period. The RF front-end module is configured according to the first command to receive a first signal from the antenna, or according to the second command to receive a second signal from the antenna. In other words, when the first and second modems share the RF front-end module for signal reception, the RF channel controller can send either the first or second command to the RF front-end module in time periods according to a preset priority sequence. This allows the RF front-end module to be configured according to a first instruction and receive a first signal during a first time period, or to be configured according to a second instruction and receive a second signal during a second time period, thus avoiding conflicts between the first and second instructions. Furthermore, since multiplexing the RF front-end module to receive signals through the first modem and the second modem can reduce the cost of electronic devices while ensuring the quality of the received signal, the RF channel controller sends the first or second instruction to the RF front-end module according to a preset priority order to receive the first or second signal respectively. Compared with using two RF channels to receive the first and second signals respectively, this achieves the function of reducing the cost of electronic devices while improving the communication quality of electronic devices.

[0009] In conjunction with the first aspect, in some embodiments of the first aspect, the radio frequency channel controller includes a first storage unit, a second storage unit, and an arbitrator. The first storage unit is used to store a first instruction, the second storage unit is used to store a second instruction, and the arbitrator is used to send the first instruction and the second instruction to the radio frequency front-end module in a preset priority order.

[0010] In conjunction with the first aspect, in some embodiments of the first aspect, the first modem is a primary modem, the second modem is a secondary modem, and the priority of the first instruction is higher than the priority of the second instruction.

[0011] Optionally, the main modem can refer to the main modem in an electronic device used for signal transmission, and the auxiliary modem can refer to the auxiliary modem in an electronic device used for supplementary signal transmission.

[0012] For example, the first modem can be a master modem, and the second modem can be an enhancement modem.

[0013] When the first modem is the primary modem and the second modem is the secondary modem, the first command has a higher priority than the second command. That is, when the first modem is the primary modem for signal transmission in the electronic device, and the second modem is the secondary modem for supplementary signal transmission, the first command has a higher priority than the second command. This allows the RF front-end module to be configured based on the first command from the primary modem, prioritizing the configuration of the primary channel in the electronic device to ensure signal transmission on the primary channel.

[0014] In one possible scenario, the preset priority order could mean that if the first time indicated by the first instruction is before the second time indicated by the second instruction, the arbitrator blocks the enable signal sent to the second storage unit so that the RF front-end module cannot execute the second instruction based on the enable signal of the second instruction. The first time is the start time of executing the first instruction, and the second time is the start time of executing the second instruction.

[0015] In the embodiments of this application, the timestamp of the first instruction indicates a first time point before the second time point indicated by the timestamp of the second instruction. In this case, the RF channel controller can block the enable signal sent by the enhance modem, so that the RF front-end module cannot enable the second instruction at the second time point, and therefore cannot execute the second instruction, thus avoiding the conflict between the first instruction and the second instruction.

[0016] Optionally, after the arbitrator blocks the enable signal sent to the second storage unit, the arbitrator can also send a first clear instruction to the second storage unit, and the second storage unit clears the second instruction based on the first clear instruction.

[0017] In the embodiments of this application, after the arbitrator blocks the enable signal sent to the second storage unit, the arbitrator can also send a first clear instruction to the second storage unit. The second storage unit clears the second instruction based on the first clear instruction. This makes it impossible for the RF front-end module to read the second instruction in the second storage unit at the second moment, and thus impossible to execute the second instruction. This further avoids the situation where the second instruction needs to be executed when the first instruction is executed, and avoids the conflict between the first instruction and the second instruction.

[0018] In one possible scenario, the preset priority order could mean that if the first moment indicated by the first instruction falls within the second time period, the arbitrator sends a second clear instruction to the second storage unit, and the second storage unit clears the second instruction based on the second clear instruction. The first moment refers to the start time of executing the first instruction, and the second time period refers to the time period during which the second instruction is executed.

[0019] In the embodiments of this application, if the first moment indicated by the first instruction is within the second time period, the arbitrator sends a second clear instruction to the second storage unit. The second storage unit clears the second instruction based on the second clear instruction, so that the RF front-end module cannot read the second instruction in the second storage unit, and thus cannot execute the second instruction. The RF front-end module avoids the situation where it needs to execute the second instruction while executing the first instruction, thus avoiding the conflict between the first instruction and the second instruction.

[0020] In conjunction with the first aspect, in some embodiments of the first aspect, the number of the first storage units is multiple, and the number of the second storage units is multiple.

[0021] For example, such as Figure 8 As shown, the RF channel controller includes n second memory units and m first memory units. The number of n and m can be the same or different, and this embodiment does not limit this.

[0022] Optionally, a first storage unit may store multiple first instructions, which may be configuration instructions for a device in the RF front-end module. For example, the first storage unit may store multiple first instructions, all of which are configuration instructions for a power amplifier in the RF front-end module.

[0023] Optionally, a second memory cell may store multiple second instructions, which may be configuration instructions for a device in the RF front-end module. For example, the second memory cell may store multiple second instructions, all of which are configuration instructions for an RF switch in the RF front-end module.

[0024] When a first memory cell contains multiple first instructions, it is usually necessary to sort the multiple first instructions so that the multiple first instructions in the first memory cell can be executed sequentially.

[0025] Similarly, when a second memory cell contains multiple second instructions, it is usually necessary to sort the multiple second instructions so that the multiple second instructions in the second memory cell can be executed sequentially.

[0026] Secondly, a signal receiving method is provided, applied to an electronic device including a radio frequency (RF) channel and an antenna. The RF channel includes a first modem, a second modem, an RF channel controller, and an RF front-end module. The first modem and the second modem are respectively connected to the RF channel controller, the RF channel controller is connected to the RF front-end module, and the RF front-end module is connected to the antenna. The method includes:

[0027] The first modem sends a first command to the radio frequency front-end module through the radio frequency channel controller;

[0028] The second modem sends a second command to the RF front-end module through the RF channel controller;

[0029] The RF channel controller sends the first and second commands to the RF front-end module according to a preset priority order.

[0030] The radio frequency front-end module is configured according to a first instruction to enable the radio frequency front-end module to receive a first signal from the antenna, or according to a second instruction to enable the radio frequency front-end module to receive a second signal from the antenna.

[0031] The signal receiving method provided in this application is applied to an electronic device. The electronic device includes a radio frequency (RF) channel and an antenna. The RF channel includes a first modem, a second modem, an RF channel controller, and an RF front-end module. The first modem and the second modem are respectively connected to the RF channel controller, the RF channel controller is connected to the RF front-end module, and the RF front-end module is connected to the antenna. The method includes: the first modem sending a first command to the RF front-end module through the RF channel controller; the second modem sending a second command to the RF front-end module through the RF channel controller; the RF channel controller sending the first command and the second command to the RF front-end module according to a preset priority order; and the RF front-end module configuring itself according to the first command to receive a first signal from the antenna, or configuring itself according to the second command to receive a second signal from the antenna. In other words... When the first modem and the second modem are multiplexed to receive signals, the RF channel controller can send a first command or a second command to the RF front-end module in time periods according to a preset priority order. This allows the RF front-end module to be configured according to the first command and receive the first signal in the first time period, or to be configured according to the second command and receive the second signal in the second time period. This avoids conflicts between the first and second commands. Furthermore, since receiving signals through the multiplexed RF front-end module can reduce the cost of electronic devices while ensuring the quality of the received signal, using the RF channel controller to send the first command or the second command to the RF front-end module according to a preset priority order to receive the first signal or the second signal respectively achieves the function of reducing the cost of electronic devices while improving the communication quality of electronic devices, compared with using two RF channels to receive the first signal and the second signal respectively.

[0032] In conjunction with the second aspect, in some embodiments of the second aspect, the radio frequency channel controller includes a first storage unit, a second storage unit, and an arbitrator. The first storage unit is used to store a first instruction, and the second storage unit is used to store a second instruction. The radio frequency channel controller sends the first instruction and the second instruction to the radio frequency front-end module in a preset priority order, including: the arbitrator sending the first instruction and the second instruction to the radio frequency front-end module in a preset priority order.

[0033] In conjunction with the second aspect, in some embodiments of the second aspect, the arbitrator sends a first instruction and a second instruction to the radio frequency front-end module in a preset priority order, including: if the first time indicated by the first instruction is before the second time indicated by the second instruction, the arbitrator blocks the enable signal sent by the radio frequency front-end module so that the second storage unit stops sending the second instruction to the radio frequency front-end module, the first time being the start time of executing the first instruction, and the second time being the start time of executing the second instruction.

[0034] In conjunction with the second aspect, in some embodiments of the second aspect, the arbitrator sends a first instruction and a second instruction to the radio frequency front-end module in a preset priority order, and further includes: the arbitrator sending a first clear instruction to the second storage unit, and the second storage unit clearing the second instruction based on the first clear instruction.

[0035] In conjunction with the second aspect, in some embodiments of the second aspect, the arbitrator sends a first instruction and a second instruction to the radio frequency front-end module in a preset priority order, including: if the first moment indicated by the first instruction is within the second time period, the arbitrator sends a second clear instruction to the second storage unit, and the second storage unit clears the second instruction based on the second clear instruction. The first moment refers to the start time of executing the first instruction, and the second time period refers to the time period of executing the second instruction.

[0036] In conjunction with the second aspect, in some embodiments of the second aspect, the arbitrator sends a first instruction and a second instruction to the radio frequency front-end module in a preset priority order, and further includes: the arbitrator sending a de-enable signal to the second storage unit, and the second storage unit clearing the enable signal of the second instruction based on the second clear instruction.

[0037] In the embodiments of this application, the first moment of executing the first instruction is within the second time period of executing the second instruction. That is to say, the second instruction has already started executing before the first instruction is executed. In this case, the arbitrator can also send an enable signal to the second memory unit to disable the enable signal of the second instruction, so that the second instruction cannot continue to be executed, thus avoiding the conflict between the second instruction and the first instruction.

[0038] In conjunction with the second aspect, in some embodiments of the second aspect, the first modem is a primary modem, the second modem is a secondary modem, the number of first instructions is multiple, and the number of second instructions is multiple.

[0039] In conjunction with the second aspect, in some embodiments of the second aspect, the main modem sorts the multiple first instructions according to the execution time sequence of each first instruction to obtain a sorted first instruction group, and the main modem sends the sorted first instruction group to the first storage unit.

[0040] In conjunction with the second aspect, in some embodiments of the second aspect, the radio frequency front-end module reads the sorted first instruction group in the first storage unit and executes the first instruction in the sorted first instruction group in sequence.

[0041] In conjunction with the second aspect, in some embodiments of the second aspect, when the secondary modem sends the second instruction to the second storage unit, the second storage unit sorts the multiple second instructions in the second storage unit according to the second timestamp carried in the second instruction and the second timestamp carried in the previous second instruction, to obtain a sorted group of second instructions.

[0042] In the embodiments of this application, when the second modem cannot sort the second instructions, the second storage unit sorts the multiple second instructions to obtain a sorted second instruction group, so that the radio frequency front-end module can execute the sorted second instruction group in sequence, avoiding timing problems caused by the radio frequency front-end module executing multiple second instructions out of order.

[0043] In conjunction with the second aspect, in some embodiments of the second aspect, the radio frequency front-end module reads the sorted second instruction group in the second storage unit and executes the second instruction in the sorted second instruction group in sequence.

[0044] Thirdly, an electronic device is provided, which includes the radio frequency channel shown in the first aspect above.

[0045] Fourthly, a signal receiving apparatus is provided, including a unit for performing any of the methods in the second aspect. The apparatus may be a server, a terminal device, or a chip within a terminal device. The apparatus may include an input unit and a processing unit.

[0046] When the device is a terminal device, the processing unit may be a processor, and the input unit may be a communication interface; the terminal device may also include a memory for storing computer program code, which, when the processor executes the computer program code stored in the memory, causes the terminal device to perform any of the methods in the second aspect.

[0047] When the device is a chip within a terminal device, the processing unit can be an internal processing unit of the chip, and the input unit can be an output interface, pin, or circuit, etc.; the chip may also include a memory, which can be an internal memory of the chip (e.g., registers, cache, etc.) or an external memory (e.g., read-only memory, random access memory, etc.); the memory is used to store computer program code, and when the processor executes the computer program code stored in the memory, the chip performs any of the methods in the second aspect.

[0048] Fifthly, a computer-readable storage medium is provided, the computer-readable storage medium storing computer program code, which, when executed by a signal receiving device, causes the signal receiving device to perform any of the signal receiving methods in the second aspect.

[0049] In a sixth aspect, a computer program product is provided, the computer program product comprising: computer program code, which, when executed by a signal receiving device, causes the signal receiving device to perform any of the apparatus methods in the second aspect.

[0050] The radio frequency (RF) channel, signal receiving method, and electronic device provided in this application include a first modem, a second modem, an RF channel controller, and an RF front-end module. The first modem and the second modem are respectively connected to the RF channel controller, which is connected to the RF front-end module. The RF front-end module is connected to an antenna. The first modem sends a first command to the RF front-end module through the RF channel controller, and the second modem sends a second command to the RF front-end module through the RF channel controller. The RF channel controller sends the first command to the RF front-end module in a first time period or the second command in a second time period according to a preset priority sequence. The RF front-end module is configured according to the first command to receive the first signal from the antenna, or according to the second command to receive the second signal from the antenna. That is, when the first modem and the second modem share the RF front-end module for signal reception, the RF channel controller can send the first command or the second command to the RF front-end module in time periods according to a preset priority sequence. This allows the RF front-end module to be configured according to a first instruction and receive a first signal during a first time period, or to be configured according to a second instruction and receive a second signal during a second time period, thus avoiding conflicts between the first and second instructions. Furthermore, since multiplexing the RF front-end module to receive signals through the first modem and the second modem can reduce the cost of electronic devices while ensuring the quality of the received signal, the RF channel controller sends the first instruction or the second instruction to the RF front-end module according to a preset priority order to receive the first signal or the second signal respectively. Compared with using two RF channels to receive the first signal and the second signal respectively, this achieves the function of reducing the cost of electronic devices while improving the communication quality of electronic devices. Attached Figure Description

[0051] Figure 1 This is a schematic diagram of the hardware structure of an electronic device;

[0052] Figure 2 This is a schematic diagram of a hardware system for an electronic device applicable to this application;

[0053] Figure 3 This is a schematic diagram of the structure of a radio frequency channel provided in an embodiment of this application;

[0054] Figure 4 This is a schematic diagram of a first time period and a second time period provided in an embodiment of this application;

[0055] Figure 5 This is a schematic diagram illustrating the execution of instructions when there is a conflict between the master modem and the enhancement modem, as provided in an embodiment of this application.

[0056] Figure 6 This is a schematic diagram illustrating the execution of instructions when there is a conflict between the master modem and the enhancement modem, as provided in another embodiment of this application.

[0057] Figure 7 This is a schematic diagram of another radio frequency channel structure provided in an embodiment of this application;

[0058] Figure 8 This is a schematic diagram of another radio frequency channel structure provided in an embodiment of this application;

[0059] Figure 9 This is a schematic diagram illustrating the sorting of the second instructions provided in an embodiment of this application;

[0060] Figure 10 This is a flowchart illustrating a signal receiving method provided in an embodiment of this application;

[0061] Figure 11 This is a schematic diagram of a signal receiving device provided in this application;

[0062] Figure 12 This is a schematic diagram of an electronic device for receiving signals provided in this application. Detailed Implementation

[0063] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; "and / or" in this text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0064] Hereinafter, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include one or more of that feature.

[0065] For ease of understanding, the examples provided are for reference only and are related to the concepts in the embodiments of this application.

[0066] 1. Radio frequency channel.

[0067] A radio frequency (RF) channel can refer to a channel in an electronic device used to transmit radio frequency signals, and can typically include RF front-end modules (FEMs) and modems.

[0068] 2. Radio Frequency Front-End Module (FEM).

[0069] A typical radio frequency (RF) front-end module may include RF switches, low noise amplifiers (LNAs), filters, duplexers, and power amplifiers (PAs). The LNA amplifies the RF signals received by the receiving channel, the PA amplifies the RF signals transmitted by the transmitting channel, and the filter filters the RF signals.

[0070] 3. Modem.

[0071] A modem may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to a baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is passed to the application processor.

[0072] If there are factors in the environment where electronic devices are located that interfere with the propagation of electromagnetic waves, such as a large number of people in the environment, the human body will absorb electromagnetic waves, affecting the propagation of electromagnetic waves. This will lead to a deterioration in the quality of signals received by electronic devices.

[0073] To improve the quality of signals received by electronic devices, an additional radio frequency channel for receiving signals can be added to the electronic device.

[0074] For example, an electronic device receives signals through radio frequency channel 1, which consists of a first modem 111 and a first radio frequency front-end module 131. Due to environmental factors, the signal quality received by the electronic device through radio frequency channel 1 deteriorates. In this case, an additional radio frequency channel 2 can be added to the electronic device to receive signals.

[0075] For example, such as Figure 1 As shown in (a), the electronic device can add an RF channel 2 to improve the quality of the received signal. The RF channel 2 includes a second modem 112 and a second RF front-end module 132. The second RF front-end module 132 can be connected to the first antenna 151, so that the RF channel 2 serves as a transmission channel for the signal received by the first antenna 151. In this case, RF channels 1 and RF channels 2 can transmit the received signal of the first antenna 151 in time-division multiplexing, and then send the received signal to the processor 16 for processing. Compared with using RF channel 1 alone, using RF channels 1 and RF channels 2 to transmit the received signal of the first antenna 151 in time-division multiplexing can double the received signal of the processor 16, thus improving the quality of the received signal.

[0076] For example, such as Figure 1 As shown in (b), the electronic device adds an RF channel 2 to improve the quality of the received signal. The RF channel 2 includes a second modem 112 and a second RF front-end module 132. The second RF front-end module 132 can be connected to the second antenna 152. RF channel 1 is used to transmit the received signal from the first antenna 151, and RF channel 2 is used to transmit the received signal from the second antenna 152. The first modem 111 and the second modem 112 then send the received signals to the processor 16 for processing. Compared to using RF channel 1 alone, using RF channel 1 to transmit the received signal from the first antenna 151 and using RF channel 2 to transmit the received signal from the first antenna 152 doubles the received signal of the processor 16, thus improving the quality of the received signal.

[0077] For example, such as Figure 1 As shown in (a), an electronic device (e.g., a mobile phone) receives base station signals through a first modem 111, a first radio frequency front-end module, and a first antenna 151, thereby establishing a communication connection with other electronic devices. If the electronic device is in an area not covered by the base station, or in a scenario where the base station signal is weak, the electronic device can also receive satellite signals through a second modem 112, a second radio frequency front-end module 132, and a first antenna 151, and establish a communication connection with other electronic devices through the satellite signals.

[0078] However, improving the quality of received signals by adding an additional radio frequency channel increases the cost of electronic devices.

[0079] In view of this, the present application provides a radio frequency (RF) channel, including a first modem, a second modem, an RF channel controller, and an RF front-end module. The first modem and the second modem are respectively connected to the RF channel controller, the RF channel controller is connected to the RF front-end module, and the RF front-end module is connected to an antenna. The first modem sends a first command to the RF front-end module through the RF channel controller, and the second modem sends a second command to the RF front-end module through the RF channel controller. The RF channel controller sends the first command to the RF front-end module in a first time period according to a preset priority sequence, or sends the second command to the RF front-end module in a second time period. The RF front-end module is configured according to the first command to receive a first signal from the antenna, or configured according to the second command to receive a second signal from the antenna. That is, when the first modem and the second modem multiplex the RF front-end module to receive signals, the RF channel controller can determine the signal according to a preset priority sequence. The first instruction or the second instruction is sent sequentially to the RF front-end module in time periods, so that the RF front-end module can be configured according to the first instruction and receive the first signal in the first time period, or the RF front-end module can be configured according to the second instruction and receive the second signal in the second time period. Since the RF front-end module can receive signals by multiplexing the first modem and the second modem, the cost of the electronic device can be reduced while ensuring the quality of the received signal. Therefore, the RF channel controller sends the first instruction or the second instruction to the RF front-end module in a preset priority order and receives the first signal or the second signal respectively, so as to achieve the function of reducing the cost of the electronic device while improving the communication quality of the electronic device.

[0080] This application provides an electronic device. Optionally, the electronic device includes a terminal device, which may also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device can be a mobile phone, smart TV, wearable device, tablet computer, computer with wireless transceiver capabilities, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, etc. The embodiments of this application do not limit the specific technology or device form used in the terminal device.

[0081] For example, Figure 2 The diagram illustrates a possible structure of an electronic device 100, which may include an RF channel 10, multiple antennas 15, a processor 16, and a memory 17. The RF channel 10 includes a modem 11, an RF channel controller 12, and an RF front-end module 13. Data transmission between the modem 11, the RF channel controller 12, and the RF front-end module 13 can be achieved via a MIPI RFFE bus.

[0082] The processor 16 involved in this application embodiment can be a chip. For example, it can be a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips. The processor 16 can also be referred to as an application processor (AP). The processor 16 can receive data from or transmit data through the radio frequency channel 10.

[0083] The memory 17 involved in this application embodiment can be volatile memory or non-volatile memory, or it can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0084] The radio frequency channel 10 can realize wireless communication technologies such as 2nd generation (2G), 3rd generation (3G), 4th generation (4G), and 5th generation (5G). The radio frequency channel 10 can also provide wireless communication technologies applied to electronic devices 10, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), and near field communication (NFC).

[0085] The aforementioned wireless communication technologies may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), 5G (the 5th Generation of wireless communication system), BT, GNSS, WLAN, NFC, FM, and / or IR technologies. The GNSS may include Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), BeiDou Navigation Satellite System (BDS), Quasi-Zenith Satellite System (QZSS), and / or Satellite Based Augmentation Systems (SBAS).

[0086] The wireless communication function of the electronic device 100 can be realized through the antenna 15, the radio frequency front-end module 13 and the modem 11, etc.

[0087] Antenna 15 is used to transmit and receive electromagnetic wave signals. Antenna 15 may include multiple antennas, for example, such as... Figure 1 The first antenna 151 and the second antenna 152 are shown in (b) of the diagram. Each antenna in the electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0088] In the RF channel 10, the RF front-end module 13 includes multiple low-noise amplifiers (LNAs), power amplifiers (PAs), RF front-end switches, and other devices. The LNAs amplify the RF signals received by the receiving channel, the PAs amplify the RF signals transmitted by the transmitting channel, and the filters filter the RF signals. The RF front-end module 13 can also amplify the signal modulated by the Modem 11 and convert it into electromagnetic waves for radiation via the antenna 15.

[0089] Modem 11 can be used for baseband signal modulation and demodulation, digital filtering, equalization processing, etc. Modem 11 can be connected to various devices in RF front-end module 13 (such as PA, LNA, and RF front-end switch mentioned above) via MIPI RFFE bus, thereby controlling the various devices in RF front-end module 13. Memory 17 can store computer program instructions for execution by controller (such as Modem 11 and processor 16).

[0090] In some possible cases, Modem 11 can include multiple modems, for example, such as Figure 1 As shown in (a), the modem may include a first modem 111 and a second modem 112. In this case, the radio frequency channel controller 12 included in the radio frequency channel 10 can be used to control the order of messages sent by the first modem 111 and the second modem 112, so as to avoid conflicts between messages sent by the first modem 111 and the second modem 112.

[0091] It should be noted that any electronic device mentioned in the embodiments of this application may include more or fewer modules in electronic device 100.

[0092] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture.

[0093] The following is combined with Figures 3 to 9 The signal receiving method provided in the embodiments of this application will be described in detail.

[0094] Figure 3 This is a schematic diagram of the structure of a radio frequency channel provided in an embodiment of this application, as shown below. Figure 3As shown, the radio frequency channel includes: a first modem 111, a second modem 112, a radio frequency channel controller 12, and a radio frequency front-end module 13. The first modem 111 and the second modem 112 are respectively connected to the radio frequency channel controller 12, the radio frequency channel controller 12 is connected to the radio frequency front-end module 13, and the radio frequency front-end module 13 is connected to the antenna 15. Specifically, the first modem 111 is used to send a first command to the radio frequency front-end module 13 through the radio frequency channel controller 12, and the second modem 112 is used to send a second command to the radio frequency front-end module 13 through the radio frequency channel controller 12. The radio frequency channel controller 12 is used to send the first command and the second command to the radio frequency front-end module 13 according to a preset priority order. The radio frequency front-end module 13 is configured according to the first command to receive the first signal from the antenna 15, and configured according to the second command to receive the second signal from the antenna 15.

[0095] The first modem 111 can send a first instruction to the RF front-end module 13 through the RF channel controller 12. The first instruction is used to instruct the RF front-end module 13 to configure the RF switch, power amplifier, LNA, etc., so that the RF front-end module 13 can send the received signal of the antenna 15 to the first modem 111.

[0096] The second modem 111 can send a second instruction to the RF front-end module 13 through the RF channel controller 12. The second instruction is used to instruct the RF front-end module 13 to configure the RF switch, power amplifier, LNA, etc., so that the RF front-end module 13 can send the received signal of the antenna 15 to the second modem 111.

[0097] For example, the RF switch includes a first on state and a second on state. A first instruction can instruct the RF switch to be in the first on state, so that the RF switch is in the first on state and the antenna 15 is connected to the first modem 111 through the RF front-end module 13. A second instruction can instruct the RF switch to be in the second on state, so that the RF switch is in the second on state and the antenna 15 is connected to the second modem 112 through the RF front-end module 13.

[0098] It is understood that antenna 15 may include multiple antennas, for example, such as Figure 1 The first antenna 151 and the second antenna 152 are shown in (b) in the figure.

[0099] The first instruction can instruct the RF front-end module 13 to connect to the first antenna 151, so that the RF front-end module 13 can transmit the received signal (equivalent to the first signal) of the first antenna 151 to the first modem 111. At the same time, the second instruction can instruct the RF front-end module 13 to connect to the second antenna 152, so that the RF front-end module 13 can transmit the received signal (equivalent to the second signal) of the second antenna 152 to the second modem 112.

[0100] Alternatively, the first instruction can instruct the RF front-end module 13 to connect to the first antenna 151, so that the RF front-end module 13 can transmit the received signal (equivalent to the first signal) from the first antenna 151 to the first modem 111. Simultaneously, the second instruction can instruct the RF front-end module 13 to connect to the first antenna 151, so that the RF front-end module 13 can transmit the received signal (equivalent to the second signal) from the first antenna 151 to the second modem 112.

[0101] If the RF front-end module 13 is configured according to the first instruction, the signal received by the antenna 15 (equivalent to the first signal) can be transmitted through the RF channel composed of the RF front-end module 13 and the first Modem 111.

[0102] If the RF front-end module 13 is configured according to the second instruction, the signal received by the antenna 15 (equivalent to the second signal) can be transmitted through the RF channel composed of the RF front-end module 13 and the second Modem 112.

[0103] In some possible cases, the received signal from the first antenna 151 can be transmitted to the first modem 111 and the second modem 112 respectively by time division multiplexing.

[0104] For example, such as Figure 4 As shown in (a), the first time period and the second time period can be two periodic alternations. A first command instructs the RF switch in the RF front-end module 13 to be in a first conducting state during the first time period. Antenna 15 is connected to the first Modem 111 through the RF front-end module 13, and the received signal from antenna 15 is transmitted to the first Modem 111 through the RF front-end module 13. A second command instructs the RF switch in the RF front-end module 13 to be in a second conducting state during the second time period. Antenna 15 is connected to the second Modem 112 through the RF front-end module 13, and the received signal from antenna 15 is transmitted to the second Modem 112 through the RF front-end module 13. The duration of the first time period and the duration of the second time period can be the same or different; this embodiment does not impose any limitations on this.

[0105] For example, the first time period could be a time period configured based on the configuration information carried in the first instruction, and the second time period could be a time period configured based on the configuration information carried in the second instruction. In this case, such as Figure 4 As shown in (b) in the figure. The duration of the first first time period and the duration of the second first time period can be different, the duration of the first second time period and the duration of the second second time period can also be different, and the duration of the first first time period and the duration of the i-th first time period can also be different.

[0106] The first modem 111 receives the first signal and can send it to the processor 16. The second modem 112 receives the second signal and can also send it to the processor 16. The processor 16 can combine the first and second signals to obtain the received signal of the electronic device. Compared with the signal received through only one radio frequency channel, the received signal obtained by combining the first and second signals has greater power and higher signal quality.

[0107] In some possible cases, the first signal may refer to the base station signal received by antenna 15. If the received base station signal quality of antenna 15 is poor and cannot meet the user's needs, a communication connection with other electronic devices can be established via satellite signal. For example, a second command can be sent to RF front-end module 13 to configure RF front-end module 13 according to the second command, receive satellite signal through antenna 15, and transmit satellite signal through the RF channel formed by RF front-end module 13 and second modem 112.

[0108] The radio frequency (RF) channel provided in this embodiment includes a first modem, a second modem, an RF channel controller, and an RF front-end module. The first modem and the second modem are connected to the RF channel controller, which is connected to the RF front-end module. The RF front-end module is connected to an antenna. The first modem sends a first command to the RF front-end module through the RF channel controller, and the second modem sends a second command to the RF front-end module through the RF channel controller. The RF channel controller sends the first command to the RF front-end module in a first time period according to a preset priority sequence, and sends the second command to the RF front-end module in a second time period. The RF front-end module is configured according to the first command to receive the first signal from the antenna, or according to the second command to receive the second signal from the antenna. The first and second signals are then combined to obtain the received signal of the electronic device. In other words, when the first modem and the second modem multiplex the RF front-end module to receive the signal, the RF channel controller can send the first or second command to the RF front-end module in time periods according to a preset priority sequence. This allows the RF front-end module to be configured according to a first instruction and receive a first signal during a first time period, or to be configured according to a second instruction and receive a second signal during a second time period, thus avoiding conflicts between the first and second instructions. Furthermore, since multiplexing the RF front-end module to receive signals through the first and second modems can reduce the cost of electronic devices while ensuring the quality of the received signal, the use of an RF channel controller to send the first or second instruction to the RF front-end module according to a preset priority order can avoid conflicts between the first instruction sent by the first modem and the second instruction sent by the second modem. Compared with using two RF channels to receive the first and second signals separately, this achieves the function of reducing the cost of electronic devices while improving the communication quality of electronic devices.

[0109] In some possible cases, the first Modem 111 can be the main Modem in the electronic device used for signal transmission, and the first Modem 111 can be called the master Modem; the second Modem 112 can be the auxiliary Modem in the electronic device used to supplement signal transmission, and the second Modem 112 can be called the enhance Modem. In this case, the master Modem usually has a higher priority than the enhance Modem. Therefore, the RF channel controller 12 can send the first command of the master Modem to the RF front-end module 13 first. The following example uses the first Modem 111 as the master Modem and the second Modem 112 as the enhance Modem. Figures 5 to 9 Let me explain in detail.

[0110] It should be noted that the first command sent by the master modem, or the second command sent by the enhance modem, typically includes two parts: a timestamp and command information. The timestamp indicates the moment the first or second command was executed, while the command information indicates detailed information about the RF front-end module that needs to be configured. The difference between the time indicated by the timestamp and the current time can be called the time margin. The master modem is usually a modem manufactured by an external manufacturer, who typically sets the time margin for the first command sent by the master modem. The enhance modem, on the other hand, can be a modem designed and manufactured by the electronics manufacturer; therefore, the time margin for the second command sent by the enhance modem can be set by the electronics manufacturer.

[0111] In some cases, the first command sent by the master modem has a smaller time margin, while the second command sent by the enhance modem has a larger time margin.

[0112] For example, the time margin of the first instruction is 25 μs, and the time margin of the second instruction is 150 μs.

[0113] In this scenario, after the second instruction sent by the enhance modem, the first moment indicated by the first instruction sent by the master modem (i.e., the moment of executing the first instruction) may occur before the second moment (i.e., the moment of executing the second instruction), or the second moment may be included within the first time period of executing the first instruction. In both cases, the first instruction needs to be executed, while the execution of the second instruction is either not executed or paused. The following will illustrate... Figures 5 to 7 Let me explain in detail.

[0114] Scenario 1: The first instruction sent by the master modem indicates the first moment before the second instruction is executed.

[0115] like Figure 5 As shown, the second instruction sent by the enhancement modem at time T10 is executed by the RF front-end module 13 150μs after time T10, i.e., time T11, and the execution of the second instruction is completed at time T12. The second instruction sent by the enhancement modem can be temporarily stored in the memory unit of the RF channel controller 12. The RF front-end module 13 sends an enable signal, such as the Seq_enhance_en signal, at time T11 to enable the RF front-end module 13 to execute the second instruction at time T11. However, the master modem can send the first instruction at time T13, and the RF front-end module executes the first instruction 25μs after time T13, i.e., time T14. Similar to the second instruction sent by the enhancement modem, the first instruction sent by the master modem can also be temporarily stored in the memory unit of the RF channel controller 12. The RF front-end module 13 sends an enable signal, such as the Seq_master_en signal, at time T14 to enable the RF front-end module 13 to execute the first instruction at time T14.

[0116] In some possible cases, times T13 and T14 fall between times T10 and T11. That is, the first time indicated by the timestamp of the first instruction (time T14) is before the second time indicated by the timestamp of the second instruction (time T11). In this case, the RF channel controller 12 can block the enable signal sent by the enhanceModem between times T13 and T11, preventing the RF front-end module 13 from enabling the second instruction at time T11 and thus preventing the second instruction from being executed, thereby avoiding a conflict between the first and second instructions.

[0117] For example, such as Figure 7 As shown, the radio frequency channel controller 12 may include an arbiter 121, a first storage unit 122, a second storage unit 123, and a multiplexer 124. The arbiter 121 can send instructions to the first storage unit 122 and the second storage unit 123. The first storage unit 122 can store a first instruction sent by the master modem through the arbiter 121, and the second storage unit 123 can store a second instruction sent by the enhance modem through the arbiter 121.

[0118] For example, the RF front-end module 13 can send a Seq_enhance_en signal to the arbitrator 121 to cause the RF front-end module 13 to execute a second instruction based on the Seq_enhance_en signal. The RF front-end module 13 can also send a Seq_master_en signal to the arbitrator 121 to cause the RF front-end module 13 to execute a first instruction based on the Seq_master_en signal.

[0119] If the enhancement modem sends a second instruction through arbitrator 121 at time T10, and stores the second instruction in the second storage unit 123, then arbitrator 121 sends a Seq_enhance_real_en signal to the second storage unit 123 at time T11. Based on this signal, arbitrator 121 determines that the instruction to be executed at the current time is the second instruction in the second storage unit 123, and sends an em_seq_sel signal to multiplexer 124. The em_seq_sel signal carries the instruction information currently in the enabled state, such as the second instruction. Multiplexer 124 can then send an em_seq_cmd signal to RF front-end module 13 based on the em_seq_sel signal, carrying the corresponding instruction, such as the second instruction, so that RF front-end module 13 can execute the second instruction. If the mastermodem sends the first instruction through arbitrator 121 at time T13 and stores the first instruction in the first storage unit 122, the RF front-end module 13 sends a Seq_master_en signal to arbitrator 121 at time T14, so that the RF front-end module 13 executes the first instruction based on the Seq_master_en signal. If time T14 is before time T11, that is, the first time of execution of the first instruction indicated by the first instruction sent by the mastermodem is before the second time of execution of the second instruction, the RF front-end module 13 can send a shielding enable signal to shield the Seq_enhance_en signal, thereby preventing the RF front-end module 13 from executing the second instruction based on the Seq_enhance_en signal, thus avoiding the situation where the RF front-end module 13 needs to execute the second instruction at the same time as executing the first instruction, that is, avoiding the conflict between the first instruction and the second instruction.

[0120] Optionally, between time T13 and time T11, when the arbitrator 121 blocks the enable signal of the second instruction, it can also send an enable signal Seq_enhance_clr to the second storage unit 123 to clear the second instruction stored in the second storage unit 123. This prevents the RF front-end module 13 from reading the second instruction in the second storage unit 123 at time T11, and thus prevents the execution of the second instruction, further avoiding the situation where the second instruction needs to be executed while the first instruction is being executed, and avoiding the conflict between the first instruction and the second instruction.

[0121] Scenario 2: The first time indicated by the first instruction sent by the master modem is within the second time period of executing the second instruction.

[0122] like Figure 6 As shown, the second instruction sent by the enhancement modem at time T20 is executed by the RF front-end module 13 150μs after time T20, i.e., time T21, and the execution of the second instruction is completed at time T22. The second instruction sent by the enhancement modem can be temporarily stored in the second storage unit 123 in the RF channel controller 12. At time T21, the RF front-end module 13 sends an enable signal, such as a Seq_enhance_en signal, to the arbitrator 121 to enable the RF front-end module 13 to execute the second instruction at time T21. However, the master modem can send the first instruction at time T23, and the RF front-end module executes the first instruction 25μs after time T23, i.e., time T24. Similar to the second instruction sent by the enhance modem, the first instruction sent by the master modem can also be temporarily stored in the first storage unit 122 in the RF channel controller 12. At time T24, the RF front-end module 13 will send an enable signal, such as the Seq_master_en signal, to the arbitrator 121 so that the RF front-end module 13 will execute the first instruction at time T24.

[0123] In some possible cases, time T24 falls between time T21 and time T22. That is, the timestamp of the first instruction indicating the first time of execution of the first instruction (time T24) precedes the timestamp of the second instruction indicating the second time (time T21). In this case, the RF channel controller 12 can clear the second instruction between time T23 and time T24, so that the RF front-end module 13 cannot access the second instruction in the first storage unit 122, and therefore cannot execute the second instruction, thus avoiding the conflict between the first instruction and the second instruction.

[0124] For example, such as Figure 7As shown, the RF channel controller 12 may include an arbitrator 121, a first storage unit 122, a second storage unit 123, and a multiplexer 124. The arbitrator 121 can send instructions to the first storage unit 122 and the second storage unit 123. The first storage unit 122 can store a first instruction sent by the master modem through the arbitrator 121, and the second storage unit 123 can store a second instruction sent by the enhance modem through the arbitrator 121. The second instruction sent by the enhance modem through the arbitrator 121 at time T20 is stored in the second storage unit 123. The RF front-end module 13 sends a Seq_enhance_en signal to the arbitrator 121 at time T21, causing the RF front-end module 13 to execute the second instruction based on the Seq_enhance_en signal. During the second time period when the RF front-end module 13 executes the second instruction, if the master modem sends the first instruction through the arbitrator 121 at time T23 and stores the first instruction in the first storage unit 122, the RF front-end module 13 sends a Seq_master_en signal to the arbitrator 121 at time T24. If time T24 falls between time T21 and time T22, that is, if the first time of execution of the first instruction indicated by the first instruction sent by the master modem falls within the second time period of execution of the second instruction, then the arbitrator 121 sends a Seq_enhance_clr signal to the second storage unit 123 to clear the second instruction stored in the second storage unit 123. This prevents the RF front-end module 13 from reading the second instruction in the second storage unit 123, and thus prevents it from executing the second instruction. The RF front-end module 13 avoids the situation where it needs to execute the second instruction while executing the first instruction, thus avoiding a conflict between the first and second instructions.

[0125] Optionally, the arbitrator 121 may also send a de-enable instruction to the second storage unit 123.

[0126] Since the second instruction in the second storage unit 123 is being executed by the RF front-end module 13, if the execution of the first instruction starts based on the Seq_master_en signal, even though the Seq_enhance_clr signal to clear the second instruction stored in the second storage unit 123 has already been sent, there is still a risk that the first and second instructions will be executed simultaneously. In this case, the arbitrator 121 can also send a de-enable instruction to the second storage unit 123, such as the Seq_enhance_disable_en signal. Based on the Seq_enhance_disable_en signal, the RF front-end module 13 immediately stops executing the second instruction, thus further avoiding the conflict between the first and second instructions.

[0127] Understandably, the master modem can send multiple first commands, and the enhancement modem can send multiple second commands. In this case, the number of first storage units 122 can be multiple, and the number of second storage units 123 can also be multiple.

[0128] For example, such as Figure 8 As shown, the RF channel controller 12 includes n second storage units and m first storage units. The number of n and m can be the same or different; this embodiment does not impose such a limitation. If the RF front-end module 13 includes 4 channels, such as... Figure 8 As shown, these are the transmit channel TX0, transmit channel TX1, receive channel RX0, and receive channel RX1, respectively. Each of the n second storage units can be connected to one of the transmit channels TX0, TX1, RX0, and RX1, respectively. The transmit channels TX0, TX1, RX0, and RX1 can read and execute the second instructions stored in the second storage units, configuring them. Similarly, each of the m first storage units can be connected to one of the transmit channels TX0, TX1, RX0, and RX1, respectively. The transmit channels TX0, TX1, RX0, and RX1 can read and execute the first instructions stored in the first storage units, configuring them.

[0129] Optionally, multiple first instructions can be stored in a first storage unit. The multiple first instructions stored in the same first storage unit can be configuration instructions for a device in the RF front-end module 13. For example, multiple first instructions are stored in the first storage unit 2, and these first instructions are all configuration instructions for a power amplifier in the RF front-end module 13.

[0130] Optionally, multiple second instructions can be stored in a second storage unit. The multiple second instructions stored in the same second storage unit can be configuration instructions for a device in the RF front-end module 13. For example, multiple second instructions are stored in the second storage unit 1, and these second instructions are all configuration instructions for an RF switch in the RF front-end module 13.

[0131] When a first memory cell contains multiple first instructions, it is usually necessary to sort the multiple first instructions so that the multiple first instructions in the first memory cell can be executed sequentially.

[0132] Similarly, when a second memory cell contains multiple second instructions, it is usually necessary to sort the multiple second instructions so that the multiple second instructions in the second memory cell can be executed sequentially.

[0133] Since the master modem is usually the main modem that transmits signals, and the enhance modem is usually the auxiliary modem that supplements the transmission of signals, the master modem usually has more functions and the enhance modem usually has simpler functions.

[0134] In some possible cases, the master modem has the function of sorting instructions. When sending the first instruction to the first storage unit, the master modem can sort the first instruction sent so that the multiple first instructions stored in the first storage unit can be executed by the radio frequency front-end module 13 in sequence.

[0135] In some cases, the enhancement modem may not have the function of sorting instructions. When sending multiple second instructions to the second storage unit, the enhancement modem cannot sort the sent second instructions. In this case, it is necessary to sort the received second instructions through the second storage unit so that the multiple second instructions in the second storage unit can be executed by the RF front-end module 13 in a preset order.

[0136] For example, such as Figure 9 As shown, Enhance Modem sends a second instruction 01 to a second storage unit. As described above, each second instruction carries a second timestamp, which indicates the time when the second instruction was executed. The second storage unit can read the second timestamp 01 carried in the second instruction 01. When Enhance Modem sends a second instruction 02 to the second storage unit again, the second storage unit can read the second timestamp 02 carried in the second instruction 02. Then, the second storage unit can compare the second timestamp 01 and the second timestamp 02. If the time indicated by the second timestamp 01 is earlier than the time indicated by the second timestamp 02, then the second instructions 01 are ordered according to precedence over the second instructions 02. Figure 9 As shown in (a). If the time indicated by the second timestamp 01 is after the time indicated by the second timestamp 02, then the order is based on the second instruction 01 following the second instruction 02, as follows. Figure 9 As shown in (b) of the diagram.

[0137] Taking the time indicated by the second timestamp 01 before the time indicated by the second timestamp, and sorting according to the second instruction 01 before the second instruction 02 as an example, we will continue to explain.

[0138] When the enhancement modem sends the second instruction 03 to the second storage unit again, the second storage unit can read the second timestamp 03 carried in the second instruction 03. Then, the second storage unit can first compare the second timestamp 03 with the second timestamp 02. If the time indicated by the second timestamp 03 is before the time indicated by the second timestamp 02, then the second instruction 03 is set before the second instruction 02. Next, the second storage unit compares the second timestamp 03 with the second timestamp 01. If the time indicated by the second timestamp 03 is after the time indicated by the second timestamp 01, then the second instruction 03 is set after the second instruction 01. Figure 9 As shown in (a) in the figure.

[0139] Each time the Enhance Modem sends a second instruction to the second storage unit, it can compare the instructions in the above manner to determine the order of the sent instructions.

[0140] Optionally, the first timestamp can be the count value of a timer in the electronic device, and the second timestamp can also be the count value of a timer in the electronic device.

[0141] In this embodiment of the application, when the enhancement modem cannot sort the second instructions, the second timestamp in each second instruction can be read through the second storage unit, and the multiple second instructions in the second storage unit can be sorted according to the order of the second time indicated by the second timestamp, so that when the radio frequency front-end module executes the second instructions in the second storage unit, it can execute each second instruction in chronological order.

[0142] Figure 10 This is a flowchart illustrating a signal receiving method provided in an embodiment of this application. The method is applied to a system including, for example... Figure 3 In the electronic devices with the radio frequency channel shown, such as Figure 10 As shown, the method includes:

[0143] S101, the first modem sends a first command to the radio frequency front-end module through the radio frequency channel controller.

[0144] S102, the second modem sends a second command to the radio frequency front-end module through the radio frequency channel controller.

[0145] S103, the RF channel controller sends the first and second instructions to the RF front-end module in a preset priority order.

[0146] S104. The radio frequency front-end module is configured according to the first instruction so that the radio frequency front-end module receives the first signal from the antenna, or the radio frequency front-end module is configured according to the second instruction so that the radio frequency front-end module receives the second signal from the antenna.

[0147] The implementation method and beneficial effects of this method are the same as those described above. Figures 3 to 9 The embodiments shown are similar and will not be described again here.

[0148] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0149] It is understood that, in order to achieve the above functions, the electronic device includes hardware and / or software modules that perform the respective functions. Based on the algorithmic steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented in 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.

[0150] This application embodiment can divide an electronic device into functional modules based on the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one module. It should be noted that the module division in this application embodiment is illustrative and represents only one logical functional division; other division methods may be used in actual implementation. It should also be noted that the module names in this application embodiment are illustrative, and the names of the modules are not limited in actual implementation.

[0151] Figure 11 This is a schematic diagram of a signal receiving device provided in an embodiment of this application.

[0152] It should be understood that the signal receiving device 600 can perform... Figure 10 The signal receiving method shown; the signal receiving device 600 includes: an acquisition unit 610 and a processing unit 620.

[0153] The processing unit 620 can be used to control the first modem to send a first instruction to the RF front-end module through the RF channel controller; the second modem to send a second instruction to the RF front-end module through the RF channel controller; the RF channel controller sends the first instruction and the second instruction to the RF front-end module in a preset priority order; the RF front-end module is configured according to the first instruction to receive the first signal from the antenna, and is configured according to the second instruction to receive the second signal from the antenna; the first signal and the second signal are combined to obtain the received signal of the RF channel.

[0154] The signal receiving device provided in this embodiment is used to execute the signal receiving method of the above embodiment. The technical principle and technical effect are similar, and will not be described again here.

[0155] It should be noted that the aforementioned signal receiving device 600 is embodied in the form of a functional unit. The term "unit" here can be implemented in software and / or hardware, and there is no specific limitation on this.

[0156] For example, a "unit" can be a software program, a hardware circuit, or a combination of both that implements the above functions. The hardware circuit may include an application-specific integrated circuit (ASIC), electronic circuitry, a processor (e.g., a shared processor, a proprietary processor, or a group processor) and memory for executing one or more software or firmware programs, integrated logic circuitry, and / or other suitable components that support the described functions.

[0157] Therefore, the units of the various examples described in the embodiments of this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software 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, but such implementation should not be considered beyond the scope of this application.

[0158] Figure 12 A schematic diagram of the structure of an electronic device provided in this application is shown. Figure 12 The dashed lines indicate that the unit or module is optional. The electronic device 700 can be used to implement the signal receiving method described in the above method embodiments.

[0159] The electronic device 700 includes one or more processors 701, which support the implementation of the signal receiving method in the method embodiments of the electronic device 700. The processor 701 can be a general-purpose processor or a special-purpose processor. For example, the processor 701 can be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.

[0160] The processor 701 can be used to control the electronic device 700, execute software programs, and process data from the software programs. The electronic device 700 may also include a communication unit 705 for inputting (receiving) and outputting (transmitting) signals.

[0161] For example, electronic device 700 may be a chip, communication unit 705 may be the input and / or output circuit of the chip, or communication unit 705 may be the communication interface of the chip, and the chip may be a component of terminal device or other electronic device.

[0162] For example, electronic device 700 can be a terminal device, communication unit 705 can be the transceiver of the terminal device, or communication unit 705 can be the transceiver circuit of the terminal device.

[0163] The electronic device 700 may include one or more memories 702, which store a program 704. The program 704 can be executed by the processor 701 to generate instructions 703, causing the processor 701 to execute the impedance matching method described in the above method embodiments according to the instructions 703.

[0164] Optionally, the memory 702 may also store data. Optionally, the processor 701 may also read the data stored in the memory 702, which may be stored at the same memory address as the program 704, or the data may be stored at a different memory address than the program 704.

[0165] The processor 701 and memory 702 can be configured separately or integrated together; for example, integrated on the system on chip (SOC) of the terminal device.

[0166] For example, the memory 702 can be used to store the relevant program 704 of the signal receiving method provided in the embodiments of this application, and the processor 701 can be used to call the relevant program 704 of the signal receiving method stored in the memory 702 when performing image restoration, and execute the signal receiving method of the embodiments of this application; including: controlling a first modem to send a first instruction to a radio frequency front-end module through a radio frequency channel controller; a second modem to send a second instruction to the radio frequency front-end module through a radio frequency channel controller; the radio frequency channel controller sending the first instruction and the second instruction to the radio frequency front-end module in a preset priority order; the radio frequency front-end module configuring the radio frequency front-end module according to the first instruction so that the radio frequency front-end module receives a first signal from the antenna, and configuring the radio frequency front-end module according to the second instruction so that the radio frequency front-end module receives a second signal from the antenna; and merging the first signal and the second signal to obtain the received signal of the radio frequency channel.

[0167] This application also provides a computer program product that, when executed by processor 701, implements the signal receiving method described in any of the method embodiments of this application.

[0168] The computer program product can be stored in memory 702, for example, program 704. Program 704 is finally converted into an executable object file that can be executed by processor 701 after processing such as preprocessing, compilation, assembly and linking.

[0169] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer, implements the signal receiving method described in any of the method embodiments of this application. The computer program may be a high-level language program or an executable object program.

[0170] The computer-readable storage medium is, for example, memory 702. Memory 702 can be volatile memory or non-volatile memory, or memory 702 can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0171] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0172] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0173] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software 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, but such implementation should not be considered beyond the scope of this application.

[0174] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0175] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for example, the division of units is merely a logical functional division, and other division methods may exist in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0176] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0177] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0178] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A radio frequency channel, characterized in that, The radio frequency channel is used in an electronic device, which includes the radio frequency channel and an antenna. The radio frequency channel includes a first modem, a second modem, a radio frequency channel controller, and a radio frequency front-end module. The first modem and the second modem are respectively connected to the radio frequency channel controller, the radio frequency channel controller is connected to the radio frequency front-end module, and the radio frequency front-end module is connected to the antenna. Wherein, the first modem is used to send a first instruction to the RF front-end module through the RF channel controller, and the second modem is used to send a second instruction to the RF front-end module through the RF channel controller. The RF channel controller is used to send the first instruction and the second instruction to the RF front-end module in a preset priority order. The RF front-end module is used to configure the RF front-end module according to the first instruction so that the RF front-end module receives the first signal from the antenna, or to configure the RF front-end module according to the second instruction so that the RF front-end module receives the second signal from the antenna.

2. The radio frequency channel according to claim 1, characterized in that, The RF channel controller includes a first storage unit, a second storage unit, and an arbitrator. The first storage unit is used to store the first instruction, the second storage unit is used to store the second instruction, and the arbitrator is used to send the first instruction and the second instruction to the RF front-end module in a preset priority order.

3. The radio frequency channel according to claim 2, characterized in that, The first modem is the primary modem, and the second modem is the secondary modem. The first command has a higher priority than the second command.

4. The radio frequency channel according to claim 2 or 3, characterized in that, The number of first storage units is multiple, and the number of second storage units is multiple.

5. A signal receiving method, characterized in that, The method is applied to an electronic device, which includes a radio frequency (RF) channel and an antenna. The RF channel includes a first modem, a second modem, an RF channel controller, and an RF front-end module. The first modem and the second modem are respectively connected to the RF channel controller, the RF channel controller is connected to the RF front-end module, and the RF front-end module is connected to the antenna. The method includes: The first modem sends a first command to the radio frequency front-end module through the radio frequency channel controller; The second modem sends a second command to the radio frequency front-end module through the radio frequency channel controller; The RF channel controller sends the first instruction and the second instruction to the RF front-end module in a preset priority order; The radio frequency front-end module is configured according to the first instruction to receive a first signal from the antenna, or the radio frequency front-end module is configured according to the second instruction to receive a second signal from the antenna.

6. The method according to claim 5, characterized in that, The RF channel controller includes a first storage unit, a second storage unit, and an arbitrator. The first storage unit stores the first instruction, and the second storage unit stores the second instruction. The RF channel controller sends the first instruction and the second instruction to the RF front-end module according to a preset priority order, including: The arbitrator sends the first instruction and the second instruction to the radio frequency front-end module in a preset priority order.

7. The method according to claim 6, characterized in that, The arbitrator sends the first instruction and the second instruction to the radio frequency front-end module in a preset priority order, including: If the first moment indicated by the first instruction is before the second moment indicated by the second instruction, the arbitrator blocks the enable signal sent by the RF front-end module so that the RF front-end module cannot execute the second instruction based on the enable signal of the second instruction. The first moment is the start time of executing the first instruction, and the second moment is the start time of executing the second instruction.

8. The method according to claim 7, characterized in that, The arbitrator sends the first instruction and the second instruction to the radio frequency front-end module in a preset priority order, and further includes: The arbitrator sends a first clear instruction to the second storage unit, and the second storage unit clears the second instruction based on the first clear instruction.

9. The method according to claim 6, characterized in that, The arbitrator sends the first instruction and the second instruction to the radio frequency front-end module in a preset priority order, including: If the first moment indicated by the first instruction falls within the second time period, the arbitrator sends a second clear instruction to the second storage unit, and the second storage unit clears the second instruction based on the second clear instruction. The first moment refers to the start time of executing the first instruction, and the second time period refers to the time period during which the second instruction is executed.

10. The method according to claim 9, characterized in that, The arbitrator sends the first instruction and the second instruction to the radio frequency front-end module in a preset priority order, and further includes: The arbitrator sends a de-enable signal to the second storage unit, and the second storage unit clears the enable signal of the second instruction based on the de-enable signal.

11. The method according to any one of claims 6 to 10, characterized in that, The first modem is the primary modem, and the second modem is the secondary modem. There are multiple first commands and multiple second commands.

12. The method according to claim 11, characterized in that, The main modem sorts the multiple first instructions according to the execution time sequence of each first instruction to obtain a sorted first instruction group, and the main modem sends the sorted first instruction group to the first storage unit.

13. The method according to claim 12, characterized in that, The radio frequency front-end module reads the sorted first instruction group from the first storage unit and executes the first instruction in the sorted first instruction group in sequence.

14. The method according to claim 10, characterized in that, When the secondary modem sends the second instruction to the second storage unit, the second storage unit sorts the multiple second instructions in the second storage unit according to the second timestamp carried in the second instruction and the second timestamp carried in the previous second instruction, and obtains a sorted second instruction group.

15. The method according to claim 14, characterized in that, The radio frequency front-end module reads the sorted second instruction group from the second storage unit and executes the second instruction in the sorted second instruction group in sequence.

16. An electronic device, characterized in that, The electronic device includes a radio frequency channel for performing any one of claims 1 to 4.

17. An electronic device, characterized in that, include: One or more processors; Memory; And one or more computer programs, wherein the one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 5 to 15.

18. A chip system, characterized in that, The chip system includes a processor for calling and running a computer program from memory, causing an electronic device on which the chip system is installed to perform the method as described in any one of claims 5 to 15.

Citation Information

Patent Citations

  • Mobile communication terminal and corresponding control method

    CN101032090A

  • Resource distribution method and communication terminal

    CN105916208A

  • Signal processing circuit and device and communication mode processing method

    CN110337817A

  • Radio frequency front-end circuit, control method and terminal equipment

    CN118413242A

  • Resource allocation method and communications terminal

    US20170303290A1