Power detection method, device, equipment, and storage medium
By controlling the isolation mode between transceivers in the terminal device, the problem of insufficient isolation between multiple signals is solved, and the accuracy and cost reduction of power detection are achieved.
Patent Information
- Application Number
- CN202411975090.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-08
AI Technical Summary
During the power detection process of the terminal device, the isolation between multiple signals is insufficient, resulting in signal interference. The prior art solves the problem by replacing high isolation components, but this increases the cost of the terminal device.
By sending a control signal between at least two transceivers in the terminal device, the other transceiver is controlled to turn on the isolation mode, thereby improving the isolation between the signals and achieving accuracy of power detection.
Without changing the hardware structure, the isolation between multiple signals is improved, the accuracy of power detection is ensured, and the cost of terminal equipment is reduced.
Smart Images

Figure CN119788205A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to equipment power regulation technology, and relate to but are not limited to a power detection method and apparatus, equipment, and storage medium. Background Art
[0002] In order to ensure the accuracy of the power of the signal transmitted by the terminal device, it is usually necessary to perform power detection on the power of the signal transmitted by the terminal device.
[0003] During the detection process of the terminal equipment, if there are multiple different transceivers in the entire detection system, it may cause mutual interference between the signals sent by different transceivers. Therefore, it is necessary to improve the isolation between the multiple signals. In the related technology, the method usually adopted is to replace the components with higher isolation, which will lead to an increase in the cost of the terminal equipment. Summary of the invention
[0004] In view of this, the power detection method, device, equipment, and storage medium provided in the embodiments of the present application can improve the isolation between multiple signals without changing the hardware structure and ensure the accuracy of power detection. The power detection method, device, equipment, and storage medium provided in the embodiments of the present application are implemented as follows:
[0005] In one aspect of an embodiment of the present application, a power detection method is provided, which is applied to a terminal device, wherein the terminal device includes: at least two transceivers, a control switch, and a detection circuit;
[0006] At least two transceivers are connected to a control switch, and the control switch is connected to a detection circuit;
[0007] The working mode of each transceiver includes: a normal mode or an isolation mode, wherein the device isolation of the transceiver in the isolation mode is greater than the device isolation of the transceiver in the normal mode;
[0008] The method includes:
[0009] A target transceiver among the at least two transceivers sends a control signal to another transceiver, where the control signal is used to control the other transceiver to start an isolation mode;
[0010] When the other transceiver is in the isolation mode, the detection circuit performs power detection on the target transceiver.
[0011] In another aspect of the embodiment of the present application, a power detection device is provided, which is applied to a terminal device, and the terminal device includes: at least two transceivers, a control switch and a detection circuit;
[0012] At least two transceivers are connected to a control switch, and the control switch is connected to a detection circuit;
[0013] The working mode of each transceiver includes: a normal mode or an isolation mode, wherein the device isolation of the transceiver in the isolation mode is greater than the device isolation of the transceiver in the normal mode;
[0014] The device comprises: a control module and a detection module;
[0015] A control module, used for sending a control signal to another transceiver through a target transceiver among at least two transceivers, wherein the control signal is used for controlling the other transceiver to start an isolation mode;
[0016] The detection module is used to perform power detection on the target transceiver by a detection circuit when another transceiver is in an isolation mode.
[0017] The computer device provided in the embodiment of the present application includes a memory, a processor and a transceiver. The memory stores a computer program that can be run on the processor. When the processor and the transceiver execute the program, the method of the embodiment of the present application is implemented.
[0018] The computer-readable storage medium provided in the embodiment of the present application has a computer program stored thereon, and when the computer program is executed by a processor, the method provided in the embodiment of the present application is implemented.
[0019] In the power detection method, apparatus, device, and storage medium provided in the embodiments of the present application, a target transceiver among at least two transceivers may send a control signal to another transceiver, and the control signal is used to control the other transceiver to start an isolation mode; when the other transceiver is in the isolation mode, a detection circuit performs power detection on the target transceiver, wherein the isolation mode is turned on by the control signal to increase the isolation of the device of the other transceiver, thereby avoiding the influence of the power of the signal sent by the other transceiver during the power detection of the signal of the target transceiver, and improving the isolation between multiple signals without changing the hardware structure, thereby ensuring the accuracy of power detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0022] Figure 2 A schematic diagram of a power detection method according to an embodiment of the present invention;
[0023] Figure 3 A flowchart of power detection for a terminal device provided in an embodiment of the present application;
[0024] Figure 4 A schematic diagram of an internal path of a transceiver provided in an embodiment of the present application;
[0025] Figure 5 A connection diagram of a high-frequency transceiver detection provided in an embodiment of the present application;
[0026] Figure 6 A connection diagram of a medium and low frequency transceiver detection provided in an embodiment of the present application;
[0027] Figure 7 Another connection diagram of the high frequency transceiver detection provided in the embodiment of the present application;
[0028] Figure 8 A connection diagram of an intermediate frequency transceiver detection provided in an embodiment of the present application;
[0029] Fig. 9 A connection diagram of a low-frequency transceiver detection provided in an embodiment of the present application;
[0030] Fig.10 Another workflow diagram for power detection of a terminal device provided in an embodiment of the present application;
[0031] Fig.11 A schematic diagram of the structure of a power detection device provided in an embodiment of the present application;
[0032] Fig.12 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.
[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0035] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0036] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are used to distinguish similar or different objects, and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0037] In order to more clearly explain the power detection method provided in the embodiment of the present application, the structure of the terminal device to which the method is applied is explained below.
[0038] Figure 1 For a schematic diagram of the structure of the terminal device provided in the embodiment of the present application, please refer to Figure 1 The power detection method provided in the embodiment of the present application can be applied to terminal devices, which may include but are not limited to mobile phones, wearable devices (such as smart watches, smart bracelets, smart glasses, etc.), tablet computers, laptops, vehicle terminals, PCs (Personal Computers), etc. The functions implemented by the method can be implemented by calling program codes by a processor in an electronic device. Of course, the program codes can be stored in a computer storage medium. It can be seen that the terminal device at least includes a processor and a storage medium.
[0039] In one embodiment, the terminal device includes: at least two transceivers 110 , a control switch 120 , and a detection circuit 130 ; the at least two transceivers 110 are connected to the control switch 120 , and the control switch 120 is connected to the detection circuit 130 .
[0040] Among them, the transceiver 110 can be a device in the terminal device for sending and receiving signals. During the interaction between the terminal device and other devices, the transceiver 110 can actively send signals to other devices, or receive signals sent by other devices through the transceiver 110.
[0041] It should be noted that the terminal device may include at least two transceivers. For example, if there are two transceivers, the two transceivers may be a high-frequency transceiver and a medium-low-frequency transceiver respectively; if there are three transceivers, the three transceivers may be a high-frequency transceiver, a medium-frequency transceiver and a low-frequency transceiver respectively, where the actual frequency range defined by the high frequency, medium frequency and low frequency can be set according to actual needs, and no specific restrictions are made here.
[0042] The control switch 120 may be a single-pole double-throw switch, and may include two input terminals and one output terminal. The two input terminals may be connected to any two transceivers 110 , respectively, and the output terminal may be connected to the detection circuit 130 .
[0043] It should be noted that, when it is necessary to detect the power of a signal sent by one of the transceivers 110 , the control switch 120 may be switched to be connected to the transceiver 110 , thereby achieving circuit connection.
[0044] The detection circuit 130 may be a power detection path for the signal sent by the transceiver, for example, it may be a MRX (Monitoring Receiver) or a FBRX (Feedback Receiver).
[0045] The signal sent by the transceiver 110 may be transmitted to the detection circuit 130 through the control switch 120 , and the detection circuit 130 may determine the power of the signal after receiving the signal.
[0046] It should be noted that during the process of performing signal detection on any one of the multiple transceivers 110, if another transceiver connected to the control switch 120 is also in a signal transmission state, it may affect the signal sent by the transceiver performing signal detection, for example: in the case of double signal transmission, the power detection may not be accurate enough.
[0047] In order to solve the above problem and increase the isolation of the signals sent by the two transceivers, the technical means adopted in the related art is to replace the above control switch 120 with other switches with higher isolation, such as a single-pole four-throw switch. However, adopting this method will lead to an increase in the cost of the terminal equipment.
[0048] A power detection method is provided in an embodiment of the present application, which can improve the isolation between multiple signals without changing the hardware structure and ensure the accuracy of power detection. The specific implementation process of the power detection method provided in the embodiment of the present application is explained below.
[0049] Figure 2 Please refer to the flowchart of the power detection method provided in the embodiment of the present application. Figure 2 , the method comprising:
[0050] S210: A target transceiver among at least two transceivers sends a control signal to another transceiver.
[0051] The execution subject of the method may be the above terminal device. The target transceiver may be the transceiver that needs to perform power detection among the at least two transceivers, the target transceiver may be connected to the control switch, and the other transceiver is another transceiver connected to the control switch.
[0052] For example, if the terminal device includes transceiver A and transceiver B, both transceiver A and transceiver B are connected to the control switch. If it is necessary to detect the power of the signal transmitted by transceiver A, transceiver A is the target transceiver and transceiver B is the other transceiver. Conversely, if it is necessary to detect the power of the signal transmitted by transceiver B, transceiver B is the target transceiver and transceiver A is the other transceiver.
[0053] It should be noted that the working mode of each transceiver includes: normal mode or isolation mode.
[0054] The device isolation of the transceiver in the isolation mode is greater than the device isolation of the transceiver in the normal mode.
[0055] Device isolation refers to the isolation between signals output through two output ports of the device. For example, device isolation can be 30db.
[0056] Each transceiver may have a corresponding working mode. Under normal circumstances, it may be in a normal mode. When the transceiver is triggered by a control signal, it may be changed from the normal mode to the isolation mode.
[0057] Optionally, the control signal is used to control another transceiver to start an isolation mode.
[0058] For example, if transceiver A sends a control signal to transceiver B, transceiver B can start the isolation mode; correspondingly, if transceiver B sends a control signal to transceiver A, transceiver A can start the isolation mode.
[0059] It should be noted that a coupler may be provided in the PAMID (Power Amplifier and Module in Package) of each transceiver, and the coupler may have a high sensitivity mode (HISO MODE). When the coupler is in high sensitivity mode, the transceiver may be in isolation mode.
[0060] That is to say, the target transceiver can control the coupler in another transceiver to turn on the high sensitivity mode through the control signal, thereby turning on the isolation mode of the other transceiver. When the isolation mode of the other transceiver is turned on, the isolation of the device can be improved.
[0061] S220: When the other transceiver is in the isolation mode, the detection circuit performs power detection on the target transceiver.
[0062] It should be noted that when the other transceiver is in isolation mode, the impact between the signals sent by the target transceiver and the other transceiver in the terminal device will be reduced. In this case, the detection circuit can perform power detection on the target transceiver, that is, obtain the signal sent by the target transceiver and determine the power of the signal.
[0063] Among them, since the other transceiver is in isolation mode, there is a high degree of isolation between the target transceiver and the other transceiver, and the signals sent by the two will not affect each other. Even if the target transceiver and the other transceiver transmit signals at the same time, it will not affect the signal power detection of the detection circuit.
[0064] In the power detection method provided in the embodiment of the present application, a target transceiver among at least two transceivers may send a control signal to another transceiver, and the control signal is used to control the other transceiver to start an isolation mode; when the other transceiver is in the isolation mode, a detection circuit performs power detection on the target transceiver, wherein the isolation mode is turned on by the control signal to improve the device isolation of the other transceiver, thereby avoiding the influence of the power of the signal sent by the other transceiver during the power detection of the target transceiver, and improving the isolation between multiple signals without changing the hardware structure, thereby ensuring the accuracy of power detection.
[0065] Let's combine Figure 1 The structure of the terminal device in the embodiment of the present application is used to explain the implementation process of power detection on the terminal device.
[0066] Figure 3 For the work flow diagram of power detection of the terminal device provided in the embodiment of the present application, please refer to Figure 3 ,exist Figure 3 In the example, the target transceiver can be a B1 transceiver, and the other transceiver can be an N78 transceiver. Take the power detection of the B1 transceiver as an example:
[0067] Among them, the B1 transceiver can send a control signal to the N78 transceiver, so that the N78 transceiver can start the isolation mode.
[0068] For example, Figure 3 Taking the process shown in as an example, the power calculation is as follows:
[0069] The feedback power P of B1 detected by the detection circuit B1 for:
[0070] P B1 =P1-A B1 ;
[0071] The switch coupling power P of N78 received by the detection circuitN78 for:
[0072] P N78 =P2-A N78 -A0-A S ;
[0073] Among them, P1 is the theoretical value of the signal transmission power of B1, P2 is the theoretical value of the signal transmission power of N78, and A B1 is the device isolation of B1 transceiver, A N78 is the device isolation of the N78 transmitter, A S is the device isolation of the control switch, and A0 is the increased isolation in isolation mode.
[0074] Assume that if the device isolation of each transceiver is 30db, the device isolation of the control switch is 25db, the isolation mode of the transceiver will increase the isolation by 30db, the theoretical value of the signal transmission power of the B1 transceiver is 10dbm, and the theoretical value of the signal transmission power of the N78 transceiver is 20dbm, then the calculation results are as follows:
[0075] P B1 =10dbm-30db=-20dbm;
[0076] P N78 =20dbm-30db-25db-30db=-65dbm;
[0077] In actual calculation, if the switch coupling power of N78 received by the detection circuit is less than -50dbm, it can be determined that N78 has no effect on B1, and -65dbm<-50dbm, therefore, it can be determined that the transmit power of the N78 transceiver will not affect the transmit power of B1.
[0078] In order to more clearly explain the working principle of the isolation mode, the structural relationship of the internal path of the transceiver provided in the embodiment of the present application is explained below.
[0079] Figure 4 For a schematic diagram of the internal path of the transceiver provided in the embodiment of the present application, please refer to Figure 4 The transceiver includes two output ends, each output end corresponds to a signal transmission path, wherein the physical interval between the signal transmission paths corresponding to the two output ends of the transceiver in the normal mode is smaller than the physical interval between the signal transmission paths corresponding to the two output ends in the isolation mode.
[0080] It should be noted that in the transceiver, multiple transmission paths can be preset. In the actual implementation process, if the transmission paths selected by the two output ends are physically close, there may be a problem of signal leakage, so the isolation is low. This situation is also the normal mode of the above-mentioned transceiver; if the transmission paths selected by the two output ends are physically far apart, the signal leakage is low, so the isolation will be improved. This situation is also the isolation mode of the above-mentioned transceiver.
[0081] Figure 4 In the example, three paths are used as an example. It should be noted that each output end of the transceiver can correspond to a transmission path. This transmission path can be selected, for example, from Figure 4 Choose any two paths from the three paths.
[0082] If transmission path 1 and transmission path 2 are selected, or transmission path 2 and transmission path 3 are selected, the physical interval between the signal transmission paths corresponding to the two output ends of the transceiver is smaller, in which case the transceiver can be in normal mode; if transmission path 1 and transmission path 3 are selected, the physical interval between the signal transmission paths corresponding to the two output ends of the transceiver is larger, in which case the transceiver can be in isolation mode.
[0083] It should be noted that Figure 4 The internal path of the transceiver shown in is only one example. In the actual implementation process, there may be more other paths, which are not specifically limited here. When different transmission paths are selected, the corresponding isolation degree can be determined according to the corresponding physical interval. For example, for the isolation mode, different isolation levels can be divided when different transmission paths are used. There are differences in the isolation degree corresponding to different isolation levels. One of the isolation levels can be selected according to actual needs to enter the isolation mode.
[0084] In the power detection method provided in the embodiment of the present application, the transceiver includes two output terminals, each of which corresponds to a signal transmission path, wherein the physical interval between the signal transmission paths corresponding to the two output terminals of the transceiver in the normal mode is smaller than the physical interval between the signal transmission paths corresponding to the two output terminals in the isolation mode. The mode of the transceiver can be adjusted by setting the transmission paths corresponding to the two output terminals of the transceiver, thereby further increasing the device isolation of the transceiver.
[0085] In order to more clearly explain the power detection method provided in the embodiment of the present application, the following explanation is given by taking a terminal device with two transceivers as an example:
[0086] In one embodiment, the transceiver includes: a high frequency transceiver and a medium and low frequency transceiver, the high frequency transceiver and the medium and low frequency transceiver are respectively connected to a control switch; the control switch is used to connect to the transceiver indicated by the switch signal according to the switch signal.
[0087] Among them, the high-frequency transceiver and the medium- and low-frequency transceiver can be transceivers that transmit signals at different frequencies. The signal transmission frequency of the high-frequency transceiver can be greater than the signal transmission frequency of the medium- and low-frequency transceiver. In actual application, the control switch can be connected to the high-frequency transceiver or to the medium- and low-frequency transceiver by sending a corresponding switching signal to the control switch.
[0088] For example: the first input end of the control switch is connected to the medium and low frequency transceiver, and the second input end of the control switch is connected to the high frequency transceiver. Then, the medium and low frequency transceiver can be turned on by connecting the first input end of the switch through the switch signal control switch, and the high frequency transceiver can be turned on by connecting the second input end of the switch through the switch signal control switch.
[0089] It should be noted that the switch signal can be used to instruct the control switch to be connected to one of the transceivers.
[0090] In one embodiment, before the detection circuit performs power detection on the target transceiver, the method further includes: when the transceiver indicated by the switch signal is a high-frequency transceiver, controlling the switch to be turned on with the high-frequency transceiver, and transmitting the detection signal sent by the high-frequency transceiver to the detection circuit; when the transceiver indicated by the switch signal is a medium-low frequency transceiver, controlling the switch to be turned on with the medium-low frequency transceiver, and transmitting the detection signal sent by the medium-low frequency transceiver to the detection circuit.
[0091] Optionally, when the control switch is turned on with the high frequency transceiver, the detection signal sent by the high frequency transceiver can be transmitted to the detection circuit for power detection, thereby determining the corresponding power. When the control switch is turned on with the medium and low frequency transceiver, the detection signal sent by the medium and low frequency transceiver can be transmitted to the detection circuit for power detection, thereby determining the corresponding power.
[0092] In the power detection method provided in the embodiment of the present application, when the transceiver indicated by the switch signal is a high-frequency transceiver, the control switch can be connected to the high-frequency transceiver, and the detection signal sent by the high-frequency transceiver can be transmitted to the detection circuit; when the transceiver indicated by the switch signal is a medium-low frequency transceiver, the control switch can be connected to the medium-low frequency transceiver, and the detection signal sent by the medium-low frequency transceiver can be transmitted to the detection circuit. Among them, the transceiver that needs to be power detected can be selected by the switch signal, and the corresponding transceiver can be power detected, which improves the flexibility of power detection.
[0093] In one embodiment, the detection circuit is connected to each transceiver; after the detection circuit performs power detection on the target transceiver, the method further includes: when the power detected by the detection circuit is high-frequency power, sending the detection result of the high-frequency power to the high-frequency transceiver; when the power detected by the detection circuit is medium-low frequency power, sending the detection result of the medium-low frequency power to the medium-low frequency transceiver.
[0094] It should be noted that the detection circuit may be connected to each transceiver. After the detection circuit obtains the power detection result, the detection result may be sent to the corresponding transceiver. After receiving the corresponding detection result, the transceiver may perform power adjustment.
[0095] For example, if the detected transceiver power is different from the normal transmission power of the transceiver, the transceiver can adjust the power so as to transmit the signal at the normal transmission power; if the detected transceiver power is the same as the normal transmission power of the transceiver, it can be determined that the transceiver is working normally and no power adjustment is required.
[0096] Among them, if power adjustment is required, during the power adjustment process, when the detected transceiver power is greater than the normal transmission power of the transceiver, the transmission power of the transceiver can be reduced; when the detected transceiver power is less than the normal transmission power of the transceiver, the transmission power of the transceiver can be increased.
[0097] In the power adjustment method provided in the embodiment of the present application, when the power detected by the detection circuit is high-frequency power, the detection result of the high-frequency power can be sent to the high-frequency transceiver; when the power detected by the detection circuit is medium-low frequency power, the detection result of the medium-low frequency power can be sent to the medium-low frequency transceiver. By sending the detection result of the transceiver to the corresponding transceiver, the transceiver can adjust the transmission power and improve the accuracy of the transmission power.
[0098] The following will explain the process of power detection for high frequency transceivers and the process of power detection for medium and low frequency transceivers respectively.
[0099] Figure 5 For a connection diagram of the high frequency transceiver detection provided in the embodiment of the present application, please refer to Figure 5 , Figure 5 The circuit structure shown is a situation where a high-frequency transceiver is detected, wherein the high-frequency transceiver can send a control signal to the medium and low-frequency transceivers, so that the medium and low-frequency transceivers can turn on the isolation mode to increase the isolation of the device. After the detection circuit performs power detection on the detection signal of the high-frequency transceiver, the detection result can be returned to the high-frequency transceiver, so that the high-frequency transceiver can adjust the power.
[0100] Figure 6 For a connection diagram of the low-frequency transceiver detection provided in the embodiment of the present application, please refer to Figure 6 , Figure 6 The circuit structure shown is a case of detecting a mid- and low-frequency transceiver, wherein the mid- and low-frequency transceiver can send a control signal to the high-frequency transceiver, thereby turning on the isolation mode of the high-frequency transceiver to increase the isolation of the device. After the detection circuit performs power detection on the detection signal of the mid- and low-frequency transceiver, the detection result can be returned to the mid- and low-frequency transceiver, thereby allowing the mid- and low-frequency transceiver to adjust the power.
[0101] It should be noted that Figure 5 as well as Figure 6 The power adjustment process shown is a process in which two transceivers exist. In actual implementation, there may be three or more transceivers. The following explanation is given by taking three transceivers as an example.
[0102] In one embodiment, the transceiver includes: a high frequency transceiver, an intermediate frequency transceiver and a low frequency transceiver, any two of the high frequency transceiver, the intermediate frequency transceiver and the low frequency transceiver are connected to a control switch; the control switch is used to connect to the transceiver indicated by the switch signal according to the switch signal.
[0103] Among them, the high-frequency transceiver, the intermediate-frequency transceiver and the low-frequency transceiver may be transceivers that transmit signals at different frequencies. The signal transmission frequency of the high-frequency transceiver may be greater than the signal transmission frequency of the intermediate-frequency transceiver, and the transmission frequency of the intermediate-frequency signal transceiver may be greater than the signal transmission frequency of the low-frequency transceiver. In actual application, the control switch may be connected to the high-frequency transceiver, the intermediate-frequency transceiver, or the low-frequency transceiver by sending a corresponding switching signal to the control switch.
[0104] For example: if the first input end of the control switch is connected to the intermediate frequency transceiver, and the second input end of the control switch is connected to the high frequency transceiver, the intermediate frequency transceiver can be turned on by connecting the switch signal to the first input end, and the high frequency transceiver can be turned on by connecting the switch signal to the second input end; or, if the first input end of the control switch is connected to the low frequency transceiver, and the second input end of the control switch is connected to the high frequency transceiver, the low frequency transceiver can be turned on by connecting the switch signal to the first input end, and the high frequency transceiver can be turned on by connecting the switch signal to the second input end.
[0105] It should be noted that since the control switch is a single-pole double-throw switch, the control switch has only two input terminals. Any two of the high-frequency transceiver, the intermediate-frequency transceiver and the low-frequency transceiver can be selected to be connected to the control switch. The control switch can select one of the two connected control switches to be turned on through a switching signal, thereby realizing power detection.
[0106] Optionally, if the control switch is connected to a high-frequency transceiver and an intermediate-frequency transceiver, the switch signal can be used to indicate that the control switch is turned on with the high-frequency transceiver or the intermediate-frequency transceiver; if the control switch is connected to a high-frequency transceiver and a low-frequency transceiver, the switch signal can be used to indicate that the control switch is turned on with the high-frequency transceiver or the low-frequency transceiver; if the control switch is connected to a low-frequency transceiver and an intermediate-frequency transceiver, the switch signal can be used to indicate that the control switch is turned on with the low-frequency transceiver or the intermediate-frequency transceiver.
[0107] In one embodiment, before the detection circuit performs power detection on the target transceiver, the method further includes: when the transceiver indicated by the switch signal is a high-frequency transceiver, controlling the switch to be turned on with the high-frequency transceiver, and transmitting the detection signal sent by the high-frequency transceiver to the detection circuit; when the transceiver indicated by the switch signal is an intermediate frequency transceiver, controlling the switch to be turned on with the intermediate frequency transceiver, and transmitting the detection signal sent by the intermediate frequency transceiver to the detection circuit; when the transceiver indicated by the switch signal is a low-frequency transceiver, controlling the switch to be turned on with the low-frequency transceiver, and transmitting the detection signal sent by the low-frequency transceiver to the detection circuit.
[0108] Optionally, when the control switch is turned on with the high frequency transceiver, the detection signal sent by the high frequency transceiver can be transmitted to the detection circuit for power detection, thereby determining the corresponding power. When the control switch is turned on with the intermediate frequency transceiver, the detection signal sent by the intermediate frequency transceiver can be transmitted to the detection circuit for power detection, thereby determining the corresponding power. When the control switch is turned on with the low frequency transceiver, the detection signal sent by the low frequency transceiver can be transmitted to the detection circuit for power detection, thereby determining the corresponding power.
[0109] In the power detection method provided in the embodiment of the present application, when the transceiver indicated by the switch signal is a high-frequency transceiver, the control switch and the high-frequency transceiver are turned on, and the detection signal sent by the high-frequency transceiver is transmitted to the detection circuit; when the transceiver indicated by the switch signal is an intermediate frequency transceiver, the control switch and the intermediate frequency transceiver are turned on, and the detection signal sent by the intermediate frequency transceiver is transmitted to the detection circuit; when the transceiver indicated by the switch signal is a low-frequency transceiver, the control switch and the low-frequency transceiver are turned on, and the detection signal sent by the low-frequency transceiver is transmitted to the detection circuit. Among them, the transceiver that needs to be power detected can be selected by the switch signal, and the corresponding transceiver can be subjected to power detection, which improves the flexibility of power detection.
[0110] In one embodiment, the detection circuit is connected to each transceiver; after the detection circuit performs power detection on the target transceiver, the method further includes: when the power detected by the detection circuit is high-frequency power, sending the detection result of the high-frequency power to the high-frequency transceiver; when the power detected by the detection circuit is intermediate frequency power, sending the detection result of the intermediate frequency power to the intermediate frequency transceiver; when the power detected by the detection circuit is low-frequency power, sending the detection result of the low-frequency power to the low-frequency transceiver.
[0111] It should be noted that the detection circuit may be connected to each transceiver. After the detection circuit obtains the power detection result, the detection result may be sent to the corresponding transceiver. After receiving the corresponding detection result, the transceiver may perform power adjustment.
[0112] For example, if the detected transceiver power is different from the normal transmission power of the transceiver, the transceiver can adjust the power so as to transmit the signal at the normal transmission power; if the detected transceiver power is the same as the normal transmission power of the transceiver, it can be determined that the transceiver is working normally and no power adjustment is required.
[0113] Among them, if power adjustment is required, during the power adjustment process, when the detected transceiver power is greater than the normal transmission power of the transceiver, the transmission power of the transceiver can be reduced; when the detected transceiver power is less than the normal transmission power of the transceiver, the transmission power of the transceiver can be increased.
[0114] In the power adjustment method provided in the embodiment of the present application, when the power detected by the detection circuit is high-frequency power, the detection result of the high-frequency power can be sent to the high-frequency transceiver; when the power detected by the detection circuit is medium-frequency power, the detection result of the medium-frequency power can be sent to the medium-frequency transceiver; when the power detected by the detection circuit is low-frequency power, the detection result of the low-frequency power can be sent to the low-frequency transceiver. By sending the detection result of the transceiver to the corresponding transceiver, the transceiver can adjust the transmission power and improve the accuracy of the transmission power.
[0115] The following will explain the process of power detection for high frequency transceiver, medium frequency transceiver and low frequency transceiver respectively.
[0116] Figure 7 Another connection diagram of the high frequency transceiver detection provided in the embodiment of the present application is shown in FIG. Figure 7 , Figure 7 The circuit structure shown is a case where a high-frequency transceiver is detected, wherein when the high-frequency transceiver is connected to the control switch, one of the intermediate frequency transceiver or the low frequency transceiver can also be connected to the control switch, and a control signal can be sent to the intermediate frequency transceiver or the low frequency transceiver, so that the intermediate frequency transceiver or the low frequency transceiver turns on the isolation mode to increase the isolation of the device. After the detection circuit performs power detection on the detection signal of the high-frequency transceiver, the detection result can be returned to the high-frequency transceiver, so that the high-frequency transceiver can adjust the power.
[0117] The intermediate frequency transceiver may be connected to the control switch by using the transmission channel of the low frequency transceiver in a cascade manner.
[0118] Figure 8 For a connection diagram of the intermediate frequency transceiver detection provided in the embodiment of the present application, please refer to Figure 8 , Figure 8 The circuit structure shown is a case where an intermediate frequency transceiver is detected, wherein when the intermediate frequency transceiver is connected to the control switch, one of the low frequency transceiver or the high frequency transceiver can also be connected to the control switch, and a control signal can be sent to the low frequency transceiver or the high frequency transceiver, so that the low frequency transceiver or the intermediate frequency transceiver turns on the isolation mode to increase the isolation of the device. After the detection circuit performs power detection on the detection signal of the intermediate frequency transceiver, the detection result can be returned to the intermediate frequency transceiver, so that the intermediate frequency transceiver can adjust the power.
[0119] If the control switch is connected to the intermediate frequency transceiver and the high frequency transceiver, the intermediate frequency transceiver can be connected to the control switch by using the transmission channel of the low frequency transceiver in a cascade manner. If the control switch is connected to the intermediate frequency transceiver and the low frequency transceiver, the intermediate frequency transceiver can be connected to the control switch by using the transmission channel of the high frequency transceiver in a cascade manner.
[0120] Fig. 9 For a connection diagram of the low-frequency transceiver detection provided in the embodiment of the present application, please refer to Fig. 9 , Fig. 9 The circuit structure shown is a case where a low-frequency transceiver is detected, wherein when the low-frequency transceiver is connected to the control switch, one of the intermediate-frequency transceiver or the high-frequency transceiver can also be connected to the control switch, and a control signal can be sent to the intermediate-frequency transceiver or the high-frequency transceiver, so that the intermediate-frequency transceiver or the high-frequency transceiver turns on the isolation mode to increase the isolation of the device. After the detection circuit performs power detection on the detection signal of the low-frequency transceiver, the detection result can be returned to the low-frequency transceiver, so that the low-frequency transceiver can adjust the power.
[0121] The intermediate frequency transceiver may be connected to the control switch by using the transmission channel of the high frequency transceiver in a cascade manner.
[0122] It should be noted that, it has been explained above that the isolation level can be set for the isolation mode to meet different isolation requirements. The following is an explanation of the case where two different isolation levels, a high isolation mode and a low isolation mode, are set.
[0123] In one embodiment, the isolation mode includes: a high isolation mode and a low isolation mode; in the low isolation mode, the physical interval between the signal transmission paths corresponding to the two output ends of the transceiver is smaller than the physical interval between the signal transmission paths corresponding to the two output ends in the high isolation mode.
[0124] It should be noted that, please combine the above Figure 4 ,like Figure 4 If there are four or more transmission paths, then if the distance between the two transmission paths used by the output end is the farthest, for example, separated by two other transmission paths, it can be determined that it is in high isolation mode; if the distance between the two transmission paths used by the output end is shortened, for example, separated by one other transmission path, it can be determined that it is in low isolation mode.
[0125] In one embodiment, a target transceiver among at least two transceivers sends a control signal to another transceiver, including: the target transceiver sends a first control signal to turn on a low isolation mode to another transceiver; when a power detection result obtained by the target transceiver does not meet a preset threshold, the target transceiver sends a second control signal to turn on a high isolation mode to another transceiver.
[0126] It should be noted that when the isolation mode is turned on, the low isolation mode can be turned on first. If the power detection result obtained by the target transceiver does not meet the preset threshold when the low isolation mode is turned on, it can be determined that the low isolation mode does not meet the requirements, and the high isolation mode can be turned on.
[0127] The first control signal is used to control another transceiver to start a low isolation mode, and the second control signal is used to control another transceiver to start a high isolation mode.
[0128] For different transceivers, you can choose to enable high isolation mode or low isolation mode according to actual needs, so as to meet the actual use needs of different transceivers.
[0129] In the power detection method provided in the embodiment of the present application, the target transceiver can send a first control signal to another transceiver to start a low isolation mode; when the power detection result obtained by the target transceiver does not meet the preset threshold, the target transceiver sends a second control signal to another transceiver to start a high isolation mode. Among them, the low isolation mode can be used preferentially to increase the isolation degree. When the low isolation mode does not meet the use requirements, the high isolation mode can be turned on to increase the isolation degree, thereby improving the flexibility of the transceiver in improving the isolation degree.
[0130] The following is an explanation of one implementation process of power detection for a terminal device provided in an embodiment of the present application.
[0131] Fig.10 For another workflow diagram of power detection of the terminal device provided in the embodiment of the present application, please refer to Fig.10 , the method comprising:
[0132] S1010: The target transceiver adjusts its own signal transmission power.
[0133] S1020: Connect the control switch to the target transceiver through a switch signal.
[0134] S1030: The target transceiver sends a control signal to another transceiver, and the other transceiver turns on the isolation mode.
[0135] S1040: The detection circuit performs power detection on the target transceiver and feeds back the detection result to the target transceiver.
[0136] S1050: Determine whether the detection result is equal to the theoretical value of the transmission power. If so, end the adjustment; if not, continue to execute the above step S1010.
[0137] It should be noted that a theoretical value of transmit power can be set for each target transceiver, for example: Figure 3 The theoretical value of the transmission power of the B1 transceiver can be 10dbm, and the theoretical value of the transmission power of the N78 transceiver can be 20dbm.
[0138] If the detection result is greater than the theoretical value of the transmit power, the transmit power of the transceiver can be reduced; if the detection result is less than the theoretical value of the transmit power, the transmit power of the transceiver can be increased until the two are equal.
[0139] It should be understood that, although the steps in the above-mentioned flowcharts are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flowcharts may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0140] Based on the foregoing embodiments, an embodiment of the present application provides a power detection device, which includes the modules included and the units included in the modules, and can be implemented by a processor; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
[0141] Fig.11 This is a schematic diagram of the structure of the power detection device provided in the embodiment of the present application. Please refer to Fig.11 , a power detection device is applied to a terminal device, the terminal device comprises: at least two transceivers, a control switch and a detection circuit; at least two transceivers are connected to the control switch, and the control switch is connected to the detection circuit; the working mode of each transceiver comprises: a normal mode or an isolation mode, wherein the device isolation of the transceiver in the isolation mode is greater than the device isolation of the transceiver in the normal mode;
[0142] The device includes: a control module 1110 and a detection module 1120;
[0143] A control module 1110, configured to send a control signal to another transceiver through a target transceiver among at least two transceivers, wherein the control signal is used to control the other transceiver to start an isolation mode;
[0144] The detection module 1120 is configured to perform power detection on the target transceiver by a detection circuit when another transceiver is in an isolation mode.
[0145] In one embodiment, in the device, the transceiver includes two output ends, each output end corresponds to a signal transmission path, wherein the physical interval between the signal transmission paths corresponding to the two output ends of the transceiver in normal mode is smaller than the physical interval between the signal transmission paths corresponding to the two output ends in isolation mode.
[0146] In one embodiment, the transceiver includes: a high-frequency transceiver and a medium-low frequency transceiver, and the high-frequency transceiver and the medium-low frequency transceiver are respectively connected to a control switch; the control switch is used to turn on the transceiver indicated by the switch signal according to a switch signal; the control module 1110 is also used to control the switch to turn on the high-frequency transceiver and transmit the detection signal sent by the high-frequency transceiver to the detection circuit when the transceiver indicated by the switch signal is a high-frequency transceiver; when the transceiver indicated by the switch signal is a medium-low frequency transceiver, the control switch to turn on the medium-low frequency transceiver and transmit the detection signal sent by the medium-low frequency transceiver to the detection circuit.
[0147] In one embodiment, the detection circuit is connected to each transceiver; the detection module 1120 is also used to send the detection result of the high-frequency power to the high-frequency transceiver when the power detected by the detection circuit is high-frequency power; and send the detection result of the medium-low frequency power to the medium-low frequency transceiver when the power detected by the detection circuit is medium-low frequency power.
[0148] In one embodiment, the transceiver includes: a high-frequency transceiver, an intermediate frequency transceiver and a low-frequency transceiver, and any two of the high-frequency transceiver, the intermediate frequency transceiver and the low-frequency transceiver are connected to a control switch; the control switch is used to turn on the transceiver indicated by the switch signal according to a switch signal; the control module 1110 is also used to control the switch to turn on the high-frequency transceiver when the transceiver indicated by the switch signal is a high-frequency transceiver, and transmit the detection signal sent by the high-frequency transceiver to the detection circuit; when the transceiver indicated by the switch signal is an intermediate frequency transceiver, the control switch to turn on the intermediate frequency transceiver, and transmit the detection signal sent by the intermediate frequency transceiver to the detection circuit; when the transceiver indicated by the switch signal is a low-frequency transceiver, the control switch to turn on the low-frequency transceiver, and transmit the detection signal sent by the low-frequency transceiver to the detection circuit.
[0149] In one embodiment, the detection circuit is connected to each transceiver; when the power detected by the detection circuit is high-frequency power, the detection module 1120 sends the detection result of the high-frequency power to the high-frequency transceiver; when the power detected by the detection circuit is intermediate frequency power, the detection result of the intermediate frequency power is sent to the intermediate frequency transceiver; when the power detected by the detection circuit is low-frequency power, the detection result of the low-frequency power is sent to the low-frequency transceiver.
[0150] In one embodiment, the isolation mode includes: a high isolation mode and a low isolation mode; in the low isolation mode, the physical interval between the signal transmission paths corresponding to the two output ends of the transceiver is smaller than the physical interval between the signal transmission paths corresponding to the two output ends in the high isolation mode; the control module 1110 is specifically used for the target transceiver to send a first control signal to start the low isolation mode to another transceiver; when the power detection result obtained by the target transceiver does not meet the preset threshold, the target transceiver sends a second control signal to start the high isolation mode to another transceiver.
[0151] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0152] It should be noted that in the embodiments of this application Fig.11 The division of modules in the power detection device shown is schematic, and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit. It may also be implemented in the form of a combination of software and hardware.
[0153] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0154] Fig.12 For a schematic diagram of the structure of the computer device provided in the embodiment of the present application, please refer to Fig.12 , an embodiment of the present application provides a computer device, which may be the above-mentioned terminal device, and its internal structure diagram may be as shown in Fig.12 As shown. The computer device includes a processor 1220, a memory and a transceiver 1240 connected via a system bus 1210. Among them, the processor 1220 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium 1231 and an internal memory 1232. The non-volatile storage medium 1231 stores an operating system, a computer program and a database. The internal memory 1232 provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium 1231. The database of the computer device is used to store data. The transceiver 1240 of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor 1220, the above method is implemented.
[0155] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the method provided in the above embodiment are implemented.
[0156] An embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps of the method provided in the above method embodiment.
[0157] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0158] In one embodiment, the power detection device provided in the present application can be implemented in the form of a computer program. The computer program can be Fig.12 The computer device shown in the figure is run. The memory of the computer device can store various program modules constituting the above-mentioned device. The computer program composed of various program modules enables the processor to execute the steps in the method of each embodiment of the present application described in this specification.
[0159] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0160] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.
[0161] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can mean: object A exists alone, object A and object B exist at the same time, and object B exists alone.
[0162] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0163] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.
[0164] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0165] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0166] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0167] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0168] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0169] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0170] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0171] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A power detection method, characterized in that: Applied to a terminal device, the terminal device comprises: at least two transceivers, a control switch and a detection circuit; The at least two transceivers are both connected to the control switch, and the control switch is connected to the detection circuit; The operating mode of each of the transceivers includes: a normal mode or an isolation mode, wherein the device isolation of the transceiver in the isolation mode is greater than the device isolation of the transceiver in the normal mode; The method comprises: A target transceiver among the at least two transceivers sends a control signal to another transceiver, wherein the control signal is used to control the other transceiver to start an isolation mode; When the other transceiver is in the isolation mode, the detection circuit performs power detection on the target transceiver.
2. The method according to claim 1, characterized in that The transceiver includes two output ends, each output end corresponds to a signal transmission path, wherein the physical interval between the signal transmission paths corresponding to the two output ends of the transceiver in the normal mode is smaller than the physical interval between the signal transmission paths corresponding to the two output ends in the isolation mode.
3. The method according to claim 1 or 2, characterized in that: The transceiver includes: a high frequency transceiver and a medium and low frequency transceiver, and the high frequency transceiver and the medium and low frequency transceiver are respectively connected to the control switch; The control switch is used to conduct with the transceiver indicated by the switch signal according to the switch signal; Before the detection circuit performs power detection on the target transceiver, the method further includes: In the case where the transceiver indicated by the switch signal is a high-frequency transceiver, the control switch is connected to the high-frequency transceiver, and the detection signal sent by the high-frequency transceiver is transmitted to the detection circuit; In the case that the transceiver indicated by the switch signal is a medium-low frequency transceiver, the control switch is connected to the medium-low frequency transceiver, and transmits the detection signal sent by the medium-low frequency transceiver to the detection circuit.
4. The method according to claim 3, characterized in that The detection circuit is connected to each transceiver; after the detection circuit performs power detection on the target transceiver, the method further includes: In the case where the power detected by the detection circuit is high-frequency power, sending the detection result of the high-frequency power to the high-frequency transceiver; In the case where the power detected by the detection circuit is medium-low frequency power, the detection result of the medium-low frequency power is sent to the medium-low frequency transceiver.
5. The method according to claim 1 or 2, characterized in that: The transceiver includes: a high frequency transceiver, an intermediate frequency transceiver and a low frequency transceiver, and any two of the high frequency transceiver, the intermediate frequency transceiver and the low frequency transceiver are connected to the control switch; The control switch is used to conduct with the transceiver indicated by the switch signal according to the switch signal; Before the detection circuit performs power detection on the target transceiver, the method further includes: In the case where the transceiver indicated by the switch signal is a high-frequency transceiver, the control switch is connected to the high-frequency transceiver, and the detection signal sent by the high-frequency transceiver is transmitted to the detection circuit; In the case where the transceiver indicated by the switch signal is an intermediate frequency transceiver, the control switch is connected to the intermediate frequency transceiver, and the detection signal sent by the intermediate frequency transceiver is transmitted to the detection circuit; In the case that the transceiver indicated by the switch signal is a low-frequency transceiver, the control switch is connected to the low-frequency transceiver, and transmits the detection signal sent by the low-frequency transceiver to the detection circuit.
6. The method according to claim 5, characterized in that The detection circuit is connected to each transceiver; after the detection circuit performs power detection on the target transceiver, the method further includes: In the case where the power detected by the detection circuit is high-frequency power, sending the detection result of the high-frequency power to the high-frequency transceiver; In a case where the power detected by the detection circuit is intermediate frequency power, sending the detection result of the intermediate frequency power to the intermediate frequency transceiver; In a case where the power detected by the detection circuit is low-frequency power, the detection result of the low-frequency power is sent to the low-frequency transceiver.
7. The method according to claim 2, characterized in that The isolation modes include: high isolation mode and low isolation mode; The physical interval between the signal transmission paths corresponding to the two output ends of the transceiver in the low isolation mode is smaller than the physical interval between the signal transmission paths corresponding to the two output ends in the high isolation mode; The sending of a control signal by a target transceiver among the at least two transceivers to another transceiver comprises: The target transceiver sends a first control signal for starting a low isolation mode to another transceiver; When the power detection result obtained by the target transceiver does not meet the preset threshold, the target transceiver sends a second control signal for starting the high isolation mode to another transceiver.
8. A power detection device, characterized in that: Applied to a terminal device, the terminal device comprises: at least two transceivers, a control switch and a detection circuit; The at least two transceivers are both connected to the control switch, and the control switch is connected to the detection circuit; The operating mode of each of the transceivers includes: a normal mode or an isolation mode, wherein the device isolation of the transceiver in the isolation mode is greater than the device isolation of the transceiver in the normal mode; The device comprises: a control module and a detection module; The control module is used to send a control signal to another transceiver through a target transceiver among the at least two transceivers, wherein the control signal is used to control the other transceiver to start an isolation mode; The detection module is used to perform power detection on the target transceiver by the detection circuit when the other transceiver is in an isolation mode.
9. A terminal device, characterized in that: The terminal device comprises a processor, a memory and a transceiver, wherein the memory stores a computer program, and the computer program is executed by the processor and the transceiver to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 7.