Antenna male head unit, switching module, wireless communication device and identification switching method

By designing the antenna male unit in the wireless communication device, and identifying the connection state of the external antenna using the grounding states of the first switch and the second switch, the problem of antenna signal interference in conventional design is solved, and higher signal quality and automatic switching functions are achieved.

CN119921077APending Publication Date: 2025-05-02ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311381599.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-23
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

When existing wireless communication devices switch internal and external antennas, conventionally designed electromagnetic switches will affect the normal use of the antenna and cause signal interference.

Method used

An antenna male unit is designed, including an antenna male connector, a first switch, a second switch and a connecting rod, and the connection state of the external antenna is identified by the grounding state of the first switch and the second switch to avoid interference of the switch to the antenna signal.

Benefits of technology

It effectively avoids interference with the antenna signal by the internal and external antenna switching switch, improves the antenna signal quality when external antenna is connected, and supports automatic identification and switching of internal and external antennas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119921077A_ABST
    Figure CN119921077A_ABST
Patent Text Reader

Abstract

The invention relates to an antenna male head unit, a switching module, a wireless communication device and an identification switching method, the antenna male head unit is arranged at a connecting end of the wireless communication device, and the antenna male head unit comprises an antenna male head connector, a first switch, a second switch and a connecting rod; the connecting rod is arranged on the side face of the antenna male connector, the first switch is arranged at the first end, away from the wireless communication device, of the connecting rod, and the second switch is arranged at the second end, close to the wireless communication device, of the connecting rod; in the process of inserting the external antenna, under the condition that the antenna male head unit and the antenna female head unit of the external antenna are in a first connection state at the beginning of connection, the first switch is grounded, and under the condition that the antenna male head unit and the antenna female head unit are in a second connection state after the external antenna is inserted, the first switch is grounded. And the second switch and the first switch are grounded, so that interference of the switches on antenna signals is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of antenna technology, and in particular to an antenna male head unit, a switching module, a wireless communication device, and an identification and switching method. Background Art

[0002] Currently, many wireless communication devices have the need to switch between internal and external antennas. However, conventional designs place the electromagnetic switch for switching between internal and external antennas on the antenna, which affects the normal use of the antenna. Summary of the invention

[0003] The present application provides an antenna male head unit, a switching module, a wireless communication device and an identification switching method to solve the technical problem that the antenna switching switch affects the antenna signal.

[0004] In a first aspect, the present application provides an antenna male head unit, the antenna male head unit is arranged at a connection end of a wireless communication device, the antenna male head unit comprises an antenna male head connector, a first switch, a second switch and a connecting rod;

[0005] The connecting rod is arranged on a side of the antenna male connector, the first switch is arranged at a first end of the connecting rod away from the wireless communication device, and the second switch is arranged at a second end of the connecting rod close to the wireless communication device;

[0006] When the antenna male unit and the antenna female unit of the external antenna are in a first connection state, the first switch is grounded;

[0007] When the antenna male unit and the antenna female unit are in a second connection state, the second switch and the first switch are grounded.

[0008] Optionally, the antenna male connector unit further includes an elastic component; wherein the elastic component is made of an insulating non-magnetic elastic material, and the elastic component is wrapped around an outer wall of the antenna male connector.

[0009] Optionally, the connecting rod includes a connecting component, the connecting rod is fixed to the elastic component through the connecting component, and the elastic component drives the connecting rod to move during the connection process of the antenna male unit and the antenna female unit.

[0010] Optionally, the connecting rod has a hollow through hole inside, and the through hole includes a shielding layer.

[0011] In a second aspect, the present application provides a switching module, comprising any antenna male head unit described in the first aspect, wherein the switching module further comprises a switching circuit and a control unit;

[0012] The first end of the switching circuit is used to connect the external antenna when the antenna male unit and the antenna female unit are in the second connection state, the second end of the switching circuit is connected to the built-in antenna of the wireless communication device, the third end of the switching circuit is connected to the radio frequency circuit of the wireless communication device, and the control end of the switching circuit is connected to the control unit;

[0013] The control unit is used to control the state of the switching circuit according to the states of the first switch and the second switch, so that the radio frequency circuit is connected to the built-in antenna or the external antenna.

[0014] Optionally, the switching module further includes a filtering circuit; the filtering circuit is arranged between the signal output end of the antenna male head unit and the radio frequency circuit.

[0015] Optionally, the switching module includes a first contact and a second contact;

[0016] When the antenna male unit and the antenna female unit are in a first connection state, the first contact abuts against the antenna male connector and the antenna female connector, and the first contact is electrically connected to the control unit;

[0017] When the antenna male unit and the antenna female unit are in the second connection state, the second contact abuts against the antenna male connector and the antenna female connector, and the second contact is electrically connected to the control unit.

[0018] In a third aspect, the present application provides a wireless communication device, comprising a switching module as described in any one of the second aspects.

[0019] In a fourth aspect, the present application provides a method for identifying handover, which is applied to the wireless communication device according to the third aspect, and the method includes:

[0020] Acquire a first switch state of a first switch;

[0021] Acquire a second switch state of a second switch;

[0022] Get the detection resistance value of the external antenna;

[0023] The connection state of the external antenna is identified according to the first switch state, the second switch state and the detection resistance value, and the wireless communication device is switched to be connected to the external antenna or to be connected to the internal antenna when a preset condition is met.

[0024] In a fifth aspect, the present application provides an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0025] Memory, used to store computer programs;

[0026] The processor is used to implement the steps of the identification and switching method described in the fourth aspect embodiment when executing the program stored in the memory.

[0027] In a sixth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the identification switching method as described in the embodiment of the fourth aspect are implemented.

[0028] The antenna male head unit provided in the embodiment of the present application is arranged at the connection end of the wireless communication device, and the antenna male head unit includes an antenna male head connector, a first switch, a second switch and a connecting rod; the connecting rod is arranged on the side of the antenna male head connector, the first switch is arranged at the first end of the connecting rod away from the wireless communication device, and the second switch is arranged at the second end of the connecting rod close to the wireless communication device; when the antenna male head unit and the antenna female head unit of the external antenna are in the first connection state, the first switch is grounded; when the antenna male head unit and the antenna female head unit are in the second connection state, the second switch and the first switch are grounded. In the process of inserting the external antenna, when the antenna male head unit and the antenna female head unit of the external antenna are in the first connection state when they are just connected, the first switch will be grounded, and when the antenna male head unit and the antenna female head unit are in the second connection state after the external antenna is plugged in, the second switch and the first switch are grounded, thereby avoiding the interference of the switch for switching the internal and external antennas in the conventional solution on the antenna signal, improving the antenna signal quality when the external antenna is connected, and because the connection state of the external antenna can be identified, it is possible to automatically switch the internal and external antennas. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0031] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0032] Figure 1 A schematic diagram of an antenna male head unit provided in one embodiment of the present application;

[0033] Figure 2 A schematic diagram of the structure of an antenna male head unit provided in one embodiment of the present application;

[0034] Figure 3 A schematic diagram of an external antenna insertion determination logic provided by an embodiment of the present application;

[0035] Figure 4 A schematic diagram of a switching module provided for an embodiment of the present application;

[0036] Figure 5 A switching circuit switching schematic diagram provided for an embodiment of the present application;

[0037] Figure 6 A schematic diagram of a flow chart of an identification switching method provided by an embodiment of the present application;

[0038] Figure 7 A judgment logic diagram of an identification switching method provided by an embodiment of the present application;

[0039] Figure 8 A schematic diagram of the structure of an electronic device provided in accordance with an embodiment of the present application. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0041] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0042] In order to facilitate understanding of the technical solution of the present application, the relevant technology is first explained. At present, some wireless communication devices often have the need to switch between internal and external antennas, such as routers, customer premise equipment CPE (Customer Premise Equipment), base stations, radars, smart mobile terminals (such as mobile phones), laptops, etc. The main way to switch between internal and external antennas is to manually replace the external antenna, and then switch the antenna switch from the internal antenna to the external antenna through the UI. This method does not conform to the design of intelligent products.

[0043] The existing external antennas include conventional antennas and customized antennas. Some CPE products require customized antennas, while some CPE products require conventional antennas. Next, the necessity of switching between internal and external antennas and using customized antennas is explained as follows:

[0044] 1. The difference between directional antennas and non-directional antennas: Customized antennas are usually directional antennas or special frequency band antennas, which can enhance the signal strength in a certain direction or enhance the signal quality in certain frequency bands; while non-directional antennas usually adjust the signal quality of each channel to an average value, and at the same time, the signal strength in each direction is also adjusted to an average value.

[0045] 2. The difference between a manufacturer using its own customized antenna and an antenna that is not customized by its own manufacturer: Customized antennas are usually specially debugged by the manufacturer for specific products. For example, the antenna indicators of manufacturer A's products combined with manufacturer A's customized antenna will definitely be better than those of manufacturer A's products combined with conventional antennas or customized antennas not from other manufacturers.

[0046] 3. The result of using a customized antenna other than that of manufacturer A's product: For example, manufacturer A's customized antenna is a directional antenna directly in front of the product, which will enhance the signal quality and wall penetration capability directly in front of manufacturer A's product. If a customized antenna other than that of manufacturer A is used, the signal quality and wall penetration capability directly in front of manufacturer A's product will not be stronger than those in other directions. If manufacturer A's customized antenna is used for manufacturer B's product, which requires an omnidirectional antenna, and manufacturer B's product uses manufacturer A's customized antenna, the signal quality in directions other than the front will be poor, and the product performance will be affected.

[0047] Therefore, when the product uses an external antenna, it is necessary to first determine the type of external antenna, and then switch the antenna between internal and external.

[0048] In the design of external antennas, the conventional switch design is to design the electromagnetic switch on the antenna, which will inevitably have an impact on the antenna, such as affecting the antenna signal and radio frequency indicators.

[0049] In order to solve the technical problem in the prior art that the antenna switching switch affects the antenna signal, the present application provides an antenna male head unit, which can avoid the interference of the switch for switching the internal and external antennas in the conventional solution on the antenna signal, and through the first switch and the second switch, it is possible to automatically identify whether the external antenna is connected and whether to automatically switch the internal and external antennas.

[0050] An embodiment of the present application provides an antenna male head unit, such as Figure 1 The antenna male head unit is arranged at the connection end of the wireless communication device, and the antenna male head unit includes an antenna male head connector, a first switch, a second switch and a connecting rod.

[0051] The connection end of the wireless communication device refers to the port of the wireless communication device for connecting an external antenna. The connecting rod is arranged on the side of the antenna male connector, the first switch is arranged at the first end of the connecting rod away from the wireless communication device, and the second switch is arranged at the second end of the connecting rod close to the wireless communication device; when the antenna male unit and the antenna female unit of the external antenna are in the first connection state, the first switch is grounded, and when the antenna male unit and the antenna female unit are in the second connection state, the second switch and the first switch are grounded. Here, the first connection state refers to the state where the antenna male unit and the antenna female unit have just started to connect but are not connected well, and the second connection state refers to the state where the antenna male unit and the antenna female unit are already connected.

[0052] In this embodiment, the antenna male connector includes an antenna male connector, a first switch, a second switch and a connecting rod. The antenna male connector is arranged at the connection end of the wireless communication device, and the common ground end of the antenna male connector is connected to the common ground end (GND) of the wireless communication device. When the external antenna is connected to the wireless communication device, the antenna female connector is connected to the antenna male connector. In the first connection state, the first switch is pressed by the inner wall of the antenna female connector to contact the side of the antenna male connector, so that the first switch and the antenna female connector are both connected to the GND of the wireless communication device. On the one hand, the antenna female connector is grounded to prevent the external antenna from being interfered. On the other hand, the first switch is pulled down to the ground when the antenna female connector is connected to the antenna male connector, so that the wireless communication device can identify the connection state of the external antenna. That is, when the first switch is grounded, it can be identified that the antenna female connector and the antenna male connector are connected. After the antenna male unit and the antenna female unit are connected, the antenna female connector contacts the antenna male connector through the first switch, thereby grounding the antenna female connector, and the second switch contacts the antenna female connector and is grounded, so that the wireless communication device can judge whether the external antenna is connected by the state of the second switch. That is, when the first switch and the second switch are both grounded, it can be identified that the antenna female connector and the antenna male connector are connected, that is, the external antenna and the wireless communication device are connected normally.

[0053] In this embodiment, the first end of the connecting rod is the end that is first connected when the antenna male connector is connected to the antenna female connector (in this embodiment, it is the end farthest from the wireless communication device), and the second end of the connecting rod is the end that is last connected when the antenna male connector is connected to the antenna female connector (in this embodiment, it is the end close to the wireless communication device).

[0054] In one embodiment, if Figure 2 The antenna male connector unit further includes an elastic component. The elastic component is made of an insulating non-magnetic elastic material, and the elastic component is wrapped around the outer wall of the antenna male connector to isolate the second switch from the antenna male connector. Switch 1 is the first switch, and switch 2 is the second switch.

[0055] In this embodiment, in order to prevent the second switch from mistakenly contacting the antenna male connector when the antenna female connector is not connected to the antenna male connector, causing the second switch to be grounded, thereby causing the external antenna connection state to be misjudged, a layer of elastic component made of insulating non-magnetic elastic material is wrapped around the outer wall of the antenna male connector to isolate the second switch from the antenna male connector. The antenna male connector is connected to the common ground terminal of the wireless communication device. When the antenna male unit and the antenna female unit are in the second connection state, although the second switch does not directly contact the antenna male connector, the antenna female connector contacts the antenna male connector through the first switch, thereby grounding the antenna female connector, and the second switch contacts the antenna female connector to be grounded, so that the wireless communication device can judge whether the external antenna is connected through the state of the second switch.

[0056] It should be understood that the antenna male head unit may include a base in addition to the above-mentioned part for connecting with the antenna female head unit. After the antenna male head unit is connected to the antenna female head unit, although the antenna male head unit and the antenna female head unit are insulated by an elastic component, the antenna female head unit can contact the base of the antenna male head unit. Since the outer wall of the base does not wrap the elastic component, the antenna female head unit can be grounded through the base, thereby further improving the anti-interference effect of the antenna male head unit during the connection process.

[0057] In one embodiment, the connecting rod includes a connecting component, and the connecting rod is fixed to the elastic component through the connecting component. The elastic component drives the connecting rod to move during the connection process between the antenna male unit and the antenna female unit.

[0058] In this embodiment, the connecting rod is retractable or the connecting rod is made of elastic material, and the first switch and the second switch are respectively arranged at both ends of the connecting rod, and a connecting component is arranged at any position between the first switch and the second switch, and the connecting component fixes the connecting rod to the elastic component. During the connection process of the antenna male head unit and the antenna female head unit, the elastic component is squeezed and deformed, that is, it is compressed. When the elastic component is deformed, the connecting rod is driven by the connecting component and is also compressed or deformed. Of course, the connecting rod cannot move indefinitely. When it contacts the base or the movement limit (such as a pre-set limit position) of the antenna male head unit, the second switch is limited. The elastic component can isolate the second switch and the antenna male connector during the entire compression deformation process, that is, the second switch is not in direct contact with the antenna male connector, and can be indirectly connected to the ground end through the base, so that the second switch is grounded in the second connection state.

[0059] It should be noted that there is no restriction on the shape of the antenna male connector, and the elastic component can be wrapped around the outer wall of the antenna male connector in an adaptive shape. For example, if the antenna male connector is cylindrical, the elastic component is tubularly sleeved on the antenna male connector in an uncompressed state.

[0060] In a specific embodiment, since whether the first switch is mistakenly contacted will not cause a misjudgment of the second connection state of the antenna male head unit and the antenna female head unit, it is only necessary to ensure that the state of the second switch is accurate, that is, the antenna male head unit at the position of the first switch does not have to be wrapped with the elastic component, that is, the length of the elastic component can be smaller than the length of the antenna male head unit. For example, the length of the antenna male head unit is a first length, and the length of the elastic component is a second length, and the second length is smaller than the first length.

[0061] In one embodiment, if Figure 2 The first end of the antenna male connector is provided with an antenna core connection hole, and the antenna female unit includes an antenna core.

[0062] When the antenna male connector and the antenna female unit are in the second connection state, the antenna core is plugged into the antenna core connection hole, and the antenna core is electrically connected to the radio frequency circuit of the wireless communication device through the signal output end of the antenna core connection hole.

[0063] Based on the same technical concept, an embodiment of the present application provides a switching module, including the antenna male head unit described in any of the above embodiments, and the switching module also includes a switching circuit and a control unit.

[0064] The first end of the switching circuit is used to connect the external antenna when the antenna male unit and the antenna female unit are in the second connection state, the second end of the switching circuit is connected to the internal antenna of the wireless communication device, the third end of the switching circuit is connected to the radio frequency circuit of the wireless communication device, and the control end of the switching circuit is connected to the control unit. The control unit is used to control the state of the switching circuit according to the state of the first switch and the second switch, so that the radio frequency circuit is connected to the internal antenna or the external antenna.

[0065] In one embodiment, the connection device further comprises a filter circuit, which is arranged between the signal output terminal and the radio frequency circuit.

[0066] There is no restriction on the form of the filtering circuit, and the antenna signal can be filtered to achieve the purpose of shielding interference.

[0067] In one embodiment, the switching module includes a first contact and a second contact.

[0068] When the antenna male unit and the antenna female unit are in a first connection state, the first contact abuts against the antenna male connector and the antenna female connector, and the first contact is electrically connected to the control unit;

[0069] When the antenna male unit and the antenna female unit are in the second connection state, the second contact abuts against the antenna male connector and the antenna female connector, and the second contact is electrically connected to the control unit.

[0070] In this embodiment, when the antenna female connector is inserted into the antenna male connector of the mainboard (mainboard of the wireless communication device), when the connection is not completed (that is, when it is in the first connection state), the female connector shell is connected to the male connector shell through the first contact point, so that the female connector shell is connected to the mainboard GND. At this time, the first switch (switch 1) is connected to the mainboard GND through the first contact point and the conductor in the connecting rod. At this time, the signal of switch 1 changes from a high level to a low level. Figure 3 The logic circuit determines that an external antenna is ready to be inserted.

[0071] When the external antenna contacts the first contact and the second contact, the signal changes and the first switch and the second switch are turned on respectively. The connection status of the external antenna can be detected by a customized antenna detection circuit, and the detection result is sent to the control unit. The control unit determines the type of the external antenna. If it meets the expected external antenna type, the RF circuit can be switched to connect to the external antenna or the internal antenna through the switching circuit.

[0072] The schematic diagram of the switching module is as follows: Figure 4 As shown, the switching circuit can be an internal and external antenna switching switch. When the external antenna continues to be inserted, the antenna core inside the female antenna connector contacts the antenna male core connection hole (that is, the external antenna is connected to the mainboard external antenna plug). At this time, the external antenna core is connected to the mainboard customized antenna detection circuit. The female antenna core contacts the male antenna core connection hole, and then connects to the RF circuit part on the mainboard, and is also connected to the antenna type detection circuit part (before connection, it is filtered by the filter circuit, and the signal is transmitted to the control unit through the voltage divider circuit). If the external antenna is a customized antenna, the antenna core will have a resistance value (non-0 ohms), and the resistance of the antenna core is connected to the antenna type detection circuit, causing the voltage value of the detection result output port to change, so that the specific type of the customized antenna can be determined. If the external antenna is a non-customized antenna, the voltage value of the detection result output port will not change.

[0073] When the antenna female connector is fully inserted into the antenna male connector, that is, in the second connection state, the insulating non-magnetic elastic material is completely compressed, the second contact will be driven to contact the metal GND of the antenna male connector base, and the second switch will be pulled down to GND. At this time, the wireless communication device determines that the external antenna is fully inserted and is in a good contact state.

[0074] like Figure 5As shown in the figure, S1 and S2 represent the status of switches 1 and 2. The RF circuit refers to the radio frequency circuit. When the external antenna is not inserted or the external antenna is pulled out, the internal switching circuit will switch to the internal antenna path, so that the radio frequency circuit connects to the internal antenna. When the external antenna is detected to be inserted, the type of the external antenna is first determined.

[0075] If the wireless communication device requires a customized external antenna, and the detected external antenna is a customized external antenna, the internal switching circuit will turn the switch to the external antenna path;

[0076] If the detected external antenna is a conventional external antenna, the internal switching circuit will turn the switch to the internal antenna path.

[0077] If the wireless communication device requires a conventional non-customized external antenna, and the detected external antenna is a customized external antenna, the internal switching circuit will switch to the internal antenna path;

[0078] If the detected external antenna is a regular non-customized external antenna, the internal switching circuit will turn the switch to the external antenna path.

[0079] When the antenna female connector is pulled out of the antenna male connector of the motherboard, the insulating non-magnetic elastic material recovers from the compressed state to the elastic state, first driving the second contact to leave the base of the motherboard antenna male connector, and finally the external antenna housing to leave the first contact, and the switch 2 and switch 1 are successively pulled down to GND and become suspended, and the antenna automatically switches to the internal antenna. When judging whether an external antenna is connected according to the switch state, it can be as shown in Table 1.

[0080] Table 1

[0081]

[0082]

[0083] In one embodiment, the connecting rod has a hollow through hole inside, the through hole includes a shielding layer, and the wire of the first contact connected to the control unit is arranged inside the shielding layer.

[0084] Connect the switch to the GND of the antenna connector shell. When the external antenna is inserted, the switch will be connected to the GND of the motherboard connector shell, which will not interfere with the antenna. At the same time, a filter circuit is added to the custom antenna detection circuit to ensure double shielding interference. In addition, using switch 1 and switch 2, you can also determine the insertion status of the external antenna and whether the external antenna is properly plugged in.

[0085] The elastic component is made of insulating non-magnetic elastic material. One side of the elastic component is connected to the antenna male connector, and the other side can be compressed by the external antenna shell when the external antenna is inserted to drive the switch on the connecting rod to move left and right. The connecting rod with a hollow interior and a shielded exterior is fixed to the elastic component, which can effectively shield the influence of the wire on the antenna signal. When the elastic component is compressed by the antenna female connector shell, it drives the connecting rod to move, and the connecting rod drives the switch to move. The first contact and the second contact are connected to the plug-in detection circuit through the wire inside the connecting rod.

[0086] In this embodiment, during the process of inserting the external antenna, the antenna female connector of the external antenna connection device is connected to the antenna male connector at the beginning of the connection, and the first switch will be connected to the common ground terminal of the second connection unit. After the external antenna is plugged in, the first switch and the second switch will be connected to the common ground terminal of the second connection unit, avoiding interference of the switch to the antenna signal.

[0087] In each of the above embodiments, by adding a simple structural component (a first switch, a second switch and a connecting rod), a universal non-customized antenna can be used to achieve switching between internal and external antennas without any impact on the antenna and radio frequency indicators, thereby solving the current problem of automatic switching of internal and external antennas in wireless communication devices at a low cost.

[0088] Based on the same technical concept, an embodiment of the present application provides a wireless communication device, which includes the antenna male head unit described in any one of the above embodiments.

[0089] The wireless communication device may include, for example, a router, a customer premise equipment CPE (Customer Premise Equipment), a base station, a radar, an intelligent mobile terminal (such as a mobile phone), a laptop computer, etc. By reserving an external antenna interface, the internal and external antennas of the wireless communication device may be automatically switched.

[0090] Based on the same technical concept, an embodiment of the present application provides a method for identifying switching, which is applied to the wireless communication device in the above embodiment, such as Figure 6 , the method comprising:

[0091] Step 601, obtaining a first switch state of a first switch;

[0092] Step 602, obtaining a second switch state of a second switch;

[0093] Step 603, obtaining the detection resistance value of the external antenna;

[0094] Step 604: Identify the connection state of the external antenna according to the first switch state, the second switch state and the detection resistance value, and switch the wireless communication device to be connected to the external antenna or to the internal antenna when a preset condition is met.

[0095] In this method, the first switch state is whether the first switch is grounded, and the second switch state is whether the second switch is grounded. Whether the external antenna is connected to the wireless communication device can be determined by whether the first switch and the second switch are grounded. If the external antenna is a customized antenna, the antenna core will have a resistance (non-0 ohms). It can be determined whether the external antenna is a customized antenna or a non-customized antenna based on the detected resistance, and then the wireless communication device can be controlled to connect to the external antenna or the internal antenna based on the connection status of the external antenna.

[0096] The logic diagram can be judged as follows Figure 7 If both switch 1 and switch 2 are suspended (i.e. not grounded), it is determined that the external antenna is not inserted. If switch 1 is short-circuited with the metal shell of the external antenna, it is determined that the external antenna is in the first connection state. If the antenna core of the external antenna (i.e. the inner core of the antenna) is connected to the antenna core connection hole (the inner core connection hole of the antenna), the customized antenna detection circuit is triggered to detect the type of the external antenna. If the resistance value is 0 ohms, it is determined to be a non-customized antenna. If the resistance value is not 0, it is a customized antenna. When switch 2 is short-circuited with the motherboard antenna socket ground (i.e. switch 2 is connected to the common ground terminal of the second connection unit), it is determined that the external antenna has been connected. If it is detected that both switch 1 and switch 2 are changed from the short-to-ground state to the suspended state, it is determined that the external antenna is completely unplugged. At this time, it can be directly switched to connect to the built-in antenna.

[0097] like Figure 8 As shown, an embodiment of the present application provides an electronic device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.

[0098] Memory 113, used for storing computer programs;

[0099] In one embodiment of the present application, the processor 111 is used to execute the program stored in the memory 113 to implement the identification switching method provided by the aforementioned method embodiment, including:

[0100] Acquire a first switch state of a first switch;

[0101] Acquire a second switch state of a second switch;

[0102] Get the detection resistance value of the external antenna;

[0103] The connection state of the external antenna is identified according to the first switch state, the second switch state and the detection resistance value, and the wireless communication device is switched to be connected to the external antenna or to be connected to the internal antenna when a preset condition is met.

[0104] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0105] The communication interface is used for communication between the above terminal and other devices.

[0106] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0107] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0108] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the identification switching method provided in the aforementioned method embodiment are implemented.

[0109] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, 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 solution of this embodiment.

[0110] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0111] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0112] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. In the description, the suffixes such as "module", "component" or "unit" used to represent the elements are only used to facilitate the description of the present application and have no specific meaning in themselves. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0113] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. An antenna male head unit, characterized in that: The antenna male head unit is arranged at the connection end of the wireless communication device, and the antenna male head unit comprises an antenna male head connector, a first switch, a second switch and a connecting rod; The connecting rod is arranged on a side of the antenna male connector, the first switch is arranged at a first end of the connecting rod away from the wireless communication device, and the second switch is arranged at a second end of the connecting rod close to the wireless communication device; When the antenna male unit and the antenna female unit of the external antenna are in a first connection state, the first switch is grounded; When the antenna male unit and the antenna female unit are in a second connection state, the second switch and the first switch are grounded.

2. The antenna male head unit according to claim 1, characterized in that: The antenna male connector unit further includes an elastic component; wherein the elastic component is made of an insulating non-magnetic elastic material, and the elastic component is wrapped around the outer wall of the antenna male connector.

3. The antenna male head unit according to claim 2, characterized in that: The connecting rod comprises a connecting component; the connecting rod is fixed to the elastic component through the connecting component, and the elastic component drives the connecting rod to move during the connection process between the antenna male unit and the antenna female unit.

4. The antenna male head unit according to claim 1, characterized in that: The connecting rod has a hollow through hole inside, and the through hole includes a shielding layer.

5. A switching module, characterized in that: The antenna male head unit comprises any one of claims 1 to 4, wherein the switching module further comprises a switching circuit and a control unit; The first end of the switching circuit is used to connect the external antenna when the antenna male unit and the antenna female unit are in the second connection state, the second end of the switching circuit is connected to the built-in antenna of the wireless communication device, the third end of the switching circuit is connected to the radio frequency circuit of the wireless communication device, and the control end of the switching circuit is connected to the control unit; The control unit is used to control the state of the switching circuit according to the states of the first switch and the second switch, so that the radio frequency circuit is connected to the built-in antenna or the external antenna.

6. The switching module according to claim 5, characterized in that: The switching module also includes a filtering circuit; the filtering circuit is arranged between the signal output end of the antenna male head unit and the radio frequency circuit.

7. The switching module according to claim 6, characterized in that: The switching module includes a first contact and a second contact; When the antenna male unit and the antenna female unit are in a first connection state, the first contact abuts against the antenna male connector and the antenna female connector, and the first contact is electrically connected to the control unit; When the antenna male unit and the antenna female unit are in the second connection state, the second contact abuts against the antenna male connector and the antenna female connector, and the second contact is electrically connected to the control unit.

8. A wireless communication device, characterized in that: The wireless communication device comprises the switching module described in any one of claims 5-7.

9. A method for identifying switching, characterized in that: Applied to the wireless communication device of claim 8, the method comprising: Acquire a first switch state of a first switch; Acquire a second switch state of a second switch; Get the detection resistance value of the external antenna; The connection state of the external antenna is identified according to the first switch state, the second switch state and the detection resistance value, and the wireless communication device is switched to be connected to the external antenna or to be connected to the internal antenna when a preset condition is met.

10. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the steps of the identification and switching method described in claim 9 when executing the program stored in the memory.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the identification switching method according to claim 9 are implemented.