WO2018130003A1 - 一种外置天线检测方法、设备和装置 - Google Patents

一种外置天线检测方法、设备和装置 Download PDF

Info

Publication number
WO2018130003A1
WO2018130003A1 PCT/CN2017/111772 CN2017111772W WO2018130003A1 WO 2018130003 A1 WO2018130003 A1 WO 2018130003A1 CN 2017111772 W CN2017111772 W CN 2017111772W WO 2018130003 A1 WO2018130003 A1 WO 2018130003A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
signal
signal strength
strength value
external antenna
Prior art date
Application number
PCT/CN2017/111772
Other languages
English (en)
French (fr)
Inventor
郑宏涛
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018130003A1 publication Critical patent/WO2018130003A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R29/00Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
    • G01R29/08Measuring electromagnetic field characteristics
    • G01R29/10Radiation diagrams of antennas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing

Definitions

  • the present disclosure relates to the field of communications technologies, and in particular, to an external antenna detecting method, apparatus, and apparatus.
  • TBOX car intelligent terminals
  • the TBOX itself has a built-in antenna. Due to the internal position of the TBOX, the sensitivity of the built-in antenna is not very good, so an external antenna will be installed for the car, which requires TBOX.
  • the detection circuit is used to detect the presence or absence of the external antenna.
  • the detection circuit is configured to form a DC detection loop when the RF connector is connected to the external antenna to form an RF channel. By detecting the voltage level, it can be determined whether the external antenna is present. presence.
  • increasing the number of detection circuits increases the cost, so the related art has a problem of increasing the cost when detecting the presence of an external antenna.
  • An object of the present disclosure is to provide an external antenna detecting method, device, and device, which solves the problem that the related art may increase the cost when detecting whether an external antenna exists.
  • an embodiment of the present disclosure provides an external antenna detecting method, including:
  • the target port Detecting a signal strength value of the second target signal received by the target port, where the wireless system of the second target signal is the target wireless system, and the frequency of the second target signal is the target frequency, the target port a port for detecting the external antenna;
  • An embodiment of the present disclosure further provides an external antenna detecting device, where the external antenna detecting device includes a detecting unit, a switch circuit, and a built-in antenna, and the switch circuit includes a target port and a switch, and the detecting unit and the The switch circuit is connected, and the built-in antenna is connected to the switch circuit, wherein:
  • the detecting unit is configured to control a switch of the switch circuit to be connected to the internal antenna, receive a first target signal sent by the built-in antenna, and detect a signal strength value of the first target signal, and a target wireless system And target frequency points;
  • the detecting unit is configured to control a switch of the switch circuit to be connected to the target port, receive a second target signal through the target port, and detect a signal strength value of the second target signal, the second
  • the wireless system of the target signal is the target wireless system
  • the frequency of the second target signal is the target frequency point
  • the target port is a port for detecting the external antenna
  • the detecting unit is configured to determine whether a difference between a signal strength value of the first target signal and a signal strength value of the second target signal is not greater than a preset first threshold;
  • the detecting unit is configured to determine that the external antenna exists if a difference between a signal strength value of the first target signal and a signal strength value of the second target signal is not greater than the preset first threshold.
  • An embodiment of the present disclosure further provides an external antenna detecting apparatus, including:
  • a first detecting module configured to detect a signal strength value, a target wireless system, and a target frequency point of the first target signal received by the internal antenna
  • a second detecting module configured to detect a signal strength value of the second target signal received by the target port, where the wireless system of the second target signal is the target wireless system, and the frequency of the second target signal is the target a frequency point, where the target port is a port for detecting the external antenna;
  • the first determining module is configured to determine whether a difference between a signal strength value of the first target signal and a signal strength value of the second target signal is not greater than a preset first threshold;
  • a first determining module configured to determine that the external antenna exists if a difference between a signal strength value of the first target signal and a signal strength value of the second target signal is not greater than the preset first threshold .
  • Embodiments of the present disclosure also provide a computer storage medium having stored therein one or more programs executable by a computer, the one or more programs being executed by the computer to cause the computer to perform as described above An external antenna detection method is provided.
  • detecting a signal strength value of a first target signal received by a built-in antenna, a target wireless system and a target frequency point detecting a signal strength value of a second target signal received by the target port, and a wireless system of the second target signal
  • the frequency of the second target signal is the target frequency point
  • the target port is a port for detecting the external antenna
  • determining a signal strength value of the first target signal Whether a difference from a signal strength value of the second target signal is not greater than a preset first threshold; if a difference between a signal strength value of the first target signal and a signal strength value of the second target signal is not greater than The preset first threshold determines that the external antenna exists. In this way, the method of software detection detects the presence of an external antenna, and does not need to add an additional detection circuit, thereby reducing the cost of detection.
  • FIG. 1 is a schematic flowchart diagram of an external antenna detecting method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of an apparatus for detecting the presence or absence of an external antenna according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a software module according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart diagram of another external antenna detecting method according to an embodiment of the present disclosure.
  • FIG. 5 is a structural diagram of an external antenna detecting apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic flowchart diagram of another external antenna detecting method according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic flowchart diagram of another external antenna detecting method according to an embodiment of the present disclosure.
  • FIG. 8 is a structural diagram of an external antenna detecting apparatus according to an embodiment of the present disclosure.
  • FIG. 9 is a structural diagram of another external antenna detecting apparatus according to an embodiment of the present disclosure.
  • FIG. 10 is a structural diagram of another external antenna detecting apparatus according to an embodiment of the present disclosure.
  • FIG. 11 is a structural diagram of another external antenna detecting apparatus according to an embodiment of the present disclosure.
  • an embodiment of the present disclosure provides a schematic flowchart of an external antenna detection method.
  • the embodiment of the present disclosure provides an external antenna detection method, including the following steps:
  • Step S101 Detect a signal strength value of the first target signal received by the internal antenna, a target wireless system, and a target frequency point.
  • Step S102 detecting a signal strength value of the second target signal received by the target port, where the wireless system of the second target signal is the target wireless system, and the frequency of the second target signal is the target frequency point.
  • the target port is a port for detecting the external antenna.
  • Step S103 Determine whether a difference between a signal strength value of the first target signal and a signal strength value of the second target signal is not greater than a preset first threshold.
  • Step S104 If the difference between the signal strength value of the first target signal and the signal strength value of the second target signal is not greater than the preset first threshold, determining that the external antenna exists.
  • a schematic diagram of a device for detecting the presence or absence of an external antenna includes: an antenna switching control central processing unit (CPU) 201, a radio frequency input port 202, and a switch circuit 203.
  • the switch circuit 203 includes an input port connected to the RF input port 202, a control port connected to the antenna switch control CPU 201, a second output port connected to the RF connector 204, and a first output port connected to the built-in antenna 207.
  • the external antenna 205 is connected to the second output port of the changeover switch circuit 203 through the RF connector 204.
  • the antenna switching control CPU 201 includes a wireless signal measuring unit 2011, a determining whether an external antenna is present in the unit 2012, and a switching switch driving unit 2013, as shown in FIG.
  • the antenna switching control CPU 201 may share the same CPU with the baseband CPU of the wireless terminal, or may not share.
  • the wireless signal measuring unit 2011 detects the received signal strength (RSSI) of the wireless signal received by the internal antenna 207, and records it as RSSI1, and acquires the wireless signal received by the internal antenna 207.
  • RSSI received signal strength
  • step S102 the signal strength RSSI1 of the wireless signal received by the built-in antenna 207 is acquired, and the built-in day is acquired.
  • the external antenna presence unit 2012 it is determined whether the external antenna presence unit 2012 can control the changeover switch circuit 203 to switch the switch by the switch switch drive unit 2013.
  • the second output port that is, to the RF connector 204.
  • the wireless signal measurement unit 2011 acquires the target wireless system. And detecting the second target signal on the target frequency point, if no valid wireless signal is detected on the acquired target wireless system and the target frequency point, indicating that the external antenna 205 does not exist, and determining whether the external antenna exists in the unit 2012
  • the changeover switch circuit 203 is controlled by the changeover switch drive unit 2013 to connect the changeover switch to the first output port, that is, to the internal antenna 207, and the subsequent wireless terminal always uses the built-in antenna 207.
  • the wireless signal measuring unit 2011 can obtain the signal strength of the received valid wireless signal, which is denoted as RSSI2.
  • the wireless signal measuring unit 2011 may determine whether the difference between RSSI1 and RSSI2 is not greater than a preset first threshold, that is, whether RSSI1-RSSI2 ⁇ Rthres is established, that is, whether RSSI2 ⁇ RSSI1-Rthres is established.
  • Rthres can be configured through the user interface (UI, User Interface) or non-volatile memory (NVM, Non-Volatile Memory).
  • UI User Interface
  • NVM Non-Volatile Memory
  • step S104 if the wireless signal measuring unit 2011 determines that RSSI1 - RSSI2 ⁇ Rthres is established, that is, it is determined that RSSI2 ⁇ RSSI1 - Rthres is established, wherein Rthres is a configuration parameter, indicating that the external antenna 205 is present, then The wireless terminal will always use the external antenna 205.
  • the wireless signal measuring unit 2011 determines that RSSI1-RSSI2 ⁇ Rthres does not hold, that is, it is determined that RSSI2 ⁇ RSSI1-Rthres is not established, wherein Rthres is a configuration parameter, indicating that the external antenna 205 does not exist, and the external antenna is judged at this time.
  • the presence/absence unit 2012 controls the changeover switch circuit 203 by the changeover switch drive unit 2013 to connect the changeover switch to the first output port, that is, to the internal antenna 207, and the subsequent wireless terminal always uses the built-in antenna 207.
  • the wireless signal measuring unit 2011 can also detect a valid wireless signal.
  • RSSI1-RSSI2 ⁇ Rthres it is necessary to determine whether RSSI1-RSSI2 ⁇ Rthres is established, that is, determine RSSI2 ⁇ RSSI1. Whether or not -Rthres is established, if RSSI1 - RSSI2 ⁇ Rthres does not hold, that is, RSSI2 ⁇ RSSI1 - Rthres does not hold, it can be determined that the external antenna 205 does not exist.
  • the strength of the wireless signal it can be measured not only by the signal strength RSSI but also by the signal quality or the signal-to-noise ratio.
  • the external antenna can be dynamically removed.
  • the built-in antenna is permanently present as part of the wireless terminal itself.
  • an external antenna detection method is proposed.
  • the method of software detection detects whether an external antenna exists, and does not need to add an additional detection circuit, thereby reducing the cost of detection.
  • the embodiment of the present disclosure further provides a schematic flowchart of another method for detecting an external antenna.
  • the embodiment of the present disclosure provides another method for detecting an external antenna, including the following steps:
  • Step S401 Detect a signal strength value of the first target signal received by the internal antenna, a target wireless system, and a target frequency point.
  • step S401 still taking FIG. 2 and FIG. 3 as an example, first, determining whether the external antenna presence unit 2012 controls the changeover switch circuit 203 by the switch switch drive unit 2013 to connect the switch to the first output port, that is, to the built-in
  • the antenna 207 receives a wireless signal through the built-in antenna 207.
  • the wireless signal measuring unit 2011 detects the signal strength of the wireless signal received by the internal antenna 207, denotes RSSI1, and acquires the target wireless system and the target frequency of the wireless signal received by the internal antenna 207.
  • Step S402 detecting a signal strength value of the second target signal received by the target port, where the wireless system of the second target signal is the target wireless system, and the frequency of the second target signal is the target frequency point.
  • the target port is a port for detecting the external antenna.
  • step S402 the signal strength RSSI1 of the wireless signal received by the built-in antenna 207, the target wireless system of the wireless signal received by the built-in antenna 207, and the target frequency of the wireless signal received by the built-in antenna 207 are acquired, and the external frequency is determined.
  • the antenna presence unit 2012 can control the switch circuit 203 to switch the switch to the second output port through the switch switch drive unit 2013, that is, to the RF connector 204, and the target wireless system and target frequency acquired by the wireless signal measurement unit 2011. A second target signal is detected at a point.
  • Step S403 determining whether the signal strength value of the second target signal is not less than a preset second threshold; if the signal strength value of the second target signal is not less than the preset second threshold, executing the determining And a step of determining whether a difference between a signal strength value of the first target signal and a signal strength value of the second target signal is not greater than a preset first threshold; if a signal strength value of the second target signal is less than the preset The second threshold determines that the external antenna does not exist.
  • step S403 it is determined whether the external antenna presence unit 2012 controls the changeover switch circuit 203 by the switch switch drive unit 2013 to connect the switch to the second output port, that is, after connecting to the RF connector 204, the wireless signal measurement unit 2011 is acquiring The second target signal is detected on the target wireless system and the target frequency point. If no valid wireless signal is detected on the acquired target wireless system and the target frequency point, the external antenna 205 does not exist, and the external antenna is judged at this time.
  • the antenna presence unit 2012 controls the changeover switch circuit 203 via the changeover switch drive unit 2013 to connect the changeover switch to the first output port, that is, to the internal antenna 207, and the subsequent wireless terminal always uses the internal antenna 207.
  • the wireless signal measurement unit 2011 can obtain the signal strength of the received valid wireless signal, denoted as RSSI2.
  • the method further includes:
  • Step S404 determining a signal strength value of the first target signal and a signal strength value of the second target signal Whether the difference is not greater than a preset first threshold.
  • the wireless signal measuring unit 2011 may determine whether the difference between RSSI1 and RSSI2 is not greater than a preset first threshold in an embodiment, that is, whether RSSI1-RSSI2 ⁇ Rthres is established, that is, determining RSSI2 ⁇ RSSI1-Rthres Whether it is established.
  • Step S405 If the difference between the signal strength value of the first target signal and the signal strength value of the second target signal is not greater than the preset first threshold, determining that the external antenna exists.
  • step S405 if the wireless signal measuring unit 2011 determines that RSSI1 - RSSI2 ⁇ Rthres is established, that is, it is determined that RSSI2 ⁇ RSSI1 - Rthres is established, wherein Rthres is a configuration parameter, indicating that the external antenna 205 is present, then The wireless terminal will always use the external antenna 205.
  • the method further includes:
  • the difference between the signal strength value of the first target signal and the signal strength value of the second target signal is greater than the preset first threshold, determining that the external antenna does not exist.
  • the wireless signal measuring unit 2011 determines that RSSI1-RSSI2 ⁇ Rthres does not hold, that is, it is determined that RSSI2 ⁇ RSSI1-Rthres is not established, wherein Rthres is a configuration parameter, indicating that the external antenna 205 does not exist, and the external antenna is judged at this time.
  • the antenna presence unit 2012 controls the changeover switch circuit 203 via the changeover switch drive unit 2013 to connect the changeover switch to the first output port, that is, to the internal antenna 207, and the subsequent wireless terminal always uses the internal antenna 207.
  • the wireless signal measuring unit 2011 can also detect a valid wireless signal.
  • RSSI1-RSSI2 ⁇ Rthres it is necessary to determine whether RSSI1-RSSI2 ⁇ Rthres is established, that is, determine RSSI2 ⁇ RSSI1. Whether or not -Rthres is established. If RSSI1 - RSSI2 ⁇ Rthres does not hold, that is, RSSI2 ⁇ ⁇ RSSI1 - Rthres does not hold, it can be determined that the external antenna 205 does not exist.
  • the signal strength value is an average of signal strengths.
  • cyclic RSS detection can be used when measuring RSSI1 and RSSI2. For example, at the first millisecond, it is determined whether the external antenna presence unit 2012 controls the changeover switch circuit 203 by the switch switch drive unit 2013 to connect the switch to the first output port, that is, to the internal antenna 207, and the wireless signal measurement unit at this time In 2011, a signal strength value RSSI11 is obtained. At the second millisecond, it is determined whether the external antenna presence unit 2012 controls the changeover switch circuit 203 by the switch switch drive unit 2013 to connect the switch to the second output port, that is, to the RF connector 204.
  • the wireless signal measuring unit 2011 obtains the signal strength value RSSI21, and at the third millisecond, determines whether the external antenna presence unit 2012 controls the switching switch circuit 203 by the switching switch driving unit 2013 to connect the switching switch to the first output port, that is, the connection To the built-in antenna 207, at this time, the wireless signal measuring unit 2011 obtains the signal strength value RSSI12, and at the fourth millisecond, it is determined whether the external antenna presence unit 2012 controls the switching switch circuit 203 by the switching switch driving unit 2013 to connect the switching switch to the second Output port, that is, connected to the RF connector 204, this The wireless signal measuring unit 2011 obtains the signal strength value RSSI22, and thus loops down, and by the end of the tenth millisecond, a total of 10 signal strength values are obtained, wherein five signal strength values are obtained when the switch is connected to the first output port.
  • Signal strength value RSSI11, RSSI12, RSSI13, RSSI14 and RSSI15 are the signal strength values obtained when the switch is connected to the second output port, which are denoted as RSSI21, RSSI22, RSSI23, RSSI24 and RSSI25, respectively.
  • averaging the five signal strength values obtained when the switch is connected to the first output port that is, averaging the five signal strength values of RSSI11, RSSI12, RSSI13, RSSI14, and RSSI15, and connecting the switch to
  • the five signal strength values obtained at the second output port are averaged, that is, the five signal strength values of RSSI21, RSSI22, RSSI23, RSSI24, and RSSI25 are averaged, and finally, the two average values are compared, when switching
  • the difference between the average value corresponding to the five signal strength values obtained by the switch connected to the first output port and the average value corresponding to the five signal strength values obtained by the switch to the second output port is not greater than the preset number At a threshold, it indicates that the external antenna 205 is present, and the subsequent wireless terminal will always use the external antenna 205.
  • the difference between the average value of the five signal strength values obtained when the switch is connected to the first output port and the average value of the five signal strength values obtained by connecting the switch to the second output port is greater than a preset At the first threshold, it can be determined that the external antenna 205 does not exist, and the subsequent wireless terminal will always use the built-in antenna 207.
  • the strength of the wireless signal it can be measured not only by the signal strength RSSI but also by the signal quality or the signal-to-noise ratio.
  • the external antenna can be dynamically removed.
  • the built-in antenna is permanently present as part of the wireless terminal itself.
  • an external antenna detection method is proposed.
  • the method of software detection detects whether an external antenna exists, and does not need to add an additional detection circuit, thereby reducing the cost of detection.
  • the embodiment of the present disclosure further provides a structural diagram of an external antenna detecting device, where the external antenna detecting device includes a detecting unit 501, a switch circuit 502, and a built-in antenna 503, and the switch circuit 502
  • the external antenna detecting device includes a detecting unit 501, a switch circuit 502, and a built-in antenna 503, and the switch circuit 502
  • the target port 5021 and the switch 5022 are connected, the detecting unit 501 is connected to the switch circuit 502, and the built-in antenna 503 is connected to the switch circuit 502, wherein:
  • the detecting unit 501 is configured to control the switch 5022 of the switch circuit 502 to be connected to the internal antenna 503, receive the first target signal sent by the built-in antenna 503, and detect the signal strength of the first target signal. Value, target wireless system and target frequency;
  • the detecting unit 501 controls the switching switch circuit 502 to connect the switching switch 5022 to the first output port, that is, to the internal antenna 503, and receives the wireless signal through the built-in antenna 503. After receiving the wireless signal, the detecting unit 501 detects the signal strength of the wireless signal received by the internal antenna 503, denotes RSSI1, and acquires the target wireless system and the target frequency of the wireless signal received by the internal antenna 503.
  • the detecting unit 501 is configured to control the switch 5022 of the switch circuit 502 to be connected to the target port 5021, receive the second target signal through the target port 5021, and detect the signal strength value of the second target signal.
  • the wireless system of the second target signal is the target wireless system
  • the frequency of the second target signal is the target frequency
  • the target port 5021 is a port for detecting the external antenna;
  • the detecting unit 501 can control the switch circuit 502 to connect the switch 5022 to the second output port, that is, to the target port 5021, and the detecting unit 501 detects a second target signal on the acquired target wireless system and target frequency points.
  • the detecting unit 501 is configured to determine whether a signal strength value of the second target signal is not less than a preset second threshold
  • the detecting unit 501 is configured to: if the signal strength value of the second target signal is not less than the preset second threshold, perform determining the signal strength value of the first target signal and the second target signal Whether the difference of the signal strength values is not greater than a preset first threshold;
  • the detecting unit 501 is configured to determine that the external antenna does not exist if the signal strength value of the second target signal is less than the preset second threshold.
  • the detecting unit 501 controls the switching switch circuit 502 to connect the switching switch 5022 to the second output port, that is, after connecting to the target port 5021, the detecting unit 501 detects the second target signal on the acquired target wireless system and the target frequency point, if the detection The unit 501 does not detect a valid wireless signal, that is, when the strength of the wireless signal received through the target port 5021 is less than the preset second threshold, indicating that the external antenna does not exist, and the detecting unit 501 controls the switching circuit 502 to switch the switch.
  • the 5022 is connected to the first output port, that is, to the internal antenna 503, and the subsequent wireless terminal always uses the built-in antenna 503.
  • the detecting unit 501 detects a valid wireless signal, that is, the strength of the wireless signal received through the target port 5021 is not less than a preset second threshold, the detecting unit 501 can obtain the signal strength of the received valid wireless signal, which is recorded as RSSI2.
  • the detecting unit 501 is configured to control the switch 5022 of the switch circuit 502 to be connected to the internal antenna 503.
  • the detecting unit 501 controls the switching circuit 502 to connect the switching switch 5022 to the first output port, that is, to the internal antenna 503, and the subsequent wireless terminal always uses the built-in antenna 503.
  • the detecting unit 501 is configured to determine whether a difference between a signal strength value of the first target signal and a signal strength value of the second target signal is not greater than a preset first threshold;
  • the detecting unit 501 can determine whether the difference between RSSI1 and RSSI2 is not greater than a preset first threshold, that is, whether RSSI1-RSSI2 ⁇ Rthres is established, that is, whether RSSI2 ⁇ RSSI1-Rthres is established.
  • the detecting unit 501 is configured to determine that the external antenna exists if a difference between a signal strength value of the first target signal and a signal strength value of the second target signal is not greater than the preset first threshold. .
  • the detecting unit 501 determines that RSSI1-RSSI2 ⁇ Rthres is established, that is, it is determined that RSSI2 ⁇ RSSI1-Rthres is established, wherein Rthres is a configuration parameter, indicating that an external antenna exists, then the subsequent wireless terminal always uses the external antenna. .
  • the detecting unit 501 is configured to determine that the difference between the signal strength value of the first target signal and the signal strength value of the second target signal is greater than the preset first threshold.
  • the antenna does not exist.
  • the detecting unit 501 determines that RSSI1-RSSI2 ⁇ Rthres does not hold, it is determined that RSSI2 ⁇ RSSI1- When Rthres is not established, where Rthres is a configuration parameter, it indicates that the external antenna does not exist. At this time, the detecting unit 501 controls the switch circuit 502 to connect the switch 5022 to the built-in antenna 503, and the subsequent wireless terminal always uses the built-in antenna 503. When the external wireless signal is strong, even if the external antenna does not exist, the detecting unit 501 can also detect a valid wireless signal. Therefore, it is necessary to determine whether RSSI1-RSSI2 ⁇ Rthres is established, that is, whether RSSI2 ⁇ RSSI1-Rthres is determined. If the RSSI1 - RSSI2 ⁇ Rthres does not hold, that is, if RSSI2 ⁇ RSSI1 - Rthres does not hold, it can be determined that the external antenna does not exist.
  • the signal strength value is an average of signal strengths.
  • cyclic RSS detection can be used when measuring RSSI1 and RSSI2.
  • the detecting unit 501 controls the switching circuit 502 to connect the switching switch 5022 to the first output port, that is, to the internal antenna 503, at which time the detecting unit 501 obtains the signal strength value RSSI11, at the second millisecond.
  • the detecting unit 501 controls the switching switch circuit 502 to connect the switching switch 5022 to the target port 5021, at which time the detecting unit 501 obtains the signal strength value RSSI21, and at the third millisecond, the detecting unit 501 controls the switching circuit 502 to connect the switching switch 5022 to The first output port is connected to the built-in antenna 503. At this time, the detecting unit 501 obtains the signal strength value RSSI12. At the fourth millisecond, the detecting unit 501 controls the switching circuit 502 to connect the switch 5022 to the target port 5021. The unit 501 obtains the signal strength value RSSI22, and the loop is continued.
  • a total of 10 signal strength values are obtained, wherein five signal strength values are the signal strength values obtained when the switch is connected to the first output port. , respectively labeled RSSI11, RSSI12, RSSI13, RSSI14 and RSSI15, the other 5 signal strength values are switch switches
  • the signal strength values obtained when receiving the target port 5021 are recorded as RSSI21, RSSI22, RSSI23, RSSI24, and RSSI25, respectively.
  • averaging the five signal strength values obtained when the switch is connected to the first output port that is, averaging the five signal strength values of RSSI11, RSSI12, RSSI13, RSSI14, and RSSI15, and connecting the switch to
  • the five signal strength values obtained at the target port 5021 are averaged, that is, the five signal strength values of RSSI21, RSSI22, RSSI23, RSSI24, and RSSI25 are averaged, and finally, the two average values are compared, when the switch is switched.
  • the difference between the average value corresponding to the five signal strength values obtained by connecting to the first output port and the average value corresponding to the five signal strength values obtained by the switch to the target port 5021 is not greater than a preset first threshold.
  • the subsequent wireless terminal When the external antenna is present, the subsequent wireless terminal will always use the external antenna.
  • the difference between the average value of the five signal strength values obtained when the switch is connected to the first output port and the average value of the five signal strength values obtained by the switch to the target port 5021 is greater than the preset number
  • a threshold it can be determined that the external antenna does not exist, and the subsequent wireless terminal will always use the built-in antenna 503.
  • the strength of the wireless signal it can be measured not only by the signal strength RSSI but also by the signal quality or the signal-to-noise ratio.
  • the external antenna can be dynamically removed.
  • the built-in antenna is permanently present as part of the wireless terminal itself.
  • an external antenna detecting device is proposed, and an external antenna detecting method can be implemented on the device.
  • the method of software detection detects the presence of an external antenna, and does not need to add additional detection circuits, which reduces the cost of detection.
  • the embodiment of the present disclosure further provides a schematic flowchart of another method for detecting an external antenna.
  • the embodiment of the present disclosure further provides another method for detecting an external antenna, including the following steps:
  • Step S601 Determine whether the external antenna presence unit controls the switch circuit through the switch control unit to connect the switch to the first output port, that is, to the internal antenna.
  • Step S602 Receiving a wireless signal through a built-in antenna, and the wireless signal measuring unit detects whether the wireless signal is scanned.
  • Step S603 if the wireless signal measuring unit does not scan the wireless signal, proceed to step S602 until the wireless signal is scanned.
  • Step S604 After the wireless signal measuring unit scans the wireless signal, the wireless signal measuring unit records the signal strength of the wireless signal received by the built-in antenna, denotes RSSI1, and acquires the target wireless system and the target frequency of the wireless signal received by the internal antenna. .
  • Step S605 determining whether the external antenna exists or not, the switching switch circuit is controlled by the switch switch driving unit to connect the switch to the second output port, that is, to the RF connector.
  • Step S606 The wireless signal measuring unit detects whether a valid wireless signal is scanned on the acquired target wireless system and the target frequency point.
  • Step S607 if the wireless signal measuring unit does not scan the valid wireless signal, it indicates that the external antenna does not exist. At this time, determining whether the external antenna exists or not, the unit controls the switching circuit through the switching switch driving unit to connect the switching switch to the first output.
  • the port is connected to the internal antenna, and the subsequent wireless terminal always uses the built-in antenna.
  • Step S608 If the wireless signal measuring unit scans the valid wireless signal on the acquired target wireless system and the target frequency point, the signal strength of the received valid wireless signal can be obtained as RSSI2.
  • the wireless signal measuring unit may determine whether RSSI1 - RSSI2 ⁇ Rthres is established in an embodiment, that is, whether RSSI2 ⁇ RSSI1 - Rthres is established.
  • Step S6010 If the wireless signal measuring unit determines that RSSI1 - RSSI2 ⁇ Rthres is established, that is, when RSSI2 ⁇ RSSI1 - Rthres is established, wherein Rthres is a configuration parameter, indicating that the external antenna is present, then the subsequent wireless terminal will always Use an external antenna.
  • the wireless signal measurement unit determines that RSSI1-RSSI2 ⁇ Rthres does not hold, that is, it is determined that RSSI2 ⁇ RSSI1-Rthres is not established, wherein Rthres is a configuration parameter, indicating that the external antenna does not exist, and it is determined whether the external antenna exists.
  • the unit controls the switch circuit through the switch switch drive unit to connect the switch to the first output port, that is, to the internal antenna, and the subsequent wireless terminal always uses the built-in antenna.
  • an external antenna detection method is proposed.
  • the method of software detection detects whether an external antenna exists, and does not need to add an additional detection circuit, thereby reducing the cost of detection.
  • the embodiment of the present disclosure further provides a schematic flowchart of another method for detecting an external antenna.
  • the embodiment of the present disclosure further provides another method for detecting an external antenna, including the following steps:
  • Step S701 Determine whether the external antenna presence unit controls the switch circuit through the switch driver unit to connect the switch to the first output port, that is, to the internal antenna.
  • Step S702 receiving a wireless signal by using a built-in antenna, and the wireless signal measuring unit detects whether the wireless signal is scanned.
  • Step S703 If the wireless signal measuring unit does not scan the wireless signal, proceed to step S702 until the wireless signal is scanned.
  • Step S704 After the wireless signal measuring unit scans the wireless signal, the wireless signal measuring unit records the signal strength of the wireless signal received by the internal antenna, denotes RSSI1, and acquires the target wireless system and the target frequency of the wireless signal received by the internal antenna. .
  • Step S705 determining whether the external antenna exists or not, the switch switch driving unit controls the switch circuit to alternate the switching switch cycle with the first output port and the second output port, and the wireless signal measuring unit measures the signal strength value, and separately records .
  • Step S706 calculating an average value of the signal strength values obtained when the switch is connected to the first output port, and calculating an average value of the signal strength values obtained when the switch is connected to the second output port.
  • Step S707 determining whether the difference between the average value of the signal strength values obtained when the switch is connected to the first output port and the average value of the signal strength values obtained when the switch is connected to the second output port is not greater than a preset number A threshold.
  • Step S708 The difference between the average value of the signal strength values obtained when the switch is connected to the first output port and the average value of the signal strength values obtained when the switch is connected to the second output port is greater than a preset first threshold. Then, the subsequent wireless terminal always uses the built-in antenna.
  • Step S709 a difference between an average value of the signal strength values obtained when the switch is connected to the first output port and an average value of the signal strength values obtained when the switch is connected to the second output port is not greater than a preset first Threshold, the subsequent wireless terminal always uses an external antenna.
  • an external antenna detection method is proposed.
  • the method of software detection detects whether an external antenna exists, and does not need to add an additional detection circuit, thereby reducing the cost of detection.
  • FIG. 8 is a structural diagram of an external antenna detecting apparatus according to an embodiment of the present disclosure.
  • the embodiment of the present disclosure further provides a structure of an external antenna detecting apparatus, including the following modules:
  • the first detecting module 801 is configured to detect a signal strength value, a target wireless system, and a target frequency point of the first target signal received by the internal antenna;
  • the second detecting module 802 is configured to detect a signal strength value of the second target signal received by the target port, where the wireless system of the second target signal is the target wireless system, and the frequency of the second target signal is the a target frequency point, where the target port is a port for detecting the external antenna;
  • the first determining module 803 is configured to determine whether a difference between a signal strength value of the first target signal and a signal strength value of the second target signal is not greater than a preset first threshold;
  • a first determining module 804 configured to: if a signal strength value of the first target signal and the second target signal If the difference between the signal strength values is not greater than the preset first threshold, it is determined that the external antenna exists.
  • FIG. 9 a structural diagram of another external antenna detecting apparatus according to an embodiment of the present disclosure, where the external antenna detecting apparatus further includes:
  • the second determining module 805 is configured to: if the difference between the signal strength value of the first target signal and the signal strength value of the second target signal is greater than the preset first threshold, determining that the external antenna is not presence.
  • FIG. 10 a structural diagram of another external antenna detecting apparatus according to an embodiment of the present disclosure, where the external antenna detecting apparatus further includes:
  • the second determining module 806 is configured to determine whether the signal strength value of the second target signal is not less than a preset second threshold
  • the executing module 807 is configured to: if the signal strength value of the second target signal is not less than the preset second threshold, perform the determining the signal strength value of the first target signal and the second target signal Whether the difference of the signal strength values is not greater than a preset first threshold;
  • the third determining module 808 is configured to determine that the external antenna does not exist if the signal strength value of the second target signal is less than the preset second threshold.
  • the signal strength value is an average of signal strengths.
  • FIG. 11 a structural diagram of another external antenna detecting apparatus according to an embodiment of the present disclosure, where the external antenna detecting apparatus further includes:
  • the switching module 809 is configured to switch the currently used antenna to the built-in antenna.
  • the external antenna detecting device may be the external antenna detecting device in the embodiment shown in FIG. 1, FIG. 4, FIG. 5, FIG. 6, and FIG. 7, and FIG. 1, FIG. 4, FIG. Any of the embodiments of the external antenna detecting device in the embodiment shown in FIG. 6 and FIG. 7 can be implemented by the external antenna detecting device in this embodiment, and details are not described herein again.
  • an external antenna detecting device is proposed.
  • the external antenna detecting method can be implemented on the device.
  • the software detecting method detects whether an external antenna exists, and does not need to add an additional detecting circuit to reduce the detection. cost.
  • the target port Detecting a signal strength value of the second target signal received by the target port, where the wireless system of the second target signal is the target wireless system, and the frequency of the second target signal is the target frequency, the target port a port for detecting the external antenna;
  • the preset first threshold determines that the external antenna exists.
  • the method further includes:
  • the difference between the signal strength value of the first target signal and the signal strength value of the second target signal is greater than the preset first threshold, determining that the external antenna does not exist.
  • the method before the step of determining whether a difference between a signal strength value of the first target signal and a signal strength value of the second target signal is not greater than a preset first threshold, the method further includes:
  • the signal strength value of the second target signal is not less than the preset second threshold, performing, determining the difference between the signal strength value of the first target signal and the signal strength value of the second target signal Whether the step is not greater than a preset first threshold;
  • the signal strength value is an average of signal strengths.
  • the method further includes:
  • the storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the external antenna detecting method provided by the embodiment of the present disclosure detects whether an external antenna exists by using a software detection method, and does not need to add an additional detecting circuit, thereby reducing the cost of detecting.

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Radio Transmission System (AREA)
  • Transceivers (AREA)

Abstract

一种外置天线检测方法、设备和装置,该方法包括:检测内置天线接收的第一目标信号的信号强度值、目标无线制式和目标频点(S101);检测目标端口接收的第二目标信号的信号强度值(S102),所述第二目标信号的无线制式为所述目标无线制式,所述第二目标信号的频点为所述目标频点,所述目标端口为用于检测所述外置天线的端口;判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值(S103);若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值不大于所述预设第一阈值,则确定所述外置天线存在(S104)。通过软件检测的方法检测外置天线是否存在,无需增加额外检测电路,降低了检测的成本。

Description

一种外置天线检测方法、设备和装置 技术领域
本公开涉及通信技术领域,特别涉及一种外置天线检测方法、设备和装置。
背景技术
现在汽车中一般都有汽车智能终端(TBOX),TBOX本身有内置天线,由于TBOX在汽车内部位置的原因,内置天线的灵敏度不是很好,所以会为汽车安装一个外置天线,这就需要TBOX自动检测外置天线是否存在。相关技术中,通过增加检测电路来检测外置天线是否存在,检测电路用于在射频连接器连通外置天线形成射频通道时,形成直流检测回路,通过检测电压的高低就可以判断外置天线是否存在。但是增加检测电路会增加成本,因此相关技术存在检测外置天线是否存在时会增加成本的问题。
发明内容
本公开实施例的目的在于提供一种外置天线检测方法、设备和装置,解决了相关技术存在的检测外置天线是否存在时会增加成本的问题。
为了达到上述目的,本公开实施例提供一种外置天线检测方法,包括:
检测内置天线接收的第一目标信号的信号强度值、目标无线制式和目标频点;
检测目标端口接收的第二目标信号的信号强度值,所述第二目标信号的无线制式为所述目标无线制式,所述第二目标信号的频点为所述目标频点,所述目标端口为用于检测所述外置天线的端口;
判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值;
若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值不大于所述预设第一阈值,则确定所述外置天线存在。
本公开实施例还提供一种外置天线检测设备,所述外置天线检测设备包括检测单元、切换开关电路和内置天线,所述切换开关电路包含目标端口和切换开关,所述检测单元与所述切换开关电路连接,所述内置天线与所述切换开关电路连接,其中:
所述检测单元设置为控制所述切换开关电路的切换开关连接到所述内置天线,接收所述内置天线发送的第一目标信号,并检测所述第一目标信号的信号强度值、目标无线制式和目标频点;
所述检测单元设置为控制所述切换开关电路的切换开关连接到所述目标端口,通过所述目标端口接收第二目标信号,并检测所述第二目标信号的信号强度值,所述第二目标信号的无线制式为所述目标无线制式,所述第二目标信号的频点为所述目标频点,所述目标端口为用于检测所述外置天线的端口;
所述检测单元设置为判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值;
所述检测单元设置为若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值不大于所述预设第一阈值,则确定所述外置天线存在。
本公开实施例还提供一种外置天线检测装置,包括:
第一检测模块,设置为检测内置天线接收的第一目标信号的信号强度值、目标无线制式和目标频点;
第二检测模块,设置为检测目标端口接收的第二目标信号的信号强度值,所述第二目标信号的无线制式为所述目标无线制式,所述第二目标信号的频点为所述目标频点,所述目标端口为用于检测所述外置天线的端口;
第一判断模块,设置为判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值;
第一确定模块,设置为若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值不大于所述预设第一阈值,则确定所述外置天线存在。
本公开实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行的一个或多个程序,所述一个或多个程序被所述计算机执行时使所述计算机执行如上述提供的一种外置天线检测方法。
上述技术方案中的一个技术方案具有如下优点或有益效果:
本公开实施例,检测内置天线接收的第一目标信号的信号强度值、目标无线制式和目标频点;检测目标端口接收的第二目标信号的信号强度值,所述第二目标信号的无线制式为所述目标无线制式,所述第二目标信号的频点为所述目标频点,所述目标端口为用于检测所述外置天线的端口;判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值;若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值不大于所述预设第一阈值,则确定所述外置天线存在。这样,通过软件检测的方法检测外置天线是否存在,不需要增加额外的检测电路,降低了检测的成本。
附图说明
图1为本公开实施例提供的一种外置天线检测方法的流程示意图;
图2为本公开实施例提供的检测外置天线是否存在的装置的示意图;
图3为本公开实施例提供的软件模块示意图;
图4为本公开实施例提供的另一种外置天线检测方法的流程示意图;
图5为本公开实施例提供的一种外置天线检测设备的结构图;
图6为本公开实施例提供的另一种外置天线检测方法的流程示意图;
图7为本公开实施例提供的另一种外置天线检测方法的流程示意图;
图8为本公开实施例提供的一种外置天线检测装置的结构图;
图9为本公开实施例提供的另一种外置天线检测装置的结构图;
图10为本公开实施例提供的另一种外置天线检测装置的结构图;
图11为本公开实施例提供的另一种外置天线检测装置的结构图。
具体实施方式
为使本公开要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及示例性实施例进行详细描述。
如图1所示,本公开实施例提供一种外置天线检测方法的流程示意图,本公开实施例提供一种外置天线检测方法,包括以下步骤:
步骤S101、检测内置天线接收的第一目标信号的信号强度值、目标无线制式和目标频点。
步骤S102、检测目标端口接收的第二目标信号的信号强度值,所述第二目标信号的无线制式为所述目标无线制式,所述第二目标信号的频点为所述目标频点,所述目标端口为用于检测所述外置天线的端口。
步骤S103、判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值。
步骤S104、若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值不大于所述预设第一阈值,则确定所述外置天线存在。
在步骤S101中,如图2所示,为检测外置天线是否存在的装置示意图,该电路包括:天线切换控制中央处理器(CPU,Central Processing Unit)201、射频输入端口202、切换开关电路203、射频连接器204、外置天线205、数字信号处理(DSP,Digital Signal Processing)器206和内置天线207。其中,切换开关电路203包括与射频输入端口202连接的输入端口,与天线切换控制CPU201连接的控制端口,与射频连接器204连接的第二输出端口,以及与内置天线207连接的第一输出端口。外置天线205通过射频连接器204与切换开关电路203的第二输出端口连接。
天线切换控制CPU201包括无线信号测量单元2011、判断外置天线是否存在单元2012和切换开关驱动单元2013,如图3所示,为软件模块示意图。天线切换控制CPU201可以和无线终端的基带CPU共用同一个CPU,也可以不共用。
首先,判断外置天线是否存在单元2012通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第一输出端口,即连接到内置天线207,通过内置天线207来接收无线信号。内置天线207接收到无线信号后,无线信号测量单元2011检测内置天线207接收到的无线信号的信号强度(RSSI,Received signal strength indication),记为RSSI1,并获取内置天线207接收到的无线信号的目标无线制式和目标频点。
在步骤S102中,获取了内置天线207接收到的无线信号的信号强度RSSI1、内置天 线207接收到的无线信号的目标无线制式和内置天线207接收到的无线信号的目标频点后,判断外置天线是否存在单元2012可以通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第二输出端口,即连接到射频连接器204。
判断外置天线是否存在单元2012通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第二输出端口,即连接到射频连接器204后,无线信号测量单元2011在获取到的目标无线制式和目标频点上检测第二目标信号,若在获取到的目标无线制式和目标频点上没有检测到有效的无线信号,说明外置天线205不存在,此时判断外置天线是否存在单元2012通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第一输出端口,即连接到内置天线207,后续无线终端一直使用内置天线207。
若无线信号测量单元2011在获取到的目标无线制式和目标频点上检测到有效的无线信号,无线信号测量单元2011可以获得接收到的有效的无线信号的信号强度,记为RSSI2。
在步骤S103中,无线信号测量单元2011可以判断RSSI1与RSSI2的差值是否不大于预设第一阈值,即判断RSSI1-RSSI2≤Rthres是否成立,也即判断RSSI2≥RSSI1-Rthres是否成立。Rthres可以通过用户界面(UI,User Interface)或者非易失性存储器(NVM,Non-Volatile Memory)来配置,Rthres的取值没有过多的限制,只要保证RSSI1-Rthres的值不小于协议规定的最小可用信号强度值即可。
在步骤S104中,若无线信号测量单元2011判断出RSSI1-RSSI2≤Rthres成立,也即判断出RSSI2≥RSSI1-Rthres成立时,其中,Rthres为配置参数,说明外置天线205是存在的,那么后续无线终端会一直使用外置天线205。
若无线信号测量单元2011判断出RSSI1-RSSI2≤Rthres不成立,也即判断出RSSI2≥RSSI1-Rthres不成立时,其中,Rthres为配置参数,说明外置天线205是不存在的,此时判断外置天线是否存在单元2012通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第一输出端口,即连接到内置天线207,后续无线终端一直使用内置天线207。当外界无线信号很强时,就算外置天线205不存在,无线信号测量单元2011同样可以检测到有效的无线信号,因此此时还要判断RSSI1-RSSI2≤Rthres是否成立,也即判断RSSI2≥RSSI1-Rthres是否成立,若RSSI1-RSSI2≤Rthres不成立,也即RSSI2≥RSSI1-Rthres不成立时,就可以判定外置天线205是不存在的。
需要说明的是,判断无线信号的强弱时,不仅可以使用信号强度RSSI来衡量,也可以根据信号质量或者信噪比来衡量,上述实施方式仅仅是一种举例说明。而且外置天线可以动态拆卸,作为无线终端的一个配件,可以存在也可以不存在,内置天线作为无线终端本身的一部分,永久存在。
本实施例,提出一种外置天线检测方法,通过软件检测的方法检测外置天线是否存在,不需要增加额外的检测电路,降低了检测的成本。
如图4所示,本公开实施例还提供另一种外置天线检测方法的流程示意图,本公开实施例提供另一种外置天线检测方法,包括以下步骤:
步骤S401、检测内置天线接收的第一目标信号的信号强度值、目标无线制式和目标频点。
在步骤S401中,仍然以图2和图3为例,首先,判断外置天线是否存在单元2012通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第一输出端口,即连接到内置天线207,通过内置天线207来接收无线信号。内置天线207接收到无线信号后,无线信号测量单元2011检测内置天线207接收到的无线信号的信号强度,记为RSSI1,并获取内置天线207接收到的无线信号的目标无线制式和目标频点。
步骤S402、检测目标端口接收的第二目标信号的信号强度值,所述第二目标信号的无线制式为所述目标无线制式,所述第二目标信号的频点为所述目标频点,所述目标端口为用于检测所述外置天线的端口。
在步骤S402中,获取了内置天线207接收到的无线信号的信号强度RSSI1、内置天线207接收到的无线信号的目标无线制式和内置天线207接收到的无线信号的目标频点后,判断外置天线是否存在单元2012可以通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第二输出端口,即连接到射频连接器204,无线信号测量单元2011在获取到的目标无线制式和目标频点上检测第二目标信号。
步骤S403、判断所述第二目标信号的信号强度值是否不小于预设第二阈值;若所述第二目标信号的信号强度值不小于所述预设第二阈值,则执行所述判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值的步骤;若所述第二目标信号的信号强度值小于所述预设第二阈值,则确定所述外置天线不存在。
在步骤S403中,判断外置天线是否存在单元2012通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第二输出端口,即连接到射频连接器204后,无线信号测量单元2011在获取到的目标无线制式和目标频点上检测第二目标信号,若在获取到的目标无线制式和目标频点上没有检测到有效的无线信号,说明外置天线205不存在,此时判断外置天线是否存在单元2012通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第一输出端口,即连接到内置天线207,后续无线终端一直使用内置天线207。
若无线信号测量单元2011在获取到的目标无线制式和目标频点上检测到有效的无线信号,即通过第二输出端口接收到的无线信号的强度不小于预设第二阈值时,无线信号测量单元2011可以获得接收到的有效的无线信号的信号强度,记为RSSI2。
可选的,在所述确定所述外置天线不存在的步骤之后,所述方法还包括:
将当前使用的天线切换为所述内置天线。
确定外置天线205不存在之后,判断外置天线是否存在单元2012通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第一输出端口,即连接到内置天线207,后续无线终端一直使用内置天线207。
步骤S404、判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值 的差值是否不大于预设第一阈值。
在步骤S404中,无线信号测量单元2011可以在一实施例中判断RSSI1与RSSI2的差值是否不大于预设第一阈值,即判断RSSI1-RSSI2≤Rthres是否成立,也即判断RSSI2≥RSSI1-Rthres是否成立。
步骤S405、若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值不大于所述预设第一阈值,则确定所述外置天线存在。
在步骤S405中,若无线信号测量单元2011判断出RSSI1-RSSI2≤Rthres成立,也即判断出RSSI2≥RSSI1-Rthres成立时,其中,Rthres为配置参数,说明外置天线205是存在的,那么后续无线终端会一直使用外置天线205。
可选的,在所述判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值的步骤之后,所述方法还包括:
若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值大于所述预设第一阈值,则确定所述外置天线不存在。
若无线信号测量单元2011判断出RSSI1-RSSI2≤Rthres不成立,也即判断出RSSI2≥≥RSSI1-Rthres不成立时,其中,Rthres为配置参数,说明外置天线205是不存在的,此时判断外置天线是否存在单元2012通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第一输出端口,即连接到内置天线207,后续无线终端一直使用内置天线207。当外界无线信号很强时,就算外置天线205不存在,无线信号测量单元2011同样可以检测到有效的无线信号,因此此时还要判断RSSI1-RSSI2≤Rthres是否成立,也即判断RSSI2≥RSSI1-Rthres是否成立,若RSSI1-RSSI2≤Rthres不成立,也即RSSI2≥≥RSSI1-Rthres不成立时,就可以判定外置天线205是不存在的。
可选的,所述信号强度值为信号强度的平均值。
由于无线终端位置的不固定性,以及无线信号强弱的动态变化性,在测量RSSI1和RSSI2时,可以采用周期交替检测的方式。例如,在第一毫秒时,判断外置天线是否存在单元2012通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第一输出端口,即连接到内置天线207,此时无线信号测量单元2011获得信号强度值RSSI11,在第二毫秒时,判断外置天线是否存在单元2012通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第二输出端口,即连接到射频连接器204,此时无线信号测量单元2011获得信号强度值RSSI21,在第三毫秒时,判断外置天线是否存在单元2012通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第一输出端口,即连接到内置天线207,此时无线信号测量单元2011获得信号强度值RSSI12,在第四毫秒时,判断外置天线是否存在单元2012通过切换开关驱动单元2013控制切换开关电路203将切换开关连接到第二输出端口,即连接到射频连接器204,此时无线信号测量单元2011获得信号强度值RSSI22,如此循环下去,到第十毫秒结束时,共获得10个信号强度值,其中有5个信号强度值是切换开关连接到第一输出端口时所获得的信号强度值,分别记 RSSI11、RSSI12、RSSI13、RSSI14和RSSI15,另外5个信号强度值是切换开关连接到第二输出端口时所获得的信号强度值,分别记为RSSI21、RSSI22、RSSI23、RSSI24和RSSI25。
然后对切换开关连接到第一输出端口时所获得的5个信号强度值取平均值,即对RSSI11、RSSI12、RSSI13、RSSI14和RSSI15这5个信号强度值取平均值,并对切换开关连接到第二输出端口时所获得的5个信号强度值取平均值,即对RSSI21、RSSI22、RSSI23、RSSI24和RSSI25这5个信号强度值取平均值,最后再将两个平均值进行比较,当切换开关连接到第一输出端口所获得的5个信号强度值所对应的平均值与切换开关连接到第二输出端口所获得的5个信号强度值所对应的平均值的差值不大于预设第一阈值时,说明外置天线205是存在的,那么后续无线终端会一直使用外置天线205。当切换开关连接到第一输出端口所获得的5个信号强度值所对应的平均值与切换开关连接到第二输出端口所获得的5个信号强度值所对应的平均值的差值大于预设第一阈值时,就可以判定外置天线205是不存在的,那么后续无线终端会一直使用内置天线207。
需要说明的是,判断无线信号的强弱时,不仅可以使用信号强度RSSI来衡量,也可以根据信号质量或者信噪比来衡量,上述实施方式仅仅是一种举例说明。而且外置天线可以动态拆卸,作为无线终端的一个配件,可以存在也可以不存在,内置天线作为无线终端本身的一部分,永久存在。
本实施例,提出一种外置天线检测方法,通过软件检测的方法检测外置天线是否存在,不需要增加额外的检测电路,降低了检测的成本。
如图5所示,本公开实施例还提供一种外置天线检测设备的结构图,所述外置天线检测设备包括检测单元501、切换开关电路502和内置天线503,所述切换开关电路502包含目标端口5021和切换开关5022,所述检测单元501与所述切换开关电路502连接,所述内置天线503与所述切换开关电路502连接,其中:
所述检测单元501设置为控制所述切换开关电路502的切换开关5022连接到所述内置天线503,接收所述内置天线503发送的第一目标信号,并检测所述第一目标信号的信号强度值、目标无线制式和目标频点;
首先,检测单元501控制切换开关电路502将切换开关5022连接到第一输出端口,即连接到内置天线503,通过内置天线503来接收无线信号。内置天线503接收到无线信号后,检测单元501检测内置天线503接收到的无线信号的信号强度,记为RSSI1,并获取内置天线503接收到的无线信号的目标无线制式和目标频点。
所述检测单元501设置为控制所述切换开关电路502的切换开关5022连接到所述目标端口5021,通过所述目标端口5021接收第二目标信号,并检测所述第二目标信号的信号强度值,所述第二目标信号的无线制式为所述目标无线制式,所述第二目标信号的频点为所述目标频点,所述目标端口5021为用于检测所述外置天线的端口;
获取了内置天线503接收到的无线信号的信号强度RSSI1、内置天线503接收到的无 线信号的目标无线制式和内置天线503接收到的无线信号的目标频点后,检测单元501可以控制切换开关电路502将切换开关5022连接到第二输出端口,即连接到目标端口5021,检测单元501在获取到的目标无线制式和目标频点上检测第二目标信号。
可选的,所述检测单元501设置为判断所述第二目标信号的信号强度值是否不小于预设第二阈值;
所述检测单元501设置为若所述第二目标信号的信号强度值不小于所述预设第二阈值,则执行所述判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值的步骤;
所述检测单元501设置为若所述第二目标信号的信号强度值小于所述预设第二阈值,则确定所述外置天线不存在。
检测单元501控制切换开关电路502将切换开关5022连接到第二输出端口,即连接到目标端口5021后,检测单元501在获取到的目标无线制式和目标频点上检测第二目标信号,若检测单元501没有检测到有效的无线信号,即通过目标端口5021接收到的无线信号的强度小于预设第二阈值时,说明外置天线不存在,此时检测单元501控制切换开关电路502将切换开关5022连接到第一输出端口,即连接到内置天线503,后续无线终端一直使用内置天线503。
若检测单元501检测到有效的无线信号,即通过目标端口5021接收到的无线信号的强度不小于预设第二阈值时,检测单元501可以获得接收到的有效的无线信号的信号强度,记为RSSI2。
可选的,所述检测单元501设置为控制所述切换开关电路502的切换开关5022连接到所述内置天线503。
确定外置天线不存在之后,检测单元501控制切换开关电路502将切换开关5022连接到第一输出端口,即连接到内置天线503,后续无线终端一直使用内置天线503。
所述检测单元501设置为判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值;
检测单元501可以在一实施例中判断RSSI1与RSSI2的差值是否不大于预设第一阈值,即判断RSSI1-RSSI2≤Rthres是否成立,也即判断RSSI2≥RSSI1-Rthres是否成立。
所述检测单元501设置为若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值不大于所述预设第一阈值,则确定所述外置天线存在。
若检测单元501判断出RSSI1-RSSI2≤Rthres成立,也即判断出RSSI2≥RSSI1-Rthres成立时,其中,Rthres为配置参数,说明外置天线是存在的,那么后续无线终端会一直使用外置天线。
可选的,所述检测单元501设置为若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值大于所述预设第一阈值,则确定所述外置天线不存在。
若检测单元501判断出RSSI1-RSSI2≤Rthres不成立,也即判断出RSSI2≥RSSI1- Rthres不成立时,其中,Rthres为配置参数,说明外置天线是不存在的,此时检测单元501控制切换开关电路502将切换开关5022连接到内置天线503,后续无线终端一直使用内置天线503。当外界无线信号很强时,就算外置天线不存在,检测单元501同样可以检测到有效的无线信号,因此此时还要判断RSSI1-RSSI2≤Rthres是否成立,也即判断RSSI2≥RSSI1-Rthres是否成立,若RSSI1-RSSI2≤Rthres不成立,也即RSSI2≥RSSI1-Rthres不成立时,就可以判定外置天线是不存在的。
可选的,所述信号强度值为信号强度的平均值。
由于无线终端位置的不固定性,以及无线信号强弱的动态变化性,在测量RSSI1和RSSI2时,可以采用周期交替检测的方式。例如,在第一毫秒时,检测单元501控制切换开关电路502将切换开关5022连接到第一输出端口,即连接到内置天线503,此时检测单元501获得信号强度值RSSI11,在第二毫秒时,检测单元501控制切换开关电路502将切换开关5022连接到目标端口5021,此时检测单元501获得信号强度值RSSI21,在第三毫秒时,检测单元501控制切换开关电路502将切换开关5022连接到第一输出端口,即连接到内置天线503,此时检测单元501获得信号强度值RSSI12,在第四毫秒时,检测单元501控制切换开关电路502将切换开关5022连接到目标端口5021,此时检测单元501获得信号强度值RSSI22,如此循环下去,到第十毫秒结束时,共获得10个信号强度值,其中有5个信号强度值是切换开关连接到第一输出端口时所获得的信号强度值,分别记为RSSI11、RSSI12、RSSI13、RSSI14和RSSI15,另外5个信号强度值是切换开关连接到目标端口5021时所获得的信号强度值,分别记为RSSI21、RSSI22、RSSI23、RSSI24和RSSI25。
然后对切换开关连接到第一输出端口时所获得的5个信号强度值取平均值,即对RSSI11、RSSI12、RSSI13、RSSI14和RSSI15这5个信号强度值取平均值,并对切换开关连接到目标端口5021时所获得的5个信号强度值取平均值,即对RSSI21、RSSI22、RSSI23、RSSI24和RSSI25这5个信号强度值取平均值,最后再将两个平均值进行比较,当切换开关连接到第一输出端口所获得的5个信号强度值所对应的平均值与切换开关连接到目标端口5021所获得的5个信号强度值所对应的平均值的差值不大于预设第一阈值时,说明外置天线是存在的,那么后续无线终端会一直使用外置天线。当切换开关连接到第一输出端口所获得的5个信号强度值所对应的平均值与切换开关连接到目标端口5021所获得的5个信号强度值所对应的平均值的差值大于预设第一阈值时,就可以判定外置天线是不存在的,那么后续无线终端会一直使用内置天线503。
需要说明的是,判断无线信号的强弱时,不仅可以使用信号强度RSSI来衡量,也可以根据信号质量或者信噪比来衡量,上述实施方式仅仅是一种举例说明。而且外置天线可以动态拆卸,作为无线终端的一个配件,可以存在也可以不存在,内置天线作为无线终端本身的一部分,永久存在。
本公开实施例,提出一种外置天线检测设备,外置天线检测方法可以在这种设备上实 现,通过软件检测的方法检测外置天线是否存在,不需要增加额外的检测电路,降低了检测的成本。
如图6所示,本公开实施例还提供另一种外置天线检测方法的流程示意图,本公开实施例还提供另一种外置天线检测方法,包括以下步骤:
步骤S601、判断外置天线是否存在单元通过切换开关驱动单元控制切换开关电路将切换开关连接到第一输出端口,即连接到内置天线。
步骤S602、通过内置天线来接收无线信号,无线信号测量单元检测是否扫描到无线信号。
步骤S603、若无线信号测量单元没有扫描到无线信号,则继续执行步骤S602,直到扫描到无线信号为止。
步骤S604、无线信号测量单元扫描到无线信号后,无线信号测量单元记录内置天线接收到的无线信号的信号强度,记为RSSI1,并获取内置天线接收到的无线信号的目标无线制式和目标频点。
步骤S605、判断外置天线是否存在单元可以通过切换开关驱动单元控制切换开关电路将切换开关连接到第二输出端口,即连接到射频连接器。
步骤S606、无线信号测量单元检测在获取到的目标无线制式和目标频点上是否扫描到有效的无线信号。
步骤S607、若无线信号测量单元没有扫描到有效的无线信号,则说明外置天线不存在,此时判断外置天线是否存在单元通过切换开关驱动单元控制切换开关电路将切换开关连接到第一输出端口,即连接到内置天线,后续无线终端一直使用内置天线。
步骤S608、若无线信号测量单元在获取到的目标无线制式和目标频点上扫描到有效的无线信号,可以获得接收到的有效的无线信号的信号强度,记为RSSI2。
步骤S609、无线信号测量单元可以在一实施例中判断RSSI1-RSSI2≤Rthres是否成立,也即判断RSSI2≥RSSI1-Rthres是否成立。
步骤S6010、若无线信号测量单元判断出RSSI1-RSSI2≤Rthres成立,也即判断出RSSI2≥RSSI1-Rthres成立时,其中,Rthres为配置参数,说明外置天线是存在的,那么后续无线终端会一直使用外置天线。
若无线信号测量单元判断出RSSI1-RSSI2≤Rthres不成立,也即判断出RSSI2≥RSSI1-Rthres不成立时,其中,Rthres为配置参数,说明外置天线是不存在的,此时判断外置天线是否存在单元通过切换开关驱动单元控制切换开关电路将切换开关连接到第一输出端口,即连接到内置天线,后续无线终端一直使用内置天线。
本实施例,提出一种外置天线检测方法,通过软件检测的方法检测外置天线是否存在,不需要增加额外的检测电路,降低了检测的成本。
如图7所示,本公开实施例还提供另一种外置天线检测方法的流程示意图,本公开实施例还提供另一种外置天线检测方法,包括以下步骤:
步骤S701、判断外置天线是否存在单元通过切换开关驱动单元控制切换开关电路将切换开关连接到第一输出端口,即连接到内置天线。
步骤S702、通过内置天线来接收无线信号,无线信号测量单元检测是否扫描到无线信号。
步骤S703、若无线信号测量单元没有扫描到无线信号,则继续执行步骤S702,直到扫描到无线信号为止。
步骤S704、无线信号测量单元扫描到无线信号后,无线信号测量单元记录内置天线接收到的无线信号的信号强度,记为RSSI1,并获取内置天线接收到的无线信号的目标无线制式和目标频点。
步骤S705、判断外置天线是否存在单元可以通过切换开关驱动单元控制切换开关电路将切换开关周期交替的与第一输出端口和第二输出端口连接,无线信号测量单元测量信号强度值,并分别记录。
步骤S706、计算切换开关连接到第一输出端口时所获得的信号强度值的平均值以及计算切换开关连接到第二输出端口时所获得的信号强度值的平均值。
步骤S707、判断切换开关连接到第一输出端口时所获得的信号强度值的平均值与切换开关连接到第二输出端口时所获得的信号强度值的平均值的差值是否不大于预设第一阈值。
步骤S708、若切换开关连接到第一输出端口时所获得的信号强度值的平均值与切换开关连接到第二输出端口时所获得的信号强度值的平均值的差值大于预设第一阈值,则后续无线终端一直使用内置天线。
步骤S709、若切换开关连接到第一输出端口时所获得的信号强度值的平均值与切换开关连接到第二输出端口时所获得的信号强度值的平均值的差值不大于预设第一阈值,则后续无线终端一直使用外置天线。
本实施例,提出一种外置天线检测方法,通过软件检测的方法检测外置天线是否存在,不需要增加额外的检测电路,降低了检测的成本。
如图8所示,为本公开实施例提供的一种外置天线检测装置的结构图,本公开实施例还提供一种外置天线检测装置的结构,包括以下模块:
第一检测模块801,设置为检测内置天线接收的第一目标信号的信号强度值、目标无线制式和目标频点;
第二检测模块802,设置为检测目标端口接收的第二目标信号的信号强度值,所述第二目标信号的无线制式为所述目标无线制式,所述第二目标信号的频点为所述目标频点,所述目标端口为用于检测所述外置天线的端口;
第一判断模块803,设置为判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值;
第一确定模块804,设置为若所述第一目标信号的信号强度值与所述第二目标信号的 信号强度值的差值不大于所述预设第一阈值,则确定所述外置天线存在。
可选的,如图9所示,为本公开实施例提供的另一种外置天线检测装置的结构图,所述外置天线检测装置还包括:
第二确定模块805,设置为若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值大于所述预设第一阈值,则确定所述外置天线不存在。
可选的,如图10所示,为本公开实施例提供的另一种外置天线检测装置的结构图,所述外置天线检测装置还包括:
第二判断模块806,设置为判断所述第二目标信号的信号强度值是否不小于预设第二阈值;
执行模块807,设置为若所述第二目标信号的信号强度值不小于所述预设第二阈值,则执行所述判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值的步骤;
第三确定模块808,设置为若所述第二目标信号的信号强度值小于所述预设第二阈值,则确定所述外置天线不存在。
可选的,所述信号强度值为信号强度的平均值。
可选的,如图11所示,为本公开实施例提供的另一种外置天线检测装置的结构图,所述外置天线检测装置还包括:
切换模块809,设置为将当前使用的天线切换为所述内置天线。
本实施例中,上述外置天线检测装置可以是图1、图4、图5、图6和图7所示的实施例中的外置天线检测装置,且图1、图4、图5、图6和图7所示的实施例中的外置天线检测装置的任何实施方式都可以被本实施例中的外置天线检测装置所实现,这里不再赘述。
本实施例,提出一种外置天线检测装置,外置天线检测方法可以在这种装置上实现,通过软件检测的方法检测外置天线是否存在,不需要增加额外的检测电路,降低了检测的成本。
本领域普通技术人员可以理解实现上述实施例方法的全部或者部分步骤是可以通过程序指令相关的硬件来完成,所述的程序可以存储于一计算机可读取介质中,该程序在执行时,包括以下步骤:
检测内置天线接收的第一目标信号的信号强度值、目标无线制式和目标频点;
检测目标端口接收的第二目标信号的信号强度值,所述第二目标信号的无线制式为所述目标无线制式,所述第二目标信号的频点为所述目标频点,所述目标端口为用于检测所述外置天线的端口;
判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值;
若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值不大于 所述预设第一阈值,则确定所述外置天线存在。
可选的,在所述判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值的步骤之后,所述方法还包括:
若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值大于所述预设第一阈值,则确定所述外置天线不存在。
可选的,在所述判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值的步骤之前,所述方法还包括:
判断所述第二目标信号的信号强度值是否不小于预设第二阈值;
若所述第二目标信号的信号强度值不小于所述预设第二阈值,则执行所述判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值的步骤;
若所述第二目标信号的信号强度值小于所述预设第二阈值,则确定所述外置天线不存在。
可选的,所述信号强度值为信号强度的平均值。
可选的,在所述确定所述外置天线不存在的步骤之后,所述方法还包括:
将当前使用的天线切换为所述内置天线。
所述的存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
以上所述是本公开的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。
工业实用性
本公开实施例提供的外置天线检测方法,通过软件检测的方法检测外置天线是否存在,不需要增加额外的检测电路,降低了检测的成本。

Claims (15)

  1. 一种外置天线检测方法,其中,包括:
    检测内置天线接收的第一目标信号的信号强度值、目标无线制式和目标频点;
    检测目标端口接收的第二目标信号的信号强度值,所述第二目标信号的无线制式为所述目标无线制式,所述第二目标信号的频点为所述目标频点,所述目标端口为用于检测所述外置天线的端口;
    判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值;
    若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值不大于所述预设第一阈值,则确定所述外置天线存在。
  2. 如权利要求1所述的方法,其中,在所述判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值的步骤之后,所述方法还包括:
    若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值大于所述预设第一阈值,则确定所述外置天线不存在。
  3. 如权利要求1所述的方法,其中,在所述判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值的步骤之前,所述方法还包括:
    判断所述第二目标信号的信号强度值是否不小于预设第二阈值;
    若所述第二目标信号的信号强度值不小于所述预设第二阈值,则执行所述判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值的步骤;
    若所述第二目标信号的信号强度值小于所述预设第二阈值,则确定所述外置天线不存在。
  4. 如权利要求1所述的方法,其中,所述信号强度值为信号强度的平均值。
  5. 如权利要求3所述的方法,其中,在所述确定所述外置天线不存在的步骤之后,所述方法还包括:
    将当前使用的天线切换为所述内置天线。
  6. 一种外置天线检测设备,其中,所述外置天线检测设备包括检测单元、切换开关电路和内置天线,所述切换开关电路包含目标端口和切换开关,所述检测单元与所述切换开关电路连接,所述内置天线与所述切换开关电路连接,其中:
    所述检测单元设置为控制所述切换开关电路的切换开关连接到所述内置天线,接收所述内置天线发送的第一目标信号,并检测所述第一目标信号的信号强度值、目标无线制式和目标频点;
    所述检测单元设置为控制所述切换开关电路的切换开关连接到所述目标端口,通过所述目标端口接收第二目标信号,并检测所述第二目标信号的信号强度值,所述第二目标信号的无线制式为所述目标无线制式,所述第二目标信号的频点为所述目标频点,所述目标端口为用于检测所述外置天线的端口;
    所述检测单元设置为判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值;
    所述检测单元设置为若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值不大于所述预设第一阈值,则确定所述外置天线存在。
  7. 如权利要求6所述的外置天线检测设备,其中,所述检测单元设置为若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值大于所述预设第一阈值,则确定所述外置天线不存在。
  8. 如权利要求6所述的外置天线检测设备,其中,所述检测单元设置为判断所述第二目标信号的信号强度值是否不小于预设第二阈值;
    所述检测单元设置为若所述第二目标信号的信号强度值不小于所述预设第二阈值,则执行所述判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值的步骤;
    所述检测单元设置为若所述第二目标信号的信号强度值小于所述预设第二阈值,则确定所述外置天线不存在。
  9. 如权利要求6所述的外置天线检测设备,其中,所述信号强度值为信号强度的平均值。
  10. 如权利要求8所述的外置天线检测设备,其中,所述检测单元设置为控制所述切换开关电路的切换开关连接到所述内置天线。
  11. 一种外置天线检测装置,其中,包括:
    第一检测模块,设置为检测内置天线接收的第一目标信号的信号强度值、目标无线制式和目标频点;
    第二检测模块,设置为检测目标端口接收的第二目标信号的信号强度值,所述第二目标信号的无线制式为所述目标无线制式,所述第二目标信号的频点为所述目标频点,所述目标端口为用于检测所述外置天线的端口;
    第一判断模块,设置为判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值;
    第一确定模块,设置为若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值不大于所述预设第一阈值,则确定所述外置天线存在。
  12. 如权利要求11所述的外置天线检测装置,其中,所述外置天线检测装置还包括:
    第二确定模块,设置为若所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值大于所述预设第一阈值,则确定所述外置天线不存在。
  13. 如权利要求11所述的外置天线检测装置,其中,所述外置天线检测装置还包括:
    第二判断模块,设置为判断所述第二目标信号的信号强度值是否不小于预设第二阈值;
    执行模块,设置为若所述第二目标信号的信号强度值不小于所述预设第二阈值,则执行所述判断所述第一目标信号的信号强度值与所述第二目标信号的信号强度值的差值是否不大于预设第一阈值的步骤;
    第三确定模块,设置为若所述第二目标信号的信号强度值小于所述预设第二阈值,则确定所述外置天线不存在。
  14. 如权利要求11所述的外置天线检测装置,其中,所述信号强度值为信号强度的平均值。
  15. 如权利要求13所述的外置天线检测装置,其中,所述外置天线检测装置还包括:
    切换模块,设置为将当前使用的天线切换为所述内置天线。
PCT/CN2017/111772 2017-01-10 2017-11-18 一种外置天线检测方法、设备和装置 WO2018130003A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710016373.1A CN108287271A (zh) 2017-01-10 2017-01-10 一种外置天线检测方法、设备和装置
CN201710016373.1 2017-01-10

Publications (1)

Publication Number Publication Date
WO2018130003A1 true WO2018130003A1 (zh) 2018-07-19

Family

ID=62819412

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/111772 WO2018130003A1 (zh) 2017-01-10 2017-11-18 一种外置天线检测方法、设备和装置

Country Status (2)

Country Link
CN (1) CN108287271A (zh)
WO (1) WO2018130003A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558282A (zh) * 2018-12-03 2019-04-02 郑州云海信息技术有限公司 一种pcie链路检测方法、系统及电子设备和存储介质
CN111464222A (zh) * 2020-03-13 2020-07-28 浙江大华技术股份有限公司 发射信号的接收方法、装置、设备、计算机可读存储介质
CN111541503A (zh) * 2020-04-30 2020-08-14 深圳市鼎盛光电有限公司 Wifi天线连接紧密度的检测方法及检测装置
CN113922833A (zh) * 2021-09-10 2022-01-11 青岛海信移动通信技术股份有限公司 一种终端、射频前端及天线检测方法

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109991283A (zh) * 2019-04-08 2019-07-09 深圳市德卡科技股份有限公司 天线抗干扰材料检测方法
CN110221323A (zh) * 2019-05-28 2019-09-10 深圳市广和通无线股份有限公司 Gps天线组件和系统
CN112290983A (zh) * 2020-10-30 2021-01-29 深圳移航通信技术有限公司 天线选择方法和装置
TWI822442B (zh) * 2022-11-04 2023-11-11 神雲科技股份有限公司 通訊裝置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202889355U (zh) * 2012-10-16 2013-04-17 福建慧翰微电子有限公司 车载远程监控终端的天线自动管理电路
CN103178909A (zh) * 2011-12-26 2013-06-26 鼎桥通信技术有限公司 驻波测量电路的故障检测方法和装置
CN103581986A (zh) * 2012-07-30 2014-02-12 京信通信系统(中国)有限公司 一种信道检测方法及装置
US20150138026A1 (en) * 2013-09-30 2015-05-21 Vayyar Imaging Ltd Device and method for calibrating antenna array systems
EP2887555A1 (en) * 2013-12-19 2015-06-24 Kabushiki Kaisha Tokai Rika Denki Seisakusho Receiver with disconnection detector for external antenna

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458448B (zh) * 2012-06-05 2017-06-20 中国移动通信集团公司 一种通信网络故障诊断方法及设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103178909A (zh) * 2011-12-26 2013-06-26 鼎桥通信技术有限公司 驻波测量电路的故障检测方法和装置
CN103581986A (zh) * 2012-07-30 2014-02-12 京信通信系统(中国)有限公司 一种信道检测方法及装置
CN202889355U (zh) * 2012-10-16 2013-04-17 福建慧翰微电子有限公司 车载远程监控终端的天线自动管理电路
US20150138026A1 (en) * 2013-09-30 2015-05-21 Vayyar Imaging Ltd Device and method for calibrating antenna array systems
EP2887555A1 (en) * 2013-12-19 2015-06-24 Kabushiki Kaisha Tokai Rika Denki Seisakusho Receiver with disconnection detector for external antenna

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558282A (zh) * 2018-12-03 2019-04-02 郑州云海信息技术有限公司 一种pcie链路检测方法、系统及电子设备和存储介质
CN109558282B (zh) * 2018-12-03 2021-10-29 郑州云海信息技术有限公司 一种pcie链路检测方法、系统及电子设备和存储介质
CN111464222A (zh) * 2020-03-13 2020-07-28 浙江大华技术股份有限公司 发射信号的接收方法、装置、设备、计算机可读存储介质
CN111464222B (zh) * 2020-03-13 2023-06-13 浙江大华技术股份有限公司 发射信号的接收方法、装置、设备、计算机可读存储介质
CN111541503A (zh) * 2020-04-30 2020-08-14 深圳市鼎盛光电有限公司 Wifi天线连接紧密度的检测方法及检测装置
CN113922833A (zh) * 2021-09-10 2022-01-11 青岛海信移动通信技术股份有限公司 一种终端、射频前端及天线检测方法
CN113922833B (zh) * 2021-09-10 2023-07-25 青岛海信移动通信技术有限公司 一种终端、射频前端及天线检测方法

Also Published As

Publication number Publication date
CN108287271A (zh) 2018-07-17

Similar Documents

Publication Publication Date Title
WO2018130003A1 (zh) 一种外置天线检测方法、设备和装置
US9426669B2 (en) Method, device and system for detecting state of base station reverse diversity link and base station
JP2006129358A (ja) 無線通信モジュール、通信端末、およびインピーダンス整合方法
US20070217384A1 (en) Wireless LAN mobile station, wireless LAN system, and method and program of controlling handover
CN113067937B (zh) 蓝牙连接方法、装置、设备及存储介质
US11038603B2 (en) Antenna detection through noise measurement
US20140342770A1 (en) Method for selecting an antenna set and wireless communication device utilizing the same
US20230117249A1 (en) Distance estimation device and distance estimation system
US8874045B2 (en) RF circuit and isolation detecting device thereof, and method for measuring a degree of isolation between a first RF circuit and a second RF circuit with respect to a frequency
KR20070082868A (ko) 데이터 송수신 장치 및 그 제어 방법
CN111464222A (zh) 发射信号的接收方法、装置、设备、计算机可读存储介质
JP2023118976A (ja) 通信装置、通信装置の制御方法、プログラム
CN114513224B (zh) 终端天线的工作模式确定方法、装置、终端及存储介质
KR101875301B1 (ko) HotKnot에 기반하는 근접 감지 방법, 장치 및 터치스크린 단말기
JP2004179958A (ja) 通信網自動切替方法及び通信網自動切替システム
US7031673B1 (en) Wireless communication device
CN107247506B (zh) 用于管理便携式电子设备中的功率的方法和系统
US20040214595A1 (en) Antenna gain specifying device and radio communication device
KR100307002B1 (ko) 무선통신시스템에서이용하기위한신호처리방법및시스템
US20040192287A1 (en) Mobile phone and method for connecting to a preferred communication system among a plurality of communication systems with different radio frequency bands
US11489558B2 (en) Wireless communication circuitry and wireless communication method
JP4460810B2 (ja) 切換式ダイバーシティシステムの検査回路装置および方法
CN111147165B (zh) 无线信道启动方法及装置、存储介质、终端
CN108965581B (zh) 传输速率调整方法、装置、移动终端以及存储介质
CN107943448B (zh) 音量调节方法、装置、电子设备和计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17891863

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17891863

Country of ref document: EP

Kind code of ref document: A1