Mobile terminal, dual-frequency receiving circuit based on single GPIO (General Purpose Input / Output) interface and control method and equipment thereof

By designing a dual-frequency receiving circuit based on a single GPIO interface, and using the signal processing module to control the amplification state of the second frequency band functional module, dual-frequency positioning of L1 and L5 functions of GPS is realized under a single GPIO interface, solving the problem of functional limitations caused by insufficient GPIO interface in the prior art.

CN120200625APending Publication Date: 2025-06-24SHANGHAI QINYUN ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510401510.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

The existing single GPIO interface with GPS function products is insufficient and cannot support the operation of L1 and L5 functions at the same time.

Method used

A dual-frequency receiving circuit based on a single GPIO interface is designed, and the control signal is transmitted to the second frequency band functional module through the signal processing module to realize the amplification or non-amplification of the second frequency band frequency signal, ensuring that the receiving module can receive the frequency signals of the two frequency bands that have been amplified or unamplified.

Benefits of technology

It realizes dual-band positioning of L1 and L5 functions of GPS in the case of a single GPIO interface, solving the problem of functional limitations caused by insufficient GPIO interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120200625A_ABST
    Figure CN120200625A_ABST
Patent Text Reader

Abstract

The invention relates to a mobile terminal, a dual-frequency receiving circuit based on a single GPIO (General Purpose Input / Output) interface and a control method and equipment thereof, the circuit comprises the GPIO interface, a first frequency band function module, a second frequency band function module, a signal processing module and a receiving module, the GPIO interface is connected with the first frequency band function module, and the signal processing module is connected with the second frequency band function module. The GPIO interface is connected with the second frequency band function module through the signal processing module, and the first frequency band function module and the second frequency band function module are both connected with the receiving module; and the receiving module is used for receiving the amplified frequency signal of the first frequency band and the non-amplified frequency signal of the second frequency band, or receiving the non-amplified frequency signal of the first frequency band and the amplified frequency signal of the second frequency band. According to the dual-frequency receiving circuit, the GPIO interface is adopted, and the receiving module can receive frequency signals of the first frequency band and the second frequency band through the signal processing module, so that a product realizes a dual-frequency positioning function of the two frequency bands.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of circuit design, and particularly to a mobile terminal, a dual-frequency receiving circuit based on a single GPIO interface, and a control method and device therefor. Background Art

[0002] Currently, products on the market with the L1 and L5 functions of GPS all provide corresponding GPIO interfaces to facilitate the design of circuits with GPS L1 and L5 functions. Some existing products with GPS functions only have the L1 positioning function of GPS, and correspondingly only provide receivers for the L1 function of GPS. Such products do not need to implement the L5 function of GPS. Existing products with GPS functions may also be limited by the insufficient number of GPIO interfaces, requiring additional expansion GPIO chips, or the default GPIO interfaces are occupied by other functions. Due to circuit design limitations, the original circuit design of products with GPS functions cannot be modified, resulting in no GPIO interface available for the low-noise amplifier on the L5 function path of GPS. Summary of the Invention

[0003] This application provides a mobile terminal, a dual-frequency receiving circuit based on a single GPIO interface, and a control method and device therefor, which are used to solve the technical problem that when the single GPIO interface of existing products with GPS functions is insufficient, they cannot support the simultaneous operation of L1 and L5 functions.

[0004] To achieve the above object, this application provides the following technical solutions:

[0005] On the one hand, a dual-frequency receiving circuit based on a single GPIO interface is provided, including a GPIO interface, a first frequency band function module, a second frequency band function module, a signal processing module, and a receiving module. The GPIO interface is connected to the first frequency band function module, the GPIO interface is connected to the second frequency band function module through the signal processing module, and both the first frequency band function module and the second frequency band function module are connected to the receiving module;

[0006] The GPIO interface is used to output a control signal;

[0007] The first frequency band function module is used to obtain a frequency signal of the first frequency band and determine whether to amplify the frequency signal of the first frequency band according to the control signal;

[0008] The second frequency band function module is used to obtain a frequency signal of the second frequency band and determine whether to amplify the frequency signal of the second frequency band through the signal processing module and the control signal;

[0009] The receiving module is configured to receive the frequency signal of the first frequency band that has been amplified and the frequency signal of the second frequency band that has not been amplified, or receive the frequency signal of the first frequency band that has not been amplified and the frequency signal of the second frequency band that has been amplified.

[0010] Preferably, the signal processing module includes a signal inverting element, which is provided with a first connection end, a second connection end, a third connection end, and a fourth connection end. The first connection end is respectively connected to the GPIO interface and the first frequency band function module. The second connection end is grounded. The third connection end is connected to the power input terminal. The fourth connection end is connected to the second frequency band function module. The signal inverting element is configured to invert the control signal. When the control signal is a high-level signal, the signal inverting element provides a low-level signal to the second frequency band function module. When the control signal is a low-level signal, a high-level signal is provided to the second frequency band function module through the power input terminal of the signal inverting element.

[0011] Preferably, the first connection end is respectively connected to the GPIO interface and the first frequency band function module through a first resistor. The third connection end is connected to the power input terminal through a second resistor. The fourth connection end is connected to the second frequency band function module through a third resistor.

[0012] Preferably, the signal inverting element is an inverter.

[0013] Preferably, the input power of the power input terminal is a 1.8V DC power supply.

[0014] Preferably, the first frequency band function module includes a first low-noise amplifier, which is provided with a first signal input end, a first power connection end, a first radio frequency input end, and a first radio frequency output end. The first signal input end is connected to the GPIO interface. The first power connection end is used to connect to a DC power supply. The first radio frequency input end is connected to the first frequency through a first filter.

[0015] Preferably, the second frequency band function module includes a second low-noise amplifier, which is provided with a second signal input end, a second power connection end, a second radio frequency input end, and a second radio frequency output end. The second signal input end is connected to the fourth connection end of the signal processing module. The second power connection end is used to connect to a DC power supply. The second radio frequency input end is connected to a second frequency band receiving element through a third filter. The second radio frequency output end is connected to the receiving module through a fourth filter.

[0016] In another aspect, a mobile terminal is provided, which includes the dual-frequency receiving circuit based on a single GPIO interface described above.

[0017] On the other hand, a control method for a dual - band receiving circuit based on a single GPIO interface is provided, which is applied to the dual - band receiving circuit based on a single GPIO interface described above. The control method includes the following steps:

[0018] Obtain the control signal of the GPIO interface, the frequency signal of the first frequency band, and the frequency signal of the second frequency band;

[0019] According to the control signal, control the operation of the first - band function module to determine whether to amplify the frequency signal of the first frequency band, or according to the control signal, control the operation of the second - band function module to determine whether to amplify the frequency signal of the second frequency band;

[0020] Wherein, when the control signal is a high - level signal, the signal processing module performs an inversion process on the control signal to obtain a low - level signal input to the second - band function module. The first - band function module provides the frequency signal of the first frequency band that has been amplified to the receiving module, and the second - band function module provides the frequency signal of the second frequency band that has not been amplified to the receiving module; when the control signal is a low - level signal, the first - band function module does not process the frequency signal of the first frequency band and provides the frequency signal of the first frequency band that has not been amplified to the receiving module. The signal processing module performs an inversion process on the control signal and provides a high - level signal to the second - band function module through the power input terminal of the signal processing module. The second - band function module provides the frequency signal of the second frequency band that has been amplified to the receiving module.

[0021] On yet another hand, a terminal device is provided, including a processor and a memory;

[0022] The memory is used to store program codes and transmit the program codes to the processor;

[0023] The processor is used to execute the control method for the dual - band receiving circuit based on a single GPIO interface described above according to the instructions in the program codes.

[0024] The mobile terminal, the dual - band receiving circuit based on a single GPIO interface, its control method and device. The dual - band receiving circuit based on a single GPIO interface includes a GPIO interface, a first - band function module, a second - band function module, a signal processing module and a receiving module. The GPIO interface is connected to the first - band function module, and the GPIO interface is connected to the second - band function module through the signal processing module. Both the first - band function module and the second - band function module are connected to the receiving module. The GPIO interface is used to output a control signal. The first - band function module is used to obtain a frequency signal of the first band and determine whether to amplify the frequency signal of the first band according to the control signal. The second - band function module is used to obtain a frequency signal of the second band and determine whether to amplify the frequency signal of the second band through the signal processing module and the control signal. The receiving module is used to receive the amplified frequency signal of the first band and the unamplified frequency signal of the second band, or receive the unamplified frequency signal of the first band and the amplified frequency signal of the second band.

[0025] As can be seen from the above technical solutions, the present application has the following advantages: The dual - band receiving circuit based on a single GPIO interface uses one GPIO interface and enables the receiving module to receive the amplified frequency signals of the first band and the second band through the signal processing module, enabling the product to achieve the dual - band positioning function of two bands, and solving the technical problem that when the single GPIO interface of existing products with GPS functions is insufficient, it is impossible to support the simultaneous operation of L1 function and L5 function.

[0026] The mobile terminal can directly multiplex the control signal of the second low - noise amplifier used by the L5 function of GPS on the GPIO interface of the control signal of the first low - noise amplifier used by the L1 function of GPS through the dual - band receiving circuit based on a single GPIO interface, so as to realize the control of the second low - noise amplifier of the L5 function of GPS, and further realize the L5 function of GPS.

[0027] The control method of the dual - band receiving circuit based on a single GPIO interface enables the product to achieve the dual - band positioning function of L1 and L5 of GPS through the dual - band receiving circuit based on a single GPIO interface. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0029] Figure 1Schematic diagram of the framework of the dual - frequency receiving circuit based on a single GPIO interface according to the embodiments of the present application;

[0030] Figure 2 Circuit schematic diagram of the dual - frequency receiving circuit based on a single GPIO interface according to the embodiments of the present application;

[0031] Figure 3 Circuit schematic diagram of the signal processing module in the dual - frequency receiving circuit based on a single GPIO interface according to the embodiments of the present application;

[0032] Figure 4 Flowchart of the steps of the control method of the dual - frequency receiving circuit based on a single GPIO interface according to the embodiments of the present application;

[0033] Figure 5 Schematic diagram of the terminal device according to the embodiments of the present application. Detailed implementation manners

[0034] To make the objectives, features, and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the embodiments described below are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0035] In the description of the embodiments of the present application, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present application, "a plurality" means two or more unless otherwise specifically defined.

[0036] In the embodiments of the present application, unless otherwise clearly defined and limited, the terms "installed", "connected", "connected to", "fixed", etc. should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or integrated; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the internal connection of two components or the interaction relationship between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific situations.

[0037] Patent terms of the present application:

[0038] The L1 function and L5 function of products with GPS function represent two different frequency bands, which are used to provide positioning and navigation services with different accuracies and applicable ranges. GPS is used for positioning function implementation in consumer products. The L1 function of GPS is mainly used to capture satellites and perform rough positioning, and can work independently; the L5 function of GPS can only assist the L1 function of GPS to work, and perform precise positioning on the basis of the L1 function of GPS, and cannot work independently.

[0039] The L1 frequency band refers to: the frequency is 1575.42 MHz, which is the basic frequency band of the GPS system, and almost all GPS receivers support the L1 frequency band. The L1 frequency band is mainly used to provide basic positioning and navigation services and is suitable for most civilian applications.

[0040] The L5 frequency band refers to: the frequency is 1176.45 MHz, which is a relatively new frequency band, with higher accuracy, smaller error, and stronger anti-interference ability. The L5 frequency band is mainly used for high-precision positioning and measurement applications and can provide more accurate positioning information.

[0041] The embodiment of the present application provides a mobile terminal, a dual-frequency receiving circuit based on a single GPIO interface, and its control method and device, which solve the technical problem that when the single GPIO interface of existing products with GPS function is insufficient, it is impossible to support the simultaneous operation of the L1 function and the L5 function.

[0042] Embodiment 1:

[0043] Figure 1 It is a schematic framework diagram of the dual-frequency receiving circuit based on a single GPIO interface described in the embodiment of the present application.

[0044] As Figure 1 shown, the embodiment of the present application provides a dual-frequency receiving circuit based on a single GPIO interface, including a GPIO interface 101, a first frequency band function module 102, a second frequency band function module 103, a signal processing module 104, and a receiving module 105. The GPIO interface 101 is connected to the first frequency band function module 102, and the GPIO interface 101 is connected to the second frequency band function module 103 through the signal processing module 105. Both the first frequency band function module 102 and the second frequency band function module 103 are connected to the receiving module 105.

[0045] It should be noted that the GPIO interface 101 can be the GPIO interface of products such as mobile phones, PDAs, and smart watches that require precise positioning.

[0046] In the embodiment of the present application, the GPIO interface 101 is used to output a control signal.

[0047] It should be noted that the GPIO interface 101 is an input / output interface for outputting control signals. In this embodiment, the control signal output by the GPIO interface 101 is used to control whether the first frequency band function module 102 and the second frequency band function module 103 amplify the frequency signals of the frequency bands.

[0048] In the embodiment of the present application, the first frequency band function module 102 is used to obtain the frequency signals of the first frequency band and determine whether to amplify the frequency signals of the first frequency band according to the control signal.

[0049] It should be noted that the dual-frequency receiving circuit based on a single GPIO interface controls the operation of the first frequency band function module 102 by outputting a control signal through the GPIO interface 101, enabling the product to have the function of the first frequency band. In this embodiment, the first frequency band can be the L1 frequency band of GPS.

[0050] In the embodiment of the present application, the second frequency band function module 103 is used to obtain the frequency signals of the second frequency band and determine whether to amplify the frequency signals of the second frequency band through the signal processing module 104 and the control signal.

[0051] It should be noted that the dual-frequency receiving circuit based on a single GPIO interface controls the operation of the second frequency band function module 103 by processing the control signal output through the GPIO interface 101 by the signal processing module 104, enabling the product to have the function of the second frequency band. In this embodiment, the second frequency band can be the L5 frequency band of GPS.

[0052] In the embodiment of the present application, the receiving module 105 is used to receive the amplified frequency signals of the first frequency band and the unamplified frequency signals of the second frequency band according to the high-level signal output by the GPIO interface 101, or receive the unamplified frequency signals of the first frequency band and the amplified frequency signals of the second frequency band according to the low-level signal output by the GPIO interface 101.

[0053] It should be noted that the dual-frequency receiving circuit based on a single GPIO interface enables the receiving module 105 to receive the frequency signals of the first frequency band and the second frequency band after amplification through a single GPIO interface 101, enabling the product to achieve the dual-frequency positioning function of two frequency bands through a single GPIO interface 101.

[0054] In the embodiment of the present application, the dual-frequency receiving circuit based on a single GPIO interface is applied to a product with GPS function, and the product with GPS function realizes the dual-frequency reception of the L1 function and the L5 function of GPS through the dual-frequency receiving circuit based on a single GPIO interface.

[0055] A dual - band receiving circuit based on a single GPIO interface provided by the present application includes a GPIO interface, a first - band function module, a second - band function module, a signal processing module, and a receiving module. The GPIO interface is connected to the first - band function module. The GPIO interface is connected to the second - band function module through the signal processing module. Both the first - band function module and the second - band function module are connected to the receiving module. The GPIO interface is used to output a control signal. The first - band function module is used to obtain a frequency signal of the first band and determine whether to amplify the frequency signal of the first band according to the control signal. The second - band function module is used to obtain a frequency signal of the second band and determine whether to amplify the frequency signal of the second band through the signal processing module and the control signal. The receiving module is used to receive the amplified frequency signal of the first band and the unamplified frequency signal of the second band, or receive the unamplified frequency signal of the first band and the amplified frequency signal of the second band. This dual - band receiving circuit based on a single GPIO interface uses one GPIO interface and enables the receiving module to receive the amplified frequency signals of the first band and the second band through the signal processing module, enabling the product to achieve the dual - band positioning function of two bands, and solving the technical problem that when the single GPIO interface of existing products with GPS function is insufficient, it cannot support the simultaneous operation of L1 function and L5 function.

[0056] Figure 2 It is a circuit schematic diagram of the dual - band receiving circuit based on a single GPIO interface described in the embodiments of the present application. Figure 3 It is a circuit schematic diagram of the signal processing module in the dual - band receiving circuit based on a single GPIO interface described in the embodiments of the present application. In Figure 3 it, the signal inversion element 106 is denoted as Q1001, the first resistor is denoted as R1014, the second resistor is denoted as R1015, and the third resistor is denoted as R1016.

[0057] As Figure 2 and Figure 3 shown, in an embodiment of the present application, the signal processing module 104 includes a signal inversion element 106. The signal inversion element 106 is provided with a first connection end, a second connection end, a third connection end, and a fourth connection end. The first connection end is respectively connected to the GPIO interface 101 and the first - band function module 102. The second connection end is grounded. The third connection end is connected to the power input terminal. The fourth connection end is connected to the second - band function module 103. The signal inversion element 106 is used to invert the control signal. When the control signal is a high - level signal, the signal inversion element 106 provides a low - level signal to the second - band function module 103. When the control signal is a low - level signal, a high - level signal is provided to the second - band function module 103 through the power input terminal of the signal inversion element 106.

[0058] It should be noted that the signal inversion element 106 can be selected as an inverter. The input power supply at the power input terminal is a 1.8V DC power supply. In other embodiments, the signal inversion element 106 can also be selected as other electronic components with signal inversion functions.

[0059] As Figure 2 and Figure 3 shown, in the embodiment of the present application, the first connection terminal is connected to the GPIO interface 101 and the first frequency band function module 102 respectively through the first resistor, the third connection terminal is connected to the power input terminal through the second resistor, and the fourth connection terminal is connected to the second frequency band function module 103 through the third resistor.

[0060] It should be noted that the resistance value of the first resistor can be selected as 1KΩ, the resistance value of the second resistor can be selected as 100KΩ, and the resistance value of the third resistor can be selected as 0Ω. In this embodiment, when the GPIO interface 101 outputs a high-level signal, after passing through the first resistor and then through the signal inversion element 106, a low-level signal is output, and the signal output to the second frequency band function module 103 is also a low-level signal; when the GPIO interface 101 outputs a low-level signal, it is powered by the external 1.8V power input terminal, and a high-level signal is directly supplied to the second frequency band function module 103. The signal processing module 104 realizes the expansion of a single GPIO interface to a dual GPIO function. Among them, the resistance values of the first resistor and the second resistor can be adjusted according to the actual situation to ensure that the level finally output by the signal inversion element 106 can meet the voltage domain of the high and low levels.

[0061] As Figure 2 shown, in the embodiment of the present application, the first frequency band function module 102 includes a first low-noise amplifier 121. The first low-noise amplifier 121 is provided with a first signal input terminal, a first power connection terminal, a first radio frequency input terminal, and a first radio frequency output terminal. The first signal input terminal is connected to the GPIO interface 101, the first power connection terminal is used to connect to a DC power supply, the first radio frequency input terminal is connected to the first frequency band receiving element through a first filter 122, and the first radio frequency output terminal is connected to the receiving module 105 through a second filter 123. The second frequency band function module 103 includes a second low-noise amplifier 131. The second low-noise amplifier 131 is provided with a second signal input terminal, a second power connection terminal, a second radio frequency input terminal, and a second radio frequency output terminal. The second signal input terminal is connected to the fourth connection terminal of the signal processing module 104, the second power connection terminal is used to connect to a DC power supply, the second radio frequency input terminal is connected to the second frequency band receiving element through a third filter 132, and the second radio frequency output terminal is connected to the receiving module 105 through a fourth filter 133.

[0062] It should be noted that the low noise amplifier is recorded as eLNA, the RF input terminal is recorded as RF Input, the RF output terminal is recorded as RF Output, and the DC power supply can be selected as a 1.8V DC power supply. The first frequency band receiving element can be selected as the L1 frequency band antenna of GPS, and the second frequency band receiving element can be selected as the L5 frequency band antenna of GPS. The GPIO interface 101 outputs a high-level signal (such as a 1.8V signal) or a low-level signal (such as a 0V signal). The GPIO interface 101 outputs a control signal for controlling the high or low pull of the low noise amplifier eLNA; the high-level signal is to enable the low noise amplifier eLNA to enhance the frequency signal received by the frequency band receiving element. The low-level signal means that the frequency signal received by the frequency band receiving element only passes through the low noise amplifier eLNA, does not perform signal enhancement, and is directly sent to the receiving module 105. For example, when the GPIO interface 101 outputs a high-level signal (1.8V), the first low-noise amplifier 121 of the first frequency band function module 102 receives the high-level signal and amplifies the input frequency signal of the first frequency band and then transmits the amplified frequency signal of the first frequency band to the receiving module 105; the second low-noise amplifier 131 of the second frequency band function module 103 receives the low-level signal after being inverted by the signal inversion element 106, so that the frequency signal of the second frequency band is transmitted to the receiving module 105 through the second low-noise amplifier 131 (without amplification); when the GPIO interface 101 outputs a low-level signal (1.8V), the first low-noise amplifier 121 of the first frequency band function module 102 receives the high-level signal and amplifies the input frequency signal of the first frequency band and then transmits the amplified frequency signal of the first frequency band to the receiving module 105; When the level signal (0V) is received, the first low noise amplifier 121 of the first frequency band function module 102 receives the low level signal so that the frequency signal of the first frequency band is transmitted to the receiving module 105 through the first low noise amplifier 121 (without amplification processing); the GPIO interface 101 and the signal inversion element 106 are cut off, and the 1.8V power supply directly inputs a high level signal to the second low noise amplifier 131 of the second frequency band function module 103, and the input frequency signal of the second frequency band is amplified by the second low noise amplifier 131 and then the amplified frequency signal of the second frequency band is transmitted to the receiving module 105.

[0063] In an embodiment of the present application, the dual-frequency receiving circuit based on a single GPIO interface is applied to the dual-frequency circuit of the L1 function and the L5 function of the GPS, which meets the opposite working requirements of the L1 function and the L5 function of the GPS, and thus can realize the GPS dual-frequency receiving function with a single GPIO.

[0064] Embodiment 2:

[0065] An embodiment of the present application provides a mobile terminal, comprising the above-mentioned dual-frequency receiving circuit based on a single GPIO interface.

[0066] It should be noted that the content of the dual-frequency receiving circuit based on a single GPIO interface has been described in Embodiment 1, and the specific content of the dual-frequency receiving circuit based on a single GPIO interface will not be repeated in this embodiment. The mobile terminal can be a mobile phone, tablet, smart watch, etc. for precise positioning. In this embodiment, the mobile terminal can directly multiplex the control signal of the first low-noise amplifier eLNA used by the L5 function of GPS on the GPIO interface of the L1 function of GPS through the dual-frequency receiving circuit based on a single GPIO interface to control the second low-noise amplifier eLNA of the L5 function of GPS, thereby realizing the L5 function of GPS. The dual-frequency receiving circuit based on a single GPIO interface can be applied to the GPIO interface of the second low-noise amplifier eLNA for designing the L5 function of GPS by adding a GPIO expansion chip when the number of GPIO interfaces provided by some product platforms is insufficient.

[0067] Embodiment 3:

[0068] Figure 4 It is a flowchart of the steps of the control method for the dual-frequency receiving circuit based on a single GPIO interface described in the embodiments of the present application.

[0069] As Figure 4 shown, the embodiments of the present application provide a control method for a dual-frequency receiving circuit based on a single GPIO interface, which is applied to the above-mentioned dual-frequency receiving circuit based on a single GPIO interface. The control method includes the following steps:

[0070] S1. Obtain the control signal of the GPIO interface, the frequency signal of the first frequency band, and the frequency signal of the second frequency band;

[0071] S2. Control the operation of the first frequency band function module according to the control signal to determine whether to amplify the frequency signal of the first frequency band, or control the operation of the second frequency band function module according to the control signal to determine whether to amplify the frequency signal of the second frequency band;

[0072] Among them, when the control signal is a high-level signal, the signal processing module performs an inversion process on the control signal to obtain a low-level signal input to the second frequency band function module. The first frequency band function module provides the frequency signal of the first frequency band that has been amplified to the receiving module, and the second frequency band function module provides the frequency signal of the second frequency band that has not been amplified to the receiving module. When the control signal is a low-level signal, the first frequency band function module does not process the frequency signal of the first frequency band and provides the frequency signal of the first frequency band that has not been amplified to the receiving module. The signal processing module performs an inversion process on the control signal and provides a high-level signal to the second frequency band function module through the power input terminal of the signal processing module. The second frequency band function module provides the frequency signal of the second frequency band that has been amplified to the receiving module.

[0073] It should be noted that the content of the dual-frequency receiving circuit based on a single GPIO interface has been described in Embodiment 1, and the specific content of the dual-frequency receiving circuit based on a single GPIO interface will not be repeated in this embodiment. In this embodiment, the control method of the dual-frequency receiving circuit based on a single GPIO interface enables the product to achieve the dual-frequency positioning function of GPS L1 and L5 through the dual-frequency receiving circuit based on a single GPIO interface.

[0074] Embodiment 4:

[0075] Figure 5 It is a schematic diagram of the terminal device described in the embodiments of the present application.

[0076] As Figure 5 shown, the embodiments of the present application provide a terminal device, including a processor and a memory;

[0077] The memory is used to store program codes and transmit the program codes to the processor;

[0078] The processor is used to execute the control method of the above-mentioned dual-frequency receiving circuit based on a single GPIO interface according to the instructions in the program codes.

[0079] It should be noted that the processor is used to execute the steps in the above-mentioned control method embodiment of a dual-frequency receiving circuit based on a single GPIO interface according to the instructions in the program codes. Alternatively, when the processor executes a computer program, it realizes the functions of each module / unit in the above-mentioned system / device embodiments.

[0080] Exemplarily, the computer program can be divided into one or more modules / units. One or more modules / units are stored in the memory and executed by the processor to complete the present application. One or more modules / units can be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.

[0081] The terminal device can be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that it does not constitute a limitation on the terminal device, and it may include more or fewer components than shown in the figure, or combine some components, or different components. For example, the terminal device may further include input / output devices, network access devices, a bus, etc.

[0082] The so-called processor may be a Central Processing Unit (CPU), or may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0083] The memory may be an internal storage unit of the terminal device, such as the hard disk or memory of the terminal device. The memory may also be an external storage device of the terminal device, such as a plug-in hard disk, SmartMedia Card (SMC), Secure Digital (SD) card, Flash Card, etc. equipped on the terminal device. Further, the memory may also include both the internal storage unit and the external storage device of the terminal device. The memory is used to store computer programs and other programs and data required by the terminal device. The memory may also be used to temporarily store data that has been output or is to be output.

[0084] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0085] In several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.

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

[0087] In addition, each functional unit in various embodiments of the present invention may be integrated into one processing unit, may exist physically as individual units, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software functional units.

[0088] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0089] As described above, the above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of various embodiments of the present application.

Claims

1. A dual-frequency receiving circuit based on a single GPIO interface, characterized in that: include: A GPIO interface, a first frequency band functional module, a second frequency band functional module, a signal processing module and a receiving module, wherein the GPIO interface is connected to the first frequency band functional module, the GPIO interface is connected to the second frequency band functional module through the signal processing module, and both the first frequency band functional module and the second frequency band functional module are connected to the receiving module; The GPIO interface is used to output a control signal; The first frequency band function module is used to obtain a frequency signal of the first frequency band, and determine whether to amplify the frequency signal of the first frequency band according to the control signal; The second frequency band function module is used to obtain the frequency signal of the second frequency band, and determine whether to amplify the frequency signal of the second frequency band through the signal processing module and the control signal; The receiving module is used to receive an amplified frequency signal of the first frequency band and an unamplified frequency signal of the second frequency band, or to receive an unamplified frequency signal of the first frequency band and an amplified frequency signal of the second frequency band.

2. The dual-frequency receiving circuit based on a single GPIO interface according to claim 1, characterized in that: The signal processing module includes a signal inversion element, which is provided with a first connection end, a second connection end, a third connection end and a fourth connection end, the first connection end is respectively connected to the GPIO interface and the first frequency band functional module, the second connection end is grounded, the third connection end is connected to the power input end, and the fourth connection end is connected to the second frequency band functional module; the signal inversion element is used to invert the control signal, when the control signal is a high level signal, the signal inversion element provides a low level signal to the second frequency band functional module; when the control signal is a low level signal, a high level signal is provided to the second frequency band functional module through the power input end of the signal inversion element.

3. The dual-frequency receiving circuit based on a single GPIO interface according to claim 2, characterized in that: The first connection end is connected to the GPIO interface and the first frequency band functional module respectively through a first resistor, the third connection end is connected to the power input end through a second resistor, and the fourth connection end is connected to the second frequency band functional module through a third resistor.

4. The dual-frequency receiving circuit based on a single GPIO interface according to claim 2, characterized in that: The signal inverting element is an inverter.

5. The dual-frequency receiving circuit based on a single GPIO interface according to claim 2, characterized in that: The input power of the power input end is a 1.8V DC power supply.

6. The dual-frequency receiving circuit based on a single GPIO interface according to any one of claims 1 to 5, characterized in that: The first frequency band functional module includes a first low noise amplifier, which is provided with a first signal input terminal, a first power connection terminal, a first RF input terminal and a first RF output terminal. The first signal input terminal is connected to the GPIO interface, the first power connection terminal is used to connect to a DC power supply, the first RF input terminal is connected to the first frequency band receiving element through a first filter, and the first RF output terminal is connected to the receiving module through a second filter.

7. The dual-frequency receiving circuit based on a single GPIO interface according to any one of claims 1 to 5, characterized in that: The second frequency band functional module includes a second low noise amplifier, which is provided with a second signal input terminal, a second power connection terminal, a second RF input terminal and a second RF output terminal. The second signal input terminal is connected to the fourth connection terminal of the signal processing module, the second power connection terminal is used to be connected to a DC power supply, the second RF input terminal is connected to the second frequency band receiving element through a third filter, and the second RF output terminal is connected to the receiving module through a fourth filter.

8. A mobile terminal, characterized in that: It comprises a dual-frequency receiving circuit based on a single GPIO interface as described in any one of claims 1 to 7.

9. A control method for a dual-frequency receiving circuit based on a single GPIO interface, applied to the dual-frequency receiving circuit based on a single GPIO interface as claimed in any one of claims 1 to 7, characterized in that: The control method comprises the following steps: Obtain a control signal of a GPIO interface, a frequency signal of a first frequency band, and a frequency signal of a second frequency band; Controlling the operation of the first frequency band function module according to the control signal to determine whether to amplify the frequency signal of the first frequency band, or controlling the operation of the second frequency band function module according to the control signal to determine whether to amplify the frequency signal of the second frequency band; Among them, when the control signal is a high-level signal, the signal processing module inverts the control signal to obtain a low-level signal input to the second frequency band function module, the first frequency band function module provides the receiving module with the frequency signal of the first frequency band that has been amplified, and the second frequency band function module provides the receiving module with the frequency signal of the second frequency band that has not been amplified; when the control signal is a low-level signal, the first frequency band function module does not process the frequency signal of the first frequency band and provides the receiving module with the frequency signal of the first frequency band that has not been amplified, the signal processing module inverts the control signal and provides the second frequency band function module with a high-level signal through the power input end of the signal processing module, and the second frequency band function module provides the receiving module with the frequency signal of the second frequency band that has been amplified.

10. A terminal device, characterized in that: including a processor and a memory; The memory is used to store program codes and transmit the program codes to the processor; The processor is used to execute the control method of the dual-frequency receiving circuit based on a single GPIO interface as claimed in claim 9 according to the instructions in the program code.