Electronic device
By designing the first processing device and the second processing device in the electronic device to generate and execute the switching control information, the problem of the time-consuming switching of the electronic device between the WiFi radio frequency circuit and the cellular radio frequency circuit is solved, and a more efficient switching process is achieved.
Patent Information
- Application Number
- CN202510315645.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-17
- Publication Date
- 2025-06-06
AI Technical Summary
There is a time-consuming problem for existing electronic devices to switch between WiFi RF circuits and cellular RF circuits.
An electronic device is designed, including a first processing device, a second processing device, a WiFi radio frequency circuit and a cellular radio frequency circuit. The first processing device generates switching control information based on the signals transmitted by the two radio frequency circuits and transmits it to the second processing device. The second processing device controls the target radio frequency circuit in the communication state according to the switching control information.
Through the clear division of labor, the connection between the processing device and the RF circuit is improved, and the switching efficiency of electronic devices between the WiFi RF circuit and the cellular RF circuit is reduced.
Smart Images

Figure CN120110431A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to an electronic equipment. Background Art
[0002] WiFi radio frequency circuit and cellular radio frequency circuit are two independent wireless circuits in electronic devices. In many practical application scenarios, electronic devices need to switch between using WiFi radio frequency circuit for communication and using cellular radio frequency circuit for communication. However, the current electronic devices have the problem of taking a long time to switch between WiFi radio frequency circuit and cellular radio frequency circuit. Summary of the invention
[0003] Based on this, it is necessary to provide an electronic device that can reduce the switching time between WiFi radio frequency circuits and cellular radio frequency circuits to address the above technical problems.
[0004] In a first aspect, the present application provides an electronic device. The electronic device includes a first processing device, a second processing device, a WiFi radio frequency circuit, and a cellular radio frequency circuit; the WiFi radio frequency circuit and the cellular radio frequency circuit are respectively connected to the first processing device, and are respectively connected to the second processing device, and the first processing device is connected to the second processing device; the first processing device is used to generate switching control information according to the signals transmitted by the WiFi radio frequency circuit and the cellular radio frequency circuit, and transmit the switching control information to the second processing device; the second processing device is used to control the target radio frequency circuit in the WiFi radio frequency circuit and the cellular radio frequency circuit to be in a communication state according to the switching control information.
[0005] The electronic device includes a first processing device, a second processing device, a WiFi radio frequency circuit, and a cellular radio frequency circuit; the WiFi radio frequency circuit and the cellular radio frequency circuit are respectively connected to the first processing device, and are respectively connected to the second processing device, and the first processing device is connected to the second processing device; the first processing device is used to generate switching control information according to the signals transmitted by the WiFi radio frequency circuit and the cellular radio frequency circuit, and transmit the switching control information to the second processing device; the second processing device is used to control the target radio frequency circuit in the WiFi radio frequency circuit and the cellular radio frequency circuit to be in a communication state according to the switching control information. In this way, for the first processing device and the second processing device, since the process of generating switching control information and controlling the target radio frequency circuit to work based on the switching control information is respectively executed, the computing power of the first processing device can be mainly used for the process of generating switching control information, and the switching control information is generated more efficiently; the computing power of the second processing device is also mainly used for controlling the target radio frequency circuit to work based on the switching control information, and the target radio frequency circuit is controlled to work more efficiently. Overall, the combination of the first processing device and the second processing device can more efficiently control the work of the target radio frequency circuit, thereby improving the efficiency of the electronic device switching between the WiFi radio frequency circuit and the cellular radio frequency circuit and reducing the time consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0007] Figure 1 is a schematic diagram of the structure of an electronic device in one embodiment;
[0008] Figure 2 is a schematic structural diagram of another electronic device in one embodiment;
[0009] Figure 3 is a schematic structural diagram of another electronic device in one embodiment;
[0010] Figure 4 is a structural block diagram of a FBRX circuit in one embodiment;
[0011] Figure 5 is a structural block diagram of a radio frequency chip in an embodiment;
[0012] Figure 6 is a schematic structural diagram of another electronic device in one embodiment;
[0013] Figure 7is a schematic structural diagram of another electronic device in one embodiment;
[0014] Figure 8 A schematic diagram of a switching control architecture in an embodiment;
[0015] Fig. 9 A schematic diagram of a switching control flow in an embodiment;
[0016] Fig.10 is a schematic structural diagram of another electronic device in one embodiment;
[0017] Fig.11 is a schematic structural diagram of another electronic device in one embodiment;
[0018] Fig.12 A schematic diagram of another switching control flow in one embodiment;
[0019] Fig.13 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0022] In the description of the present application, “plurality” means at least two, for example, two, three, etc., unless otherwise clearly and specifically defined.
[0023] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0024] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.
[0025] It can be understood that “at least one” means one or more, “plurality” means two or more, and “at least a portion of an element” means a part or all of an element.
[0026] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.
[0027] WiFi radio frequency circuit and cellular radio frequency circuit are two independent wireless circuits in electronic devices. In many scenarios of actual application, there are situations where electronic devices need to switch between using WiFi radio frequency circuit for communication and using cellular radio frequency circuit for communication. Specifically, when both the WiFi communication function and the cellular communication function of the electronic device are turned on, the electronic device will automatically choose one to communicate in different scenarios. For example, when a user carries an electronic device and walks back and forth between an elevator and an office, due to the WiFi coverage in the office, the electronic device selects the WiFi communication function in the office, that is, the WiFi radio frequency circuit works, and in the elevator, the electronic device selects the cellular communication function, that is, the cellular radio frequency circuit works. There are many similar scenarios.
[0028] However, the inventors of the present application have discovered that current electronic devices have the problem of taking a long time to switch between WiFi radio frequency circuits and cellular radio frequency circuits.
[0029] In view of this, an embodiment of the present application provides an electronic device, including a first processing device, a second processing device, a WiFi radio frequency circuit, and a cellular radio frequency circuit; the WiFi radio frequency circuit and the cellular radio frequency circuit are respectively connected to the first processing device, and are respectively connected to the second processing device, and the first processing device is connected to the second processing device; the first processing device is used to generate switching control information according to the signals transmitted by the WiFi radio frequency circuit and the cellular radio frequency circuit, and transmit the switching control information to the second processing device; the second processing device is used to control the target radio frequency circuit in the WiFi radio frequency circuit and the cellular radio frequency circuit to be in a communication state according to the switching control information. In this way, for the first processing device and the second processing device, since the process of generating switching control information and controlling the target radio frequency circuit to work based on the switching control information is respectively executed, the computing power of the first processing device can be mainly used for the process of generating switching control information, and the switching control information is generated more efficiently; the computing power of the second processing device is also mainly used for controlling the target radio frequency circuit to work based on the switching control information, and the target radio frequency circuit is controlled to work more efficiently. Overall, the combination of the first processing device and the second processing device can more efficiently control the work of the target radio frequency circuit, thereby improving the efficiency of the electronic device switching between the WiFi radio frequency circuit and the cellular radio frequency circuit and reducing the time consumption.
[0030] It should be noted that the electronic device can be any device that includes a WiFi radio frequency circuit and a cellular radio frequency circuit. For example, the electronic device can be a laptop computer, a smart phone, a tablet computer, an Internet of Things device, and a portable wearable device, etc. Among them, the Internet of Things device can be a smart speaker, a smart car-mounted device, etc., and the portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc., which are not fully exemplified here.
[0031] Please refer to Figure 1 , shows a schematic diagram of the structure of an electronic device. The electronic device includes a first processing device, a second processing device, a WiFi radio frequency circuit, and a cellular radio frequency circuit; the WiFi radio frequency circuit and the cellular radio frequency circuit are respectively connected to the first processing device, and are respectively connected to the second processing device, and the first processing device is connected to the second processing device.
[0032] The first processing device is used to generate switching control information according to the signals transmitted by the WiFi radio frequency circuit and the cellular radio frequency circuit respectively, and transmit the switching control information to the second processing device.
[0033] The second processing device is used to control the target radio frequency circuit in the WiFi radio frequency circuit and the cellular radio frequency circuit to be in a communication state according to the switching control information.
[0034] Among them, the first processing device is connected to both the WiFi radio frequency circuit and the cellular radio frequency circuit, so it can generate switching control information according to the signals transmitted by the WiFi radio frequency circuit and the cellular radio frequency circuit respectively.
[0035] Exemplarily, the WiFi RF circuit and the cellular RF circuit respectively extract detection signals based on the signals transmitted by themselves, and send the detection signals to the first processing device, so that the first processing device generates switching control information based on the detection signals transmitted by the two RF circuits.
[0036] In an embodiment of the present application, the first processing device determines the current working quality of the WiFi RF circuit and the cellular RF circuit based on the signals transmitted by the WiFi RF circuit and the cellular RF circuit respectively, thereby knowing the one with the best working quality between the WiFi RF circuit and the cellular RF circuit, and taking it as the target RF circuit, and then generating switching control information for the target RF circuit, and the switching control information can instruct the second processing device to control the target RF circuit to be in a communication state, that is, to achieve the control of a RF circuit with better working quality to be in a communication state.
[0037] It can be understood that, in a possible implementation, the determined target RF circuit is a RF circuit that is currently in a communication state, and controlling the target RF circuit to be in a communication state at this time means controlling the target RF circuit to continue to be in a communication state, and there is no action of switching the RF circuit. For example, if the current cellular RF circuit is in a communication state, and the target RF circuit is determined to be a cellular RF circuit, the second processing device controls the cellular RF circuit to continue to be in a communication state.
[0038] In another possible implementation, the determined target RF circuit is not the RF circuit currently in the communication state. In this case, controlling the target RF circuit to be in the communication state means controlling the target RF circuit to be in the communication state, and controlling the currently working RF circuit to be not in the communication state. In this case, there is an action of switching the RF circuit. For example, the current cellular RF circuit is in the communication state, and the target RF circuit is determined to be a WiFi RF circuit, then the second processing device controls the WiFi RF circuit to be in the communication state, and the cellular RF state is switched to not in the communication state.
[0039] It should be noted that when the RF circuit is in a communication state, it means that the electronic device communicates with other devices based on the RF circuit with actual data interaction, that is, the electronic device calls network resources based on the RF circuit. When the RF circuit is not in a communication state, it means that the electronic device does not communicate with other devices based on the RF circuit with actual data interaction, that is, the electronic device does not call network resources based on the RF circuit. Optionally, when the RF circuit is not in a communication state, the RF circuit can still work. At this time, the RF circuit can output a monitoring signal to ensure that the basic functions of the RF circuit are maintained normally. For example, the cellular RF circuit communicates with the base station through the output cellular monitoring signal to ensure that when the electronic device needs to perform cellular communication, it can perform cellular communication in a timely and effective manner; similarly, the WiFi RF circuit communicates with routers and the like through the output WiFi monitoring signal to ensure that when the electronic device needs to perform WiFi communication, it can perform WiFi communication in a timely and effective manner to avoid disconnection.
[0040] In an optional embodiment of the present application, at the same time, one of the cellular radio frequency circuit and the WiFi radio frequency circuit is in a communication state. That is, the electronic device calls network resources based on one of the cellular radio frequency circuit and the WiFi radio frequency circuit at the same time.
[0041] Exemplarily, when the WiFi radio frequency circuit is in a communication state, the cellular radio frequency circuit is not in a communication state. Optionally, as can be seen from the above, the cellular radio frequency circuit can transmit a cellular monitoring signal at this time.
[0042] Exemplarily, when the cellular radio frequency circuit is in a communication state, the WiFi radio frequency circuit is not in a communication state. Optionally, as can be seen from the above, the WiFi radio frequency circuit can transmit the WiFi monitoring signal at this time.
[0043] In an optional embodiment of the present application, the first processing device may be a radio frequency chip in a radio frequency system of an electronic device that is dedicated to processing radio frequency signals. In this way, based on the radio frequency chip, it is possible to more efficiently generate switching control information based on the signals transmitted by the WiFi radio frequency circuit and the cellular radio frequency circuit, thereby improving the efficiency of controlling the target radio frequency circuit to communicate, improving the efficiency of the electronic device switching between the cellular radio frequency circuit and the WiFi radio frequency circuit, and reducing time consumption.
[0044] The electronic device includes a first processing device, a second processing device, a WiFi radio frequency circuit, and a cellular radio frequency circuit; the WiFi radio frequency circuit and the cellular radio frequency circuit are respectively connected to the first processing device, and are respectively connected to the second processing device, and the first processing device is connected to the second processing device; the first processing device is used to generate switching control information according to the signals transmitted by the WiFi radio frequency circuit and the cellular radio frequency circuit, and transmit the switching control information to the second processing device; the second processing device is used to control the target radio frequency circuit in the WiFi radio frequency circuit and the cellular radio frequency circuit to be in a communication state according to the switching control information. In this way, for the first processing device and the second processing device, since the process of generating switching control information and controlling the target radio frequency circuit to work based on the switching control information is respectively executed, the computing power of the first processing device can be mainly used for the process of generating switching control information, and the switching control information is generated more efficiently; the computing power of the second processing device is also mainly used for controlling the target radio frequency circuit to work based on the switching control information, and the target radio frequency circuit is controlled to work more efficiently. Overall, the combination of the first processing device and the second processing device can more efficiently control the work of the target radio frequency circuit, thereby improving the efficiency of the electronic device switching between the WiFi radio frequency circuit and the cellular radio frequency circuit and reducing the time consumption.
[0045] In one embodiment, the second processing device includes an application processor.
[0046] That is, the application processor can be used as the second processing device. The application processor (AP) is a chip that integrates multiple functional modules and is mainly responsible for running the operating system, user interface and various applications. An application processor is usually provided in an electronic device. The application processor is connected to the WiFi RF circuit and the cellular RF circuit, so the application processor can be used to directly control the target RF circuit to be in a communication state.
[0047] In a possible implementation, the electronic device further includes a WiFi receiver connected between the application processor and the WiFi radio frequency circuit, and the electronic device further includes a cellular receiver connected between the application processor and the cellular radio frequency circuit. That is, the WiFi radio frequency circuit is connected to the second processing device (application processor) through the WiFi receiver; the cellular radio frequency circuit is connected to the second processing device (application processor) through the cellular receiver.
[0048] In addition, the WiFi radio frequency circuit includes multiple WiFi radio frequency devices; and the cellular radio frequency circuit includes multiple cellular radio frequency devices.
[0049] Based on this, the application processor receives the switching control information, and controls the target RF circuit and the receiver connected to the target RF circuit to be in a communication state according to the switching control information. For example, the application processor controls the target RF circuit and the receiver connected to the target RF circuit to be in a communication state according to the switching control information; for another example, the receiver has the ability to control the RF circuit connected to it to be in a communication state, so the application processor controls the receiver connected to the target RF circuit to be in a communication state according to the switching control information, and the receiver continues to control the target RF circuit to be in a communication state.
[0050] In another possible implementation, the WiFi radio frequency circuit includes a WiFi receiver and a plurality of WiFi radio frequency devices connected to the WiFi receiver. The cellular radio frequency circuit includes a cellular receiver and a plurality of cellular radio frequency devices connected to the cellular receiver.
[0051] In the optional embodiments of the present application, multiple WiFi radio frequency devices include, for example, a power amplifier (PA), a low noise amplifier (LNA), a surface acoustic wave filter (SAW filter), a radio frequency switch, a duplexer, an antenna, etc. for processing signals transmitted by a WiFi radio frequency circuit, which are not fully exemplified herein. Multiple cellular radio frequency devices include, for example, a power amplifier PA, a low noise amplifier LNA, a surface acoustic wave filter SAW, a radio frequency switch, a duplexer, an antenna, etc. for processing signals transmitted by a cellular radio frequency circuit, which are not fully exemplified herein.
[0052] Based on this, the application processor can control the receiver connected to the target radio frequency circuit to be in a communication state according to the switching control information, and the receiver continues to control the target radio frequency circuit to be in a communication state.
[0053] As mentioned above, both the WiFi RF circuit and the cellular RF circuit include antennas. In an optional embodiment of the present application, the antennas in the WiFi RF circuit and the cellular RF circuit may be the same antenna, that is, the WiFi RF circuit and the cellular RF circuit share one antenna. Alternatively, the WiFi RF circuit and the cellular RF circuit each include different antennas. Please refer to Figure 2 and Figure 3 , respectively show the structural schematic diagrams of electronic devices under different antenna settings, wherein when the WiFi radio frequency circuit and the cellular radio frequency circuit share the antenna, such as Figure 2 As shown, the antenna is connected to two radio frequency circuits respectively through a combiner.
[0054] In the embodiment of the present application, only the application processor is used to execute the action of controlling the target RF circuit to be in a communication state, which can not only use the existing connection relationship between the application processor and the target RF circuit for efficient control, but also will not occupy too much computing power of the application processor.
[0055] In one embodiment, the second processing device includes a WiFi receiver connected to the WiFi radio frequency circuit and a cellular receiver connected to the cellular radio frequency circuit.
[0056] That is, the WiFi receiver and the cellular receiver can be used as the second processing device, and the first processing device is connected to the WiFi receiver and the cellular receiver. If the WiFi RF circuit is used as the target RF circuit, the WiFi receiver can be used to control the target RF circuit to be in a communication state; if the cellular RF circuit is used as the target RF circuit, the cellular receiver can be used to control the target RF circuit to be in a communication state.
[0057] In an optional embodiment of the present application, when the second processing device includes a WiFi receiver and a cellular receiver, the first processing device is used to transmit switching control information to a target receiver connected to the target radio frequency circuit; the target receiver is used to control the target radio frequency circuit to be in a communication state after receiving the switching control information.
[0058] Exemplarily, when the WiFi receiver receives the switching control information, the WiFi receiver can control each RF device in the WiFi RF circuit to be in an on state, so that the WiFi RF circuit is in a communication state. When the cellular receiver receives the switching control information, the cellular receiver can control each RF device in the cellular RF circuit to be in an on state, so that the cellular RF circuit is in a communication state.
[0059] It is understandable that if a switching action needs to be performed, in addition to controlling the target RF circuit to be in a communication state, the non-target RF circuit must also be controlled not to be in a communication state. In an optional embodiment of the present application, in addition to sending switching control information to the target receiver connected to the target RF circuit, the first processing device may also send shutdown control information to another receiver connected to the non-target RF circuit, so that when the other receiver receives the shutdown control information, it controls each RF device in the RF circuit connected thereto to be in a shutdown state.
[0060] In the embodiment of the present application, a WiFi receiver and a cellular receiver are used to directly control the corresponding RF circuit. Since the WiFi receiver and the cellular receiver belong to the same RF system as the first processing device, the switching control information can be more efficiently transmitted to the WiFi receiver and the cellular receiver compared to control based on the application processor, thereby improving the efficiency of the switching process.
[0061] In one embodiment, the WiFi radio frequency circuit includes a first coupler connected to the first processing device, and the cellular radio frequency circuit includes a second coupler connected to the first processing device.
[0062] Among them, the coupler can transfer a signal from one circuit or system to another while maintaining the integrity and stability of the signal. It can distribute one signal to multiple output ports, or it can combine multiple signals into one output.
[0063] As mentioned above, the WiFi radio frequency circuit and the cellular radio frequency circuit respectively extract detection signals based on the signals transmitted by themselves.
[0064] In an embodiment of the present application, a coupler is used to extract the detection signal from the signal transmitted by the RF circuit, and the detection signal is sent to the first processing device to assist the first processing device in determining a target RF circuit with better current working quality based on the detection signal while ensuring that the RF circuit transmits the signal normally.
[0065] In the embodiment of the present application, the first coupler is a device in a FBRX (Feedback RX) circuit of a WiFi radio frequency circuit, and the second coupler is a device in a FBRX circuit of a cellular radio frequency circuit.
[0066] Among them, the FBRX circuit is a key component in wireless communication systems, and is usually used for closed-loop feedback of RF transmitters (RF transmitters) to ensure the quality and accuracy of transmitted signals. Its main function is to extract a portion of the signal from the transmission path and send it back to the baseband or intermediate frequency (IF) for processing and analysis. Its main functions include: 1. Signal monitoring and calibration: used to monitor the characteristics of the output signal, including power, spectrum, error vector magnitude (EVM), etc., to ensure that the transmitted signal meets the expected standards and specifications. 2. Linearization: Through feedback, the nonlinear distortion of the RF power amplifier (PA) can be detected and compensated to improve the linearity of the overall system. 3. Adaptive pre-distortion (DPD, Digital Pre-Distortion): The pre-distortion algorithm can be adjusted according to the feedback signal to compensate for nonlinear distortion. 4. Transmit power control: By monitoring the feedback signal, the transmit power can be adjusted in real time to keep it within the specified range. Such as Figure 4The figure shows the block diagram of the FBRX circuit, which includes a low noise amplifier LNA, a detector and a coupler. Detector: Also known as a phase detector or demodulator, it is used to extract the original information signal from the modulated signal; the main function of the detector is to convert the modulated signal into a low-frequency baseband signal for further processing or direct use. LNA is mainly used to amplify the detected signal. The coupler can be used to extract signals from the transmit link or the receive link, and is generally external or integrated in the RF front-end module, that is, integrated in the RF circuit of this application.
[0067] The first coupler is used to obtain a first signal according to a WiFi signal transmitted by the WiFi radio frequency circuit, and send the first signal to a first processing device.
[0068] The detection signal extracted by the WiFi radio frequency circuit is the first signal.
[0069] In one possible implementation, when extracting the first signal, the WiFi radio frequency circuit is in a communication state. At this time, the WiFi signal transmitted by the WiFi radio frequency circuit is a WiFi communication signal. The WiFi communication signal passes through the first coupler during the transmission process, and the first coupler extracts the first signal based on the WiFi communication signal.
[0070] In another possible implementation, the WiFi RF circuit is not in a communication state when extracting the first signal. At this time, the WiFi signal transmitted by the WiFi RF circuit is the WiFi monitoring signal mentioned above. The WiFi monitoring signal will pass through the first coupler during the transmission process, and the first coupler extracts the first signal based on the WiFi monitoring signal.
[0071] It is understandable that the WiFi signal transmitted by the WiFi radio frequency circuit may be a signal received or transmitted by the WiFi radio frequency circuit.
[0072] The second coupler is used to obtain a second signal according to the cellular signal transmitted by the cellular radio frequency circuit, and send the second signal to the first processing device.
[0073] The detection signal extracted by the cellular radio frequency circuit is the second signal.
[0074] In a possible implementation, the cellular radio frequency circuit is in a communication state when the second signal is extracted. At this time, the cellular signal transmitted by the cellular radio frequency circuit is a cellular communication signal. The cellular communication signal passes through the second coupler during the transmission process, and the second coupler extracts the second signal based on the cellular communication signal.
[0075] In two other possible implementations, the cellular RF circuit is not in a communication state when extracting the second signal. At this time, the cellular signal transmitted by the cellular RF circuit is the cellular monitoring signal mentioned above. The cellular monitoring signal passes through the second coupler during the transmission process, and the second coupler extracts the second signal based on the cellular monitoring signal.
[0076] It is understandable that the cellular signal transmitted by the cellular radio frequency circuit may be a signal received or transmitted by the cellular radio frequency circuit.
[0077] The first processing device is used to generate switching control information according to the first signal and the second signal.
[0078] In an optional embodiment of the present application, the first processing device is used to determine the RF circuit with the best working quality according to the signal quality of the first signal and the signal quality of the second signal, and use it as the target RF circuit, and then generate switching control information for controlling the target RF circuit to be in a communication state. Optionally, the signal quality can be characterized based on parameters such as signal power and phase.
[0079] In an embodiment of the present application, a first signal and a second signal are obtained based on a coupler provided in the RF circuit to ensure that the first signal and the second signal can characterize the working quality of the RF circuit, thereby accurately determining the target RF circuit based on the first signal and the second signal.
[0080] In one embodiment, a first processing device is used to obtain a first power of a first signal transmitted by a WiFi radio frequency circuit and a second power of a second signal transmitted by a cellular radio frequency circuit, determine a target radio frequency circuit based on the first power and the second power, and generate switching control information based on the target radio frequency circuit.
[0081] In an optional embodiment of the present application, as mentioned above, the first processing device is a radio frequency chip. The radio frequency chip includes a power detection unit and a calculation unit.
[0082] Among them, the RF chip is a proprietary chip developed specifically for improving RF performance. Its core functions are: first, by detecting the state of the front-end RF device and formulating a certain logical state to reversely control the RF device to achieve better performance; second, it can parse the input MIPI (Mobile Industry Processor Interface) instructions and then output new MIPI instructions to control the front-end device. Figure 5A structural block diagram of a radio frequency chip is shown. The power detection unit is used to detect and amplify the signal input to the unit to obtain the power of the signal. The instruction conversion unit is used to parse the input MIPI instruction and output a new instruction or pass the input instruction. The calculation unit (for example, a small CPU) is used to control the obtained MIPI instruction, calculate the obtained power, etc., and finally output the instruction that needs to be modified. In the embodiment of the present application, the power detection unit and the calculation unit in the radio frequency chip can be used to detect and generate switching control information.
[0083] The power detection unit is used to obtain the first power of the first signal transmitted by the WiFi radio frequency circuit and the second power of the second signal transmitted by the cellular radio frequency circuit, and transmit the first power and the second power to the calculation unit.
[0084] The calculation unit is used to determine the target radio frequency circuit according to the first power and the second power, generate switching control information according to the target radio frequency circuit, and transmit the switching control information to the second processing device.
[0085] By connecting the RF chip to the coupler, the purpose of using a small chip to complete the calculation process is achieved based on the units in the RF chip, which can save power consumption of electronic equipment and reduce system calculation time.
[0086] It is understandable that the application processor needs to make decisions and control multiple operating modules of the electronic device, and its remaining computing power takes priority. If the application processor obtains the first signal and the second signal, and determines the switching control information and controls the target RF circuit to be in a communication state based on the first signal and the second signal, the adjustment process of the entire link is very long and takes a long time, which is not conducive to the smooth switching of the electronic device between WiFi communication and cellular communication. The embodiment of the present application executes this process based on the RF chip, which can save the process of separate calculation of each system and save process time, and the power consumption of the RF chip during calculation is smaller, saving the power consumption of the electronic device, while the application processor only needs to execute the control process without performing calculations. For the application processor, computing power can be saved to ensure the stability and reliability of the application processor's control over other operating modules.
[0087] In one embodiment, the WiFi radio frequency circuit includes a WiFi antenna, and the cellular radio frequency circuit includes a cellular antenna. Both the WiFi antenna and the cellular antenna are connected to the first processing device.
[0088] That is, the WiFi antenna and the cellular antenna are not the same antenna, and both antennas are connected to the first processing device.
[0089] Optionally, the WiFi antenna and the cellular antenna are connected to the power detection unit, or directly connected to the computing unit.
[0090] In summary, the structure of the electronic device provided in the embodiment of the present application can be as follows: Figure 6 As shown in FIG. 1 , the WiFi antenna and the cellular antenna in this structure are not the same antenna. Figure 7 As shown, the WiFi antenna and the cellular antenna are the same antenna, which can also be connected to the first processing device.
[0091] In the embodiment of the present application, if the WiFi antenna and the cellular antenna are not the same antenna, it is also possible to determine whether the antenna is held based on the state of each antenna, and select a radio frequency circuit with better working quality as the target radio frequency circuit in combination with the holding state, so as to further ensure the communication quality of the electronic device after switching. The process of determining the switching control information by the first processing device is described below in combination with the holding state.
[0092] In one embodiment, the first processing device is used to determine a candidate radio frequency circuit according to the first power and the second power, and determine a target radio frequency circuit according to a holding state of an antenna in the candidate radio frequency circuit.
[0093] In one embodiment, the first processing device is used to determine a candidate RF circuit according to the first power and the second power, and directly use the candidate RF circuit as a target RF circuit.
[0094] In this way, the flexibility of the electronic device in determining the target radio frequency circuit can be improved.
[0095] In a possible implementation manner, the first processing device is configured to use a radio frequency circuit corresponding to a larger one of the first power and the second power as a candidate radio frequency circuit.
[0096] That is, the first processing device compares the first power and the second power, and determines the candidate RF circuit according to the comparison result.
[0097] For example, if the first power is greater than the second power, and the first power corresponds to a first signal, and the first signal comes from a WiFi radio frequency circuit, the WiFi radio frequency circuit is used as a candidate radio frequency circuit, otherwise the cellular radio frequency circuit is used as a candidate radio frequency circuit.
[0098] In one embodiment, the first processing device is used to select a radio frequency circuit corresponding to a larger one of the first power and the second power as a candidate radio frequency circuit when the difference between the first power and the second power is greater than a preset difference threshold.
[0099] That is, the first processing device first makes a difference between the first power and the second power, and compares the difference with a preset difference threshold. If the difference is greater than the preset difference threshold, it means that there is a large difference in working quality between the current WiFi RF circuit and the cellular RF circuit. Then, a candidate RF circuit can be determined and a switching action can be performed.
[0100] The first processing device is further configured to, when the difference between the first power and the second power is not greater than a preset difference threshold, use the radio frequency circuit currently in the communication state as a candidate radio frequency circuit.
[0101] If the difference is not greater than the preset difference threshold, it means that the working quality gap between the current WiFi RF circuit and the cellular RF circuit is small, then there is little point in performing the switching action, and there will be power consumption. Therefore, the RF circuit currently in the communication state can be directly used as a candidate RF circuit.
[0102] Optionally, the preset difference threshold is a positive value. The absolute value of the difference between the first power and the second power is taken as the difference to be compared with the preset difference threshold.
[0103] In the embodiment of the present application, the candidate RF circuit can be directly determined based on the magnitude relationship between the first power and the second power, thereby improving the efficiency of determining the candidate RF circuit. On this basis, it is also possible to determine whether to directly use the RF circuit currently in the communication state as a candidate RF circuit based on the difference between the first power and the second power, thereby saving the power consumption of the electronic device while ensuring the communication quality of the electronic device.
[0104] On this basis, after the candidate RF circuit is determined, it is also determined whether to use the candidate RF circuit as the target RF circuit in combination with the holding state of the antenna of the candidate RF circuit.
[0105] In an optional embodiment, if the first power is equal to the second power, the first processing device may determine the first phase of the first signal and the second phase of the second signal, determine the one with the best signal quality between the first signal and the second signal based on the first phase and the second phase, and use the corresponding RF circuit as a candidate RF circuit.
[0106] It can be understood that the signal qualities of the first signal and the second signal may also be evaluated based on other signal parameters of the first signal and the second signal, thereby determining the candidate RF circuit.
[0107] In one embodiment, the first processing device is configured to use the candidate RF circuit as the target RF circuit when the antenna in the candidate RF circuit is not held.
[0108] The first processing device is also used to use another radio frequency circuit other than the candidate radio frequency circuit in the WiFi radio frequency circuit and the cellular radio frequency circuit as a target radio frequency circuit when the antenna in the candidate radio frequency circuit is held.
[0109] In an optional embodiment of the present application, as mentioned above, the antenna in the candidate RF circuit is connected to the first processing device. When the antenna is held, the antenna radiation performance is affected, the antenna will record the current state and obtain the first state information; similarly, when the antenna is not held, the antenna radiation performance is not affected, the antenna will also record the current state and obtain the second state information. The antenna can send the latest acquired state information (first state information or second state information) used to characterize the holding state of the antenna to the first processing device.
[0110] The first processing device may identify the received state information, determine whether it is the first state information or the second state information, and further determine whether the antenna is held.
[0111] Exemplarily, the antenna being held may refer to the presence of other objects covering the antenna, and the other objects may be a body part of the user or an object, which are not fully exemplified here.
[0112] When a candidate RF circuit is determined and it is determined that the antenna in the candidate RF circuit is not held, it means that currently using the candidate RF circuit for communication will improve the communication quality of the electronic device, so the candidate RF circuit can be directly used as the target RF circuit.
[0113] When a candidate RF circuit is determined and it is determined that the antenna in the candidate RF circuit is held, it means that currently using the candidate RF circuit for communication may not necessarily improve the communication quality of the electronic device, so another RF circuit can be used as the target RF circuit.
[0114] In the embodiment of the present application, in combination with the holding state corresponding to the candidate RF circuit, the RF circuit with the best current working quality can be used as the target RF circuit, thereby ensuring the communication quality of the electronic device more comprehensively and flexibly.
[0115] For ease of understanding, a complete embodiment is used below to illustrate the implementation process of switching between the WiFi radio frequency circuit and the cellular radio frequency circuit of the electronic device when the second processing device includes an application processor.
[0116] like Figure 8 As shown, the RF chip is used to determine the target RF circuit from the WiFi RF circuit and the cellular RF circuit, and generate switching control information, which is sent to the application processor, and the application processor controls the operation of the target RF circuit.
[0117] Specifically, Fig. 9As shown, (1) one of the WiFi RF circuit and the cellular RF circuit of the terminal is calling network resources to transmit or receive signals, and the other outputs a monitoring signal. The coupler in the WiFi RF circuit couples to the first signal based on the signal transmitted by the WiFi RF circuit, and sends the first signal to the RF chip. The coupler in the cellular RF circuit couples to the second signal based on the signal transmitted by the cellular RF circuit, and sends the second signal to the RF chip. (2) The RF chip determines the candidate RF circuit based on the power of the first signal and the second signal. (3) The RF chip obtains the antenna status information sent by the antenna corresponding to the candidate RF circuit. The holding state of the antenna is determined based on the status information. (4) If it is determined that the antenna is in a held state due to environmental influences such as holding, it is necessary to re-determine the candidate RF circuit. (5) If it is determined that there is no environmental influence such as holding and it is in a non-held state, the candidate RF circuit is used as the target RF circuit, and the switching control information is sent to the application processor AP. (6) The AP outputs the switching control information to the target RF circuit.
[0118] In one embodiment, Fig.10 As shown, a schematic diagram of the structure of another electronic device is shown. Among them, the first processing device includes a main processing device and an auxiliary processing device, the main processing device is connected to one of the WiFi radio frequency circuit and the cellular radio frequency circuit, the auxiliary processing device is connected to the other of the WiFi radio frequency circuit and the cellular radio frequency circuit, and the main processing device is connected to the second processing device. It can be understood that Fig.10 The connection between the main processing device and the WiFi radio frequency circuit and the connection between the auxiliary processing device and the cellular radio frequency circuit are only taken as examples.
[0119] The auxiliary processing device is used to transfer the signal power of the signal transmitted in the radio frequency circuit connected to the auxiliary processing device to the main processing device.
[0120] The main processing device is used to generate switching control information according to the signal power of the signal transmitted by the auxiliary processing device and the signal power of the signal transmitted by the radio frequency circuit connected to the main processing device, and transmit the switching control information to the second processing device.
[0121] Among them, it can be seen from the above description that in some implementations, an application processor is required for control. In order to save the power consumption and computing power of the application processor, and further improve the efficiency of the electronic device in controlling the target RF circuit and reduce the time consumption, a main processing device and an auxiliary processing device are provided in the electronic device provided in the embodiment of the present application. The main processing device and the auxiliary processing device are used to respectively obtain the power of the signals transmitted by the two RF circuits, and then the computing unit in the main processing device is used to determine the target RF circuit.
[0122] Taking the example of the main processing device being connected to the WiFi radio frequency circuit and the auxiliary processing device being connected to the cellular radio frequency circuit, the main processing device and the auxiliary processing device are connected. Therefore, the auxiliary processing device can obtain the second signal, determine the signal power of the second signal, and send the signal power of the second signal to the main processor. The main processing device can obtain the first signal, determine the signal power of the first signal, generate switching control information according to the power of the first signal and the power of the second signal, and transmit the switching control information to the second processing device.
[0123] It can be understood that the main processing device and the auxiliary processing device are radio frequency chips respectively.
[0124] Since two radio frequency chips are used to work and respectively determine the powers of the first signal and the second signal, the computing capabilities of the two radio frequency chips can be fully utilized to improve the efficiency of determining the powers of the first signal and the second signal.
[0125] On this basis, as mentioned above, the second processing device includes a WiFi receiver and a cellular receiver, that is, the main processing device is connected to both the WiFi receiver and the cellular receiver, so that the control of the application processor can be omitted, and the WiFi radio frequency circuit or the cellular radio frequency circuit can be controlled more efficiently based on the WiFi receiver and the cellular receiver.
[0126] For example, Fig.11 A structural schematic diagram of an electronic device is shown, where two RF circuits use different antennas, both antennas are connected to a main processing device, and the main processing device executes the above-mentioned first processing device to determine a candidate RF circuit and determine whether to use the candidate RF circuit as a target RF circuit in combination with the antenna status of the antenna connected to the candidate RF circuit.
[0127] For ease of understanding, the following is a complete example. Fig.11 The implementation process of the electronic device shown in the figure switching between the WiFi radio frequency circuit and the cellular radio frequency circuit is explained.
[0128] Specifically, Fig.12As shown, (1) one of the WiFi RF circuit and the cellular RF circuit of the terminal is calling network resources to transmit or receive signals, and the other outputs a monitoring signal. The coupler in the WiFi RF circuit couples to the first signal based on the signal transmitted by the WiFi RF circuit, and sends the first signal to the main processing device. The coupler in the cellular RF circuit couples to the second signal based on the signal transmitted by the cellular RF circuit, and sends the second signal to the auxiliary processing device. (2) The auxiliary processing device determines the signal power of the second signal and sends the signal power of the second signal to the main processing device. The main processing device determines the signal power of the first signal and determines the candidate RF circuit according to the power of the first signal and the second signal. (3) The main processing device obtains the antenna status information sent by the antenna corresponding to the candidate RF circuit. The holding state of the antenna is determined according to the status information. (4) If it is determined that the antenna is in a held state due to environmental influences such as holding, the candidate RF circuit needs to be re-determined. (5) If it is determined that there is no environmental influence such as holding and it is in a non-held state, the candidate RF circuit is used as the target RF circuit, and the switching control information is sent to the target receiver corresponding to the target RF circuit. (6) The target receiver controls the operation of the target RF circuit.
[0129] By combining multiple RF chips with RF devices, switching between WiFi RF circuits and cellular RF circuits can be achieved, saving power consumption while reducing system calculation time.
[0130] In an exemplary embodiment, an electronic device is provided, the internal structure of which can be as shown in FIG. Fig.13As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.
[0131] Those skilled in the art will understand that Fig.13 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0132] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0133] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An electronic device, characterized in that: The electronic device includes a first processing device, a second processing device, a WiFi radio frequency circuit, and a cellular radio frequency circuit; the WiFi radio frequency circuit and the cellular radio frequency circuit are respectively connected to the first processing device, and are respectively connected to the second processing device, and the first processing device is connected to the second processing device; The first processing device is used to generate switching control information according to the signals respectively transmitted by the WiFi radio frequency circuit and the cellular radio frequency circuit, and transmit the switching control information to the second processing device; The second processing device is used to control the WiFi radio frequency circuit and the target radio frequency circuit in the cellular radio frequency circuit to be in a communication state according to the switching control information.
2. The electronic device according to claim 1, characterized in that: The second processing device includes an application processor; or, The second processing device includes a WiFi receiver connected to the WiFi radio frequency circuit and a cellular receiver connected to the cellular radio frequency circuit.
3. The electronic device according to claim 2, characterized in that: In the case where the second processing device includes the WiFi receiver and the cellular receiver, the first processing device is used to transmit the switching control information to a target receiver connected to the target radio frequency circuit; The target receiver is used to control the target radio frequency circuit to be in a communication state after receiving the switching control information.
4. The electronic device according to claim 1, characterized in that: The first processing device includes a main processing device and an auxiliary processing device, the main processing device is connected to one of the WiFi radio frequency circuit and the cellular radio frequency circuit, the auxiliary processing device is connected to the other of the WiFi radio frequency circuit and the cellular radio frequency circuit, and the main processing device is connected to the second processing device; The auxiliary processing device is used to transfer the signal power of the signal transmitted in the radio frequency circuit connected to the auxiliary processing device to the main processing device; The main processing device is used to generate the switching control information according to the signal power of the signal transmitted by the auxiliary processing device and the signal power of the signal transmitted by the radio frequency circuit connected to the main processing device, and transmit the switching control information to the second processing device.
5. The electronic device according to claim 1, characterized in that: The WiFi radio frequency circuit includes a first coupler connected to the first processing device, and the cellular radio frequency circuit includes a second coupler connected to the first processing device; The first coupler is used to obtain a first signal according to the WiFi signal transmitted by the WiFi radio frequency circuit, and send the first signal to the first processing device; The second coupler is used to obtain a second signal according to the cellular signal transmitted by the cellular radio frequency circuit, and send the second signal to the first processing device; The first processing device is used to generate the switching control information according to the first signal and the second signal.
6. The electronic device according to claim 1, characterized in that: The first processing device is used to obtain the first power of the first signal transmitted by the WiFi radio frequency circuit, and obtain the second power of the second signal transmitted by the cellular radio frequency circuit, determine the target radio frequency circuit according to the first power and the second power, and generate the switching control information according to the target radio frequency circuit.
7. The electronic device according to claim 6, characterized in that: The first processing device is used to determine a candidate RF circuit according to the first power and the second power, and determine the target RF circuit according to the holding state of the antenna in the candidate RF circuit; or, directly use the candidate RF circuit as the target RF circuit.
8. The electronic device according to claim 7, characterized in that: The first processing device is used to use the candidate RF circuit as the target RF circuit when the antenna in the candidate RF circuit is not held; It is also used to use another radio frequency circuit other than the candidate radio frequency circuit in the WiFi radio frequency circuit and the cellular radio frequency circuit as the target radio frequency circuit when the antenna in the candidate radio frequency circuit is held.
9. The electronic device according to claim 7, characterized in that: The first processing device is used to use the radio frequency circuit corresponding to the larger one of the first power and the second power as the candidate radio frequency circuit.
10. The electronic device according to claim 9, characterized in that: The first processing device is used to use the radio frequency circuit corresponding to the larger one of the first power and the second power as the candidate radio frequency circuit when the difference between the first power and the second power is greater than a preset difference threshold.
11. The electronic device according to claim 10, characterized in that: The first processing device is further configured to, when a difference between the first power and the second power is not greater than the preset difference threshold, use the radio frequency circuit currently in communication as the candidate radio frequency circuit.
12. The electronic device according to claim 6, characterized in that: The first processing device is a radio frequency chip; the radio frequency chip includes a power detection unit and a calculation unit; The power detection unit is used to obtain a first power of a first signal transmitted by the WiFi radio frequency circuit and a second power of a second signal transmitted by the cellular radio frequency circuit, and transmit the first power and the second power to the calculation unit; The calculation unit is used to determine the target radio frequency circuit according to the first power and the second power, generate the switching control information according to the target radio frequency circuit, and transmit the switching control information to the second processing device.