A Bluetooth communication method, system, electronic device and medium based on navigator

By setting up multiple Bluetooth modules in the navigation device, multiple communication connections between the user's mobile phone, the driver's helmet and the passenger's helmet are established, and the call operation is dynamically adjusted, which solves the problem of difficulty in adjusting communication in complex driving states in the prior art, and improves the safety of the driver during driving communication.

CN119653345BActive Publication Date: 2025-04-22SHENZHEN TRIPOD TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510180208.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-19
Publication Date
2025-04-22
Estimated Expiration
2045-02-19

AI Technical Summary

Technical Problem

Existing Bluetooth communication methods for motorcycles and other open vehicles are difficult to dynamically adjust in complex driving conditions, resulting in less safety for drivers during driving communication.

Method used

By setting up multiple Bluetooth modules in the navigation device, multiple communication connections between the user's mobile phone, the driver's helmet and the passenger's helmet are established, and the call operation is dynamically adjusted. The specific steps include receiving incoming call signals from the mobile phone, performing incoming call prompts through the navigator, transferring the call signals in response to the answering operation, and deciding whether to transfer the incoming call signals to the passenger helmet based on the driving status index.

Benefits of technology

Dynamic communication adjustments under different driving conditions are realized, the driver's safety during driving communication is improved, and the audio transmission during the call is clear and does not interfere with the driver's line of sight and operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119653345B_ABST
    Figure CN119653345B_ABST
Patent Text Reader

Abstract

A Bluetooth communication method, system, electronic device and medium based on a navigator, relating to the field of communication technology. The method comprises: establishing a communication connection between a first Bluetooth module, a second Bluetooth module and a third Bluetooth module; receiving a driver's mobile phone call signal, and sending the mobile phone call signal to a vehicle-mounted navigator through the first Bluetooth module for a call prompt; in response to the answering operation, transferring the mobile phone call signal to the driver's helmet through the second Bluetooth module; obtaining the posture data of the driver's helmet, the driver's heart rate data and the speed data of the target vehicle, and calculating the driver's current driving state index based on the posture data, heart rate data and speed data; when the driving state index is greater than the index threshold, the mobile phone call signal is transferred to the passenger helmet through the third Bluetooth module to complete the call operation. The implementation of the technical solution provided by the present application achieves the effect of improving the safety of the driver during driving communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a Bluetooth communication method, system, electronic device and medium based on a navigator. Background Art

[0002] With the advancement of technology, especially in the use of motorcycles and other open vehicles, communication between drivers and passengers has always been an important challenge related to safety and convenience. In this regard, the application of in-vehicle communication systems, especially Bluetooth technology, has greatly simplified the driver's communication methods. Through this technology, the driver can answer calls wirelessly while driving, thus significantly reducing distractions while driving.

[0003] At present, the existing Bluetooth communication methods for motorcycles and other open vehicles mainly rely on the driver to connect the mobile phone through a single Bluetooth module integrated with the vehicle audio system or helmet to realize the Bluetooth communication function of answering the phone. However, in actual applications, when the driving state is complicated or the driver is in poor physical condition, it is often difficult to make dynamic adjustments to the situation where the driver is inconvenient to answer the phone by only using the existing single Bluetooth module communication method, resulting in low safety for the driver during the communication process while driving. Summary of the invention

[0004] The present application provides a navigation-based Bluetooth communication method, system, electronic device and medium, which can perform dynamic communication adjustment through multiple Bluetooth modules, thereby improving the driver's safety during driving communication.

[0005] In a first aspect, the present application provides a Bluetooth communication method based on a navigator, comprising:

[0006] Establishing communication connections among a first Bluetooth module, a second Bluetooth module, and a third Bluetooth module, wherein the first Bluetooth module is connected to a user's mobile phone, the second Bluetooth module is connected to a driver's helmet, and the third Bluetooth module is connected to a passenger's helmet;

[0007] Receiving a call signal from a driver's mobile phone, and sending the call signal to the vehicle navigation system through the first Bluetooth module for a call reminder;

[0008] In response to the driver's answering operation after the incoming call prompt, the incoming call signal of the mobile phone is transferred to the driver's helmet through the second Bluetooth module;

[0009] Acquire the posture data of the driver's helmet, the heart rate data of the driver and the speed data of the target vehicle, and calculate the current driving state index of the driver based on the posture data, the heart rate data and the speed data;

[0010] When the driving state index is greater than an index threshold, the incoming call signal of the mobile phone is transferred to the passenger helmet through the third Bluetooth module to complete the call operation.

[0011] In a second aspect of the present application, a Bluetooth communication system based on a navigator is provided, the system comprising:

[0012] A signal receiving module is used to establish a communication connection between a first Bluetooth module, a second Bluetooth module and a third Bluetooth module, wherein the first Bluetooth module is connected to a user's mobile phone, the second Bluetooth module is connected to a driver's helmet, and the third Bluetooth module is connected to a passenger's helmet; receive a driver's mobile phone incoming call signal, and send the mobile phone incoming call signal to the vehicle navigation system through the first Bluetooth module for incoming call prompt;

[0013] A first communication module, configured to respond to the driver's answering operation after the incoming call prompt, and forward the incoming call signal of the mobile phone to the driver's helmet through the second Bluetooth module;

[0014] A driving state index determination module, used to obtain the posture data of the driver's helmet, the heart rate data of the driver and the speed data of the target vehicle, and calculate the current driving state index of the driver based on the posture data, the heart rate data and the speed data;

[0015] The second communication module is used to transfer the incoming call signal of the mobile phone to the passenger helmet through the third Bluetooth module to complete the call operation when the driving state index is greater than the index threshold.

[0016] In a third aspect of the present application, an electronic device is provided, comprising a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program can implement a Bluetooth communication method based on a navigator when loaded and executed by the processor.

[0017] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements a Bluetooth communication method based on a navigator.

[0018] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0019] By adopting the above technical solution, multiple communication connections are established between the first Bluetooth module, the second Bluetooth module and the third Bluetooth module, and efficient collaborative communication between the user's mobile phone, the driver's helmet and the passenger helmet is realized. First, the first Bluetooth module is connected to the user's mobile phone, which can receive the driver's incoming call signal in time and transmit it to the vehicle navigation system for incoming call prompts, thereby ensuring that the driver can be informed of the incoming call information in time during driving. Subsequently, when the driver answers the call after the incoming call prompt, the second Bluetooth module smoothly transfers the incoming call signal to the driver's helmet to ensure that the audio transmission during the call is clear and does not interfere with the driver's sight and operation. The system obtains the posture data, heart rate data and vehicle speed data of the driver's helmet, and comprehensively calculates the driver's current driving state index. This driving state index can reflect the driver's physical condition and the complexity of the driving environment in real time. When the driving state index exceeds the preset threshold, the system intelligently transfers the incoming call to the passenger helmet through the third Bluetooth module, thereby completing the call operation without increasing the burden on the driver. This technical solution realizes dynamic communication adjustment under different driving conditions through the collaborative work of multiple Bluetooth modules and intelligent driving status monitoring, meets the communication needs of motorcycle drivers in complex driving environments, and thus improves the safety of drivers during driving communications. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a flowchart of a Bluetooth communication method based on a navigator provided in an embodiment of the present application;

[0021] Figure 2 It is a structural diagram of a Bluetooth communication system based on a navigator provided in an embodiment of the present application;

[0022] Figure 3 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.

[0023] Description of reference numerals: 300, electronic device; 301, processor; 302, communication bus; 303, user interface; 304, network interface; 305, memory. DETAILED DESCRIPTION

[0024] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0025] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0026] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0027] The present application embodiment provides a Bluetooth communication method based on a navigator. In one embodiment, please refer to Figure 1 , Figure 1 The present invention provides a flowchart of a Bluetooth communication method based on a navigator provided in an embodiment of the present invention. The method can be implemented by a computer program, which can be integrated into an application or run as an independent tool application. The method can also be implemented by a single-chip microcomputer or run in a Bluetooth communication system based on a navigator based on a von Neumann system. Specifically, the method can include the following steps:

[0028] Step 101: Establish communication connections among a first Bluetooth module, a second Bluetooth module, and a third Bluetooth module, wherein the first Bluetooth module is connected to a user's mobile phone, the second Bluetooth module is connected to a driver's helmet, and the third Bluetooth module is connected to a passenger's helmet.

[0029] The first Bluetooth module refers to the main Bluetooth module installed on the car navigation system. Its main function is to establish a connection with the user's mobile phone, receive incoming calls from the mobile phone, and serve as the communication control center of the entire system, responsible for managing and coordinating the communication tasks of the second Bluetooth module and the third Bluetooth module. As the main module, this module has core functions such as pairing request initiation, communication link establishment and signal forwarding.

[0030] The second Bluetooth module refers to the first slave Bluetooth module installed on the vehicle navigation system. Its main function is to establish a connection with the helmet worn by the driver, receive the call signal forwarded by the first Bluetooth module, and transmit the audio data to the driver's helmet. At the same time, this module is also responsible for collecting and transmitting information such as the posture data of the driver's helmet for evaluating the driving status.

[0031] The third Bluetooth module refers to the second slave Bluetooth module installed on the vehicle navigation system. Its main function is to establish a connection with the helmet worn by the passenger. When the driver is not suitable for answering the call (such as the driving status index exceeds the threshold), it receives the call signal forwarded by the first Bluetooth module and transmits the audio data to the passenger helmet as a backup channel for the call.

[0032] Specifically, in order to provide a flexible and reliable vehicle-mounted Bluetooth communication system, it is necessary to set a first Bluetooth module, a second Bluetooth module and a third Bluetooth module in the vehicle-mounted navigator. First, the first Bluetooth module is used as the main module to establish a connection with the user's mobile phone through the Bluetooth protocol to realize the reception and transmission of the mobile phone call signal. Secondly, the second Bluetooth module is configured as a slave module to establish a stable communication link with the helmet worn by the driver for receiving and processing the call data from the main module. At the same time, the third Bluetooth module is also used as a slave module to establish a connection with the passenger helmet to provide support for the backup transmission channel of the call signal. When establishing a communication connection, the main module first broadcasts a pairing request signal, and when the second Bluetooth module and the third Bluetooth module receive the pairing request, they return pairing confirmation information respectively. The system then completes the establishment of the master-slave link according to the pairing confirmation information to form a multi-module collaborative communication network. This three-module collaborative communication architecture design not only ensures the reliable transmission of the call signal, but also provides a hardware basis for the subsequent dynamic adjustment of the communication strategy according to the driving state. In this way, the system can flexibly switch the call task between the driver's helmet and the passenger helmet according to the actual situation, thereby effectively improving driving safety while ensuring communication needs. In addition, the collaborative working mode of multiple modules also provides communication redundancy. When an abnormality occurs in a communication link, the system can quickly switch to the backup link, significantly improving the reliability and stability of the entire communication system.

[0033] Based on the above embodiment, as an optional embodiment, in step 101: establishing a communication connection between the first Bluetooth module, the second Bluetooth module and the third Bluetooth module, this step may also include the following steps:

[0034] Step 201: Set the first Bluetooth module as a master module, and set the second Bluetooth module and the third Bluetooth module as slave modules.

[0035] Specifically, the system first needs to determine the working role of each Bluetooth module. Specifically, the system configures the working mode parameters of the first Bluetooth module and sets it to the master module state, so that it has the functions of initiating pairing requests, managing communication links, and coordinating data transmission. At the same time, the system sets the working mode parameters of the second and third Bluetooth modules to the slave module states, respectively, so that they can respond to the pairing request of the master module and perform data transmission tasks. This master-slave architecture setting ensures the orderly operation of the entire communication system and avoids signal conflicts between multiple modules.

[0036] Step 202: Send a pairing request to the second Bluetooth module and the third Bluetooth module via the first Bluetooth module.

[0037] Specifically, the first Bluetooth module starts the pairing process as the master module. In the specific implementation, the first Bluetooth module first enters the inquiry state and scans the device by sending an inquiry access code (IAC). After scanning the second Bluetooth module and the third Bluetooth module, the first Bluetooth module sends a pairing request data packet containing a pairing code (PIN code) to the two slave modules respectively. The pairing request data packet also contains key information such as the device address, clock synchronization information, and communication parameters of the master module, in preparation for the subsequent establishment of a stable communication link.

[0038] Step 203: receiving pairing confirmation information returned by the second Bluetooth module and the third Bluetooth module; and establishing a communication link between the master module and the slave module according to the pairing confirmation information.

[0039] Specifically, the system enters the pairing confirmation and link establishment phase. When the second Bluetooth module and the third Bluetooth module receive the pairing request, they perform PIN code verification respectively, generate link keys after verification, and return pairing confirmation information to the first Bluetooth module. The pairing confirmation information contains data such as the device address of the slave module and supported communication parameters. After the first Bluetooth module receives the pairing confirmation information, it establishes an ACL (asynchronous connectionless) link and a SCO (synchronous connection-oriented) link with each slave module according to the specification of the Bluetooth communication protocol. Among them, the ACL link is used to transmit control commands and status data, and the SCO link is used to transmit real-time audio data. In this way, the system completes the establishment of a reliable communication link between the master and slave modules, providing a stable communication foundation for subsequent call signal transmission and status monitoring.

[0040] Step 102: receiving a call signal from the driver's mobile phone, and sending the call signal to the vehicle navigation system through the first Bluetooth module for incoming call prompting.

[0041] Among them, the mobile phone call signal refers to the data packet transmitted by the driver's mobile phone to the first Bluetooth module through the Bluetooth protocol when receiving an incoming call. This data packet not only contains basic call information (such as caller number, call time, caller ID, etc.), but also contains necessary communication control information (such as signal strength, priority ID, etc.). The system can make intelligent judgments and processes based on this information, thereby achieving differentiated processing of different types of calls.

[0042] The vehicle navigator refers to a multifunctional intelligent terminal device installed on the vehicle, and its core functions include navigation positioning, information display and communication management. In this embodiment, the vehicle navigator integrates the first Bluetooth module, the second Bluetooth module and the third Bluetooth module, and realizes the communication connection with the mobile phone, the driver's helmet and the passenger helmet through these three modules. At the same time, the vehicle navigator is also equipped with output devices such as a display screen and a speaker, which can provide visual or sound prompts according to the incoming call situation, and can display information such as the working status of the current system and the status of the communication link. In addition, the vehicle navigator also has a speed detection function, which can obtain and process the vehicle speed data in real time, and provide a decision-making basis for the intelligent incoming call processing of the system.

[0043] Specifically, in order to ensure that the driver can obtain the incoming call information in a timely and safe manner, the system needs to intelligently process and distribute the incoming call signal of the mobile phone. In specific implementation, when the driver's mobile phone receives an incoming call, the mobile phone sends an incoming call signal data packet containing the incoming call number, the incoming call time and other information to the first Bluetooth module through the established Bluetooth communication link. After the first Bluetooth module receives the incoming call signal, it first identifies and judges the incoming call number. When the number belongs to the preset emergency contact list, the first Bluetooth module will immediately send the first incoming call prompt information to the vehicle navigation system, trigger the light prompt function of the navigation system, and ensure that the driver can notice the emergency call through a conspicuous visual reminder. When the incoming call number is not in the emergency contact list, the system will further obtain the current driving speed data of the target vehicle and compare it with the preset speed threshold. If the current speed is greater than or equal to the speed threshold, the first Bluetooth module sends the second incoming call prompt information to the vehicle navigation system, starts the voice prompt function of the navigation system, and broadcasts the incoming call information through clear voice to avoid the driver's attention being distracted by viewing the display screen. When the vehicle speed is below the threshold, the system temporarily blocks the call reminder until the vehicle speed exceeds the threshold again. This dynamic adjustment mechanism based on vehicle speed effectively reduces the risk of distracted driving. Through this multi-level, intelligent call reminder solution, the system not only ensures that important calls will not be missed, but also maximizes driving safety and improves the reliability of the entire communication system.

[0044] Based on the above embodiment, as an optional embodiment, in step 102: receiving the driver's mobile phone call signal, and sending the mobile phone call signal to the vehicle navigation system through the first Bluetooth module for incoming call prompting, this step may also include the following steps:

[0045] Step 301: Obtain the incoming call number in the mobile phone incoming call signal; when the incoming call number belongs to the preset emergency contact list, send a first incoming call prompt message to the vehicle navigation system through the first Bluetooth module, and the first incoming call prompt message is used to trigger the vehicle navigation system to perform a light prompt.

[0046] Specifically, in order to ensure that the driver can identify and handle important calls in time and avoid ordinary calls from interfering with driving, the system needs to intelligently classify and differentiate the calls. In specific implementation, when the first Bluetooth module receives a mobile phone call signal, it first extracts the caller number information from the signal data packet. The system then accesses the emergency contact list stored in the vehicle navigation system, which contains pre-set important contact numbers, such as family members, medical institutions, insurance companies, etc. Through the string matching algorithm, the system compares the extracted caller number with the number in the emergency contact list one by one. When the system detects that the current caller number exists in the emergency contact list, the first Bluetooth module immediately sends the first call prompt information to the vehicle navigation system. The prompt information contains data such as the caller number, contact identity, and prompt priority mark. After the vehicle navigation system receives the first call prompt information, it immediately triggers the preset light prompt program, and the LED indicator light around the display screen flashes at a specific frequency and color, such as the red LED light flashes at a frequency of 1Hz, or the display backlight alternates between light and dark to produce a striking visual effect. This intelligent recognition and dedicated light prompt mechanism based on emergency contacts not only ensures that important calls are not ignored by the driver, but also reduces interference with driving attention through non-voice prompts, effectively balancing the relationship between communication needs and driving safety.

[0047] Step 302: When the incoming call number does not belong to the preset emergency contact list, determine whether the current speed of the target vehicle is greater than the speed threshold; if the speed is greater than or equal to the speed threshold, send a second incoming call prompt message to the vehicle navigation system through the first Bluetooth module, and the second incoming call prompt message is used to trigger the vehicle navigation system to give a voice prompt.

[0048] Specifically, in order to prevent non-emergency calls from affecting driving safety during high-speed driving, and to ensure that the driver does not miss important calls, the system adopts an intelligent call prompt mechanism based on vehicle speed. In specific implementation, when the system detects that the caller number is not in the emergency contact list, the vehicle navigation system first collects the target vehicle's driving speed data in real time through the built-in vehicle speed sensor. The system compares the collected vehicle speed data with the preset vehicle speed threshold (for example, set to 60 kilometers per hour). When it is detected that the current vehicle speed is greater than or equal to the vehicle speed threshold, it indicates that the vehicle is in a relatively high-speed driving state. At this time, the first Bluetooth module will send a second call prompt message to the vehicle navigation system. The prompt message contains information such as the caller number, prompt type identifier, and voice broadcast parameters. After receiving the second call prompt message, the vehicle navigation system immediately calls the voice synthesis module to convert the call message into a clear voice prompt, which is broadcast through the speaker of the vehicle navigation system, such as "You have a call from number XXX". The system will also automatically adjust the volume of the voice prompt according to the ambient noise level to ensure that the prompt message is both clear and audible and does not interfere too much with driving. This intelligent voice prompt mechanism based on vehicle speed allows the driver to obtain incoming call information without having to shift his eyes from the road to the display screen, which not only ensures the timeliness of communication, but also minimizes the risk of driver distraction, and improves the safety and practicality of the entire system in high-speed driving scenarios.

[0049] Step 303: If the vehicle speed is less than the vehicle speed threshold, the incoming call number is blocked.

[0050] Specifically, in complex road conditions such as urban roads, when the vehicle speed is low, it often means that the vehicle is in a driving state that requires the driver to concentrate highly, such as passing through an intersection, changing lanes or reversing. In order to prevent the call prompt from interfering with such critical driving operations, the system implements a call shielding mechanism based on vehicle speed. In specific implementation, when the system detects that the current speed of the target vehicle is less than the preset speed threshold, the on-board navigation system will start the call shielding program. The program first temporarily stores the current incoming call number in the system's cache area and turns off the prompt function for the number. The system will continue to monitor the vehicle's driving speed and obtain real-time vehicle speed data through the vehicle speed sensor at a predetermined sampling frequency (such as once per second). When it is detected that the vehicle speed exceeds the threshold again, the system will automatically release the shielding state and generate corresponding call prompt information based on the previously stored call number. If the call is still ongoing at this time, the system will perform a voice prompt; if the call has ended, the system will generate a missed call reminder. This dynamic call shielding mechanism not only effectively avoids the interference of call prompts on low-speed complex driving operations and ensures driving safety, but also ensures that the driver will not miss important calls by temporarily storing call information, thereby improving the intelligence and practicality of the entire communication system.

[0051] Step 103: In response to the driver's answering operation after the incoming call prompt, the incoming call signal of the mobile phone is transferred to the driver's helmet through the second Bluetooth module.

[0052] Among them, the answering operation in the embodiment of the present application refers to the control instruction for the driver to answer the incoming call through the human-computer interaction interface, which can be understood as the driver performing a touch operation through the touch screen of the car navigation system, or pressing the function buttons set on the steering wheel, or controlling the operation through voice commands. These answering operations are recognized by the system as standardized answering signals, which are used to trigger the car navigation system to start the call transfer program, establish an audio transmission channel between the mobile phone and the driver's helmet, and realize a safe and convenient call answering function.

[0053] Specifically, to ensure that the driver can make calls while maintaining safe driving, the system needs to establish a convenient and reliable call transfer mechanism. In specific implementation, when the system completes the incoming call prompt, the driver can perform the answering operation through the touch screen on the car navigation system or the shortcut button on the steering wheel. Once the answering command is detected, the car navigation system immediately starts the call transfer program, first establishing an audio transmission channel with the mobile phone through the first Bluetooth module, and at the same time establishing an independent audio connection with the driver's helmet through the second Bluetooth module. After the system receives the audio signal of the mobile phone through the first Bluetooth module, it is processed by the audio processing unit inside the car navigation system for noise reduction and sound quality optimization, and then the optimized audio signal is transmitted to the driver's helmet through the second Bluetooth module. The built-in speaker and microphone components of the driver's helmet enable the driver to make hands-free calls through the helmet, and the noise reduction structure of the helmet can effectively isolate external noise interference. This audio signal transfer mechanism based on dual Bluetooth modules not only ensures the clarity and stability of the call quality, but also avoids the safety hazards of the driver's handheld device calls through the helmet, and also prevents the call sound from interfering with other passengers in the car, thereby improving the safety and comfort of the entire call system.

[0054] Step 104: Acquire the posture data of the driver's helmet, the driver's heart rate data, and the speed data of the target vehicle, and calculate the driver's current driving state index based on the posture data, heart rate data, and speed data.

[0055] Among them, the posture data in the embodiment of the present application refers to the driver's head movement feature data collected by the nine-axis sensor built into the driver's helmet, including the pitch angle of the head (reflecting the state of lowering the head and raising the head), the roll angle (reflecting the state of tilting the head), the yaw angle (reflecting the state of turning the head) and the acceleration change rate in each direction, which is used to characterize the real-time state parameters of the driver's head activity.

[0056] In this embodiment of the application, heart rate data refers to physiological signal data collected by the heart rate sensor built into the driver's helmet, including parameters such as the number of heart beats per minute, the heart rate change rate (reflecting the degree of change in the interval between adjacent heartbeats), and the heart rate change trend (reflecting the rising or falling trend of the heart rate over a period of time), which are used to characterize the real-time status parameters of the driver's cardiovascular activity.

[0057] In the embodiment of the present application, the vehicle speed data refers to the driving status data collected by the vehicle speed sensor of the target vehicle, including parameters such as the instantaneous vehicle speed value, the vehicle speed change rate (acceleration), and the vehicle speed maintenance time, which are used to characterize the real-time status parameters of the vehicle operation.

[0058] Specifically, in order to evaluate the driver's fatigue and attention level in real time, the system needs to comprehensively analyze multi-dimensional physiological and behavioral data. In specific implementation, the system first collects head posture data in real time through the nine-axis sensor built into the driver's helmet, including parameters such as head bow angle, head tilt frequency and head shaking amplitude; at the same time, the heart rate sensor built into the helmet continuously monitors the driver's heart rate changes, records the heart rate value and heart rate variability indicators; in addition, the vehicle's real-time speed data is collected through the on-board sensor. The system inputs these raw data into the preset driving status data model for processing. The mathematical model performs a comprehensive calculation of different parameter indicators to obtain the driver's current driving status index. Through this multi-dimensional data fusion analysis mechanism, the system can more accurately evaluate the driver's real-time status, provide a reliable basis for judgment for subsequent safety warnings and intervention measures, and thus improve the accuracy and practicality of the entire driving safety monitoring system.

[0059] Based on the above embodiment, as an optional embodiment, in step 104: calculating the driver's current driving state index based on the posture data, the heart rate data and the vehicle speed data, this step may also include the following steps:

[0060] Step 401: Determine the driver's head shaking frequency within a target period based on the head tilt angle sequence in the posture data.

[0061] Specifically, during driving, the frequency of the driver's head shaking is one of the important indicators for evaluating the state of fatigue driving, because when driving fatigued, the driver often nods, tilts his head and other shaking movements unconsciously. The system continuously collects head posture data through the nine-axis sensor built into the driver's helmet, which contains the tilt angle information of the head in three-dimensional space. During the target period (such as every 5 minutes), the system will form an angle sequence according to the time sequence of the collected head tilt angle data. By analyzing the fluctuation characteristics of this angle sequence, the system can identify effective head shaking movements. In specific implementation, the angle sequence is first digitally filtered to remove interference signals caused by external factors such as vehicle bumps; then the angle threshold (such as deviation from the normal driving posture by more than 15 degrees) and the duration threshold (such as deviation time for more than 0.5 seconds) are set, and the angle change that meets these two threshold conditions is identified as a valid head shaking; finally, the number of head shakings that meet the conditions within the target period is counted to obtain the head shaking frequency. This analysis method based on the head tilt angle sequence can not only accurately identify the driver's head shaking behavior, but also filter out the head movement caused by normal driving operations by adjusting the threshold parameters, thereby improving the accuracy of fatigue driving detection.

[0062] Step 402: Determine the number of heart rate fluctuations of the driver within the target period based on the heart rate value sequence in the heart rate data.

[0063] Specifically, the driver's heart rate change is an important physiological indicator reflecting his physical state and attention level, because when driving fatigued or not paying attention, the heart rate often fluctuates abnormally. The system collects heart rate data in real time through the heart rate sensor built into the driver's helmet, and continuously records the heart rate value within the target period (such as every 5 minutes) to form a heart rate value sequence. In order to accurately identify effective heart rate fluctuations, the system first performs data smoothing on the original heart rate value sequence to eliminate random noise in the acquisition process; then calculates the moving average of the heart rate value as the baseline value, and sets the fluctuation threshold (such as the change amplitude relative to the baseline value exceeds 10%) and the duration threshold (such as the duration of the abnormal value exceeds 3 seconds), and identifies the heart rate change that meets these two threshold conditions as a valid heart rate fluctuation; finally, the number of effective heart rate fluctuations that occur in the target period is counted to obtain the number of heart rate fluctuations. This analysis method based on the heart rate value sequence can effectively filter out the small heart rate changes caused by normal physiological activities, accurately capture the significant heart rate fluctuations that may indicate abnormal driver status, thereby providing reliable physiological data support for driving status evaluation and improving the accuracy of the system in monitoring the driver's status.

[0064] Step 403: Based on the speed sequence in the vehicle speed data, the average driving speed and acceleration change frequency of the target vehicle in the target time period are calculated.

[0065] Specifically, during driving, the vehicle's speed and acceleration change characteristics are important parameters that reflect the driver's control status, because fatigued or inattentive drivers often have unstable speed control. The system continuously collects speed data through the speed sensor of the target vehicle to form a speed sequence within the target period (such as every 5 minutes). For the calculation of the average driving speed, the system first accumulates the sampling points of the speed sequence, and then divides it by the number of sampling points to obtain the arithmetic average speed value within the target period. For the calculation of the frequency of acceleration changes, the system first calculates the instantaneous acceleration sequence based on the speed difference at adjacent moments, and then sets the acceleration change threshold (such as the acceleration change amplitude exceeds 0.5m / s²) and the duration threshold (such as the change duration exceeds 1 second), and recognizes the acceleration change that meets these two threshold conditions as a valid acceleration change; finally, the number of valid acceleration changes within the target period is counted to obtain the acceleration change frequency. This dual analysis method based on speed sequence can not only reflect the overall operating status of the vehicle, but also capture the changes in the driver's control characteristics, providing objective behavioral data support for evaluating the driver's driving status and improving the system's ability to identify abnormal driving conditions.

[0066] Step 404: Calculate the driver's current driving state index based on the driver's head shaking frequency, heart rate fluctuation frequency, average driving speed, and acceleration change frequency during the target time period.

[0067] Specifically, in order to comprehensively and accurately evaluate the driver's real-time driving status, the system needs to conduct a comprehensive analysis of multi-dimensional monitoring data. During the target period, the system substitutes the driver's head shaking frequency, heart rate fluctuation frequency, average driving speed, and acceleration change frequency into the preset index formula to obtain the driver's current driving status index.

[0068] The preset index formula refers to a mathematical formula for calculating the driver's current driving state index. In the embodiment of the present application, the preset index formula can be understood as a multivariate analysis formula including factors such as head shaking frequency, heart rate fluctuation frequency, average driving speed, and acceleration change frequency. The preset index formula is used for quantitative calculation and evaluation of the driver's driving state index.

[0069] The default index formula is:

[0070] ;

[0071] Where P represents the driver's current driving state index, k represents the baseline risk adjustment coefficient, α represents the influence weight of the head shaking frequency, β represents the influence weight of the heart rate fluctuation frequency, λ represents the baseline sensitivity coefficient, H represents the head shaking frequency, μ Hrepresents the historical sampling average of the head shaking frequency, R represents the number of heart rate fluctuations, μ R represents the historical sampling average of the number of heart rate fluctuations, V represents the average driving speed, T represents the driving time corresponding to the target period, μ V represents the historical sampling average of the average driving speed, A represents the frequency of acceleration change, μ A It represents the historical sampling average value of the acceleration change frequency, and σ represents the preset standard deviation.

[0072] The formula consists of three parts. The first part describes the comprehensive impact of the frequency of head shaking and the number of heart rate fluctuations on the driver's driving state index. The baseline risk adjustment coefficient k is mainly used to adjust the output scale of the overall formula so that the driving state index meets the needs of actual applications. This is usually set based on historical data and safety standards. The impact weight α of the head shaking frequency and the impact weight β of the heart rate fluctuations correspond to the influence of the head shaking frequency and the heart rate fluctuations, respectively. These weights are determined through data analysis and reflect the actual impact of these physiological indicators on driving safety. λ is the baseline sensitivity coefficient. By adjusting its value, the sensitivity of the reaction to deviations from the historical average can be controlled. The higher the λ value, the greater the impact of the current value deviating from the historical average. It is usually adjusted to the most suitable level in the experimental environment through optimization algorithms and simulation tests. μ H represents the historical average of head shaking, μ R Represents the historical average of head shake, which is used to normalize the current value so that it can be compared with historical data. The determination of these parameters involves multiple iterations of testing and analysis of historical test data to ensure the accuracy of the driving state index.

[0073] In the first part of the formula, we use the exponential function e λ×(H−μH) and e λ×(R−μR) The purpose of weighting head shaking and heart rate fluctuations is to emphasize the deviations between these indicators and their historical averages. This approach amplifies the impact of abnormal data through an exponential response, making the formula more sensitive to sudden changes in the driver's state. For example, if the driver's head shaking suddenly increases, this may indicate that the driver is experiencing more distracting moments. The exponential function amplifies this increase, giving it a greater weight in the driving state index. The denominator is divided by their historical average μ H and μ R, the formula normalizes these measurements. This can eliminate the differences in the original measurement scales between different drivers, making the state index more universal and comparable. When the frequency of head shaking and heart rate fluctuations increases, the corresponding parts in the formula increase, resulting in an increase in the overall driving state index P. The increase in the driving state index indicates an increase in driving risk, reflecting that the driver may be in a higher risk state. This design enables the driving state index to sensitively capture changes in key physiological and behavioral indicators that affect driving safety, thereby providing data support for timely safety intervention.

[0074] For example, a driver normally shakes his head 5 times per minute on average, and his heart rate is 70 times per minute on average. During a trip, the monitored data shows that the head shaking frequency increases to 10 times per minute, and the heart rate increases to 90 times per minute. If λ is set to 0.1, α is set to 0.6, and β is set to 0.4, the first part of the contribution to the driving state index is calculated as k(0.6510×e 0.1×(10−5) +0.47090×e 0.1×(90−70) ), this calculation result will show a high driving state index, reflecting that the driver may be in a state of high alert or stress, thus prompting the need to take certain safety measures or adjustments. Through such calculations, the system can dynamically adjust the monitoring and support of the driver to improve overall driving safety.

[0075] The second part describes the comprehensive impact of the average driving speed and the driving time corresponding to the target period on the driving state index. The average driving speed V reflects the average speed of the vehicle during driving. Speed ​​is a key factor affecting the severity of accidents and reaction time. Higher speeds are usually associated with higher risks. The driving time T corresponding to the target period can affect the driver's fatigue level. Long-term driving may lead to decreased attention and slower reaction ability. The greater the average speed V and the longer the driving time T, the greater the cumulative reaction time, and the corresponding driving state index will increase. log(1+V×T) This is a logarithmic function that processes the product of speed and time V×T. The logarithmic function is used here to smooth the raw data and convert the product of speed and time into a slowly growing value, thereby avoiding large risk assessment fluctuations due to small changes in speed or time. The logarithmic form helps to reduce the impact of extreme values ​​and make risk assessment more robust. (log(1+V×T)) V / μV This overall expression is obtained by raising the logarithmic result to a value consisting of V / μ V The index determined by V / μ further adjusts the impact of speed on risk assessment. V Is a proportional factor that reflects the current speed V and the average speed μ V When V is greater than μ VWhen V is less than μ, this scaling factor is greater than 1, which enhances the risk assessment when the speed is above the average; when V is less than μ V When the proportional factor is less than 1, the risk impact of speeds below the average speed is reduced. The main purpose of this expression is to flexibly adjust the impact of speed V and driving time T on risk assessment. Through this mathematical processing, the combined impact of speed and time on safety in the actual driving environment can be more accurately reflected, ensuring that the calculation of the driving state index can capture the risk impact of speed and time changes without being distorted by extreme or accidental data fluctuations. This method helps to create a more accurate and reliable driving risk assessment model, providing strong data support for driving safety analysis and decision-making.

[0076] Assume two drivers in different driving scenarios: In the case of driver A, the average driving speed V is 120 km / h, the driving time T is 2 hours, and the reference value of speed μ is V is 100 km / h, for driver B, the average driving speed V is 80 km / h, the driving time T is 2 hours, and the reference value of speed μ V For the two drivers, V×T is calculated first: Driver A: V×T=120×2=240, Driver B: V×T=80×2=160. Then the logarithmic function is applied: Driver A: log(1+240)≈5.48, Driver B: log(1+160)≈5.08. The exponential part V / μ in the formula is applied. V To adjust the logarithmic result: Driver A: V / μ V =120 / 100=1.2, driver B: V / μ V =80 / 100=0.8, raise the logarithmic result to the corresponding exponent: Driver A: 5.48 1.2 ≈7.59, Driver B: 5.08 0.8 ≈4.71. From the calculation results, it can be seen that the risk assessment score of driver A is significantly higher than that of driver B. This is because driver A's driving speed is higher than the average speed and maintained for a long time. According to the formula, the contribution of speed to risk is amplified in this case. On the contrary, although driver B also drove for 2 hours, his speed was lower than the average, so the contribution of speed to risk was relatively reduced. This formula partially and effectively reflects the joint impact of speed and driving time, and adjusts its impact on the overall risk assessment according to the speed relative to a reference speed. This processing method makes the driving state index not only dependent on a single speed or time parameter, but combines the interactive effect of the two, providing a more accurate and dynamic perspective for driving risk assessment.

[0077] The third part describes the comprehensive impact of the acceleration change frequency on the driving state index. The acceleration change frequency A represents the number of accelerations and decelerations within a certain period of time, reflecting the aggressiveness of driving behavior. High-frequency acceleration or deceleration is usually associated with aggressive driving behavior and may increase the risk of accidents. The average value of the acceleration change μ A It is the statistical average of acceleration changes based on historical data or similar driving situations, and is used as a standard to evaluate whether the current driving behavior deviates from the norm. The preset standard deviation σ is used to quantify the dispersion of acceleration changes and affects the sensitivity of the tanh function, that is, how much the acceleration change deviates from the average value will be considered significant. tanh(A−μ A / σ) The hyperbolic tangent function can transform A to μ A The deviation from A is converted into a smooth, well-defined output (between −1 and 1). By adjusting the size of σ, we can control how much deviation is considered significant, that is, the larger this ratio, the closer the output of the tanh function is to −1 or 1. 1+tanh(A−μ A / σ) This expression transforms the tanh function output range from (−1, 1) to (0, 2). This means that even without any significant change in acceleration (i.e., A and μ A equal), the expression also returns 1, indicating the baseline risk level. A , the output will be adjusted towards 2 or 0, indicating a higher or lower risk level, respectively.

[0078] In the third part of the formula, when A=μ A (i.e., the frequency of acceleration changes is equal to the average value), the output of the tanh function is 0, so the value of the entire expression is 1, indicating average risk or standard driving conditions. A (i.e., the frequency of acceleration changes is higher than the average), the output of the tanh function is positive, close to 1, which increases the value of the entire expression, up to a maximum of 2. This indicates that the driving behavior is more aggressive than average, and the risk level increases accordingly. A (i.e., the frequency of acceleration changes is lower than the average), the output of the tanh function is negative, close to −1, which reduces the value of the entire expression and can reach a minimum of 0, indicating that the driving behavior is more conservative than the average and the risk level is reduced accordingly. Through the calculation of the formula in the third part, the driving state index not only considers the absolute frequency of acceleration changes, but also its deviation from the expected or average behavior. This enables the driving state index to more accurately reflect the risk level of driving behavior, thereby providing an important quantitative basis for driving safety monitoring and evaluation. This method is particularly suitable for real-time monitoring systems and driving behavior analysis, helping to identify potential high-risk driving behaviors and taking preventive measures.

[0079] Suppose there are two drivers, driver C and driver D, driving under the same road conditions. Driver C accelerates and decelerates 30 times in an hour, while driver D only accelerates and decelerates 10 times in the same hour. Suppose the average acceleration change frequency μ A The frequency of acceleration change is 20 times, the standard deviation σ is 5, and for driver C, the frequency of acceleration change is 30. Using the formula (1+tanh(30−20 / 5)), the input of the tanh function is calculated to be 2, and its output is close to 1. Therefore, the value of the entire expression is close to 2, which indicates that driver C's driving behavior is relatively aggressive and may bring higher risks. In contrast, the frequency of acceleration change of driver D is 10. Using the formula (1+tanh(10−20 / 5)), the input of the tanh function is calculated to be -2, and its output is close to -1. Therefore, the value of the entire expression is close to 0, which indicates that driver D's driving behavior is relatively conservative and may bring lower risks.

[0080] In summary, the preset index formula comprehensively considers the driver's head shaking frequency, heart rate fluctuation frequency, average driving speed and acceleration change frequency, and performs quantitative evaluation, so as to more accurately judge the driver's current driving status and provide data reference for subsequent call transfers.

[0081] Based on the above embodiment, as an optional embodiment, in step 104: obtaining the posture data of the driver's helmet, the driver's heart rate data and the speed data of the target vehicle, after this step, the following steps may also be included:

[0082] Step 405: Obtain the inclination data of the target vehicle; when the rate of change of the inclination data is greater than the angular velocity threshold, it is determined that the target vehicle is in a curve driving state.

[0083] Specifically, in order to timely identify the target vehicle's curved driving state, the system collects the vehicle's inclination data in real time through the inclination sensor installed on the vehicle. The system uses a high-precision angle sensor to continuously obtain the vehicle's inclination values ​​in both the lateral and longitudinal directions at a sampling frequency of 100Hz, and calculates the rate of change of the inclination over time. When it is detected that the rate of change of the inclination data exceeds the preset angular velocity threshold (such as 3 degrees / second), the system determines that the target vehicle is driving on a curve. This curve recognition method based on the inclination change rate can accurately capture the moment when the vehicle enters the curve, providing a reliable trigger basis for subsequent safety monitoring.

[0084] Step 406: In response to the curve driving state, obtain the gyroscope data of the driver's helmet; based on the gyroscope data, determine the rotation direction of the driver's helmet, and based on the inclination data, determine the tilt direction of the target vehicle.

[0085] Specifically, once it is confirmed that the vehicle is in a curve driving state, the system immediately starts monitoring the driver's helmet posture. Through the nine-axis gyroscope sensor built into the driver's helmet, the system collects the angular velocity and direction data of the helmet at a frequency of 200Hz. The system processes the gyroscope data through integral operations to obtain the real-time rotation direction of the helmet in three-dimensional space. At the same time, based on the aforementioned acquired inclination data, the system determines the actual tilt direction of the target vehicle through vector decomposition calculation. This dual posture monitoring mechanism can grasp the relationship between the driver's head movement and the vehicle's motion state in real time, providing an accurate judgment basis for safety warnings.

[0086] Step 407: When the rotation direction is opposite to the tilt direction of the target vehicle, a safety prompt message is sent to the driver's helmet through the second Bluetooth module. The safety prompt message includes a vibration prompt signal and a warning audio signal. The intensity of the vibration prompt signal is proportional to the rate of change of the tilt angle data.

[0087] Specifically, the system compares the rotation direction of the driver's helmet with the tilt direction of the vehicle. When it is found that the two directions are opposite, it means that the driver's observation behavior may affect driving safety. At this time, the system immediately sends a safety reminder message to the driver's helmet through the second Bluetooth module. The reminder message contains two parts: one is the tactile feedback generated by the built-in vibration device of the helmet. The vibration intensity is dynamically adjusted according to the formula P=k×R (where P is the vibration intensity, k is the proportional coefficient, and R is the rate of change of the inclination angle) to ensure that the prompt is more obvious when the angle of the curve is larger; the second is the warning audio signal played through the helmet speaker, using a warning tone of a specific frequency to remind the driver to pay attention to driving safety. This multi-modal reminder mechanism can effectively transmit safety warning information without affecting the driver's operation, helping the driver to adjust his observation behavior in time and improve the safety of driving on curves.

[0088] Step 105: When the driving state index is greater than the index threshold, the mobile phone call signal is transferred to the passenger helmet through the third Bluetooth module to complete the call operation.

[0089] Among them, the index threshold refers to the critical value for judging whether the driving state is dangerous.

[0090] Specifically, in order to ensure driving safety and not miss important calls, the system implements an intelligent call forwarding function based on the driving state index. The system sets a driving state index threshold (such as 75 points). When the driving state index is detected to be greater than the threshold, it indicates that the driver is in a good driving state. At this time, if there is an incoming call signal, the system will determine that it is not suitable for the driver to answer it directly. At this time, the system uses the third Bluetooth module as a signal relay to automatically forward the incoming call signal of the mobile phone to the passenger helmet. During the forwarding process, the third Bluetooth module first establishes an audio transmission connection with the mobile phone, and at the same time establishes a Bluetooth communication link with the passenger helmet, transmitting the audio signal from the mobile phone to the passenger helmet, so that the passenger can answer and handle the call on behalf of the driver. This intelligent forwarding mechanism based on the driving state index not only ensures that the driver can focus on driving operations and avoid the safety hazards caused by answering the phone, but also ensures the communication needs by assisting the passenger in handling the call, thereby improving the safety and communication convenience during driving. At the same time, since the forwarding judgment is based on the real-time driving state index, the system can make more intelligent and reasonable forwarding decisions based on the actual state of the driver.

[0091] Based on the above embodiment, as an optional embodiment, in step 105: transferring the incoming call signal of the mobile phone to the passenger helmet through the third Bluetooth module to complete the call operation, this step may also include the following steps:

[0092] Step 501: Acquire an audio data stream in a mobile phone incoming call signal; sample the audio data stream at a preset sampling interval to obtain an audio sampling sequence, and perform noise elimination processing on the audio sampling sequence to obtain a first noise reduction audio sequence.

[0093] Specifically, when making a call during high-speed driving, due to the large interference of environmental noise, it is necessary to perform noise reduction processing on the call audio to improve the call quality. The system first receives the incoming call signal of the mobile phone through the third Bluetooth module, and extracts the audio data stream from it, which contains the voice information and environmental noise during the call. In order to achieve efficient noise reduction processing, the system samples the audio data stream according to the preset sampling interval (such as every 20 milliseconds) to generate an audio sampling sequence. Then, the system uses an adaptive noise elimination algorithm to process the audio sampling sequence: first, the audio signal is converted to the frequency domain using the fast Fourier transform to analyze the spectral characteristics of the signal; then, the noise components in the current audio are identified and extracted through the environmental noise feature library, which contains common driving environment noise patterns (such as wind noise, engine noise, etc.); finally, the identified noise components are suppressed using an adaptive filter, and the processed signal is converted back to the time domain through the inverse Fourier transform to obtain the first noise reduction frequency sequence. This noise reduction processing method based on frequency domain analysis can effectively reduce the impact of environmental noise on call quality, while maximally retaining the clarity of the original voice information, thereby improving the call experience during driving.

[0094] Step 502: Acquire ambient noise data of a passenger helmet, and perform volume gain processing on the first noise reduction audio sequence based on the ambient noise data to obtain a target audio sequence.

[0095] Specifically, in order to ensure that passengers can clearly hear the content of the call in different driving environments, the system needs to adaptively adjust the audio playback volume according to the real-time environmental noise level. The system continuously collects environmental noise data through the environmental sound collection device built into the passenger helmet, which reflects the current noise level around the passenger helmet. The system first calculates the decibel value of the environmental noise data to obtain the noise intensity of the current environment; then designs a dynamic gain curve based on the noise intensity value, providing a higher volume gain when the environmental noise is large (such as high wind noise when driving at high speed), and a lower volume gain when the environmental noise is small (such as driving at low speed). The system applies the calculated gain coefficient to the first noise reduction audio sequence, adjusts the volume of the audio signal in real time, and ensures that the volume after gain processing does not exceed the safe hearing threshold, and finally obtains the target audio sequence adapted to the current environment. This adaptive volume gain processing method based on environmental noise can ensure the clarity of the call while avoiding damage to the hearing caused by excessive volume, providing a more comfortable and safe call experience.

[0096] Step 503: The target audio sequence is packetized according to a preset data packet size to obtain multiple audio data packets; each audio data packet is sent to the passenger helmet in sequence through the third Bluetooth module, and after each audio data packet is sent, a data packet confirmation message returned by the passenger helmet is received.

[0097] Specifically, the processed target audio sequence is packetized according to a preset data packet size (such as 20KB), and the continuous audio data stream is divided into multiple audio data packets of equal size, each of which contains audio data of fixed duration and packet sequence number information. The system sends these audio data packets to the passenger helmet in sequence in sequence through the third Bluetooth module. After sending each data packet, the system waits for the data packet confirmation information returned by the passenger helmet. The confirmation information contains the receiving status of the data packet (successful reception or reception failure) and the packet sequence number. If the system does not receive the confirmation information or receives the confirmation information of reception failure within the preset timeout period, the data packet will be automatically retransmitted. This data transmission scheme based on packet transmission and confirmation mechanism can effectively deal with the data loss or transmission error problems that may occur during Bluetooth communication, ensure the integrity and continuity of audio data, and thus ensure the fluency and clarity of the call process. At the same time, by reasonably setting the data packet size and timeout period, the system can maintain a low transmission delay while ensuring transmission reliability, providing a better real-time call experience.

[0098] Step 504: During the transmission of any audio data packet, if the data packet confirmation information is not received within the preset waiting time, the corresponding audio data packet is resent until the data packet confirmation information is received or the preset retransmission times are reached.

[0099] Specifically, in the actual Bluetooth communication process, electromagnetic interference, signal attenuation and other factors may cause data transmission failure. In order to improve communication reliability, the system implements an intelligent retransmission mechanism. After the system sends an audio data packet through the third Bluetooth module, it will start a timer to monitor the reception of confirmation information. If the data packet confirmation information returned by the passenger helmet is not received within the preset waiting time (such as 100 milliseconds), the system will determine that the data packet may fail to transmit, and the retransmission process will be started immediately. During the retransmission process, the system will resend the audio data packet with the same sequence number and wait for the return of the confirmation information again. If the confirmation information is still not received, the system will continue to retransmit until the confirmation information is successfully received or the preset number of retransmissions (such as 3 times) is reached. When the confirmation information is still not received after the preset number of retransmissions, the system will abandon the transmission of the data packet and continue to send subsequent data packets. At the same time, the audio compensation algorithm (such as audio frame interpolation) is used at the application layer to compensate for the audio discontinuity caused by the lost data packet. This reliable transmission mechanism based on timeout retransmission can maximize the transmission integrity of audio data in complex driving environments. By reasonably setting the waiting time and number of retransmissions, it ensures communication reliability while avoiding the accumulation of delays caused by excessive retransmissions, thereby achieving better real-time call effects.

[0100] Based on the above embodiment, as an optional embodiment, in step 504: resending the corresponding audio data packet until receiving the data packet confirmation information or reaching the preset resending times, after this step, the following steps may also be included:

[0101] Step 514: Obtain the signal strength, bit error rate and signal delay between the third Bluetooth module and the passenger helmet; when the signal strength or bit error rate or signal delay meets the preset communication abnormality condition, control the vehicle navigation system to perform voice broadcast and screen display to prompt the passenger helmet Bluetooth communication abnormality, and obtain the location information of the passenger helmet.

[0102] Specifically, during driving, in order to promptly discover and deal with Bluetooth communication quality problems, the system needs to monitor the communication status in real time. The system continuously collects communication quality parameters between the passenger helmet and the third Bluetooth module, including signal strength (RSSI value), data transmission bit error rate, and end-to-end signal delay. When the signal strength is detected to be lower than the preset threshold (such as -80dBm), the bit error rate exceeds the allowable range (such as 1%), or the signal delay is too high (such as 200ms), the system determines that the current Bluetooth communication status is abnormal. At this time, the system will immediately issue a voice prompt through the on-board navigator "Passenger helmet Bluetooth communication abnormality is detected, please check the helmet position and wearing status", and display a warning message and specific abnormal parameters on the navigator screen. In order to assist in troubleshooting, the system will also obtain the real-time location information of the passenger helmet, and determine the spatial position of the helmet relative to the vehicle through the built-in positioning module. These location data can help determine whether the communication abnormality is caused by too far distance or obstructions. This communication anomaly detection mechanism based on multi-parameter monitoring can quickly issue an early warning when communication quality deteriorates, reminding drivers and passengers to take timely adjustment measures (such as adjusting the position of the helmet, checking the battery level, etc.), effectively preventing the safety hazards that may be caused by communication interruptions and improving system reliability and user experience.

[0103] Step 524: Determine whether the passenger helmet is within the effective communication range; if the passenger helmet is not within the effective communication range, forward the audio data packet to the driver helmet via the second Bluetooth module.

[0104] Specifically, in order to solve the communication problem when the passenger helmet is beyond the direct communication range, the system designs a relay forwarding mechanism based on the driver's helmet. The system first determines whether it is within the effective communication range by analyzing the location information and communication quality parameters of the passenger helmet. The specific judgment criteria include whether the signal strength is lower than the communication threshold (such as -85dBm), whether the location distance exceeds the effective range (such as 10 meters), and whether data transmission failure continues. When the system confirms that the passenger helmet has exceeded the effective communication range, it will automatically start the relay forwarding mode: the system forwards the audio data packet originally sent to the passenger helmet to the driver's helmet through the second Bluetooth module, and the driver's helmet acts as a relay node to forward the data packet to the passenger helmet. In this process, the driver's helmet will add a relay identifier and routing information to the received audio data packet to ensure that the data packet can correctly reach the target helmet. This communication scheme based on multi-hop transmission significantly expands the effective communication range of the system, and can maintain a stable communication connection even when there is a large distance or obstruction between the passenger and the vehicle. In addition, the system also implements a dynamic switching mechanism. When it is detected that the passenger helmet re-enters the direct communication range, it will automatically switch back to the direct communication mode, thereby optimizing communication performance and system resource utilization.

[0105] Step 534: If the passenger helmet is within the effective communication range, the transmission power of the third Bluetooth module is adjusted step by step according to the preset step size until the signal strength, bit error rate and signal delay are all within the standard parameter range.

[0106] Specifically, in order to optimize the energy consumption of the Bluetooth module while ensuring the communication quality, the system designs an adaptive power adjustment mechanism. When it is confirmed that the passenger helmet is within the effective communication range but the communication quality is poor, the system will start the dynamic adjustment strategy of the transmission power: first, the current communication quality parameters, including signal strength, bit error rate and signal delay, are obtained, and these parameters are compared with the preset standard parameter range (such as signal strength should be kept above -75dBm, bit error rate should be less than 0.5%, and signal delay should be less than 150ms). The system uses a preset step size (such as 2dBm) to gradually adjust the transmission power of the third Bluetooth module, and waits for 100ms after each adjustment to observe the change trend of the communication parameters. If the parameter still does not reach the standard range, the transmission power continues to be adjusted according to the same step size until all communication parameters meet the requirements or the maximum transmission power limit of the Bluetooth module is reached. This feedback-based power adjustment method can not only respond quickly when the communication quality fluctuates, but also avoid unnecessary energy consumption by accurately controlling the transmission power.

[0107] Reference Figure 2, a Bluetooth communication system based on a navigator is provided in an embodiment of the present application, the system comprises: a signal receiving module, a first communication module, a driving state index determination module, and a second communication module, wherein:

[0108] A signal receiving module is used to establish a communication connection between a first Bluetooth module, a second Bluetooth module and a third Bluetooth module, wherein the first Bluetooth module is connected to a user's mobile phone, the second Bluetooth module is connected to a driver's helmet, and the third Bluetooth module is connected to a passenger's helmet; receive a driver's mobile phone incoming call signal, and send the mobile phone incoming call signal to the vehicle navigation system through the first Bluetooth module for incoming call prompt;

[0109] The first communication module is used for responding to the driver's answering operation after the incoming call prompt, and forwarding the mobile phone call signal to the driver's helmet through the second Bluetooth module;

[0110] A driving state index determination module is used to obtain the posture data of the driver's helmet, the driver's heart rate data and the speed data of the target vehicle, and calculate the driver's current driving state index based on the posture data, heart rate data and speed data;

[0111] The second communication module is used to transfer the incoming call signal of the mobile phone to the passenger helmet through the third Bluetooth module to complete the call operation when the driving state index is greater than the index threshold.

[0112] Based on the above embodiment, the signal receiving module is also used to set the first Bluetooth module as the master module, and set the second Bluetooth module and the third Bluetooth module as slave modules; send a pairing request to the second Bluetooth module and the third Bluetooth module through the first Bluetooth module; receive pairing confirmation information returned by the second Bluetooth module and the third Bluetooth module; and establish a communication link between the master module and the slave module based on the pairing confirmation information.

[0113] On the basis of the above embodiment, the signal receiving module is also used to obtain the caller number in the mobile phone incoming call signal; when the caller number belongs to the preset emergency contact list, a first caller prompt message is sent to the vehicle navigation system through the first Bluetooth module, and the first caller prompt message is used to trigger the vehicle navigation system to perform a light prompt; when the caller number does not belong to the preset emergency contact list, it is determined whether the current speed of the target vehicle is greater than the speed threshold; if the speed is greater than or equal to the speed threshold, a second caller prompt message is sent to the vehicle navigation system through the first Bluetooth module, and the second caller prompt message is used to trigger the vehicle navigation system to perform a voice prompt; if the speed is less than the speed threshold, the caller number is shielded.

[0114] Based on the above embodiments, the driving state index determination module is also used to determine the frequency of the driver's head shaking within the target time period based on the head tilt angle sequence in the posture data; determine the number of heart rate fluctuations of the driver within the target time period based on the heart rate value sequence in the heart rate data; calculate the average driving speed and acceleration change frequency of the target vehicle within the target time period based on the speed sequence in the vehicle speed data; and calculate the driver's current driving state index based on the driver's head shaking frequency, heart rate fluctuation number, average driving speed and acceleration change frequency within the target time period.

[0115] On the basis of the above embodiment, the second communication module is also used to obtain the audio data stream in the mobile phone incoming call signal; sample the audio data stream according to a preset sampling interval to obtain an audio sampling sequence, and perform noise elimination processing on the audio sampling sequence to obtain a first noise reduction audio sequence; obtain the ambient noise data of the passenger helmet, and perform volume gain processing on the first noise reduction audio sequence based on the ambient noise data to obtain a target audio sequence; packetize the target audio sequence according to a preset data packet size to obtain multiple audio data packets; send each audio data packet to the passenger helmet in sequence through the third Bluetooth module, and receive the data packet confirmation information returned by the passenger helmet after each audio data packet is sent; during the sending process of any audio data packet, if the data packet confirmation information is not received within the preset waiting time, the corresponding audio data packet is resent until the data packet confirmation information is received or the preset number of retransmissions is reached.

[0116] On the basis of the above embodiment, the second communication module is also used to obtain the signal strength, bit error rate and signal delay between the third Bluetooth module and the passenger helmet; when the signal strength or bit error rate or signal delay meets the preset communication abnormality conditions, the vehicle navigation system is controlled to perform voice broadcast and screen display to prompt the passenger helmet of the Bluetooth communication abnormality, and obtain the location information of the passenger helmet; determine whether the passenger helmet is within the effective communication range; if the passenger helmet is not within the effective communication range, the audio data packet is forwarded to the driver's helmet through the second Bluetooth module; if the passenger helmet is within the effective communication range, the transmission power of the third Bluetooth module is adjusted step by step according to the preset step size until the signal strength, bit error rate and signal delay are all within the standard parameter range.

[0117] On the basis of the above embodiment, the driving state index determination module is also used to obtain the inclination data of the target vehicle; when the change rate of the inclination data is greater than the angular velocity threshold, it is determined that the target vehicle is in a curve driving state; in response to the curve driving state, the gyroscope data of the driver's helmet is obtained; based on the gyroscope data, the rotation direction of the driver's helmet is determined, and based on the inclination data, the inclination direction of the target vehicle is determined; when the rotation direction is opposite to the inclination direction of the target vehicle, a safety prompt information is sent to the driver's helmet through the second Bluetooth module, and the safety prompt information includes a vibration prompt signal and a warning audio signal, and the intensity of the vibration prompt signal is proportional to the change rate of the inclination data.

[0118] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0119] The present application also discloses an electronic device. Figure 3 , Figure 3 The electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .

[0120] The communication bus 302 is used to realize the connection and communication between these components.

[0121] The user interface 303 may include a display interface and a camera interface. Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.

[0122] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0123] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface diagrams and applications, etc.; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.

[0124] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may optionally also be at least one storage device located away from the aforementioned processor 301. Refer to Figure 3 The memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program based on a Bluetooth communication method of a navigator.

[0125] exist Figure 3In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 301 can be used to call the application program storing a Bluetooth communication method based on the navigator in the memory 305, and when executed by one or more processors 301, the electronic device 300 executes one or more methods in the above-mentioned embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0126] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0127] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0128] 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 units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0129] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0130] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.

[0131] The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and practice, those skilled in the art will easily think of other embodiments of the present disclosure.

[0132] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not recorded in the present disclosure. The description and examples are to be regarded as exemplary only.

Claims

1. A Bluetooth communication method based on a navigator, characterized in that: include: Establishing communication connections among a first Bluetooth module, a second Bluetooth module, and a third Bluetooth module, wherein the first Bluetooth module is connected to a user's mobile phone, the second Bluetooth module is connected to a driver's helmet, and the third Bluetooth module is connected to a passenger's helmet; Receiving a call signal from a driver's mobile phone, and sending the call signal to the vehicle navigation system through the first Bluetooth module for a call reminder; In response to the driver's answering operation after the incoming call prompt, the incoming call signal of the mobile phone is transferred to the driver's helmet through the second Bluetooth module; Acquiring posture data of the driver's helmet, heart rate data of the driver, and speed data of the target vehicle, and calculating the driver's current driving state index based on the posture data, the heart rate data, and the speed data; When the driving state index is greater than the index threshold, the incoming call signal of the mobile phone is transferred to the passenger helmet through the third Bluetooth module to complete the call operation; The receiving of the driver's mobile phone call signal and sending the mobile phone call signal to the vehicle navigation system through the first Bluetooth module for incoming call prompting includes: Obtaining the incoming call number in the incoming call signal of the mobile phone; When the incoming call number belongs to the preset emergency contact list, sending a first incoming call prompt message to the vehicle-mounted navigation system through the first Bluetooth module, wherein the first incoming call prompt message is used to trigger the vehicle-mounted navigation system to perform a light prompt; When the incoming call number does not belong to the preset emergency contact list, determining whether the current speed of the target vehicle is greater than a speed threshold; If the vehicle speed is greater than or equal to the vehicle speed threshold, sending a second incoming call prompt message to the vehicle navigation system through the first Bluetooth module, wherein the second incoming call prompt message is used to trigger the vehicle navigation system to make a voice prompt; If the vehicle speed is less than the vehicle speed threshold, shielding the incoming call number; The response, based on the posture data, the heart rate data and the vehicle speed data, calculates the current driving state index of the driver, comprising: Determining the frequency of the driver's head shaking within a target period of time based on a head tilt angle sequence in the posture data; determining the number of heart rate fluctuations of the driver within a target period based on a sequence of heart rate values ​​in the heart rate data; Calculating the average driving speed and acceleration change frequency of the target vehicle within a target period of time based on the speed sequence in the vehicle speed data; Calculate the driver's current driving state index by combining the driver's head shaking frequency, heart rate fluctuation frequency, average driving speed, and acceleration change frequency within the target time period; The method of transferring the incoming call signal of the mobile phone to the passenger helmet through the third Bluetooth module to complete the call operation includes: Obtaining the audio data stream in the incoming call signal of the mobile phone; Sampling the audio data stream according to a preset sampling interval to obtain an audio sampling sequence, and performing noise elimination processing on the audio sampling sequence to obtain a first noise reduction audio sequence; Acquire environmental noise data of the passenger helmet, and perform volume gain processing on the first noise reduction audio sequence based on the environmental noise data to obtain a target audio sequence; The target audio sequence is packetized according to a preset data packet size to obtain multiple audio data packets; Sending each of the audio data packets to the passenger helmet in sequence through the third Bluetooth module, and receiving data packet confirmation information returned by the passenger helmet after each of the audio data packets is sent; During the transmission of any audio data packet, if the data packet confirmation information is not received within the preset waiting time, the corresponding audio data packet is resent until the data packet confirmation information is received or the preset number of retransmissions is reached.

2. The Bluetooth communication method based on the navigator according to claim 1, characterized in that: The establishing of a communication connection between the first Bluetooth module, the second Bluetooth module, and the third Bluetooth module includes: Setting the first Bluetooth module as a master module, and setting the second Bluetooth module and the third Bluetooth module as slave modules; Sending a pairing request to the second Bluetooth module and the third Bluetooth module through the first Bluetooth module; Receiving pairing confirmation information returned by the second Bluetooth module and the third Bluetooth module; A communication link between the master module and the slave module is established according to the pairing confirmation information.

3. The Bluetooth communication method based on the navigator according to claim 1, characterized in that: If the data packet confirmation information is not received within the preset waiting time, the corresponding audio data packet is resent until the preset number of retransmissions is reached, and further includes: Obtaining the signal strength, bit error rate and signal delay between the third Bluetooth module and the passenger helmet; When the signal strength or the bit error rate or the signal delay meets the preset communication abnormality condition, the vehicle navigation system is controlled to perform voice broadcast and screen display to prompt the passenger helmet that the Bluetooth communication is abnormal, and obtain the position information of the passenger helmet; Determining whether the passenger helmet is within an effective communication range; If the passenger helmet is not within the effective communication range, forwarding the audio data packet to the driver helmet via the second Bluetooth module; If the passenger helmet is within the effective communication range, the transmission power of the third Bluetooth module is adjusted step by step according to a preset step size until the signal strength, the bit error rate and the signal delay are all within the standard parameter range.

4. The Bluetooth communication method based on a navigator according to claim 1, characterized in that: After acquiring the posture data of the driver's helmet, the heart rate data of the driver, and the speed data of the target vehicle, the method further includes: Acquiring inclination data of the target vehicle; When the rate of change of the inclination angle data is greater than an angular velocity threshold, it is determined that the target vehicle is in a curve driving state; In response to the curve driving state, acquiring gyroscope data of the driver's helmet; Based on the gyroscope data, determining the rotation direction of the driver's helmet, and based on the inclination data, determining the tilt direction of the target vehicle; When the rotation direction is opposite to the tilt direction of the target vehicle, safety prompt information is sent to the driver's helmet through the second Bluetooth module. The safety prompt information includes a vibration prompt signal and a warning audio signal. The intensity of the vibration prompt signal is proportional to the rate of change of the tilt angle data.

5. A Bluetooth communication system based on a navigator, characterized in that: The system comprises: A signal receiving module is used to establish a communication connection between a first Bluetooth module, a second Bluetooth module and a third Bluetooth module, wherein the first Bluetooth module is connected to a user's mobile phone, the second Bluetooth module is connected to a driver's helmet, and the third Bluetooth module is connected to a passenger's helmet; receive a driver's mobile phone incoming call signal, and send the mobile phone incoming call signal to the vehicle navigation system through the first Bluetooth module for incoming call prompt; A first communication module, configured to respond to the driver's answering operation after the incoming call prompt, and forward the incoming call signal of the mobile phone to the driver's helmet through the second Bluetooth module; A driving state index determination module, used to obtain the posture data of the driver's helmet, the heart rate data of the driver and the speed data of the target vehicle, and calculate the current driving state index of the driver based on the posture data, the heart rate data and the speed data; A second communication module is used for transferring the incoming call signal of the mobile phone to the passenger helmet through the third Bluetooth module to complete the call operation when the driving state index is greater than the index threshold; The receiving of the driver's mobile phone call signal and sending the mobile phone call signal to the vehicle navigation system through the first Bluetooth module for incoming call prompting includes: Obtaining the incoming call number in the incoming call signal of the mobile phone; When the incoming call number belongs to the preset emergency contact list, sending a first incoming call prompt message to the vehicle-mounted navigation system through the first Bluetooth module, wherein the first incoming call prompt message is used to trigger the vehicle-mounted navigation system to perform a light prompt; When the incoming call number does not belong to the preset emergency contact list, determining whether the current speed of the target vehicle is greater than a speed threshold; If the vehicle speed is greater than or equal to the vehicle speed threshold, sending a second incoming call prompt message to the vehicle navigation system through the first Bluetooth module, wherein the second incoming call prompt message is used to trigger the vehicle navigation system to make a voice prompt; If the vehicle speed is less than the vehicle speed threshold, shielding the incoming call number; The response, based on the posture data, the heart rate data and the vehicle speed data, calculates the current driving state index of the driver, comprising: Determining the frequency of the driver's head shaking within a target period of time based on a head tilt angle sequence in the posture data; determining the number of heart rate fluctuations of the driver within a target period based on a sequence of heart rate values ​​in the heart rate data; Calculating the average driving speed and acceleration change frequency of the target vehicle within a target period of time based on the speed sequence in the vehicle speed data; Calculate the driver's current driving state index by combining the driver's head shaking frequency, heart rate fluctuation frequency, average driving speed, and acceleration change frequency within the target time period; The method of transferring the incoming call signal of the mobile phone to the passenger helmet through the third Bluetooth module to complete the call operation includes: Obtaining the audio data stream in the incoming call signal of the mobile phone; Sampling the audio data stream according to a preset sampling interval to obtain an audio sampling sequence, and performing noise elimination processing on the audio sampling sequence to obtain a first noise reduction audio sequence; Acquire environmental noise data of the passenger helmet, and perform volume gain processing on the first noise reduction audio sequence based on the environmental noise data to obtain a target audio sequence; The target audio sequence is packetized according to a preset data packet size to obtain multiple audio data packets; Sending each of the audio data packets to the passenger helmet in sequence through the third Bluetooth module, and receiving data packet confirmation information returned by the passenger helmet after each of the audio data packets is sent; During the transmission of any audio data packet, if the data packet confirmation information is not received within the preset waiting time, the corresponding audio data packet is resent until the data packet confirmation information is received or the preset number of retransmissions is reached.

6. An electronic device, characterized in that: It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the navigation-based Bluetooth communication method as described in any one of claims 1-4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the navigation-based Bluetooth communication method according to any one of claims 1 to 4 is executed.

Citation Information

Patent Citations

  • Intelligent helmet integrating multiple functions, control system and control method

    CN112869277A

  • Self-adaptive Bluetooth broadcast method and device, Bluetooth portable equipment and storage medium

    CN115942256A