Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides a method for automatically reducing noise in Bluetooth communication, which is applied to a vehicle-mounted control system in a vehicle, wherein the vehicle-mounted control system is connected with a mobile terminal of a user through Bluetooth; after the vehicle-mounted control system detects that an incoming call or outgoing call signal is received in the Bluetooth service, a series of operations of closing the vehicle window, reducing the gear of the air conditioner and reducing the vehicle speed are performed, so that the environment noise during conversation is reduced, and the experience of Bluetooth conversation in the vehicle is improved.
In order to achieve the above object, in a first aspect, the present invention provides a method for automatically reducing noise in bluetooth call, which is applied to a vehicle-mounted control system in a vehicle, wherein the vehicle-mounted control system is connected with a mobile terminal of a user through bluetooth; the method is characterized by comprising the following steps of:
step S1, the vehicle-mounted control system monitors whether the mobile terminal is in a call state or not through Bluetooth, and when the mobile terminal is in the call state, the vehicle-mounted control system goes to step S2;
s2, the vehicle-mounted control system collects environmental noise in the vehicle and judges:
if the decibel value of the environmental noise is smaller than a set threshold value, exiting;
if the decibel value of the environmental noise is not smaller than the set threshold value, turning to step S3;
s3, the vehicle-mounted control system outputs a first prompt message to remind passengers in the vehicle to reduce the environmental noise;
step S4, the vehicle-mounted control system collects the environmental noise in the vehicle again and judges:
if the decibel value of the environmental noise is smaller than the set threshold value, exiting;
if the decibel value of the environmental noise is still not smaller than the set threshold, turning to step S5;
and S5, the vehicle-mounted control system reduces the decibel value of the environmental noise in a mode of controlling vehicle hardware, and then exits.
Further, in step S4, the vehicle-mounted control system acquires the environmental noise in the vehicle again and determines after 3 seconds of the interval after outputting the first prompt message.
Further, in the step S5, the vehicle-mounted control system reduces the environmental noise by controlling the window to close.
Further, the step S5 specifically includes:
in step S51a, the vehicle-mounted control system determines whether a window of a main driving position of the vehicle is closed:
if yes, go to step S53a;
if not, closing the window of the main driving position, and turning to the step S52a;
step S52a, the vehicle-mounted control system determines whether the current decibel value of the environmental noise is smaller than the set threshold value:
if yes, exiting;
if not, go to step S53a;
step S53a, the vehicle-mounted control system determines whether the window of the co-driver is closed:
if yes, go to step S55a;
if not, closing the windows of the copilot, and turning to the step S54a;
in step S54a, the vehicle-mounted control system determines whether the current decibel value of the ambient noise is smaller than the set threshold value:
if yes, exiting;
if not, turning to step S55a;
step S55a, the vehicle-mounted control system determines whether the window of the rear seat of the main driving seat is closed:
if yes, go to step S57a;
if not, closing the window of the rear seat of the main driving seat, and turning to the step S56a;
step S56a, the vehicle-mounted control system determines whether the current decibel value of the environmental noise is smaller than the set threshold value:
if yes, exiting;
if not, go to step S57a;
step S57a, the vehicle-mounted control system determines whether the window of the rear seat of the co-driver is closed:
if yes, exiting;
if not, the vehicle-mounted control system closes the vehicle window of the front passenger seat and then exits.
Further, in step S5, the vehicle-mounted control system reduces the environmental noise by controlling an air conditioner in the vehicle.
Further, the step S5 specifically includes:
step S51b, the vehicle-mounted control system determines whether the air conditioner in the vehicle is turned on:
if the air conditioner in the vehicle is not started, exiting;
if the air conditioner in the vehicle is started, turning to step S52b;
in step S52b, the vehicle-mounted control system sequentially decreases the air conditioning gear of the air conditioner in the vehicle until the environmental noise is reduced below the set threshold or the air conditioner is turned off, and then exits.
Further, in the step S5, the vehicle-mounted control system reduces the environmental noise by controlling the vehicle speed.
Further, the step S5 specifically includes:
step S51c, the vehicle-mounted control system obtains the current running speed of the vehicle through a hardware interface, and compares the running speed with a preset speed threshold value:
if the running speed exceeds the speed threshold, the vehicle-mounted control system sets the highest speed limit of the vehicle as the speed threshold, and then goes to step S52c;
if the running speed does not exceed the speed threshold, the vehicle-mounted control system sets the highest speed limit of the vehicle as the speed threshold, and then exits;
in step S52c, the vehicle control system outputs a second prompt message to inform the driver to reduce the vehicle speed, and then exits.
Further, the step S5 specifically includes:
in step S501, the on-vehicle control system determines whether a window of a main driving position of the vehicle is closed:
if yes, go to step S503;
if not, closing the window of the main driving position, and turning to step S502;
step S502, the vehicle-mounted control system determines whether the current decibel value of the environmental noise is smaller than the set threshold value:
if yes, exiting;
if not, go to step S503;
step S503, the vehicle-mounted control system determines whether the window of the co-driver is closed:
if yes, go to step S505;
if not, closing the window of the copilot, and turning to step S504;
step S504, the vehicle-mounted control system determines whether the current decibel value of the environmental noise is smaller than the set threshold value:
if yes, exiting;
if not, turning to step S505;
step S505, the vehicle-mounted control system determines whether the window of the rear seat of the main driving seat is closed:
if yes, go to step S507;
if not, closing the window of the rear seat of the main driving seat, and turning to step S506;
step S506, the vehicle-mounted control system determines whether the current decibel value of the environmental noise is smaller than the set threshold value:
if yes, exiting;
if not, turning to step S507;
step S507, the vehicle-mounted control system determines whether the window of the rear seat of the co-driver is closed:
if yes, go to step S509;
if not, closing the window of the rear seat of the copilot, and turning to step S508;
step S508, the vehicle-mounted control system determines whether the current decibel value of the environmental noise is smaller than the set threshold value:
if yes, exiting;
if not, go to step S509;
step S509, the vehicle-mounted control system determines whether the air conditioner in the vehicle is turned on:
if the air conditioner in the vehicle is not started, turning to step S512;
if the air conditioner in the vehicle is started, turning to step S510;
step S510, the vehicle-mounted control system sequentially decreases the air conditioning gear of the air conditioner in the vehicle until the environmental noise decreases below the set threshold or the air conditioner is turned off, and then the step S511 is turned to;
in step S511, the vehicle-mounted control system determines whether the current decibel value of the ambient noise is smaller than the set threshold value:
if yes, exiting;
if not, go to step S512;
step S512, the vehicle-mounted control system obtains the current running speed of the vehicle through a hardware interface, and compares the running speed with a preset speed threshold value:
if the running speed exceeds the speed threshold, the vehicle-mounted control system sets the highest speed limit of the vehicle as the speed threshold, and then proceeds to step S513;
if the running speed does not exceed the speed threshold, the vehicle-mounted control system sets the highest speed limit of the vehicle as the speed threshold, and then exits;
in step S513, the vehicle control system outputs a second prompt message to inform the driver to reduce the vehicle speed, and then exits.
Further, if the vehicle-mounted control system reduces the decibel value of the environmental noise by controlling the vehicle hardware, after the user call ends, the vehicle-mounted control system controls the vehicle hardware to be restored to the state before the vehicle-mounted control system detects that the mobile terminal is in the call state.
The technical scheme provided by the invention has the following beneficial effects: after the vehicle-mounted control system monitors a call signal through Bluetooth, environmental noise in a vehicle is automatically collected and judged, and a prompt message is output through the vehicle-mounted control system so as to remind passengers in the vehicle to reduce the environmental noise, and the decibel value of the environmental noise is reduced in a mode of controlling vehicle hardware, so that driving experience is effectively improved, driving safety coefficient is improved, call quality is guaranteed, and vehicle-mounted multimedia products are more intelligent and humanized.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
The invention is further described below with reference to the drawings and specific examples, which are not intended to be limiting.
In order to prevent a driver from distracting to deal with the influence of environmental noise on a call when a vehicle-mounted Bluetooth telephone calls or goes off, in a first preferred embodiment of the present invention, a method for automatically reducing noise in a Bluetooth call is related to be applied to a vehicle-mounted control system in a vehicle, and the vehicle-mounted control system is connected with a mobile terminal of a user through Bluetooth; specifically, as shown in fig. 1, the method includes the steps of:
step S1, the vehicle-mounted control system monitors whether the mobile terminal is in a call state or not through Bluetooth, and when the mobile terminal is in the call state, the vehicle-mounted control system goes to step S2;
s2, the vehicle-mounted control system collects environmental noise in the vehicle and judges:
if the decibel value of the environmental noise is smaller than a set threshold value, exiting;
if the decibel value of the environmental noise is not smaller than the set threshold value, turning to step S3;
s3, the vehicle-mounted control system outputs a first prompt message to remind passengers in the vehicle to reduce the environmental noise;
step S4, the vehicle-mounted control system collects the environmental noise in the vehicle again and judges:
if the decibel value of the environmental noise is smaller than the set threshold value, exiting;
if the decibel value of the environmental noise is still not smaller than the set threshold, turning to step S5;
and S5, the vehicle-mounted control system reduces the decibel value of the environmental noise in a mode of controlling vehicle hardware, and then exits.
Specifically, in step S2 of the present embodiment, the vehicle-mounted control system collects and analyzes noise in the vehicle environment through a software recording mode.
In step S3 of the present embodiment, the first prompting message is that the vehicle-mounted control system prompts the passenger to speak in a light voice through automatic voice.
In step S4 of this embodiment, the vehicle-mounted control system acquires the environmental noise in the vehicle again and determines after 3 seconds of the interval after outputting the first prompt message.
In this embodiment, if the vehicle-mounted control system reduces the decibel value of the environmental noise by controlling the vehicle hardware, after the user finishes the call, the vehicle-mounted control system controls the vehicle hardware to return to the state before the vehicle-mounted control system detects that the mobile terminal is in the call state.
In a second preferred embodiment of the present invention, as shown in fig. 2, the on-board control system in step S5 reduces the decibel value of the ambient noise by controlling the hardware of the vehicle, and may reduce the ambient noise by controlling the closing of the window.
Specifically, in this embodiment, when the vehicle-mounted control system detects a call signal, after the system outputs a first prompt message to remind a passenger to reduce noise, if the decibel value of ambient noise is still not less than the set threshold, the step of reducing the ambient noise by controlling the closing mode of the window includes:
in step S51a, the vehicle-mounted control system determines whether a window of a main driving position of the vehicle is closed:
if yes, go to step S53a;
if not, closing the window of the main driving position, and turning to the step S52a;
step S52a, the vehicle-mounted control system determines whether the current decibel value of the environmental noise is smaller than the set threshold value:
if yes, exiting;
if not, go to step S53a;
step S53a, the vehicle-mounted control system determines whether the window of the co-driver is closed:
if yes, go to step S55a;
if not, closing the windows of the copilot, and turning to the step S54a;
in step S54a, the vehicle-mounted control system determines whether the current decibel value of the ambient noise is smaller than the set threshold value:
if yes, exiting;
if not, turning to step S55a;
step S55a, the vehicle-mounted control system determines whether the window of the rear seat of the main driving seat is closed:
if yes, go to step S57a;
if not, closing the window of the rear seat of the main driving seat, and turning to the step S56a;
step S56a, the vehicle-mounted control system determines whether the current decibel value of the environmental noise is smaller than the set threshold value:
if yes, exiting;
if not, go to step S57a;
step S57a, the vehicle-mounted control system determines whether the window of the rear seat of the co-driver is closed:
if yes, exiting;
if not, the vehicle-mounted control system closes the vehicle window of the front passenger seat and then exits.
In this embodiment, the vehicle-mounted control system adopts a sequential mode of closing the window of the primary driver position, closing the window of the secondary driver position, closing the window of the primary driver position rear seat, and finally closing the window of the secondary driver position rear seat to reduce environmental noise, but the vehicle-mounted control system automatically judges the state of the window and controls the sequence of closing the window to be switched at will, and the vehicle-mounted control system is not limited to the sequence of the window of the primary driver position, the window of the secondary driver position rear seat, and the window of the secondary driver position rear seat.
In this embodiment, after the vehicle-mounted control system completely closes the windows of the vehicle respectively, if the decibel value of the ambient noise is still not smaller than the set threshold, the vehicle-mounted control system may further control other hardware of the vehicle to continuously reduce the ambient noise, for example, may further control an air conditioner in the vehicle or control the vehicle speed of the vehicle.
In a third preferred embodiment of the present invention, as shown in fig. 3, the on-board control system in step S5 may reduce the decibel value of the environmental noise by controlling the hardware of the vehicle, and may reduce the environmental noise by controlling the air conditioner.
In this embodiment, when the vehicle-mounted control system detects a call signal, after the system outputs a first prompt message to remind a passenger to reduce noise, if the decibel value of the environmental noise is still not less than the set threshold, the vehicle-mounted control system may determine the air-conditioning state, and if the air-conditioning is in an on state, the environmental noise may be reduced by turning down until the air-conditioning in the vehicle is turned off, which specifically includes:
step S51b, the vehicle-mounted control system determines whether the air conditioner in the vehicle is turned on:
if the air conditioner in the vehicle is not started, exiting;
if the air conditioner in the vehicle is started, turning to step S52b;
in step S52b, the vehicle-mounted control system sequentially decreases the air conditioning gear of the air conditioner in the vehicle until the environmental noise is reduced below the set threshold or the air conditioner is turned off, and then exits.
In this embodiment, after the air conditioner in the vehicle is completely turned off, if the decibel value of the ambient noise is still not less than the set threshold, the vehicle control system may further control other hardware of the vehicle to continuously reduce the ambient noise, for example, may further control the vehicle speed or the window of the vehicle.
In a fourth preferred embodiment of the present invention, as shown in fig. 4, the on-board control system in step S5 may reduce the decibel value of the ambient noise by controlling the vehicle hardware, or may reduce the ambient noise by controlling the vehicle speed.
In this embodiment, when the vehicle-mounted control system detects a call signal, after the system outputs a first prompt message to remind a passenger to reduce noise, if the decibel value of the ambient noise is still not less than the set threshold, the vehicle-mounted control system may determine whether the running speed of the vehicle is within a preset speed threshold, and if the current running speed of the vehicle exceeds the speed threshold, the ambient noise may be reduced by controlling the vehicle speed, where the specific steps include:
step S51c, the vehicle-mounted control system obtains the current running speed of the vehicle through a hardware interface, and compares the running speed with a preset speed threshold value:
if the running speed exceeds the speed threshold, the vehicle-mounted control system sets the highest speed limit of the vehicle as the speed threshold, and then goes to step S52c;
if the running speed does not exceed the speed threshold, the vehicle-mounted control system sets the highest speed limit of the vehicle as the speed threshold, and then exits;
in step S52c, the vehicle control system outputs a second prompt message to inform the driver to reduce the vehicle speed, and then exits.
In this embodiment, the vehicle-mounted control system may set the highest vehicle speed of the vehicle through a vehicle-related body protocol, and reduce the influence of wind noise and tire noise on the call quality by reducing the vehicle speed.
In this embodiment, when the running speed of the vehicle is already within the preset speed threshold, if the decibel value of the ambient noise is still not smaller than the set threshold, the vehicle-mounted control system may further control other hardware of the vehicle to further reduce the ambient noise, for example, may further control an air conditioner in the vehicle or a window of the vehicle.
In a fifth preferred embodiment of the present invention, the vehicle-mounted control system reduces the decibel value of the environmental noise by controlling the hardware of the vehicle, and when the decibel value of the environmental noise is still not less than the set threshold after the vehicle-mounted control system separately controls one hardware of the vehicle, so when the vehicle-mounted control system detects a call signal, the system outputs a first prompt message to remind a passenger to reduce the noise, and when the decibel value of the environmental noise is still not less than the set threshold, it is proposed to sequentially control the window, the air conditioner and the vehicle speed of the vehicle to achieve a better effect of reducing the environmental noise, as shown in fig. 5, and specifically includes the following steps:
in step S501, the on-vehicle control system determines whether a window of a main driving position of the vehicle is closed:
if yes, go to step S503;
if not, closing the window of the main driving position, and turning to step S502;
step S502, the vehicle-mounted control system determines whether the current decibel value of the environmental noise is smaller than the set threshold value:
if yes, exiting;
if not, go to step S503;
step S503, the vehicle-mounted control system determines whether the window of the co-driver is closed:
if yes, go to step S505;
if not, closing the window of the copilot, and turning to step S504;
step S504, the vehicle-mounted control system determines whether the current decibel value of the environmental noise is smaller than the set threshold value:
if yes, exiting;
if not, turning to step S505;
step S505, the vehicle-mounted control system determines whether the window of the rear seat of the main driving seat is closed:
if yes, go to step S507;
if not, closing the window of the rear seat of the main driving seat, and turning to step S506;
step S506, the vehicle-mounted control system determines whether the current decibel value of the environmental noise is smaller than the set threshold value:
if yes, exiting;
if not, turning to step S507;
step S507, the vehicle-mounted control system determines whether the window of the rear seat of the co-driver is closed:
if yes, go to step S509;
if not, closing the window of the rear seat of the copilot, and turning to step S508;
step S508, the vehicle-mounted control system determines whether the current decibel value of the environmental noise is smaller than the set threshold value:
if yes, exiting;
if not, go to step S509;
step S509, the vehicle-mounted control system determines whether the air conditioner in the vehicle is turned on:
if the air conditioner in the vehicle is not started, turning to step S512;
if the air conditioner in the vehicle is started, turning to step S510;
step S510, the vehicle-mounted control system sequentially decreases the air conditioning gear of the air conditioner in the vehicle until the environmental noise decreases below the set threshold or the air conditioner is turned off, and then the step S511 is turned to;
in step S511, the vehicle-mounted control system determines whether the current decibel value of the ambient noise is smaller than the set threshold value:
if yes, exiting;
if not, go to step S512;
step S512, the vehicle-mounted control system obtains the current running speed of the vehicle through a hardware interface, and compares the running speed with a preset speed threshold value:
if the running speed exceeds the speed threshold, the vehicle-mounted control system sets the highest speed limit of the vehicle as the speed threshold, and then proceeds to step S513;
if the running speed does not exceed the speed threshold, the vehicle-mounted control system sets the highest speed limit of the vehicle as the speed threshold, and then exits;
in step S513, the vehicle control system outputs a second prompt message to inform the driver to reduce the vehicle speed, and then exits.
Specifically, in this embodiment, the vehicle-mounted control system reduces environmental noise by controlling the vehicle window first, then controlling the air conditioner, and finally controlling the vehicle speed, but the order of controlling the vehicle hardware by the vehicle-mounted control system may also be the order of controlling the air conditioner or the vehicle speed first, which is not limited to the order of controlling the vehicle window first, then controlling the air conditioner, and finally controlling the vehicle speed.
In this embodiment, after the vehicle-mounted control system controls the window, the air conditioner and the vehicle speed of the vehicle, if the decibel value of the ambient noise is still not smaller than the set threshold value, the vehicle-mounted control system may further control other hardware of the vehicle, which may generate noise, to further reduce the ambient noise.
The method for automatically reducing noise of Bluetooth call is applied to a vehicle-mounted control system in a vehicle, when the vehicle-mounted control system judges that Bluetooth telephone signals appear and the decibel value of environmental noise is larger than a set threshold value, the vehicle-mounted control system can automatically judge and control the air quantity of an air conditioner by automatically reminding passengers in the vehicle to speak lightly, automatically judging the state of a vehicle window and controlling to close the vehicle window, and automatically acquire the current running speed and the control speed of the vehicle until the decibel value of the environmental noise is lower than the set threshold value, thereby effectively improving the Bluetooth call quality in the vehicle. When a driver calls, the environment noise is automatically reduced, the driving experience is improved, the driving safety coefficient is improved, and the call quality is ensured.
The foregoing description is only illustrative of the preferred embodiments of the present invention and is not to be construed as limiting the scope of the invention, and it will be appreciated by those skilled in the art that equivalent substitutions and obvious variations may be made using the description and illustrations of the present invention, and are intended to be included within the scope of the present invention.