Helmet bluetooth earphone intercom mode switching device, method, electronic equipment and computer readable storage medium
Patent Information
- Application Number
- CN202611473083.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-21
- Publication Date
- 2026-10-27
AI Technical Summary
[0005]本发明要解决的技术问题在于克服现有技术中头盔蓝牙耳机对讲模式切换操作繁琐、安全性低、误操作率高且结构与通信性能未联动的缺陷,提供一种基于可折叠天线与磁感应检测联动的头盔蓝牙耳机对讲模式切换装置、方法、电子设备及计算机可读存储介质
(1)本发明将"可折叠外置天线模块移动至第二位置"与"进入对讲模式"、"可折叠外置天线模块移动至第一位置"与"退出对讲模式"建立一一对应关系,用户通过简单的物理动作即可完成模式管理,无需记忆任何操作指令,人机交互体验大幅提升,操作自然直观;
Smart Images

Figure CN122993753A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of sports communication and intelligent control technology, specifically relating to a helmet Bluetooth headset intercom mode switching device, method, electronic device, and computer-readable storage medium. Background Technology
[0002] Bluetooth headsets in various sports helmets typically integrate core functions such as calls, music playback, and multi-device intercom. Among these, multi-device intercom is an important means of real-time communication between team members during sports activities. Currently, the mainstream methods for entering and exiting intercom modes in the industry mainly include single-button switching, long-press switching with combination buttons, and voice command switching.
[0003] The aforementioned existing technical solutions have several shortcomings in actual sports scenarios: First, the operation is cumbersome and unintuitive, requiring users to memorize complex button combinations or perform long-press operations, resulting in a high learning cost for new users; second, sports safety is insufficient, as manually operating the buttons requires users to shift their gaze or remove their hands from handlebars / ski poles and other sports equipment, which can easily lead to distraction and increase sports risks; third, the probability of misoperation is high, as bumps and vibrations during exercise can cause unstable button triggering, and the voice recognition function is severely interfered with by high-speed wind noise and environmental noise, resulting in a significant decrease in recognition accuracy; fourth, the structure and communication performance are not linked, as the deployment / retraction state of the external antenna in the existing solutions is independent of the intercom mode switching, and the mode switching cannot be triggered by the natural action of antenna deployment, and the superior radiation efficiency and link quality that the antenna should have when deployed are not matched with the high communication requirements of intercom scenarios.
[0004] Therefore, it is still necessary to develop a helmet Bluetooth headset intercom mode switching device, method, electronic device, and computer-readable storage medium that is simple in structure, intuitive in operation, highly automated, and capable of coordinating communication performance and mode status. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to overcome the defects of the prior art, such as cumbersome operation of switching mode of Bluetooth headset, low security, high error rate and lack of linkage between structure and communication performance. The present invention provides a device, method, electronic device and computer-readable storage medium for switching mode of Bluetooth headset based on linkage between foldable antenna and magnetic induction detection.
[0006] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: A helmet Bluetooth headset intercom mode switching device, applied to a Bluetooth headset in a helmet, comprising: A foldable external antenna module is configured to move between a first position and a second position relative to the main unit of the Bluetooth headset. The foldable external antenna module is connected to the radio frequency terminal of the main unit of the Bluetooth headset via a coaxial signal line. A magnetic triggering module is disposed on the foldable external antenna module; A magnetic induction detection module is installed on the main unit of the Bluetooth headset at a position corresponding to the magnetic trigger module. It is used to detect the proximity status of the magnetic trigger module and output a corresponding level signal. The mode control module is electrically connected to the magnetic induction detection module and is used to identify the position of the foldable external antenna module according to the level signal, and automatically control the Bluetooth headset to enter or exit the intercom mode. Specifically, when the foldable external antenna module is in the second position, the distance between the magnetic trigger module and the magnetic induction detection module is greater than a preset threshold, and the mode control module controls the Bluetooth headset to enter the intercom mode; when the foldable external antenna module is in the first position, the distance between the magnetic trigger module and the magnetic induction detection module is less than or equal to the preset threshold, and the mode control module controls the Bluetooth headset to exit the intercom mode.
[0007] Preferably, the magnetic trigger module is a magnet, which is disposed at one end of the foldable external antenna module near the coaxial signal line.
[0008] Preferably, the foldable external antenna module adopts a folding, rotating, sliding, or pop-up structure.
[0009] Preferably, the mode control module has a built-in de-jitter unit, which is used to perform short-term de-jitter processing on the level signal output by the magnetic induction detection module to confirm the position of the foldable external antenna module.
[0010] This invention also discloses a method for switching the intercom mode of a helmet Bluetooth headset, applied to the aforementioned helmet Bluetooth headset intercom mode switching device, comprising the following steps: S1. Power on and initialize the corresponding input pins, mode state machine and debounce timing parameters of the magnetic induction detection module; S2. Acquire the level signal output by the magnetic induction detection module at a fixed period, and perform jitter removal processing on the level signal to confirm the current position of the foldable external antenna module. S3. Based on the confirmed current position of the foldable external antenna module and the current working mode of the Bluetooth headset, determine whether a mode switch is required. S4. If it is determined that a mode switch is required, the corresponding mode switch operation is executed: when it is confirmed that the foldable external antenna module is in the second position and the Bluetooth headset is not in the intercom mode, the Bluetooth headset is controlled to enter the intercom mode; when it is confirmed that the foldable external antenna module is in the first position and the Bluetooth headset is in the intercom mode, the Bluetooth headset is controlled to exit the intercom mode and return to the non-intercom basic working state.
[0011] Preferably, the jitter removal process for the level signal in step S2 specifically involves: determining whether the level signals collected consecutively N times are consistent, or determining whether the effective duration of the level signal reaches a preset T milliseconds; if so, confirming the position of the foldable external antenna module.
[0012] The present invention also discloses an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described method for switching the intercom mode of a helmet Bluetooth headset.
[0013] The present invention also discloses a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described method for switching the intercom mode of a helmet Bluetooth headset.
[0014] By adopting the above technical solution, the present invention has the following beneficial effects: (1) The present invention establishes a one-to-one correspondence between "moving the foldable external antenna module to the second position" and "entering the intercom mode", and between "moving the foldable external antenna module to the first position" and "exiting the intercom mode". Users can complete mode management through simple physical actions without having to memorize any operation instructions. The human-computer interaction experience is greatly improved and the operation is natural and intuitive. (2) This invention completely eliminates the dependence on button operation. During exercise, the mode can be switched without shifting the eyes or taking the hands off the sports equipment. Automatic switching without buttons effectively reduces the user's attention burden and significantly improves sports safety. (3) When the foldable external antenna module of the present invention is moved to the second position, it can be moved away from the main unit of the Bluetooth headset, thereby reducing electromagnetic interference, matching the high communication requirements in the intercom scenario, and making the communication performance and mode state more coordinated. (4) The present invention adopts a non-contact detection method in which the magnetic induction detection module and the magnetic triggering module work together. The structure is simple and durable, the state judgment is clear, and it is not affected by environmental factors such as bumps, wind noise, rain and snow. It has strong anti-interference ability, extremely low false triggering probability, and high reliability. In summary, this invention has the advantages of natural and intuitive operation, high security, low probability of false triggering, and strong anti-interference ability. Attached Figure Description
[0015] Figure 1 This is a structural block diagram of a helmet Bluetooth headset intercom mode switching device according to the present invention; Figure 2 This is a flowchart illustrating the steps of a method for switching the intercom mode of a helmet Bluetooth headset according to the present invention. Detailed Implementation
[0016] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0017] The components of the embodiments of the invention described and shown in the accompanying drawings can typically be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention.
[0018] Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0020] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0021] Example 1 In this embodiment, a helmet Bluetooth headset intercom mode switching device, method, electronic device, and computer-readable storage medium are proposed. It can be widely used in various sports scenarios that require wearing helmets for team communication, such as motorcycles, bicycles, skiing, skateboarding, roller skating, mountaineering, and rock climbing. It has strong versatility, low hardware cost, minimal modification to existing helmet Bluetooth headset platforms, can be quickly introduced into mass production, has high market promotion value, and is easy to integrate into mass production.
[0022] like Figure 1 and Figure 2 As shown, in one embodiment of the present invention, a helmet Bluetooth headset intercom mode switching device of the present invention, applied to a Bluetooth headset in a helmet, includes a foldable external antenna module, a magnetic trigger module 101, a magnetic induction detection module 102, and a mode control module 103. The foldable external antenna module is configured to move between a first position and a second position relative to the main unit of the Bluetooth headset. The foldable external antenna module is connected to the radio frequency terminal of the main unit of the Bluetooth headset via a coaxial signal line. The magnetic trigger module 101 is disposed on the foldable external antenna module. The magnetic induction detection module 102 is disposed on the main unit of the Bluetooth headset at a position corresponding to the magnetic trigger module 101, and is used to detect the proximity state of the magnetic trigger module 101 and output a corresponding level signal. The mode control module 103 is electrically connected to the magnetic induction detection module 102 and disposed on the Bluetooth headset, and is used to identify the position of the foldable external antenna module according to the level signal and automatically control the Bluetooth headset to enter or exit the intercom mode. When the foldable external antenna module is in the second position, the magnetic trigger module 101 and the main unit of the Bluetooth headset move between a first position and a second position. When the distance between the magnetic induction detection modules 102 is greater than a preset threshold, the mode control module 103 controls the Bluetooth headset to enter the intercom mode. When the foldable external antenna module is in the first position, the distance between the magnetic trigger module 101 and the magnetic induction detection module 102 is less than or equal to the preset threshold, and the mode control module 103 controls the Bluetooth headset to exit the intercom mode. The preset threshold range can be 3-8mm. After the preset threshold is set, the foldable external antenna module is in the second position, the distance between the magnetic trigger module 101 and the magnetic induction detection module 102 is greater than the preset threshold, the foldable external antenna module is in the first position, and the distance between the magnetic trigger module 101 and the magnetic induction detection module 102 is less than or equal to the preset threshold. The first position can also be understood as the folded position, and the second position can also be understood as the unfolded position. That is, the foldable external antenna module is in the unfolded position or the folded position. The foldable external antenna module is provided with a positioning mechanism, which is used to keep the foldable external antenna module in the first position or the second position until it is subjected to external force and its position changes.
[0023] Specifically, the magnetic trigger module 101 is a magnet, which is located at one end of the foldable external antenna module near the coaxial signal line. The foldable external antenna module adopts a folding, rotating, sliding, or pop-up structure. The mode control module 103 has a built-in de-jitter unit, which is used to perform short-term de-jitter processing on the level signal output by the magnetic induction detection module 102 to confirm the position of the foldable external antenna module.
[0024] In this invention, the foldable external antenna module can specifically be a foldable 2.4GHz whip antenna, specifically model TaoglasTG.09.0113. This foldable 2.4GHz whip antenna operates in the 2400-2500MHz frequency band, has a gain of 2dBi, an impedance of 50Ω, and a length of approximately 85mm, fully meeting the communication requirements of Bluetooth and mainstream helmet intercom protocols (such as Mesh intercom). This foldable 2.4GHz whip antenna is mounted on the shell of the Bluetooth headset host of the helmet via a Φ2mm stainless steel swivel. It can rotate around the stainless steel swivel of the foldable 2.4GHz whip antenna between 0° (first position / folded position) and 90° (second position / unfolded position). The foldable 2.4GHz whip antenna integrates a copper radiator inside and is electrically connected to the RF interface on the motherboard inside the Bluetooth headset host via a miniature coaxial signal cable (model: UF.L-IPEX1) with an outer diameter of 0.81mm.
[0025] The foldable external antenna module is equipped with a positioning mechanism. This mechanism holds the foldable external antenna module in either the first or second position until its position changes due to external force. Specifically, the positioning mechanism can be a spring-loaded ball-type positioning mechanism. Its structure includes two 0.5mm deep positioning grooves machined on a stainless steel shaft, corresponding to 0° and 90° positions respectively. A 1.5mm stainless steel ball and a 0.3N preload compression spring are installed inside the shaft seat of the Bluetooth headset's main housing. When the foldable 2.4GHz whip antenna rotates to the positioning groove position, the ball is engaged in the groove by the spring, reliably holding the foldable 2.4GHz whip antenna in that position. Only when the user applies a force greater than the set value (0.5N) will the antenna remain in that position. The folding 2.4GHz whip antenna will only rotate when a torque of (cm) is applied. This is achieved through a combination of stainless steel balls, springs, and positioning grooves to lock and position it. Only by applying a larger torque will its position change. This is a mature existing technology and will not be elaborated further. This positioning mechanism is simple in structure, low in cost, and provides sufficient holding force to prevent the folding 2.4GHz whip antenna from rotating accidentally due to bumps during movement. The positioning mechanism can also use a damped rotating shaft, such as the Japanese Soluya SUSPA damped rotating shaft, which provides holding force through internal damping oil, resulting in smoother rotation and a longer service life. Alternatively, magnetic positioning can be used, where magnets are placed at corresponding positions on the foldable external antenna module and the Bluetooth headset's main unit, achieving positioning through magnetic force. This method is simpler in structure and eliminates mechanical wear.
[0026] The magnetic trigger module 101 specifically uses a magnet (neodymium iron boron permanent magnet), specifically an N35 grade cylindrical magnet with dimensions of Φ3mm×2mm. The surface is nickel-plated for corrosion protection. The neodymium iron boron permanent magnet is fixed to the root of the foldable external antenna module, near the coaxial signal line, using an embedding and epoxy resin bonding method. This position minimizes the impact of the magnetic trigger module 101 on the radiation pattern and gain of the foldable external antenna module. The magnetic induction detection module 102 uses a surface-mount unipolar Hall switch, specifically an AllegroA1101LLHLT-T. This device operates within a voltage range of 2.5V-5.5V and a current of 3mA, exhibiting high sensitivity and excellent anti-interference capabilities. The unipolar Hall switch is soldered inside the Bluetooth headset's main unit. On the motherboard, its installation position corresponds to the position of the magnetic trigger module 101 when the foldable external antenna module is in the first position. When the foldable external antenna module is in the first position, the distance between the magnetic trigger module 101 and the magnetic induction detection module 102 can be about 2mm, and the unipolar Hall switch outputs a low-level signal. When the foldable external antenna module is in the second position, the distance between the magnetic trigger module 101 and the magnetic induction detection module 102 can be about 15mm, and the unipolar Hall switch outputs a high-level signal. After the preset threshold (such as 5mm) is determined, when the distance is greater than 5mm, it is determined to be the second position, and when it is less than or equal to 5mm, it is determined to be the first position. This threshold is determined by the sensitivity of the unipolar Hall switch and the magnetic field strength of the magnet, leaving sufficient signal margin and effectively avoiding misjudgment. The magnetic induction detection module 102 can also be a magnetoresistive sensor module, which can be a magnetoresistive sensor, such as a switch-type magnetoresistive sensor.
[0027] The mode control module 103 in this invention uses the Nordic nRF52832 Bluetooth system-on-chip (SoC) as the main control MCU. This chip integrates an ARM Cortex-M4F core, a 2.4GHz Bluetooth transceiver, and rich peripheral interfaces, fully meeting the functional requirements of the helmet Bluetooth headset. The output pin of the magnetic induction detection module 102 is connected to the P0.11 pin of the nRF52832. The mode control module 103 has a built-in signal de-jitter unit and a mode state machine. The signal de-jitter unit is implemented through a software timer to continuously detect and confirm the level signal output by the unipolar Hall switch or the switch-type magnetoresistive sensor for 100ms. The mode state machine is used to control the switching of the Bluetooth headset's working mode according to the confirmed position of the foldable external antenna module.
[0028] When a user needs to enter the intercom mode, they simply fold the foldable external antenna module upwards to the second position of 90°. The positioning mechanism automatically locks the foldable external antenna module in this position. At this time, the magnetic trigger module 101 rotates together with the foldable external antenna module and moves away from the magnetic induction detection module 102. When the distance between the two is greater than a preset threshold (e.g., 5mm), the magnetic induction detection module 102 outputs a high-level signal. After the signal de-jitter unit of the mode control module 103 continuously detects and confirms the high-level signal for 100ms, the mode state machine automatically switches to the intercom mode, completes the configuration of the intercom link parameters, and establishes an intercom connection.
[0029] When a user needs to exit the intercom mode, they simply fold the foldable external antenna module down to the first position of 0°. The positioning mechanism automatically locks the foldable external antenna module in this position. At this time, the magnetic trigger module 101 rotates with the foldable external antenna module and approaches the magnetic induction detection module 102. The distance between the two is less than or equal to a preset threshold (e.g., 5mm). The magnetic induction detection module 102 outputs a low-level signal. After the signal de-jitter unit of the mode control module 103 continuously detects and confirms the low-level signal for 100ms, the mode state machine automatically exits the intercom mode, disconnects the intercom connection, and returns to the non-intercom basic working state, including but not limited to Bluetooth calls, music playback, FM radio, and other conventional audio functions. This invention can be directly applied to Bluetooth headsets for various sports helmets such as motorcycle helmets, bicycle helmets, ski helmets, skateboard helmets, and roller skating helmets, without the need for structural adjustments for different helmet types.
[0030] The foldable external antenna module in this invention can also be a rotating antenna, a sliding antenna, or a pop-up antenna. The rotating antenna can be the Mobi Antenna MDB-2400-03 rotating antenna, with a working frequency band of 2400-2500MHz and a gain of 1.8dBi. It can rotate between 0° and 180° around a pivot perpendicular to the surface of the Bluetooth headset. The sliding antenna can be the Kunshan Anjiexin AJX-2400-SL sliding antenna, which retracts and extends through a groove on the surface of the Bluetooth headset, with a stroke of about 30mm. The pop-up antenna can be a spring-loaded pop-up antenna, which automatically pops up and retracts by pressing, resulting in a more compact structure.
[0031] The magnetic trigger module 101 can also use N42 grade square neodymium iron boron magnets, with dimensions of 2mm × 2mm × 1.5mm, which have stronger magnetism and are suitable for scenarios requiring greater detection distance. Alternatively, ferrite magnets can be used, which are less expensive and suitable for cost-sensitive consumer products.
[0032] The magnetic induction detection module 102 in this invention can also be replaced with a magnetoresistive sensor or a reed switch. When it is a magnetoresistive sensor, the Honeywell HMC1021 magnetoresistive sensor is used, which has higher sensitivity and can detect weaker magnetic fields, making it suitable for scenarios requiring greater detection distance. When it is a reed switch, the Japanese OKIORD2210 reed switch is used, which is a passive device and does not require power supply, further reducing system power consumption. It is particularly suitable for long-term outdoor sports scenarios such as skiing and mountaineering where battery life is a high priority. The mode control module 103 of this invention can also use the Nordic RF52840 Bluetooth SoC, which supports Bluetooth 5.0 and Mesh networking, has a longer communication distance and stronger networking capabilities, and is suitable for team sports scenarios that require multiple people to talk to each other at the same time. Alternatively, the TICC2640R2F Bluetooth SoC can be used, which has lower power consumption and longer battery life.
[0033] This invention also discloses a method for switching the intercom mode of a helmet Bluetooth headset, applied to the aforementioned helmet Bluetooth headset intercom mode switching device, comprising the following steps: S1. Power on and initialize the input pins, mode state machine and de-shaking timing parameters corresponding to the magnetic induction detection module 102. Specifically, after the Bluetooth headset is powered on, the main control MCU (nRF52832) first initializes the P0.11 pin to the input mode, initializes the mode state machine to the non-talkie basic working state, and loads the preset de-shaking timing parameters (100ms) and distance threshold parameters (5mm). S2. Acquire the level signal output by the magnetic induction detection module 102 at a fixed period, and perform jitter removal processing on the level signal to confirm the current position of the foldable external antenna module. Specifically, the jitter removal processing of the level signal in step S2 is as follows: determine whether the level signals acquired in N consecutive times are consistent, or determine whether the effective duration of the level signal reaches the preset T milliseconds. If so, confirm the position of the foldable external antenna module. More specifically, the main control MCU collects the level signal of the P0.11 pin at a fixed period of 10ms. When the level signals collected 10 times in a row are consistent, or when the effective duration of the level signal reaches 100ms, the current position of the foldable external antenna module is confirmed.
[0034] S3. Based on the confirmed current position of the foldable external antenna module and the current working mode of the Bluetooth headset, determine whether a mode switch is required. Step S3 also includes: after confirming the position of the foldable external antenna module, add a threshold judgment or secondary confirmation mechanism for the unfolding duration to eliminate instantaneous misjudgment caused by extreme vibration. More specifically, the confirmed location of the foldable external antenna module is compared with the current operating mode of the Bluetooth headset: If it is confirmed that the foldable external antenna module is in the second position and is not currently in intercom mode, then it is determined that intercom mode needs to be entered. If it is confirmed that the foldable external antenna module is in the first position and is currently in intercom mode, it is determined that it is necessary to exit intercom mode. In other cases, it is determined that no mode switching is required, and the process returns to step S2 to continue collecting data. To further improve reliability, this step can also add a position duration threshold judgment. For example, only when the foldable external antenna module is in the second position for more than 500ms will it be determined that it needs to enter the intercom mode, thereby eliminating false judgments caused by the instantaneous shaking of the antenna under extreme bumpy road conditions (such as mountain bike off-roading and motorcycle off-roading). S4. If it is determined that a mode switch is required, the corresponding mode switch operation is executed: when it is confirmed that the foldable external antenna module is in the second position and the Bluetooth headset is not in the intercom mode, the Bluetooth headset is controlled to enter the intercom mode; when it is confirmed that the foldable external antenna module is in the first position and the Bluetooth headset is in the intercom mode, the Bluetooth headset is controlled to exit the intercom mode and return to the non-intercom basic working state. More specifically, if it is determined that it needs to enter the intercom mode, the main control MCU first pauses the current non-intercom audio link, then loads the radio frequency parameters of the intercom mode (such as adjusting the transmit power to 8dBm, switching the modulation method to GFSK, switching the communication frequency band to 2450MHz, etc.), starts the intercom protocol stack and searches for nearby intercom devices to establish an intercom connection. If it is determined that it needs to exit the intercom mode, the main control MCU first disconnects the current intercom connection, shuts down the intercom protocol stack, then restores the previous non-intercom audio link configuration and returns to the non-intercom basic working state.
[0035] The present invention also discloses an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described method for switching the intercom mode of a helmet Bluetooth headset.
[0036] The present invention also discloses a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described method for switching the intercom mode of a helmet Bluetooth headset.
[0037] This embodiment does not impose any limitation on the shape, material, structure, etc. of the present invention. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of the present invention shall fall within the protection scope of the technical solution of the present invention.
Claims
1. A helmet Bluetooth headset intercom mode switching device, applied to a helmet Bluetooth headset, characterized in that, include: A foldable external antenna module is configured to move between a first position and a second position relative to the main unit of the Bluetooth headset. The foldable external antenna module is connected to the radio frequency terminal of the main unit of the Bluetooth headset via a coaxial signal line. A magnetic triggering module is disposed on the foldable external antenna module; A magnetic induction detection module is installed on the main unit of the Bluetooth headset at a position corresponding to the magnetic trigger module. It is used to detect the proximity status of the magnetic trigger module and output a corresponding level signal. The mode control module is electrically connected to the magnetic induction detection module and is used to identify the position of the foldable external antenna module according to the level signal, and automatically control the Bluetooth headset to enter or exit the intercom mode. Specifically, when the foldable external antenna module is in the second position, the distance between the magnetic trigger module and the magnetic induction detection module is greater than a preset threshold, and the mode control module controls the Bluetooth headset to enter the intercom mode; when the foldable external antenna module is in the first position, the distance between the magnetic trigger module and the magnetic induction detection module is less than or equal to the preset threshold, and the mode control module controls the Bluetooth headset to exit the intercom mode.
2. The helmet Bluetooth headset intercom mode switching device according to claim 1, characterized in that: The magnetic trigger module is a magnet, which is located at one end of the foldable external antenna module near the coaxial signal line.
3. The helmet Bluetooth headset intercom mode switching device according to claim 1, characterized in that: The foldable external antenna module adopts a folding, rotating, sliding, or pop-up structure.
4. The helmet Bluetooth headset intercom mode switching device according to claim 1, characterized in that: The mode control module has a built-in de-jitter unit, which is used to perform short-term de-jitter processing on the level signal output by the magnetic induction detection module to confirm the position of the foldable external antenna module.
5. A method for switching the intercom mode of a helmet Bluetooth headset, characterized in that, The device for switching the intercom mode of a helmet Bluetooth headset as described in any one of claims 1-4 includes the following steps: S1. Power on and initialize the corresponding input pins, mode state machine and debounce timing parameters of the magnetic induction detection module; S2. Acquire the level signal output by the magnetic induction detection module at a fixed period, and perform jitter removal processing on the level signal to confirm the current position of the foldable external antenna module. S3. Based on the confirmed current position of the foldable external antenna module and the current working mode of the Bluetooth headset, determine whether a mode switch is required. S4. If it is determined that a mode switch is required, the corresponding mode switch operation is executed: when it is confirmed that the foldable external antenna module is in the second position and the Bluetooth headset is not in the intercom mode, the Bluetooth headset is controlled to enter the intercom mode; when it is confirmed that the foldable external antenna module is in the first position and the Bluetooth headset is in the intercom mode, the Bluetooth headset is controlled to exit the intercom mode and return to the non-intercom basic working state.
6. The method for switching the intercom mode of a helmet Bluetooth headset according to claim 5, characterized in that: The specific steps for de-jittering the level signal in step S2 are as follows: determine whether the level signals collected in N consecutive samples are consistent, or determine whether the effective duration of the level signal reaches the preset T milliseconds. If so, confirm the position of the foldable external antenna module.
7. An electronic device, characterized in that: It includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the helmet Bluetooth headset intercom mode switching method as described in any one of claims 5-6.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of a helmet Bluetooth headset intercom mode switching method as described in any one of claims 5-6.