Terminal device and control method

CN119698768APending Publication Date: 2025-03-25HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380059248.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-12-27
Filing Date
2023-10-25
Publication Date
2025-03-25

Smart Images

  • Figure CN119698768A_ABST
    Figure CN119698768A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides terminal equipment and a control method, and relates to the technical field of terminals. The terminal equipment comprises a power amplifier, a first circuit, a second circuit, a first antenna, a second antenna, a first frequency division switch and a second frequency division switch, the first circuit comprises N duplexers, and the second circuit comprises M duplexers; the first frequency division switch comprises N first output ends, and the second frequency division switch comprises M output ends; n and M are natural numbers; the first ends of the N duplexers are respectively connected with N first output ends of the first frequency division switch, and the first ends of the M duplexers are respectively connected with M output ends of the second frequency division switch; the first antenna is connected with the first circuit. The second antenna is connected with the second circuit. The power amplifier is used for accessing the first circuit and supporting the first antenna to send signals; or, accessing a second circuit, and supporting a second antenna to send signals. In this way, loss in the signal transmission process can be reduced, and the signal transmission efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Terminal device and control method

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on December 27, 2022, with application number 202211686172.X and application name “Terminal Device and Control Method”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of terminal technology, and in particular to terminal equipment and control methods. Background Art

[0003] With the development of terminal technology, terminal devices are generally provided with radio frequency front-end circuits and antennas, and the terminal devices can achieve communication through the radio frequency front-end circuits and antennas.

[0004] In some implementations, the antenna may include a main antenna and a diversity antenna, and the RF front-end circuit may include a transmitting circuit, a main receiving circuit, a diversity receiving circuit, and an antenna switching switch. The transmitting circuit and the main receiving circuit may be combined into a transceiver circuit, and the transceiver circuit may be connected to the main antenna so that the signal received by the main antenna is transmitted to the main receiving circuit in the transceiver circuit via the antenna switching switch. The diversity receiving circuit may be connected to the diversity antenna so that the signal received by the diversity antenna is transmitted to the diversity receiving circuit via the antenna switching switch. The transmit signal may be transmitted to the main antenna via the transmitting circuit and the antenna switching switch in the transceiver circuit for transmission, or may be transmitted to the diversity antenna via the transmitting circuit and the antenna switching switch in the transceiver circuit for transmission.

[0005] However, when the terminal device in the above implementation receives and sends signals, large losses may occur, affecting the efficiency of signal transmission.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a terminal device and a control method, which can reduce signal transmission loss and improve signal transmission efficiency.

[0008] In a first aspect, an embodiment of the present application provides a terminal device, which includes: a power amplifier, a first circuit, a second circuit, a first antenna, a second antenna, a first frequency division switch and a second frequency division switch; the first circuit includes N duplexers, and the second circuit includes M duplexers; the first frequency division switch includes N first output ends, and the second frequency division switch includes M output ends; N and M are both natural numbers; the first ends of the N duplexers are respectively connected to the N first output ends of the first frequency division switch, and the first ends of the M duplexers are respectively connected to the M output ends of the second frequency division switch; the first antenna is connected to the first circuit, and the second antenna is connected to the second circuit; the power amplifier is used to access the first circuit to support the first antenna to send signals; or, to access the second circuit to support the second antenna to send signals.

[0009] In this way, the first circuit and the second circuit of the terminal device both include multiple duplexers, allowing the first circuit and the second circuit to support signal transmission and reception. Furthermore, by multiplexing the power amplifier, when the terminal device transmits a signal, the power amplifier can be connected to the first circuit or the second circuit. This eliminates the need for an antenna switching switch after the first circuit and the second circuit. Therefore, signals transmitted between the first antenna and the first circuit, and between the second antenna and the second circuit, do not need to pass through the switching switch. This reduces signal transmission losses and improves signal transmission efficiency.

[0010] In one possible implementation, the second circuit is positioned at a distance less than a preset distance from the second antenna; the terminal device further includes a first connecting line; the first frequency-dividing switch further includes a second output; a power amplifier is connected to the input of the first frequency-dividing switch, the second output is connected to one end of the first connecting line, and the other end of the first connecting line is connected to the input of the second frequency-dividing switch. This shortens the distance between the second circuit and the second antenna, reducing signal loss during transmission between the second circuit and the second antenna. Furthermore, the power amplifier can be connected to the second circuit via the first frequency-dividing switch, the first connecting line, and the second frequency-dividing switch, enabling power amplifier multiplexing.

[0011] In one possible implementation, the terminal device also includes a second connecting line; the first circuit also includes a first low-noise amplifier, a third frequency-dividing switch, a fourth frequency-dividing switch and Q filters, and the second circuit also includes a second low-noise amplifier, a fifth frequency-dividing switch, a sixth frequency-dividing switch and L filters, where Q and L are both natural numbers; the third frequency-dividing switch includes Q+N input terminals, and the fourth frequency-dividing switch includes Q+N input terminals; the fifth frequency-dividing switch includes L+M input terminals, and the sixth frequency-dividing switch includes L+M input terminals; the first low-noise amplifier is connected to the output terminal of the third frequency-dividing switch, one end of the Q filters is respectively connected to the Q input terminals of the third frequency-dividing switch, and the other end of the Q filters is respectively connected to the Q input terminals of the fourth frequency-dividing switch. The first and second ends of the N duplexers are respectively connected to the N input ends of the third frequency-dividing switch, the third ends of the N duplexers are respectively connected to the N input ends of the fourth frequency-dividing switch, the output end of the fourth frequency-dividing switch is connected to one end of the second connecting line, and the other end of the second connecting line is connected to the first antenna; the second low-noise amplifier is connected to the output end of the fifth frequency-dividing switch, one end of the L filters are respectively connected to the L input ends of the fifth frequency-dividing switch, the other end of the L filters are respectively connected to the L input ends of the sixth frequency-dividing switch, the second ends of the M duplexers are respectively connected to the M input ends of the fifth frequency-dividing switch, the third ends of the M duplexers are respectively connected to the M input ends of the sixth frequency-dividing switch, and the output end of the sixth frequency-dividing switch is connected to the second antenna.

[0012] In this way, the terminal device can receive the signal transmitted by the first antenna through the first circuit, and can also transmit the signal to the first antenna for sending. It can also receive the signal transmitted by the second antenna through the second circuit, and can also transmit the signal to the second antenna for sending.

[0013] In one possible implementation, the terminal device further includes a controller; the controller is configured to control the power amplifier to access the first circuit via any first output end of the first frequency divider switch when the downlink reference signal received power of the first antenna is greater than or equal to a first preset value, or when the downlink reference signal received power of the first antenna is less than the first preset value and the first value is less than or equal to a second preset value; the first value is the difference between the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna; the controller is further configured to control the power amplifier to access the second circuit via any output end of the second frequency divider switch when the downlink reference signal received power of the first antenna is less than the first preset value and the first value is greater than the second preset value. In this way, when the terminal device transmits a signal, the controller can control the power amplifier to access the first circuit to support the first antenna in transmitting the signal, or control the power amplifier to access the second circuit to support the second antenna in transmitting the signal.

[0014] In one possible implementation, the first circuit is positioned at a location less than a preset distance from the first antenna; the second circuit is positioned less than a preset distance from the second antenna; and the terminal device further includes a third connecting line and a fourth connecting line; one end of the third connecting line is connected to a power amplifier, and the other end of the third connecting line is connected to an input of the first frequency divider switch; one end of the fourth connecting line is connected to the power amplifier, and the other end of the fourth connecting line is connected to an input of the second frequency divider switch. Thus, by positioning the first circuit close to the first antenna, the distance between the first circuit and the first antenna is shortened, thereby reducing signal loss during transmission between the first circuit and the first antenna. By positioning the second circuit close to the second antenna, the distance between the second circuit and the second antenna is shortened, thereby reducing signal loss during transmission between the second circuit and the second antenna.

[0015] In one possible implementation, the terminal device further includes a selection switch; the power amplifier is connected to a first end of the selection switch, the second end of the selection switch is connected to one end of a third connection line, and the third end of the selection switch is connected to one end of a fourth connection line. In this way, the power amplifier can be connected to the circuit connected to the third connection line via the second end of the selection switch, or can be connected to the circuit connected to the fourth connection line via the third end of the selection switch.

[0016] In one possible implementation, the first circuit further includes a third low-noise amplifier, a seventh frequency-dividing switch, an eighth frequency-dividing switch, and S filters; the second circuit further includes a fourth low-noise amplifier, a ninth frequency-dividing switch, a tenth frequency-dividing switch, and Z filters, where S and Z are both natural numbers; the seventh frequency-dividing switch includes S+N input terminals, and the eighth frequency-dividing switch includes S+N input terminals; the ninth frequency-dividing switch includes Z+M input terminals, and the tenth frequency-dividing switch includes Z+M input terminals; the third low-noise amplifier is connected to the output terminal of the seventh frequency-dividing switch, one end of the S filters is respectively connected to the S input terminals of the seventh frequency-dividing switch, and the other end of the S filters is respectively connected to the S input terminals of the eighth frequency-dividing switch. The first antenna is connected to the output end of the ninth frequency-dividing switch, the second ends of the N duplexers are respectively connected to the N input ends of the seventh frequency-dividing switch, the third ends of the N duplexers are respectively connected to the N input ends of the eighth frequency-dividing switch, and the output end of the eighth frequency-dividing switch is connected to the first antenna; the fourth low-noise amplifier is connected to the output end of the ninth frequency-dividing switch, one end of the Z filters are respectively connected to the Z input ends of the ninth frequency-dividing switch, the other end of the Z filters are respectively connected to the Z input ends of the tenth frequency-dividing switch, the second ends of the M duplexers are respectively connected to the M input ends of the ninth frequency-dividing switch, the third ends of the M duplexers are respectively connected to the M input ends of the tenth frequency-dividing switch, and the output end of the tenth frequency-dividing switch is connected to the second antenna.

[0017] In this way, the terminal device can receive the signal transmitted by the first antenna through the first circuit, and can also transmit the signal to the first antenna for sending. It can also receive the signal transmitted by the second antenna through the second circuit, and can also transmit the signal to the second antenna for sending.

[0018] In one possible implementation, the terminal device further includes a controller; the controller is configured to, when the downlink reference signal received power of the first antenna is greater than or equal to a first preset value, or when the downlink reference signal received power of the first antenna is less than the first preset value and the first value is less than or equal to a second preset value, control the second end of the selection switch to be in a conductive state, and control the power amplifier to connect to the first circuit via a third connection line and any first output end of the first frequency-dividing switch; the first value is the difference between the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna; the controller is further configured to, when the downlink reference signal received power of the first antenna is less than the first preset value and the first value is greater than the second preset value, control the third end of the selection switch to be in a conductive state, and control the power amplifier to connect to the second circuit via a fourth connection line and any output end of the second frequency-dividing switch. In this way, when the terminal device transmits a signal, the controller can control the power amplifier to connect to the first circuit to support the first antenna to transmit a signal, or control the power amplifier to connect to the second circuit to support the second antenna to transmit a signal.

[0019] In a second aspect, an embodiment of the present application provides a control method, which is applied to a terminal device described in any possible implementation of the first aspect, the method comprising: when the downlink reference signal received power of the first antenna is greater than or equal to a first preset value, or when the downlink reference signal received power of the first antenna is less than the first preset value and the first value is less than or equal to a second preset value, a controller of the terminal device controls a power amplifier to connect to a first circuit through any first output end of a first frequency-dividing switch; the first value is the difference between the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna; or when the downlink reference signal received power of the first antenna is less than the first preset value and the first value is greater than the second preset value, the controller controls the power amplifier to connect to a second circuit through any output end of a second frequency-dividing switch. In this way, the terminal device can determine an antenna with better transmission performance based on the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna, and control the power amplifier to connect to the circuit corresponding to the antenna through the controller.

[0020] In a third aspect, an embodiment of the present application provides a terminal device, which includes a radio frequency chip, a fifth connecting line, a sixth connecting line, a first power amplifier, a second power amplifier, a first circuit, a second circuit, a first antenna, a second antenna, a first frequency division switch, and a second frequency division switch; the first circuit includes N duplexers, and the second circuit includes M duplexers; the first frequency division switch includes N output terminals, and the second frequency division switch includes M output terminals; N and M are both natural numbers; the first end of the radio frequency chip is connected to one end of the fifth connecting line, the other end of the fifth connecting line is connected to the input terminal of the first power amplifier, and the output terminal of the first power amplifier is connected to The first end of the RF chip is connected to the input end of the first frequency-dividing switch, and the first ends of the N duplexers are respectively connected to the N output ends of the first frequency-dividing switch; the second end of the RF chip is connected to one end of the sixth connecting line, the other end of the sixth connecting line is connected to the input end of the second power amplifier, the output end of the second power amplifier is connected to the input end of the second frequency-dividing switch, and the first ends of the M duplexers are respectively connected to the M output ends of the second frequency-dividing switch; the first antenna is connected to the first circuit, and the second antenna is connected to the second circuit; the first power amplifier is used to access the first circuit and support the first antenna to send signals; the second power amplifier is used to access the second circuit and support the second antenna to send signals.

[0021] In one possible implementation, the first circuit is positioned less than a preset distance from the first antenna; the second circuit is positioned less than a preset distance from the second antenna; the first power amplifier is positioned less than a preset distance from the first circuit, and the second power amplifier is positioned less than a preset distance from the second circuit. In this way, the first power amplifier and the first circuit are both positioned close to the first antenna, shortening the distance between the first power amplifier and the first antenna, thereby minimizing signal loss during transmission between the first power amplifier and the first antenna. The second power amplifier and the second circuit are both positioned close to the second antenna, shortening the distance between the second power amplifier and the second antenna, thereby minimizing signal loss during transmission between the second power amplifier and the second antenna.

[0022] In one possible implementation, the first circuit includes a fifth low-noise amplifier, an eleventh frequency-dividing switch, a twelfth frequency-dividing switch, and R filters; the second circuit also includes a sixth low-noise amplifier, a thirteenth frequency-dividing switch, a fourteenth frequency-dividing switch, and T filters, where R and T are both natural numbers; the eleventh frequency-dividing switch includes N+R input terminals, the twelfth frequency-dividing switch includes N+R input terminals; the tenth frequency-dividing switch includes M+T input terminals, and the fourteenth frequency-dividing switch includes M+T input terminals; the fifth low-noise amplifier is connected to the output terminal of the eleventh frequency-dividing switch, one end of the R filters is respectively connected to the R input terminals of the eleventh frequency-dividing switch, and the other end of the R filters is respectively connected to the R input terminals of the twelfth frequency-dividing switch. The first antenna is connected to the output end of the 13th frequency-dividing switch, the second ends of the N duplexers are respectively connected to the N input ends of the 11th frequency-dividing switch, the third ends of the N duplexers are respectively connected to the N input ends of the 12th frequency-dividing switch, and the output end of the 12th frequency-dividing switch is connected to the first antenna; the sixth low-noise amplifier is connected to the output end of the 13th frequency-dividing switch, one end of the T filters are respectively connected to the T input ends of the 13th frequency-dividing switch, the other ends of the T filters are respectively connected to the T input ends of the 14th frequency-dividing switch, the second ends of the M duplexers are respectively connected to the M input ends of the 13th frequency-dividing switch, the third ends of the M duplexers are respectively connected to the M input ends of the 14th frequency-dividing switch, and the output end of the 14th frequency-dividing switch is connected to the second antenna.

[0023] In this way, the terminal device can receive the signal transmitted by the first antenna through the first circuit, and can also transmit the signal to the first antenna for sending. It can also receive the signal transmitted by the second antenna through the second circuit, and can also transmit the signal to the second antenna for sending.

[0024] In one possible implementation, the terminal device further includes a controller; the controller is configured to control the first end of the RF chip to access the path where the first power amplifier is located when the downlink reference signal received power of the first antenna is greater than or equal to a first preset value, or when the downlink reference signal received power of the first antenna is less than the first preset value and the first value is less than or equal to a second preset value; the first value is the difference between the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna; the controller is further configured to control the second end of the RF chip to access the path where the second power amplifier is located when the downlink reference signal received power of the first antenna is less than the first preset value and the first value is greater than the second preset value. In this way, when the terminal device transmits a signal, the controller can control the power amplifier to access the first circuit to support the first antenna in transmitting the signal, or control the power amplifier to access the second circuit to support the second antenna in transmitting the signal.

[0025] In fourth aspect, an embodiment of the present application provides a control method, which is applied to a terminal device described in any possible implementation of the third aspect above, and the method includes: when the downlink reference signal receiving power of the first antenna is greater than or equal to a first preset value, or when the downlink reference signal receiving power of the first antenna is less than the first preset value, and the first value is less than or equal to the second preset value, the controller of the terminal device controls the first end of the RF chip to access the path where the first power amplifier is located; the first value is the difference between the downlink reference signal receiving power of the first antenna and the downlink reference signal receiving power of the second antenna; when the downlink reference signal receiving power of the first antenna is less than the first preset value, and the first value is greater than the second preset value, the controller controls the second end of the RF chip to access the path where the second power amplifier is located.

[0026] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory is used to store code instructions, and the processor is used to run the code instructions to execute the method described in any possible implementation of the first to fourth aspects.

[0027] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is run on a computer, the computer executes the method described in any possible implementation of the first to fourth aspects.

[0028] In a seventh aspect, an embodiment of the present application provides a computer program product comprising a computer program, which, when the computer program runs on a computer, enables the computer to execute the method described in any possible implementation of the first to fourth aspects.

[0029] In an eighth aspect, the present application provides a chip or chip system, comprising at least one processor and a communication interface, wherein the communication interface and the at least one processor are interconnected by a line, and the at least one processor is configured to run a computer program or instruction to perform the method described in any possible implementation of aspects 1 to 4. The communication interface in the chip may be an input / output interface, a pin, or a circuit, etc.

[0030] In one possible implementation, the chip or chip system described above in this application further includes at least one memory, in which instructions are stored. The memory may be a storage unit within the chip, such as a register, a cache, etc., or a storage unit of the chip (e.g., a read-only memory, a random access memory, etc.).

[0031] It should be understood that the second to eighth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] FIG1 is a schematic diagram of the arrangement positions of a radio frequency front-end circuit and an antenna in a terminal device provided in an embodiment of the present application;

[0033] FIG2 is a circuit diagram 1 of a radio frequency front-end system provided in an embodiment of the present application;

[0034] FIG3 is a schematic diagram showing a position of a diversity receiving circuit provided in an embodiment of the present application close to a diversity antenna;

[0035] FIG4 is a second circuit diagram of a radio frequency front-end system provided in an embodiment of the present application;

[0036] FIG5 is a schematic diagram showing the position of a radio frequency front-end circuit provided in an embodiment of the present application, close to a main antenna;

[0037] FIG6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0038] FIG7 is a circuit diagram 1 of a terminal device provided in an embodiment of the present application;

[0039] FIG8 is a schematic diagram showing a position of a second circuit provided near a second antenna according to an embodiment of the present application;

[0040] FIG9 is a second circuit diagram of a terminal device provided in an embodiment of the present application;

[0041] FIG10 is a schematic diagram showing a position where a first circuit is disposed close to a first antenna and a second circuit is disposed close to a second antenna, provided in an embodiment of the present application;

[0042] FIG11 is a third circuit diagram of a terminal device provided in an embodiment of the present application;

[0043] FIG12 is a schematic diagram showing the arrangement of various circuit elements of a device including two power amplifiers according to an embodiment of the present application;

[0044] FIG13 is a fourth circuit diagram of a terminal device provided in an embodiment of the present application;

[0045] FIG14 is a schematic flow chart of a signal transmission method provided in an embodiment of the present application;

[0046] FIG15 is a schematic diagram of the hardware structure of another terminal device provided in an embodiment of the present application;

[0047] FIG16 is a schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In the embodiments of this application, terms such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the terms "first chip" and "second chip" are used solely to distinguish between different chips and do not define their order. Those skilled in the art will understand that terms such as "first" and "second" do not define the quantity or execution order, and do not necessarily define differences.

[0049] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0050] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, c can be single or multiple.

[0051] The RF front-end system of the wireless communication system of the terminal device can be composed of two parts: the RF front-end circuit and the antenna, wherein the antenna can include a main antenna and a diversity antenna, and the terminal device can achieve communication through the RF front-end circuit, the main antenna and the diversity antenna. In some implementations, taking the terminal device as a folding screen mobile phone as an example, FIG1 shows a schematic diagram of the setting position of the RF front-end circuit and the antenna in a terminal device. As shown in FIG1 , the folding screen mobile phone consists of two screens, including a main screen and a sub-screen, wherein the main antenna is set at the bottom of the main screen of the terminal device, the RF front-end circuit can be set on the PCB board of the main screen (not shown in FIG1 ), and the diversity antenna is set on the right side of the sub-screen. The main antenna and the RF front-end circuit are connected by a connecting line, and the diversity antenna and the RF front-end circuit are connected by a connecting line. The connecting line can be a coaxial line, an RF flexible board, or a connecting line of other materials.

[0052] For example, the RF front-end circuit in Figure 1 may include a main circuit, a diversity receiving circuit, and an antenna switching switch. Figure 2 shows a circuit diagram of a RF front-end system. As shown in Figure 2, the diversity receiving circuit in the RF front-end circuit may include a low noise amplifier 1 (LNA1), a first switch, five filters, and a second switch. The main circuit may include a low noise amplifier LNA2, a third switch, a fourth switch, a fifth switch, a power amplifier (PA), two filters, and three duplexers.

[0053] It is understandable that FIG2 is only used as an example to illustrate that the diversity receiving circuit includes 5 filters and the main receiving circuit includes 2 filters and 3 duplexers, and does not constitute a limitation on the number of filters and duplexers.

[0054] As shown in Figure 2, LNA1 is connected to the output of the first switch. One end of each of the five filters is connected to the five inputs of the first switch, and the other ends of each of the five filters are connected to the five outputs of the second switch. The input of the second switch is connected to the first input of the antenna switching switch, which is connected to the diversity antenna via a coaxial cable or RF flex cable. LNA2 is connected to the output of the third switch. One end of each of the two filters is connected to the two inputs of the third switch, and the other ends of each of the two filters are connected to the two inputs of the fifth switch. The first ends of the three duplexers are connected to the three inputs of the third switch, the second ends of the three duplexers are connected to the three inputs of the fifth switch, and the third ends of the three duplexers are connected to the three outputs of the fourth switch. The output of the power amplifier is connected to the input of the fourth switch, and the output of the fifth switch is connected to the second input of the antenna switching switch. The second output of the antenna switching switch is connected to the main antenna via a coaxial cable or RF flex cable. Among them, the output end of the frequency dividing switch described in Figure 1 above can also be used as the input end of the signal, and the input end can also be used as the output end of the signal. Whether the port of the frequency dividing switch is an input end or an output end is related to the flow direction of the signal. The description of the embodiment of the present application does not constitute a limitation on the output end and the input end.

[0055] In conjunction with the circuit shown in Figure 2, when the diversity antenna of the terminal device receives a signal, the diversity antenna can transmit the received signal to the diversity receiving circuit through the coaxial line or RF flexible board, and the antenna switching switch. When the main collection antenna of the terminal device receives a signal, the main collection antenna can transmit the received signal to the main collection circuit through the coaxial line or RF flexible board, and the antenna switching switch. When the terminal device uses the main collection antenna to send a signal, the terminal device can control the antenna switching switch to connect the main collection circuit to the path where the main collection antenna is located, so that the signal is transmitted to the main collection antenna through the power amplifier, main collection circuit, and antenna switching switch of the main collection circuit. When the terminal device uses the diversity antenna to send a signal, the terminal device can control the antenna switching switch to connect the main collection circuit to the path where the diversity antenna is located, so that the signal is transmitted to the diversity antenna through the power amplifier, main collection circuit, and antenna switching switch in the main collection circuit for transmission.

[0056] However, in the above implementation, the main collection circuit supports the reception and transmission of signals, and the diversity receiving circuit supports the reception of signals. Therefore, when the terminal device uses the main collection antenna or the diversity antenna to transmit signals, the signal emitted by the main collection circuit needs to be transmitted through the antenna switching switch and the connecting line (coaxial line or RF flexible board, etc.) to the main collection antenna or the diversity antenna for transmission. The antenna switching switch and the connecting line (coaxial line or RF flexible board, etc.) will cause a large loss to the transmitted signal. In addition, when the terminal device receives a signal, the signal received by the main collection antenna needs to be transmitted to the main collection circuit through the connecting line (coaxial line or RF flexible board, etc.) and the antenna switching switch, and the signal received by the diversity antenna needs to be transmitted to the diversity receiving circuit through the connecting line and the antenna switching switch. The antenna switching switch and the connecting line (coaxial line or RF flexible board, etc.) will cause a large loss to the received signal. Therefore, the circuit of the RF front-end system described in the above implementation causes a large signal loss when transmitting signals, resulting in low signal transmission efficiency.

[0057] In other implementations, in order to shorten the distance between the diversity receiving circuit in the RF front-end circuit and the diversity antenna, and reduce the wiring loss between the diversity receiving circuit in the RF front-end circuit and the diversity antenna, the diversity receiving circuit can be set close to the diversity antenna, as shown in Figure 3, which is a schematic diagram of the position of a diversity receiving circuit set close to the diversity antenna provided in an embodiment of the present application. As shown in Figure 3, the main receiving circuit and the antenna switching switch 2 are set on the PCB board of the terminal device (not shown in Figure 3), the main receiving antenna is set at the bottom of the screen, the diversity antenna is set to the right side of the screen, and the diversity receiving circuit and the antenna switching switch 1 are set close to the diversity antenna.

[0058] In conjunction with Figure 3, Figure 4 shows a second circuit diagram of a radio frequency front-end system. As shown in Figure 4, the terminal device may include a main receiver circuit, a diversity receiver circuit, an antenna switching switch 1, and an antenna switching switch 2. The diversity receiver circuit may include a low noise amplifier (LNA) 1, a first switch, five filters, and a second switch. The main receiver circuit may include a low noise amplifier (LNA) 2, a third switch, a fourth switch, a fifth switch, a power amplifier (PA), two filters, and three duplexers.

[0059] As shown in Figure 4, the output end of the second switch in the diversity receiving circuit is connected to the first input end of the antenna switching switch 1, the output end of the fifth switch in the main receiving circuit is connected to the second input end of the antenna switching switch 2, the second input end of the antenna switching switch 1 is connected to the first output end of the antenna switching switch 1 via a connecting line (as shown by the bold solid line in Figure 4), the first output end of the antenna switching switch 1 is connected to the diversity antenna, the second output end of the antenna switching switch 1 is connected to the second input end of the antenna switching switch 2 via a coaxial line or a radio frequency flexible board, and the second output end of the antenna switching switch 2 is connected to the main receiving antenna via a connecting line (as shown by the bold solid line in Figure 4). The connecting line can be a coaxial line or a radio frequency flexible board. The connection between the various components inside the main receiving circuit and the diversity receiving circuit is similar to that in Figure 2. Please refer to the relevant description of Figure 2 and will not be repeated here. The output end of the frequency dividing switch described in Figure 4 can also be used as the input end of the signal, and the input end can also be used as the output end of the signal. Whether the port of the frequency dividing switch is an input end or an output end is related to the flow direction of the signal. The description of the embodiment of the present application does not constitute a limitation on the output end and the input end.

[0060] In conjunction with the circuit shown in Figure 4, when a terminal device's diversity antenna receives a signal, the diversity antenna can transmit the received signal to the diversity receiving circuit via antenna switch 1, a connecting line (the connecting line between the two antenna switching switches), and antenna switch 2. When a terminal device's main antenna receives a signal, the main antenna can input the received signal to the main antenna circuit via a connecting line (the connecting line between the main antenna and antenna switching switch 2), antenna switching switch 2, a connecting line (the connecting line between the two antenna switching switches), and antenna switching switch 1. When the terminal device transmits a signal via the main antenna, the signal from the power amplifier is transmitted to the main antenna via the main antenna circuit, antenna switching switch 2, and a connecting line (the connecting line between the main antenna and antenna switching switch 2) for transmission. When the terminal device transmits a signal via the diversity antenna, the signal from the power amplifier is transmitted to the diversity antenna via the main antenna circuit, antenna switching switch 2, a connecting line (the connecting line between the two antenna switching switches), and antenna switching switch 1 for transmission. Antenna switching switches 1 and 2 are used to control whether signals are transmitted via the main antenna or the diversity antenna.

[0061] In the above implementation, when the diversity receiving circuit is set close to the diversity antenna, the connection line between antenna switching switch 1 and antenna switching switch 2 is in a cross state, so that the signal received by the main antenna, the signal received by the diversity antenna, and the signal sent by the diversity antenna all need to pass through two antenna switching switches. There is still a large loss in the signal transmission process, and the efficiency of signal transmission is low.

[0062] In another possible implementation, in order to shorten the distance between the main collection circuit and the main collection antenna in the RF front-end circuit and reduce the loss of the received signal, the RF front-end circuit can be placed close to the main collection antenna, as shown in Figure 5. Figure 5 is a schematic diagram of the position of the RF front-end circuit provided in an embodiment of the present application close to the main collection antenna. As shown in Figure 5, the main collection antenna is set at the bottom of the screen, the RF front-end circuit is set close to the main collection antenna, and the diversity antenna is set to the right side of the screen. The diversity antenna and the RF front-end circuit are connected via a coaxial cable or an RF flexible board.

[0063] However, the main collection circuit supports signal reception and transmission, and the diversity receiving circuit supports signal reception. When the RF front-end circuit is placed close to the main collection antenna, the terminal device still needs to control the antenna switching switch in the RF front-end circuit to connect the main collection circuit to the path where the main collection antenna is located or to the path where the diversity antenna is located. Signal reception and transmission still need to go through the antenna switching switch. In addition, placing the RF front-end circuit close to the main collection antenna will increase the distance between the diversity receiving circuit and the diversity antenna, resulting in greater signal loss when the diversity antenna is received and sent. Therefore, when the RF front-end circuit is placed close to the main collection antenna, there are still problems with large signal transmission loss and low transmission efficiency.

[0064] In view of this, an embodiment of the present application provides a terminal device, which includes a first circuit and a second circuit, wherein the first circuit and the second circuit both include multiple duplexers, so that the first circuit and the second circuit can both support the sending and receiving of signals. In this way, there is no need to set an antenna switching switch after the first circuit or the second circuit. The power amplifier can be multiplexed so that when the power amplifier is connected to the first circuit, the terminal device can support the first antenna to send signals through the first circuit, or when the power amplifier is connected to the second circuit, the terminal device can support the second antenna to send signals through the second circuit. In this way, the signal does not need to pass through the antenna switching switch when it is transmitted between the first circuit and the first antenna, and the signal does not need to pass through the antenna switching switch when it is transmitted between the second circuit and the second antenna, so that the loss during signal transmission is less, which can improve the efficiency of signal transmission.

[0065] Exemplarily, the terminal device of the embodiment of the present application may also be any form of electronic device. For example, the electronic device may include a handheld device with image processing function, a vehicle-mounted device, etc. For example, some electronic devices include: mobile phones, tablet computers, PDAs, laptop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving cars, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in 5G networks or future evolved public land mobile communication networks. The terminal equipment in the network (PLMN), etc., is not limited to this in the embodiments of the present application.

[0066] As an example and not a limitation, in the embodiments of the present application, the electronic device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0067] In addition, in the embodiments of the present application, the electronic device can also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection.

[0068] The electronic devices in the embodiments of the present application may also be referred to as: terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.

[0069] In the embodiments of the present application, the electronic device or each network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also known as main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as the Linux operating system, the Unix operating system, the Android operating system, the iOS operating system, or the Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.

[0070] For example, FIG6 shows a schematic structural diagram of an electronic device.

[0071] The electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a pogo pin connector interface 131, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0072] It is understood that the structures illustrated in the embodiments of the present invention do not constitute specific limitations on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0073] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0074] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0075] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0076] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0077] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).

[0078] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present invention is only a schematic illustration and does not constitute a structural limitation of the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0079] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0080] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0081] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0082] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0083] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0084] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0085] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0086] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application does not limit the software system of the electronic device.

[0087] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be implemented independently or in combination with each other. For the same or similar concepts or processes, some embodiments may not be described in detail.

[0088] Exemplarily, a terminal device may include a first circuit, a second circuit, a first antenna, a second antenna, a first frequency-dividing switch, and a second frequency-dividing switch. The first circuit may include N duplexers, and the second circuit may include M duplexers; the first frequency-dividing switch includes N first output terminals, and the second frequency-dividing switch includes M output terminals. Both N and M are natural numbers, and are not specifically limited in the embodiments of the present application.

[0089] The first ends of the N duplexers are respectively connected to the N first output ends of the first frequency division switch, and the first ends of the M duplexers are respectively connected to the M output ends of the second frequency division switch. The first antenna is connected to the first circuit, and the second antenna is connected to the second circuit.

[0090] Since both the first circuit and the second circuit include multiple duplexers, and the first antenna is connected to the first circuit and the second antenna is connected to the second circuit, the terminal device can receive or send signals through the first antenna through the first circuit, and can receive or send signals through the second antenna through the second circuit.

[0091] Exemplarily, the terminal device may include a power amplifier, which may be connected to a first circuit to support a first antenna to send signals; or connected to a second circuit to support a second antenna to send signals.

[0092] In this way, the terminal device is provided with a first circuit for use with a first antenna, and a second circuit for use with a second antenna, so that signals received by the first antenna can be transmitted to the first circuit, and signals received by the second antenna can be transmitted to the second circuit. Furthermore, the power amplifier in the terminal device can be reused. When the terminal device uses the first antenna to transmit a signal, the power amplifier is connected to the first circuit, and when the terminal device uses the second antenna to transmit a signal, the power amplifier is connected to the second circuit. This eliminates the need for an antenna switching switch between the first circuit and the second circuit, reduces signal losses during transmission between the first circuit and the first antenna, and between the second circuit and the second antenna, and improves signal transmission efficiency.

[0093] Exemplarily, there are two possible implementations of a terminal device multiplexing power amplifier. In one possible implementation, the power amplifier can be connected to the input of a first frequency-dividing switch, and the input of a second frequency-dividing switch can be connected to one of the outputs of the first frequency-dividing switch, so that the first power amplifier can access the first circuit through the first frequency-dividing switch, or access the second circuit connected to the second frequency-dividing switch through the output of the first frequency-dividing switch connected to the second frequency-dividing switch. In this possible implementation, the second circuit can be located near the second antenna.

[0094] In another possible implementation, a selection switch may be provided in the terminal device, the power amplifier may be connected to the input of the selection switch, and the two outputs of the selection switch may be connected to the first frequency-dividing switch and the second frequency-dividing switch, respectively, so that the terminal device can connect the power amplifier to the first circuit connected to the first frequency-dividing switch, or to the second circuit connected to the second frequency-dividing switch, through the output of the selection switch. In this possible implementation, the first circuit may be provided near the first antenna, and the second circuit may be provided near the second antenna.

[0095] Two possible implementations of the multiplexing power amplifier are described below through specific embodiments.

[0096] In one possible implementation, the second frequency-dividing switch may include a second output terminal, and the terminal device may multiplex the power amplifier through the second output terminal of the second frequency-dividing switch, as shown in FIG7 . FIG7 is a circuit diagram of a terminal device provided in an embodiment of the present application. As shown in FIG7 , the circuit may include a power amplifier PA, a first circuit, a second circuit, a first frequency-dividing switch, a second frequency-dividing switch, a first connecting line (bold solid line in FIG7 ), a second connecting line (bold implementation in FIG7 ), a first antenna, and a second antenna. The first circuit may include a first noise amplifier LNA1, two filters, three duplexers, a third frequency-dividing switch, and a fourth frequency-dividing switch. The second circuit may include a second noise amplifier LNA2, two filters, three duplexers, a fifth frequency-dividing switch, and a sixth frequency-dividing switch.

[0097] Illustratively, the first connecting line may be a coaxial line or a radio frequency flexible board, and the second connecting line may be a coaxial line or a radio frequency flexible board. The embodiment of the present application does not specifically limit the first connecting line and the second connecting line.

[0098] As shown in Figure 7, in the first circuit, the first low-noise amplifier LNA1 is connected to the output end of the third frequency-dividing switch, one end of the two filters is respectively connected to the two input ends of the third frequency-dividing switch, the other ends of the two filters are respectively connected to the two input ends of the fourth frequency-dividing switch, the first ends of the three duplexers are respectively connected to the three output ends of the first frequency-dividing switch, the second ends of the three duplexers are respectively connected to the three input ends of the third frequency-dividing switch, the third ends of the three duplexers are respectively connected to the three input ends of the fourth frequency-dividing switch, the output end of the fourth frequency-dividing switch is connected to one end of the second connecting line, and the other end of the second connecting line is connected to the first antenna.

[0099] In the second circuit, a second low-noise amplifier LNA2 is connected to the input and output of the fifth frequency-dividing switch; one end of two filters is connected to the two inputs of the fifth frequency-dividing switch, respectively; the other ends of the two filters are connected to the two inputs of the sixth frequency-dividing switch, respectively; the first ends of three duplexers are connected to the three first outputs of the second frequency-dividing switch, respectively; the second ends of the three duplexers are connected to the three inputs of the fifth frequency-dividing switch, respectively; the third ends of the three duplexers are connected to the three inputs of the sixth frequency-dividing switch, respectively; the output of the sixth frequency-dividing switch is connected to one end of a first connecting line, the other end of which is connected to the second antenna. A power amplifier PA is connected to the input of the first frequency-dividing switch, and the second output of the first frequency-dividing switch is connected to the input of the second frequency-dividing switch.

[0100] It can be understood that the output end of the frequency divider switch described in Figure 7 above can also be used as the input end of the signal, and the input end can also be used as the output end of the signal. Whether the port of the frequency divider switch is an input end or an output end is related to the flow direction of the signal. The description of the embodiment of the present application does not constitute a limitation on the output end and the input end.

[0101] The circuits shown in FIG7 are illustrated by taking as examples a first circuit including two filters and three duplexers, and a second circuit including two filters and three duplexers, and do not limit the filters and duplexers in the terminal device. Each of the multiple frequency-dividing switches in FIG7 corresponds to a signal in a different frequency band. For example, the three first output terminals of the first frequency-dividing switch correspond to signals in three different frequency bands, i.e., signals in different frequency bands are output through different output terminals.

[0102] Exemplarily, in the circuit shown in Figure 7, when the first antenna of the terminal device receives a signal, the first antenna can transmit the received signal to the first circuit through the second connecting line. When the second antenna of the terminal device receives a signal, the second antenna can transmit the received signal to the second circuit through the first connecting line. When the terminal device needs to send a signal through the first antenna, the power amplifier can be connected to the first circuit through any first output end of the first frequency divider switch, so that the signal output by the power amplifier is transmitted to the first antenna through the first circuit and the second connecting line for transmission. When the terminal device needs to send a signal through the second antenna, the power amplifier can be connected to the second frequency divider switch through the second output end of the first frequency divider switch, so that the power amplifier is connected to the second circuit through the second frequency divider switch, so that the signal output by the power amplifier is transmitted to the second antenna through the second circuit and the first connecting line for transmission.

[0103] In this way, by multiplexing the power amplifier, the terminal device can connect the power amplifier to the first circuit to support signal transmission by the first antenna, or connect the power amplifier to the second circuit to support signal transmission by the second antenna. This allows signals to be transmitted between the first circuit and the first antenna via the second connecting line, and signals can also be transmitted between the second circuit and the second antenna via the first connecting line, thereby reducing signal transmission losses and improving signal transmission efficiency.

[0104] It is understood that in the circuit shown in FIG7 , the power amplifier PA, the first circuit, the second circuit, the first frequency-dividing switch, and the second frequency-dividing switch can be disposed on a PCB of the terminal device, for example, at the location of the RF front-end circuit in FIG1 . In the embodiment of the present application, the second circuit can be disposed near the second antenna, so that the distance between the second antenna and the second circuit is relatively close, thereby reducing signal loss during transmission between the second circuit and the second antenna.

[0105] For example, when the second circuit is positioned near the second antenna, the power amplifier PA, the first circuit, the second circuit, the first antenna, and the second antenna in the terminal device are shown in FIG8 . FIG8 is a schematic diagram illustrating a second circuit positioned near the second antenna according to an embodiment of the present application. FIG8 is merely illustrative of a foldable screen mobile phone as an example of a terminal device and does not limit the terminal device.

[0106] As shown in Figure 8, the first antenna is set at the bottom of the main screen of the terminal device. The power amplifier PA and the first circuit can be set on the PCB board of the main screen (not shown in Figure 1). The second antenna is set to the right side of the secondary screen. The first power amplifier and the second circuit are connected by a first connecting line, and the first circuit and the first antenna are connected by a second connecting line. The connecting line can be a coaxial line, an RF flexible board, or a connecting line made of other materials.

[0107] For example, in Figure 8 , the distance between the location where the second circuit is located and the second antenna may be less than a preset distance, wherein the preset distance may be a relatively small value, which is not limited in the present embodiment.

[0108] In combination with the position diagram shown in FIG8 , FIG9 shows a second circuit diagram of a terminal device.

[0109] As shown in Figure 9, the circuit may include a power amplifier PA, a first circuit, a second circuit, a first frequency-dividing switch, a second frequency-dividing switch, a first connecting line, a second connecting line, a first antenna, and a second antenna. Specifically, the first circuit may include a first noise amplifier LNA1, two filters, three duplexers, a third frequency-dividing switch, and a fourth frequency-dividing switch. The second circuit may include a second noise amplifier LNA2, two filters, three duplexers, a fifth frequency-dividing switch, and a sixth frequency-dividing switch.

[0110] Since the second circuit in FIG7 is located away from the second antenna and is connected to the second antenna via a first connecting line, while the second circuit in FIG9 is located closer to the second antenna, the first antenna in FIG9 can be used to connect the second circuit to the power amplifier. Therefore, the circuit shown in FIG9 differs from the circuit shown in FIG7 in that the second output of the first frequency-dividing switch is connected to one end of the first connecting line, and the other end of the first connecting line is connected to the input of the second frequency-dividing switch. The output of the sixth frequency-dividing switch is connected to the second antenna. The connection method between the other circuit elements in FIG9 is the same as that in FIG7 and will not be repeated here.

[0111] For example, in the circuit shown in FIG9 , when the first antenna of the terminal device receives a signal, the first antenna can transmit the received signal to the first circuit through the second connecting line. When the second antenna of the terminal device receives a signal, the first antenna can transmit the received signal to the second circuit. When the terminal device sends a signal through the first antenna, the power amplifier can be connected to the first circuit through any first output terminal in the first frequency divider switch, so that the signal output by the power amplifier is transmitted to the first antenna through the first circuit and the second connecting line for transmission. When the terminal device needs to send a signal through the second antenna, the power amplifier can be connected to the second frequency divider switch through the second output terminal in the first frequency divider switch and the first connecting line, and the power amplifier is connected to the second circuit, so that the signal output by the power amplifier is transmitted to the second antenna through the first connecting line and the second circuit for transmission.

[0112] In this way, by arranging the second circuit close to the second antenna, the distance between the second circuit and the second antenna is shortened, so that the signal loss during transmission between the second circuit and the second antenna is small, and the efficiency of signal transmission can be improved.

[0113] The above describes a manner in which the terminal device multiplexes the power amplifier through the second output end of the first frequency dividing switch. The following describes a manner in which the terminal device multiplexes the power amplifier through the switching switch.

[0114] In another possible implementation, the terminal device can reuse power amplifiers by switching a switch. In this possible implementation, the first circuit can be located near the first antenna, so that the distance between the first circuit and the first antenna is relatively close, thereby shortening the distance that the signal travels between the first circuit and the first antenna. Furthermore, the second circuit can be located near the second antenna, so that the distance between the second circuit and the second antenna is relatively close, thereby shortening the distance that the signal travels between the second circuit and the second antenna.

[0115] For example, Figure 10 shows a schematic diagram of a first circuit being located near a first antenna and a second circuit being located near a second antenna. Figure 10 is merely an example of a foldable screen mobile phone as the terminal device and does not constitute a limitation on the terminal device.

[0116] As shown in Figure 10, the first antenna is located at the bottom of the terminal device's main screen, the second antenna is located to the right of the secondary screen, and the power amplifier PA and selector switch are located slightly above the center of the main screen. The first circuit is located near the first antenna, and the first circuit and the selector switch are connected via a third connecting line. The second circuit is located near the second antenna, and the second circuit and the selector switch are connected via a fourth connecting line.

[0117] For example, in the circuit shown in FIG10 , the distance between the location where the first circuit is located and the first antenna can be less than a preset distance, and the distance between the location where the second circuit is located and the second antenna can be less than a preset distance. The preset distance can be a relatively small value, and the embodiments of the present application do not limit the preset distance.

[0118] In combination with the position shown in Figure 10, when the first circuit is set close to the first antenna and the second circuit is set close to the second antenna, the circuit in the terminal device can be shown in Figure 11, which is a circuit schematic diagram three of a terminal device provided in an embodiment of the present application.

[0119] As shown in Figure 11, the circuit may include a power amplifier PA, a selection switch, a third connecting line, a fourth connecting line, a first circuit, a second circuit, a first antenna, and a second antenna. The first circuit may include a third noise amplifier LNA3, two filters, three duplexers, a seventh frequency divider switch, and an eighth frequency divider switch. The second circuit may include a fourth noise amplifier LNA4, two filters, three duplexers, a ninth frequency divider switch, and a tenth frequency divider switch.

[0120] As shown in Figure 11, the power amplifier is connected to the first end of the selection switch, the second end of the selection switch is connected to one end of the third connection line, the other end of the third connection line is connected to the input end of the first frequency dividing switch, the third end of the selection switch is connected to one end of the fourth connection line, and the other end of the fourth connection line is connected to the input end of the second frequency dividing switch.

[0121] In the first circuit, the third low-noise amplifier LNA3 is connected to the output of the seventh frequency-dividing switch. One end of the two filters is connected to the two inputs of the seventh frequency-dividing switch, and the other ends of the two filters are connected to the two inputs of the eighth frequency-dividing switch. The first ends of the three duplexers are connected to the three outputs of the first frequency-dividing switch, the second ends of the three duplexers are connected to the three inputs of the seventh frequency-dividing switch, and the third ends of the three duplexers are connected to the three inputs of the eighth frequency-dividing switch. The output of the eighth frequency-dividing switch is connected to the first antenna.

[0122] In the second circuit, the fourth low-noise amplifier LNA4 is connected to the output end of the ninth frequency-dividing switch, one end of the two filters is respectively connected to the two input ends of the ninth frequency-dividing switch, the other ends of the two filters are respectively connected to the two input ends of the tenth frequency-dividing switch, the first ends of the three duplexers are respectively connected to the three output ends of the second frequency-dividing switch, the second ends of the three duplexers are respectively connected to the three input ends of the ninth frequency-dividing switch, the third ends of the three duplexers are respectively connected to the three input ends of the tenth frequency-dividing switch, and the output end of the tenth frequency-dividing switch is connected to the second antenna.

[0123] It can be understood that the output end of the frequency divider switch in Figure 11 can also be used as the input end of the signal, and the input end can also be used as the output end of the signal. Whether the port of the frequency divider switch is an input end or an output end is related to the flow direction of the signal. The description of the embodiment of the present application does not constitute a limitation on the output end and the input end.

[0124] Exemplarily, as shown in FIG11 , the first circuit and the second circuit have the same composition. Therefore, when the first circuit and the second circuit are set in the terminal device, circuit elements of the same type can be used.

[0125] Exemplarily, when the first antenna of the terminal device receives a signal, the first antenna can transmit the received signal to the first circuit. When the second antenna of the terminal device receives a signal, the second antenna can transmit the received signal to the second circuit. When the terminal device needs to send a signal through the first antenna, the power amplifier can be connected to the first circuit through the selection switch and any first output end of the first frequency-dividing switch, so that the signal output by the power amplifier is transmitted to the first antenna through the switching switch, the third connection line and the first circuit for transmission. When the terminal device needs to send a signal through the second antenna, the power amplifier can be connected to the second circuit through the output end of any one of the selection switch and the second frequency-dividing switch, so that the signal output by the power amplifier is transmitted to the second antenna through the selection switch, the fourth connection line and the second circuit for transmission.

[0126] Thus, by placing the first circuit close to the first antenna, the distance the signal travels between the first antenna and the first circuit is shortened, reducing signal losses during transmission between the first antenna and the first circuit. By placing the second circuit close to the second antenna, the distance the signal travels between the second antenna and the second circuit is shortened, reducing signal losses during transmission between the second antenna and the second circuit. Therefore, placing the first circuit close to the first antenna and the second circuit close to the second antenna can reduce signal transmission losses and improve signal transmission efficiency.

[0127] For example, the terminal device may further include a radio frequency chip (not shown in the above embodiments). When the terminal device transmits a signal, the radio frequency chip may send the signal to a power amplifier. The power amplifier may process the received signal and transmit the processed signal via the first antenna or the second antenna. The signal output by the radio frequency chip is a small signal and needs to be amplified by the power amplifier.

[0128] Because small signals experience less transmission loss than large signals under the same transmission conditions, two power amplifiers can be installed in the terminal device, each connected to the RF chip via a coaxial cable or RF flex board. This way, the small signal from the RF chip is transmitted to the power amplifier via the coaxial cable or RF flex board, resulting in less signal loss than when a large signal processed by the power amplifier is transmitted via the coaxial cable or RF flex board.

[0129] Exemplarily, when the terminal device includes two power amplifiers, the terminal device may include a radio frequency chip, a fifth connecting line, a sixth connecting line, a first power amplifier, a second power amplifier, a first circuit, a second circuit, a first antenna, a second antenna, a first frequency division switch, and a second frequency division switch.

[0130] Among them, the first circuit may include N duplexers, and the second circuit may include M duplexers; the first frequency division switch includes N output terminals, and the second frequency division switch includes M first output terminals; N and M are both natural numbers, and the embodiments of the present application do not limit the values ​​of N and M.

[0131] Exemplarily, the first end of the RF chip can be connected to one end of a fifth connecting line, the other end of the fifth connecting line can be connected to the input of a first power amplifier, the output of the first power amplifier can be connected to the input of a first frequency-dividing switch, and the first ends of the N duplexers are respectively connected to the N outputs of the first frequency-dividing switch. The second end of the RF chip is connected to one end of a sixth connecting line, the other end of the sixth connecting line is connected to the input of a second power amplifier, the output of the second power amplifier is connected to the input of a second frequency-dividing switch, and the first ends of the M duplexers are respectively connected to the M outputs of the second frequency-dividing switch. The first antenna is connected to the first circuit, and the second antenna is connected to the second circuit.

[0132] Based on the above connection method, the first power amplifier can be connected to the first circuit to support the first antenna to send signals. The second power amplifier can be connected to the second circuit to support the second antenna to send signals.

[0133] For example, when a terminal device includes two power amplifiers, the first power amplifier and the first circuit in the terminal device can be located near the first antenna, and the second power amplifier and the second circuit can be located near the second antenna. This shortens the distance between the first antenna and the first circuit, shortens the distance between the second antenna and the second circuit, and shortens the distance between the first power amplifier and the first circuit, and shortens the distance between the second power amplifier and the second circuit. This reduces signal loss during transmission between the first power amplifier, the first circuit, and the first antenna, and reduces signal loss during transmission between the second power amplifier, the second circuit, and the second antenna, thereby improving signal transmission efficiency.

[0134] Figure 12 shows a schematic diagram of the arrangement of various circuit components including two power amplifiers. Figure 12 is only used as an example of a foldable screen mobile phone as a terminal device, and does not constitute a limitation on the terminal device.

[0135] As shown in Figure 12, the first antenna is located at the bottom of the terminal device's main screen, the second antenna is located to the right of the secondary screen, and the radio frequency chip (RFIC) is located slightly above the center of the terminal device's main screen. The first circuit and the first power amplifier are located near the first antenna, and the second circuit and the second power amplifier are located near the second antenna.

[0136] In Figure 12 , the distance between the location where the first circuit is located and the first antenna can be less than a preset distance, the distance between the location where the second circuit is located and the second antenna can be less than a preset distance, the distance between the location where the first power amplifier is located and the first circuit can be less than the preset distance, and the distance between the location where the second power amplifier is located and the second circuit can be less than the preset distance. The preset distance can be a relatively small value, and the embodiments of the present application do not limit the preset distance.

[0137] In conjunction with the placement of the various circuit components in the terminal device shown in Figure 12, Figure 13 is a fourth circuit diagram of a terminal device provided in an embodiment of the present application. As shown in Figure 13, the circuit includes a first power amplifier PA1, a second power amplifier PA, a fifth connecting line, a sixth connecting line, a first circuit, a second circuit, a first antenna, and a second antenna. The first circuit may include a fifth noise amplifier LNA5, two filters, three duplexers, an eleventh frequency divider switch, and a twelfth frequency divider switch. The second circuit may include a sixth noise amplifier LNA6, two filters, three duplexers, a thirteenth frequency divider switch, and a fourteenth frequency divider switch.

[0138] As shown in Figure 13, the first end of the RF chip is connected to one end of the fifth connection line, the other end of the fifth connection line is connected to the input end of the first power amplifier PA1, the second end of the RF chip is connected to one end of the sixth connection line, the other end of the sixth connection line is connected to the input end of the second power amplifier PA2. The output end of the first power amplifier PA1 is connected to the input end of the first frequency dividing switch, and the output end of the second power amplifier PA2 is connected to the input end of the second frequency dividing switch.

[0139] In the first circuit, a fifth low-noise amplifier is connected to the output of the eleventh frequency-dividing switch, one end of two filters is connected to the two inputs of the eleventh frequency-dividing switch, and the other ends of the two filters are connected to the two inputs of the twelfth frequency-dividing switch, respectively. A first end of three duplexers is connected to the three outputs of the first frequency-dividing switch, a second end of the three duplexers is connected to the three inputs of the eleventh frequency-dividing switch, and a third end of the three duplexers is connected to the three inputs of the twelfth frequency-dividing switch. The output of the twelfth frequency-dividing switch is connected to the first antenna.

[0140] In the second circuit, the sixth low-noise amplifier is connected to the output of the tenth three-way frequency divider switch, one end of the two filters is respectively connected to the two inputs of the tenth three-way frequency divider switch, the other ends of the two filters are respectively connected to the two inputs of the fourteenth frequency divider switch, the first ends of the M duplexers are respectively connected to the M first outputs of the second frequency divider switch, the second ends of the three duplexers are respectively connected to the three inputs of the tenth three-way frequency divider switch, and the third ends of the three duplexers are respectively connected to the three inputs of the fourteenth frequency divider switch. The output of the fourteenth frequency divider switch is connected to the second antenna.

[0141] It can be understood that the output end of the frequency divider switch described in Figure 13 can also be used as the input end of the signal, and the input end can also be used as the output end of the signal. Whether the port of the frequency divider switch is an input end or an output end is related to the flow direction of the signal. The description of the embodiment of the present application does not constitute a limitation on the output end and the input end.

[0142] Exemplarily, as shown in FIG13 , the first circuit and the second circuit have the same composition. Therefore, when the first circuit and the second circuit are set in the terminal device, the same type of circuit elements can be used.

[0143] Exemplarily, when the first antenna of the terminal device receives a signal, the first antenna may transmit the received signal to the first circuit. When the second antenna of the terminal device receives a signal, the second antenna may transmit the received signal to the second circuit. When the terminal device needs to send a signal through the first antenna, the RF chip sends a smaller signal to the first power amplifier through the fifth connection line. The first power amplifier processes the signal and transmits the processed signal to the first antenna through the first circuit for transmission. When the terminal device needs to send a signal through the second antenna, the RF chip sends the smaller signal to the second power amplifier through the sixth connection line. The second power amplifier processes the signal and transmits the processed signal to the second antenna through the second circuit for transmission.

[0144] In this way, the distance between the first antenna and the first circuit is relatively close, so that the signal loss is relatively small when the first antenna transmits the received signal to the first circuit. The distance between the second antenna and the second circuit is relatively close, so that the signal loss is relatively small when the second antenna transmits the received signal to the second circuit. In addition, the first power amplifier is arranged close to the first circuit, the second power amplifier is arranged close to the second circuit, and the RF chip is connected to the first power amplifier and the second power amplifier via a coaxial cable or a RF flexible board, so that the small signal output by the RF chip is transmitted through the coaxial cable or the RF flexible board, and the signal processed by the power amplifier does not need to be transmitted through the coaxial cable or the RF flexible board, which can reduce the loss in the signal transmission process when sending the signal and improve the efficiency of signal transmission.

[0145] In combination with the terminal device described in the above embodiment, an embodiment of the present application further provides a control method, which is applied to the terminal device described in the above embodiment.

[0146] FIG14 is a flow chart of a control method provided by an embodiment of the present application. As shown in FIG14 , the method may include the following steps:

[0147] S1401. The terminal device selects the first antenna to send signals by default.

[0148] Exemplarily, corresponding to the circuit diagram described in the above embodiment, there are the following three possible implementations for the terminal device to select the first antenna to send a signal by default:

[0149] In one possible implementation, in the circuit shown in FIG7 or FIG9 , the terminal device can control the second output end of the first frequency dividing switch to be in the disconnected state and control any first output end of the first frequency dividing switch to be in the on state through the controller.

[0150] In another possible implementation, in the circuit shown in FIG11 , the terminal device may control the second output end of the selection switch to be in an on state and control the third output end to be in an off state through the controller.

[0151] In another possible implementation, in the circuit shown in FIG13 , the terminal device controls the radio frequency chip RFIC through the controller to access the circuit where the first power amplifier is located through the first end.

[0152] S1402. The terminal device determines whether the downlink reference signal received power of the first antenna is less than a first preset value.

[0153] The first preset value is a value representing the downlink reference signal received power, and the embodiment of the present application does not limit the first preset value.

[0154] Exemplarily, when the terminal device transmits a downlink signal through the first antenna, the terminal device can obtain the downlink reference signal receiving power of the first antenna through the controller, and determine whether the downlink reference signal receiving power of the first antenna is less than a first preset value. When the downlink reference signal receiving power of the first antenna is greater than or equal to the first preset value, the following step S1404 can be executed; when the downlink reference signal receiving power of the first antenna is less than the first preset value, the following step S1403 can be executed.

[0155] S1403: The terminal device determines whether a difference between the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna is greater than a second preset value.

[0156] The second preset value is a numerical value representing the difference between the downlink reference signal received power of the first antenna and the second antenna. The embodiment of the present application does not limit the second preset value.

[0157] Exemplarily, when the terminal device performs downlink signal transmission through the first antenna, the terminal device can obtain the downlink reference signal received power of the first antenna through the controller, and when the terminal device performs downlink signal transmission through the second antenna, the terminal device can obtain the downlink reference signal received power of the second antenna through the controller. Further, the terminal device can determine through the controller whether the difference between the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna is greater than a second preset value. When the difference between the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna is greater than the second preset value, the following step S1405 can be executed. When the difference between the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna is less than or equal to the second preset value, the following step S1404 can be executed.

[0158] S1404. The terminal device sends a signal through the path where the first antenna is located.

[0159] Exemplarily, corresponding to the circuit diagram described in the above embodiment, there are the following three possible implementations for the terminal device to select the first antenna to send a signal by default:

[0160] In a possible implementation, in the circuit shown in FIG. 7 or FIG. 9 , the terminal device may control the power amplifier through the controller to access the first circuit through any first output end of the first frequency dividing switch.

[0161] In another possible implementation, in the circuit shown in Figure 11, the terminal device can control the second end of the selection switch to be in the on state through the controller, and control the power amplifier to connect to the first circuit through the third connection line and any first output end of the first frequency dividing switch.

[0162] In another possible implementation, in the circuit shown in FIG13 , the terminal device controls the radio frequency chip RFIC through the controller to access the circuit where the first power amplifier is located through the first end.

[0163] S1405. The terminal device sends a signal through the path where the second antenna is located.

[0164] Exemplarily, corresponding to the circuit diagram described in the above embodiment, there are the following three possible implementations for the terminal device to select the first antenna to send a signal by default:

[0165] In a possible implementation, in the circuit shown in FIG. 7 or FIG. 9 , the terminal device may control the power amplifier through the controller to access the second circuit through any output end of the second frequency dividing switch.

[0166] In another possible implementation, in the circuit shown in Figure 11, the terminal device can control the third end of the selection switch to be in the on state through the controller, and control the power amplifier to connect to the second circuit through the fourth connecting line and any output end of the second frequency dividing switch.

[0167] In another possible implementation, in the circuit shown in FIG13 , the terminal device controls the radio frequency chip RFIC through the controller to access the circuit where the second power amplifier is located through the second end.

[0168] To sum up, the control method provided in the embodiment of the present application allows the terminal device to determine the antenna with better transmission conditions among the first antenna and the second antenna to send a signal based on the downlink signal transmission conditions of the first antenna and the second antenna, thereby improving the efficiency of signal transmission.

[0169] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily appreciate that, in combination with the method steps of each example described in the embodiment disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0170] In the embodiment of the present application, the functional modules of the device for implementing the signal transmission method can be divided according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. In actual implementation, there may be other division methods.

[0171] Figure 15 is a schematic diagram of the hardware structure of another terminal device provided in an embodiment of the present application. As shown in Figure 15, the terminal device includes a processor 1501, a communication line 1504 and at least one communication interface (communication interface 1503 is exemplified in Figure 15).

[0172] The processor 1501 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a SOC, an MCU, or one or more integrated circuits used to control the execution of the program of the present application.

[0173] Communications link 1504 may include circuitry that transmits information between the aforementioned components.

[0174] The communication interface 1503 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, wireless local area networks (WLAN), etc.

[0175] Possibly, the terminal device may further include a memory 1502 .

[0176] The memory 1502 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be independent and connected to the processor via a communication line 1504. The memory may also be integrated with the processor.

[0177] The memory 1502 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 1501. The processor 1501 is used to execute the computer-executable instructions stored in the memory 1502.

[0178] Possibly, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, and the embodiments of the present application do not specifically limit this.

[0179] In a specific implementation, as an embodiment, the processor 1501 may include one or more CPUs, such as CPU0 and CPU1 in FIG15 .

[0180] In a specific implementation, as an example, a terminal device may include multiple processors, such as processor 1501 and processor 1505 in FIG15 . Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0181] FIG16 is a schematic diagram of the structure of a chip provided in an embodiment of the present application. The chip 160 includes one or more (including two) processors 161 , a communication line 162 , a communication interface 163 , and a memory 164 .

[0182] In some embodiments, the memory 164 stores the following elements: executable modules or data structures, or a subset thereof, or an extended set thereof.

[0183] The method described in the above embodiment of the present application can be applied to the processor 161, or implemented by the processor 161. The processor 161 may be an integrated circuit chip with signal processing capabilities. During implementation, the steps of the above method can be completed by hardware integrated logic circuits in the processor 161 or instructions in the form of software. The above-mentioned processor 161 can be a general-purpose processor (for example, a microprocessor or a conventional processor), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates, transistor logic devices or discrete hardware components.

[0184] The processor 161 , the memory 164 , and the communication interface 163 can communicate with each other via the communication line 162 .

[0185] In the above embodiment, the instructions stored in the memory for execution by the processor may be implemented in the form of a computer program product, wherein the computer program product may be pre-written in the memory or downloaded and installed in the memory in the form of software.

[0186] The present application also provides a computer program product including one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server or data center that includes one or more available media integrated. For example, the available medium can include magnetic media (e.g., floppy disk, hard disk or tape), optical media (e.g., digital versatile disc (DVD)), or semiconductor media (e.g., solid state disk (SSD)).

[0187] Embodiments of the present application also provide a computer-readable storage medium. Computer-readable media may include computer storage media and communication media, and may also include any medium that can transfer a computer program from one location to another. The storage medium may be any target medium that can be accessed by a computer.

[0188] As one possible design, computer-readable media may include compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM or other optical disc storage; computer-readable media may include magnetic disk storage or other magnetic disk storage devices. Moreover, any connecting line may also be appropriately referred to as a computer-readable medium. For example, if the software is transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disk and disc as used herein include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks usually reproduce data magnetically, while discs reproduce data optically using lasers.

[0189] It should be noted that the above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.

Claims

1. A terminal device, characterized in that: The terminal device includes: a power amplifier, a first circuit, a second circuit, a first antenna, a second antenna, a first frequency-dividing switch, and a second frequency-dividing switch; the first circuit includes N duplexers, and the second circuit includes M duplexers; the first frequency-dividing switch includes N first output terminals, and the second frequency-dividing switch includes M output terminals; N and M are both natural numbers; The first ends of the N duplexers are respectively connected to the N first output ends of the first frequency dividing switch, and the first ends of the M duplexers are respectively connected to the M output ends of the second frequency dividing switch; the first antenna is connected to the first circuit, and the second antenna is connected to the second circuit; The power amplifier is used to access the first circuit to support the first antenna to send signals; or to access the second circuit to support the second antenna to send signals.

2. The terminal device according to claim 1, wherein: The second circuit is arranged at a position less than a preset distance from the second antenna; the terminal device further includes a first connecting line; the first frequency dividing switch further includes a second output terminal; The power amplifier is connected to the input end of the first frequency dividing switch, the second output end is connected to one end of the first connecting line, and the other end of the first connecting line is connected to the input end of the second frequency dividing switch.

3. The terminal device according to claim 2, characterized in that The terminal device further includes a second connecting line; the first circuit further includes a first low-noise amplifier, a third frequency-dividing switch, a fourth frequency-dividing switch, and Q filters; the second circuit further includes a second low-noise amplifier, a fifth frequency-dividing switch, a sixth frequency-dividing switch, and L filters, where Q and L are both natural numbers; the third frequency-dividing switch includes Q+N input terminals, the fourth frequency-dividing switch includes Q+N input terminals; the fifth frequency-dividing switch includes L+M input terminals, and the sixth frequency-dividing switch includes L+M input terminals; The first low-noise amplifier is connected to the output end of the third frequency-dividing switch, one end of the Q filters is respectively connected to the Q input ends of the third frequency-dividing switch, the other ends of the Q filters are respectively connected to the Q input ends of the fourth frequency-dividing switch, the second ends of the N duplexers are respectively connected to the N input ends of the third frequency-dividing switch, the third ends of the N duplexers are respectively connected to the N input ends of the fourth frequency-dividing switch, the output end of the fourth frequency-dividing switch is connected to one end of the second connecting line, and the other end of the second connecting line is connected to the first antenna; The second low-noise amplifier is connected to the output end of the fifth frequency-dividing switch, one end of the L filters is respectively connected to the L input ends of the fifth frequency-dividing switch, the other ends of the L filters are respectively connected to the L input ends of the sixth frequency-dividing switch, the second ends of the M duplexers are respectively connected to the M input ends of the fifth frequency-dividing switch, the third ends of the M duplexers are respectively connected to the M input ends of the sixth frequency-dividing switch, and the output end of the sixth frequency-dividing switch is connected to the second antenna.

4. The terminal device according to any one of claims 1 to 3, characterized in that: The terminal device further includes a controller; the controller being configured to control the power amplifier to connect to the first circuit through any first output end of the first frequency dividing switch when the downlink reference signal received power of the first antenna is greater than or equal to a first preset value, or when the downlink reference signal received power of the first antenna is less than the first preset value and the first value is less than or equal to a second preset value; The first value is a difference between the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna; The controller is further configured to, when the downlink reference signal receiving power of the first antenna is less than the first preset value, When the first value is greater than the second preset value, the power amplifier is controlled to be connected to the second circuit through any output end of the second frequency dividing switch.

5. The terminal device according to claim 1, wherein: The first circuit is arranged at a position less than a preset distance from the first antenna; the second circuit is arranged at a position less than a preset distance from the second antenna; The terminal device further includes a third connecting line and a fourth connecting line; One end of the third connecting line is connected to the power amplifier, and the other end of the third connecting line is connected to the input end of the first frequency dividing switch. One end of the fourth connecting line is connected to the power amplifier, and the other end of the fourth connecting line is connected to the input end of the second frequency dividing switch.

6. The terminal device according to claim 5, characterized in that The terminal device further includes a selection switch; The power amplifier is connected to a first end of the selection switch, a second end of the selection switch is connected to one end of the third connection line, and a third end of the selection switch is connected to one end of the fourth connection line.

7. The terminal device according to claim 5 or 6, characterized in that: The first circuit further includes a third low-noise amplifier, a seventh frequency-dividing switch, an eighth frequency-dividing switch, and S filters; the second circuit further includes a fourth low-noise amplifier, a ninth frequency-dividing switch, a tenth frequency-dividing switch, and Z filters, where both S and Z are natural numbers; The seventh frequency-dividing switch includes S+N input terminals, the eighth frequency-dividing switch includes S+N input terminals; the ninth frequency-dividing switch includes Z+M input terminals, the tenth frequency-dividing switch includes Z+M input terminals; The third low-noise amplifier is connected to the output end of the seventh frequency-dividing switch, one end of the S filters is respectively connected to the S input ends of the seventh frequency-dividing switch, the other ends of the S filters are respectively connected to the S input ends of the eighth frequency-dividing switch, the second ends of the N duplexers are respectively connected to the N input ends of the seventh frequency-dividing switch, the third ends of the N duplexers are respectively connected to the N input ends of the eighth frequency-dividing switch, and the output end of the eighth frequency-dividing switch is connected to the first antenna; The fourth low-noise amplifier is connected to the output end of the ninth frequency-dividing switch, one end of the Z filters is respectively connected to the Z input ends of the ninth frequency-dividing switch, the other end of the Z filters is respectively connected to the Z input ends of the tenth frequency-dividing switch, the second ends of the M duplexers are respectively connected to the M input ends of the ninth frequency-dividing switch, the third ends of the M duplexers are respectively connected to the M input ends of the tenth frequency-dividing switch, and the output end of the tenth frequency-dividing switch is connected to the second antenna.

8. The terminal device according to claim 6 or 7, characterized in that: The terminal device further includes a controller; The controller is configured to, when the downlink reference signal received power of the first antenna is greater than or equal to a first preset value, or when the downlink reference signal received power of the first antenna is less than the first preset value and the first value is less than or equal to a second preset value, control the second end of the selection switch to be in an on state, and control the power amplifier to be connected to the first circuit through the third connecting line and any first output end of the first frequency dividing switch; the first value being a difference between the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna; The controller is further configured to control the third end of the selection switch to be in an on state, and to control the power amplifier to be connected to the second circuit through the fourth connection line and any output end of the second frequency dividing switch, when the downlink reference signal receiving power of the first antenna is less than the first preset value and the first value is greater than the second preset value.

9. A control method, applied to the terminal device according to any one of claims 1 to 8, characterized in that: The method comprises: When the downlink reference signal receiving power of the first antenna is greater than or equal to the first preset value, or when ... When the downlink reference signal received power is less than the first preset value and the first value is less than or equal to the second preset value, the controller of the terminal device controls the power amplifier to connect to the first circuit through any first output end of the first frequency dividing switch; the first value is the difference between the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna; Alternatively, when the downlink reference signal receiving power of the first antenna is less than the first preset value and the first value is greater than the second preset value, the controller controls the power amplifier to connect to the second circuit through any output end of the second frequency dividing switch.

10. A terminal device, characterized in that: The terminal device includes a radio frequency chip, a fifth connecting line, a sixth connecting line, a first power amplifier, a second power amplifier, a first circuit, a second circuit, a first antenna, a second antenna, a first frequency-dividing switch, and a second frequency-dividing switch; the first circuit includes N duplexers, and the second circuit includes M duplexers; the first frequency-dividing switch includes N output terminals, and the second frequency-dividing switch includes M output terminals; N and M are both natural numbers; The first end of the RF chip is connected to one end of the fifth connecting line, the other end of the fifth connecting line is connected to the input end of the first power amplifier, the output end of the first power amplifier is connected to the input end of the first frequency dividing switch, and the first ends of the N duplexers are respectively connected to the N output ends of the first frequency dividing switch; The second end of the RF chip is connected to one end of the sixth connection line, the other end of the sixth connection line is connected to the input end of the second power amplifier, the output end of the second power amplifier is connected to the input end of the second frequency dividing switch, and the first ends of the M duplexers are respectively connected to the M output ends of the second frequency dividing switch; The first antenna is connected to the first circuit, and the second antenna is connected to the second circuit; The first power amplifier is configured to be connected to the first circuit and support the first antenna to transmit signals; The second power amplifier is used to access the second circuit and support the second antenna to send signals.

11. The terminal device according to claim 10, characterized in that The first circuit is set at a position less than a preset distance from the first antenna; the second circuit is set at a position less than the preset distance from the second antenna; the first power amplifier is set at a position less than the preset distance from the first circuit, and the second power amplifier is set at a position less than the preset distance from the second circuit.

12. The terminal device according to claim 11, characterized in that The first circuit includes a fifth low-noise amplifier, an eleventh frequency-dividing switch, a twelfth frequency-dividing switch, and R filters; the second circuit also includes a sixth low-noise amplifier, a thirteenth frequency-dividing switch, a fourteenth frequency-dividing switch, and T filters, where R and T are both natural numbers; the eleventh frequency-dividing switch includes N+R input terminals, the twelfth frequency-dividing switch includes N+R input terminals; the thirteenth frequency-dividing switch includes M+T input terminals, and the fourteenth frequency-dividing switch includes M+T input terminals; The fifth low-noise amplifier is connected to the output end of the eleventh frequency-dividing switch, one end of the R filters is respectively connected to the R input ends of the eleventh frequency-dividing switch, the other ends of the R filters are respectively connected to the R input ends of the twelfth frequency-dividing switch, the second ends of the N duplexers are respectively connected to the N input ends of the eleventh frequency-dividing switch, the third ends of the N duplexers are respectively connected to the N input ends of the twelfth frequency-dividing switch, and the output end of the twelfth frequency-dividing switch is connected to the first antenna; The sixth low-noise amplifier is connected to the output end of the 13th frequency-dividing switch, one end of the T filters is respectively connected to the T input ends of the 13th frequency-dividing switch, the other ends of the T filters are respectively connected to the T input ends of the 14th frequency-dividing switch, the second ends of the M duplexers are respectively connected to the M input ends of the 13th frequency-dividing switch, and the third ends of the M duplexers are respectively connected to the M input ends of the 14th frequency-dividing switch. An output end of the fourteenth frequency-dividing switch is connected to the second antenna.

13. The terminal device according to any one of claims 10 to 12, characterized in that: The terminal device further includes a controller; The controller is configured to control the first end of the RF chip to connect to the path where the first power amplifier is located when the downlink reference signal received power of the first antenna is greater than or equal to a first preset value, or when the downlink reference signal received power of the first antenna is less than the first preset value and the first value is less than or equal to a second preset value; The first value is a difference between the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna; The controller is further configured to control the second end of the RF chip to access the path where the second power amplifier is located when the downlink reference signal receiving power of the first antenna is less than the first preset value and the first value is greater than the second preset value.

14. A control method, applied to the terminal device according to any one of claims 10 to 13, characterized in that: The method comprises: When the downlink reference signal received power of the first antenna is greater than or equal to a first preset value, or when the downlink reference signal received power of the first antenna is less than the first preset value and the first value is less than or equal to a second preset value, the controller of the terminal device controls the first end of the RF chip to access the path where the first power amplifier is located; the first value is the difference between the downlink reference signal received power of the first antenna and the downlink reference signal received power of the second antenna; When the downlink reference signal receiving power of the first antenna is less than the first preset value and the first value is greater than the second preset value, the controller controls the second end of the RF chip to access the path where the second power amplifier is located.

15. A terminal device, characterized in that: include: A memory and a controller, wherein the memory is used to store a computer program, and the controller is used to execute the computer program to perform the method according to claim 9 or 14.

16. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, which, when executed, cause a computer to perform the method according to claim 9 or 14.

17. A computer program product, characterized in that The device comprises a computer program which, when executed, causes the electronic device to perform the method according to claim 9 or 14.