Call control method, device, terminal equipment and storage medium
By obtaining the noise value of the vehicle Bluetooth device and the vehicle environment, and automatically adjusting the volume and device status, the problem of low call quality of the vehicle Bluetooth device is solved, and the call quality and driving safety are improved.
Patent Information
- Application Number
- CN202211021501.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-24
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2042-08-24
AI Technical Summary
When the vehicle is driving, the noise caused by factors such as vehicle speed, horn honking, or air conditioning blowing affects the call quality. Car owners need to manually adjust the windows or air conditioning to reduce noise, distract driving attention, and reduce safety.
By obtaining the current volume value of the vehicle Bluetooth device and the noise value of the vehicle environment, it automatically increases the volume and adjusts the status of the devices in the vehicle that affect noise (such as windows, air conditioners) to improve call quality, reduce noise, and avoid manual operations.
It improves the call quality of in-vehicle Bluetooth devices, reduces noise interference, and enhances the driving safety of car owners. Through the automated process, manual adjustments by the car owners are not required.
Smart Images

Figure CN115412866B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of device control, and in particular, relates to a call control method, device, terminal device and storage medium. Background Art
[0002] Existing vehicles are usually equipped with in-car Bluetooth, which allows car owners to answer calls without holding terminal devices while driving, thereby improving driving safety. However, due to various factors such as vehicle speed, horns or air conditioning during driving, car owners experience a lot of noise when using in-car Bluetooth to make calls, which affects the call quality of Bluetooth calls.
[0003] Usually, in order to reduce the noise when using the in-car Bluetooth call, the car owner often needs to perform multiple operations while driving, such as closing the car window, reducing the speed or adjusting the air conditioning output, etc. However, the car owner is easily distracted when manually performing the above operations while driving, thereby reducing the safety of the car owner while driving. Summary of the invention
[0004] The embodiments of the present application provide a call control method, apparatus, terminal device and storage medium, which can solve the problem of low call quality when making calls through a car-mounted Bluetooth device.
[0005] In a first aspect, an embodiment of the present application provides a call control method, the method comprising:
[0006] Get the current volume value of the car Bluetooth device when the car Bluetooth device is in call state;
[0007] Obtaining the first noise value of the vehicle's environment when the vehicle's Bluetooth device is in a call state;
[0008] If it is determined that the first noise value has an impact on the call of the in-vehicle Bluetooth device, the current volume value is increased to the first target volume value;
[0009] The state of a target device in the vehicle is adjusted to a target state; the target device includes a device that has an impact on the noise value of the environment in which the vehicle is located, and when the target device is in the target state, a second noise value of the environment in which the vehicle is located is lower than the first noise value.
[0010] In a second aspect, an embodiment of the present application provides a call control device, the device comprising:
[0011] The first acquisition module is used to obtain the current volume value of the vehicle-mounted Bluetooth device when the vehicle-mounted Bluetooth device is in a call state;
[0012] The second acquisition module is used to acquire a first noise value of the environment in which the vehicle is located when the vehicle-mounted Bluetooth device is in a call state;
[0013] A first adjustment module, configured to increase the current volume value to a first target volume value if it is determined that the first noise value has an impact on the call of the in-vehicle Bluetooth device;
[0014] The second adjustment module is used to adjust the state of a target device in the vehicle to a target state; the target device includes a device that has an impact on the noise value of the vehicle's environment. When the target device is in the target state, the second noise value of the vehicle's environment is lower than the first noise value.
[0015] In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of the first aspect described above when executing the computer program.
[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method of the first aspect described above is implemented.
[0017] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the method of the first aspect.
[0018] Compared with the prior art, the embodiment of the present application has the following beneficial effects: when the vehicle-mounted Bluetooth device is in a call state, the current volume value of the vehicle-mounted Bluetooth device and the first noise value in the vehicle's environment are obtained; then, when it is determined that the first noise value has an impact on the call of the vehicle-mounted Bluetooth device, the current volume value is increased to the first target volume value, so that the owner can hear the call content clearly; in addition, the state of the target device in the vehicle that has an impact on the noise value of the vehicle's environment is adjusted to the target state, thereby reducing the first noise value of the vehicle's environment to the second noise value. In this way, the call quality of the vehicle-mounted Bluetooth device in a call state can be further improved by combining the method of increasing the volume value of the vehicle-mounted Bluetooth device and reducing the noise value of the vehicle's environment, and the above process is automatically performed by the device, without the need for the owner to make manual adjustments during driving, thereby improving the safety of the owner when driving. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0020] Figure 1is a flow chart of an implementation of a call control method provided by an embodiment of the present application;
[0021] Figure 2 is a flow chart of an implementation of a call control method provided by another embodiment of the present application;
[0022] Figure 3 It is a structural schematic diagram of a call control device provided by an embodiment of the present application;
[0023] Figure 4 It is a structural diagram of a terminal device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0024] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0025] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0026] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0027] At present, car owners usually use in-car Bluetooth devices to make calls while driving. However, various factors such as vehicle speed, horn or air conditioning will affect the call quality of in-car Bluetooth devices. Therefore, in order to reduce the noise when using in-car Bluetooth devices for calls, car owners often need to manually close the windows, reduce the speed or adjust the air volume of the air conditioner while driving. However, manually performing the above operations while driving is easy to distract the car owner's attention, thereby reducing the safety of the car owner while driving.
[0028] Based on this, in order to automatically reduce the noise when using a car Bluetooth device to make a call and improve the call quality of the car Bluetooth device, an embodiment of the present application provides a call control method, which can be applied to a call control device. The call control device can be set in a vehicle controller, and the vehicle controller can be used to control various devices in the vehicle to adjust the status of each device. For example, the device can be a window or air conditioner.
[0029] See also Figure 1 , Figure 1 The following is a flowchart of a call control method according to an embodiment of the present application. The method comprises the following steps:
[0030] S101. Obtain the current volume value of the in-vehicle Bluetooth device when the in-vehicle Bluetooth device is in a call state.
[0031] In one embodiment, the vehicle-mounted Bluetooth device is a Bluetooth device installed in the vehicle, which can connect to the owner's mobile device and make hands-free calls, thereby eliminating the need for the owner to manually answer or make calls, thereby improving driving safety. The mobile device can be a smart phone.
[0032] In one embodiment, the current volume value in the call state can be determined by the vehicle-mounted Bluetooth device and then sent to the call control device.
[0033] S102: Obtain a first noise value of an environment in which the vehicle is located when the vehicle-mounted Bluetooth device is in a call state.
[0034] In one embodiment, the environment in which the vehicle is located includes the noise environment inside the vehicle and the noise environment outside the vehicle. The noise environment inside the vehicle includes, but is not limited to, the environment in which the noise is generated when passengers chat, or the environment in which the noise is generated when the air conditioner is working, and is not limited to this. The noise environment outside the vehicle includes, but is not limited to, the environment in which the noise is generated by the horn of the vehicle or other vehicles, or the environment in which the engine of the vehicle is accelerating, and is not limited to this.
[0035] In one embodiment, the first noise value is the noise value of the environment in which the vehicle is currently located. The call control device can determine the first noise value according to a noise test instrument pre-set in the vehicle. Exemplarily, the noise test instrument includes but is not limited to a noise meter decibel meter or a sound decibel meter and other equipment, which is not limited to this. The first noise value can be a value detected by the noise test instrument, and the value can be decibel.
[0036] It should be noted that when collecting the first noise value through the noise tester, the sound collection device should first collect multiple sounds of the vehicle's environment. Then, the multiple sounds are identified according to the preset audio analysis software or sound analyzer to determine the sound belonging to the car owner when talking. Then, the multiple sounds that do not belong to the car owner are input into the noise tester to obtain the first noise value. Based on this, the call control device can accurately obtain the first noise value of the vehicle's environment.
[0037] In one embodiment, the audio analysis software and the sound analyzer are existing software or devices, which will not be described in detail. The recognition method may be to pre-record the audio of the car owner speaking, and then compare it with the audio of multiple sounds collected to determine the noise that interferes with the car owner's call.
[0038] In one embodiment, there are many ways to collect the environment in which the vehicle is located, which are not limited to this. For example, the call control device can collect various sounds in the environment in which the vehicle is located through the microphone device already in the vehicle.
[0039] In one embodiment, the call control device can obtain the first noise value of the vehicle's environment in real time, or can obtain the first noise value of the vehicle's environment at preset time intervals, without limitation. Usually, when the vehicle is driving, the noise environment outside the vehicle may change in real time. If the current volume value is adjusted according to the first noise value that changes in real time, the current volume value may also change in real time. However, this will reduce the car owner's call experience. Therefore, the call control device can obtain a first noise value at preset time intervals to control the call volume value of the vehicle-mounted Bluetooth device in the next time interval according to the first noise value.
[0040] S103: If it is determined that the first noise value has an impact on the call of the in-vehicle Bluetooth device, the current volume value is increased to a first target volume value.
[0041] In one embodiment, the influence on the call may be considered that the first noise value is greater than a preset noise value, or the first noise value interferes with the call conducted at the current volume value of the in-vehicle Bluetooth device, which is not limited to this.
[0042] Specifically, the call control device can determine the third noise value corresponding to the current volume value according to the preset correlation between the noise value and the volume value; then, when the first noise value is greater than or equal to the third noise value, it is determined that the first noise value has an impact on the call of the vehicle-mounted Bluetooth device.
[0043] The preset association relationship between the noise value and the volume value can be set in advance according to the actual situation, and there is no limitation on this. Usually, in the preset association relationship, one noise value A can correspond to one volume value a. At this time, for the volume value a, the call control device can consider that any noise value greater than the noise value A will affect the call made with the volume value a. Similarly, it can also be considered that the noise value A will affect the call corresponding to any volume value less than or equal to the volume value a.
[0044] In one embodiment, since the first noise value has an impact on the call corresponding to the current volume value, in order to ensure the call quality, the call control device may increase the current volume value to the first target volume value.
[0045] It should be noted that if the volume value set by the vehicle-mounted Bluetooth device includes multiple first candidate volume values that are greater than the current volume value, the call control device can arbitrarily select a first candidate volume value as the first target volume value, or select the largest first candidate volume value as the first target volume value, without limitation.
[0046] Specifically, when determining that the first noise value has an impact on the call of the in-vehicle Bluetooth device, the call control device can determine the first candidate volume values corresponding to the multiple target noise values according to the preset association relationship between the noise value and the volume value; wherein the target noise value should be greater than the first noise value, and the first candidate volume value is greater than the current volume value. Afterwards, the call control device can determine the smallest first candidate volume value among the multiple first candidate volume values as the first target volume value, and increase the current volume value to the first target volume value.
[0047] In one embodiment, the above explanation is based on the preset association relationship, which will not be described again. It is understandable that for target noise values greater than the first noise value, they will each correspond to a first candidate volume value with influence. Usually, when the target noise value is greater than the first noise value, the first candidate volume value corresponding to the target noise value will also be greater than the current volume value.
[0048] However, in actual situations, for a target noise value greater than the first noise value, there may be a situation where the target noise value is greater than the first noise value but is very close to the first noise value, so that the first candidate volume value corresponding to the target noise value is equal to the current volume value. At this time, for this situation, in order to accurately obtain a suitable first target volume value. When determining the target noise value, not only is it required that the target noise value is greater than the first noise value, but it is also required that the first candidate volume value corresponding to the target noise value is also greater than the current volume value. In this way, the in-vehicle Bluetooth device can make calls normally at any first candidate volume value in the current vehicle environment without being disturbed by the first noise value.
[0049] Afterwards, after determining multiple first candidate volume values, the control device can determine the smallest first candidate volume value among the multiple first candidate volume values as the first target volume value. Based on this, the determined first target volume value can not only avoid the interference caused by the current first noise value, but also the first target volume value will not be excessively increased. In this way, not only can the call quality be guaranteed, but also the increased first target volume value can be made more reasonable. That is, the car owner can make calls at a suitable volume, improving the car owner's user experience.
[0050] It should be noted that the above-mentioned method for determining the first target volume value is only one example. In another embodiment, the first target volume value can also be outputted as a suitable first target volume value after feature processing of the collected audio according to a pre-trained neural network model. Feature processing of the collected audio includes but is not limited to analyzing the type of each sound in the audio and the noise value corresponding to each type of sound, and then outputting the corresponding first target volume value according to multiple factors such as the type of the sound and the corresponding noise value.
[0051] S104, adjusting the state of the target device in the vehicle to a target state; the target device includes a device that has an impact on the noise value of the environment in which the vehicle is located, and when the target device is in the target state, the second noise value of the environment in which the vehicle is located is lower than the first noise value.
[0052] In one embodiment, the target device includes but is not limited to a device that can affect the noise value of the environment in which the vehicle is located, such as a window, an air conditioner or an engine. For example, when the window is closed, it can block the noise generated by the external environment; when the air conditioner is closed, it can reduce the noise generated when the air conditioner is working; and when the engine is in the engine state, the noise generated when the engine is working can be reduced by reducing the vehicle speed. The target state can be a pre-set state.
[0053] Exemplarily, when the target device is a car window, its target state may be closed. When the target device is an air conditioner, its target state may be closed, or it may be the state of the air conditioner after reducing the air volume. When the target device is an engine, its target state may be the state of the engine after reducing the vehicle speed. It is understandable that the faster the vehicle speed, the greater the noise generated by the engine. Therefore, reducing the vehicle speed to the target speed can also reduce the noise generated when the engine is working. Among them, the target speed can be set according to the actual situation. Usually, the target speed can be any speed lower than the current speed of the vehicle, and there is no limitation on this.
[0054] It should be noted that the above S102 and S103 can be executed simultaneously or in sequence, and there is no limitation on this. In this embodiment, the above S102 and S103 are steps executed simultaneously.
[0055] In this embodiment, when the vehicle-mounted Bluetooth device is in a call state, the current volume value of the vehicle-mounted Bluetooth device and the first noise value in the vehicle's environment are obtained; then, when it is determined that the first noise value has an impact on the call of the vehicle-mounted Bluetooth device, the current volume value is increased to the first target volume value, so that the owner can hear the call content clearly; in addition, the state of the target device in the vehicle that has an impact on the noise value of the vehicle's environment is adjusted to the target state, so as to reduce the first noise value of the vehicle's environment to the second noise value. In this way, the call quality of the vehicle-mounted Bluetooth device in the call state can be further improved by combining the method of increasing the volume value of the vehicle-mounted Bluetooth device and reducing the noise value of the vehicle's environment, and the above process is automatically performed by the device, without the need for the owner to manually adjust during driving, thereby improving the safety of the owner when driving.
[0056] In a specific embodiment, the target device described above includes a car window and an air conditioner. Figure 2 The call control method can be specifically implemented as follows: Figure 2 S201-S203 shown adjust the state of the target device to the target state, as detailed below:
[0057] S201: If the vehicle window is in an open state, adjust the vehicle window from the open state to the closed state.
[0058] S202: If the vehicle window is in a closed state and the air conditioner is in an on state, gradually reduce the air volume of the air conditioner until the second noise value of the vehicle is lower than the first noise value, or until the air conditioner is adjusted to an off state.
[0059] In one embodiment, when the window is in an open state, it can be considered that the first noise value of the current vehicle environment includes the noise of the vehicle's external environment. Therefore, in order to reduce the impact of the external environment noise on the call, the call control device can control the window to close. That is, adjust the window from the open state to the closed state.
[0060] The vehicle usually has multiple windows. When closing the windows, all windows can be controlled to close at the same time, or the window near the driver's seat can be closed first, and then the other windows can be closed in sequence. If the second noise value of the vehicle environment is lower than the first noise value after any window is closed, the call control device can also stop adjusting the open state of other open windows to the closed state.
[0061] In one embodiment, when the car window is in a closed state, the call control device can determine whether the air conditioner is in an on state, and when it is determined that the air conditioner is in an on state, gradually reduce the air volume of the air conditioner. Afterwards, in the process of reducing the air volume of the air conditioner, the noise value of the environment in which the vehicle is located is obtained, until the noise value is lower than the first noise value, the noise value is determined as the second noise value, and the state of the air conditioner at this time (the air volume at this time) is determined as the target state (target air volume). At the same time, the call control method can stop adjusting the state of the air conditioner.
[0062] It should be noted that if the air volume of the air conditioner is adjusted down to the minimum air volume, and the second noise value of the vehicle environment is still greater than the first noise value, the call control device can adjust the state of the air conditioner to the off state, that is, control the air conditioner to not generate noise.
[0063] It is understandable that when the air conditioner is turned on, the car windows are usually closed. Therefore, when adjusting the state of the target device, the control device usually first determines whether the car windows are in a closed state, and then determines the state of the air conditioner.
[0064] S203. If the target device is in the target state and the second noise value of the vehicle's environment is greater than or equal to the first noise value, a prompt message is output; the prompt message is used to prompt that the vehicle's environment is not suitable for calls.
[0065] In one embodiment, according to the description of S201 and S202 above, when the target device is in the target state, that is, the window is closed, the air conditioner is turned off, and other target devices are also in the corresponding target state, the second noise value of the vehicle environment is still greater than or equal to the first noise value, which means that the vehicle environment is not suitable for calls. Therefore, the call control method can output a prompt message to prompt the owner to change the call scene.
[0066] It should be noted that after the state of the target device in the vehicle is adjusted to the target state, the second noise value of the environment in which the vehicle is located is usually lower than the first noise value. Therefore, if the call continues at the current volume value, the call volume may be loud, affecting the call experience of the owner.
[0067] Based on this, in order to make the call volume at a reasonable level, the call control device can determine the call volume value corresponding to the second noise value based on the second noise value and the preset correlation between the noise value and the volume value; then, determine multiple second candidate volume values that are greater than the call volume value; then, determine the smallest second candidate volume value among the multiple second candidate volume values as the second target volume value, and adjust the first target volume value lower to the second target volume value.
[0068] It is understandable that after the state of the target device in the vehicle is in the target state, the second noise value at this time is usually much smaller than the first noise value. Therefore, the call control device can re-determine the call volume value that will be affected by the second noise value call. Afterwards, from the multiple volume values set by the vehicle-mounted Bluetooth device, multiple second candidate volume values greater than the call volume value are determined. Then, the smallest second candidate volume value is determined as the second target volume value.
[0069] Based on this, the re-determined second target volume value can not only avoid the interference caused by the current second noise value, but also the second target volume value will not be excessively reduced in the current vehicle environment (the state of the target device in the vehicle is in the target state). In this way, not only the call quality can be guaranteed, but also the reduced second target volume value can be made more reasonable.
[0070] In another embodiment, after adjusting the state of the target device in the vehicle to the target state, if the call of the vehicle-mounted Bluetooth device ends, the call control device can also restore the target device from the target state to the initial state, wherein the initial state is the state of the target device before the call of the vehicle-mounted Bluetooth device.
[0071] It is understandable that the initial state can be considered as a comfortable state for the owner when driving. Based on this, after the call is over, since there is no need to consider the impact of noise on the call, the call control device can automatically restore the target state to the initial state. That is, the owner's initial settings for the vehicle will not be changed, thereby improving the owner's driving experience.
[0072] See also Figure 3 , Figure 3 1 is a block diagram of a call control device provided in an embodiment of the present application. The call control device in this embodiment includes modules for executing Figure 1 and Figure 2 For details, please refer to the steps in the corresponding embodiment. Figure 1 and Figure 2 as well as Figure 1 and Figure 2 For the convenience of explanation, only the parts related to this embodiment are shown. Figure 3 , the call control device 500 may include: a first acquisition module 310, a second acquisition module 320, a first adjustment module 330 and a second adjustment module 340, wherein:
[0073] The first acquisition module 310 is used to acquire the current volume value of the in-vehicle Bluetooth device when the in-vehicle Bluetooth device is in a call state.
[0074] The second acquisition module 320 is used to acquire a first noise value of the environment in which the vehicle is located when the vehicle-mounted Bluetooth device is in a call state.
[0075] The first adjusting module 330 is configured to increase the current volume value to a first target volume value if it is determined that the first noise value has an impact on the call of the in-vehicle Bluetooth device.
[0076] The second adjustment module 340 is used to adjust the state of the target device in the vehicle to a target state; the target device includes a device that has an impact on the noise value of the vehicle's environment. When the target device is in the target state, the second noise value of the vehicle's environment is lower than the first noise value.
[0077] In one embodiment, the first adjustment module 330 is further configured to:
[0078] According to the preset correlation between the noise value and the volume value, the third noise value corresponding to the current volume value is determined; if the first noise value is greater than or equal to the third noise value, it is determined that the first noise value has an impact on the call of the in-vehicle Bluetooth device, and the current volume value is adjusted to the first target volume value.
[0079] In one embodiment, the first adjustment module 330 is further configured to:
[0080] If it is determined that the first noise value has an impact on the call of the in-vehicle Bluetooth device, the first candidate volume values corresponding to multiple target noise values are determined according to the preset correlation relationship between the noise value and the volume value; the target noise value is greater than the first noise value, and the first candidate volume value is greater than the current volume value; the smallest first candidate volume value among the multiple first candidate volume values is determined as the first target volume value, and the current volume value is adjusted up to the first target volume value.
[0081] In one embodiment, the second adjustment module 340 is further configured to:
[0082] If the vehicle window is in the open state, adjust the window from the open state to the closed state; if the vehicle window is in the closed state and the air conditioner is in the on state, gradually reduce the air volume of the air conditioner until the second noise value of the vehicle is lower than the first noise value, or until the air conditioner is adjusted to the off state.
[0083] In one embodiment, the call control device 300 further includes:
[0084] The prompt module is used to output a prompt message if the second noise value of the vehicle's environment is greater than or equal to the first noise value when the target device is in the target state; the prompt message is used to prompt that the vehicle's environment is not suitable for calls.
[0085] In one embodiment, the call control device 300 further includes:
[0086] According to the second noise value and the preset correlation between the noise value and the volume value, determine the call volume value corresponding to the second noise value; determine multiple second candidate volume values greater than the call volume value; determine the smallest second candidate volume value among the multiple second candidate volume values as the second target volume value, and adjust the first target volume value lower to the second target volume value.
[0087] In one embodiment, the call control device 300 further includes:
[0088] The first determination module is used to determine the call volume value corresponding to the second noise value according to the second noise value and the preset correlation relationship between the noise value and the volume value.
[0089] The second determining module is used to determine a plurality of second candidate volume values that are greater than the call volume value.
[0090] The third determining module is used to determine the smallest second candidate volume value among the plurality of second candidate volume values as the second target volume value, and adjust the first target volume value down to the second target volume.
[0091] In one embodiment, the call control device 300 further includes:
[0092] The third adjustment module is used to restore the target device from the target state to the initial state after the call of the vehicle-mounted Bluetooth device ends, and the initial state is the state of the target device before the call of the vehicle-mounted Bluetooth device.
[0093] It should be understood that Figure 3 In the structural block diagram of the call control device shown, each module is used to execute Figure 1 and Figure 2 The steps in the corresponding embodiments, and for Figure 1 and Figure 2 Each step in the corresponding embodiment has been explained in detail in the above embodiment. Figure 1 and Figure 2 as well as Figure 1 and Figure 2 The relevant descriptions in the corresponding embodiments are not repeated here.
[0094] Figure 4 1 is a block diagram of a terminal device provided by an embodiment of the present application. Figure 4 As shown, the terminal device 400 of this embodiment includes: a processor 410, a memory 420, and a computer program 430 stored in the memory 420 and executable on the processor 410, such as a program of a call control method. When the processor 410 executes the computer program 430, the steps in each embodiment of the above-mentioned call control method are implemented, such as Figure 1Alternatively, the processor 410 implements the above when executing the computer program 430 Figure 3 The functions of each module in the corresponding embodiment are, for example, Figure 3 For details on the functions of modules 310 to 340, please refer to Figure 3 Related description in the corresponding embodiment.
[0095] Exemplarily, the computer program 430 may be divided into one or more modules, one or more modules are stored in the memory 420, and are executed by the processor 410 to implement the call control method provided in the embodiment of the present application. One or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 430 in the terminal device 400. For example, the computer program 430 may implement the call control method provided in the embodiment of the present application.
[0096] The terminal device 400 may include, but is not limited to, a processor 410 and a memory 420. Those skilled in the art will appreciate that Figure 4 It is only an example of the terminal device 400 and does not constitute a limitation of the terminal device 400. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.
[0097] The processor 410 may be a central processing unit, or other general-purpose processors, digital signal processors, application-specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0098] The memory 420 may be an internal storage unit of the terminal device 400, such as a hard disk or memory of the terminal device 400. The memory 420 may also be an external storage device of the terminal device 400, such as a plug-in hard disk, a smart memory card, a flash memory card, etc. equipped on the terminal device 400. Furthermore, the memory 420 may also include both an internal storage unit of the terminal device 400 and an external storage device.
[0099] An embodiment of the present application provides a computer-readable storage medium, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a call control method as described in the above embodiments is implemented.
[0100] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device executes the call control method in each of the above embodiments.
[0101] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A call control method, characterized in that: The method comprises: Get the current volume value of the in-vehicle Bluetooth device when the in-vehicle Bluetooth device is in a call state; Acquire a first noise value of the vehicle environment when the vehicle-mounted Bluetooth device is in a call state at preset time intervals; the first noise value is used to control the call volume value of the vehicle-mounted Bluetooth device within the next preset time; If it is determined that the first noise value has an impact on the call of the in-vehicle Bluetooth device, the current volume value is increased to a first target volume value; Adjusting the state of a target device in the vehicle to a target state; the target device includes a device that has an impact on the noise value of the environment in which the vehicle is located, and when the target device is in the target state, a second noise value of the environment in which the vehicle is located is lower than the first noise value; Determining a call volume value corresponding to the second noise value according to the second noise value and a preset association relationship between the noise value and the volume value; Determining a plurality of second candidate volume values greater than the call volume value; Determine the smallest second candidate volume value among the plurality of second candidate volume values as the second target volume value, and adjust the first target volume value down to the second target volume value; The obtaining of a first noise value of an environment in which the vehicle is located when the vehicle-mounted Bluetooth device is in a call state includes: Collecting multiple sounds in the environment of the vehicle, and identifying the multiple sounds to determine the sound that belongs to the vehicle owner when talking on the phone; obtaining the first noise value according to the multiple sounds that do not belong to the vehicle owner; If it is determined that the first noise value has an impact on the call of the in-vehicle Bluetooth device, then the current volume value is increased to a first target volume value, including: If it is determined that the first noise value has an impact on the call of the in-vehicle Bluetooth device, first candidate volume values corresponding to multiple target noise values are determined according to a preset correlation between the noise value and the volume value; the target noise value is greater than the first noise value, and the first candidate volume value is greater than the current volume value; the smallest first candidate volume value among the multiple first candidate volume values is determined as the first target volume value, and the current volume value is adjusted up to the first target volume value.
2. The method according to claim 1, characterized in that If it is determined that the first noise value has an impact on the call of the in-vehicle Bluetooth device, then the current volume value is increased to a first target volume value, including: Determining a third noise value corresponding to the current volume value according to a preset correlation relationship between the noise value and the volume value; If the first noise value is greater than or equal to the third noise value, it is determined that the first noise value has an impact on the call of the in-vehicle Bluetooth device, and the current volume value is increased to the first target volume value.
3. The method according to claim 1, characterized in that The target device includes a vehicle window and an air conditioner; and adjusting the state of the target device in the vehicle to a target state includes: If the vehicle window is in an open state, adjusting the vehicle window from the open state to a closed state; If the vehicle window is in the closed state and the air conditioner is in the on state, the air volume of the air conditioner is gradually reduced until the second noise value of the vehicle is lower than the first noise value, or until the air conditioner is adjusted to the off state.
4. The method according to claim 1, characterized in that Also includes: If the target device is in the target state and the second noise value of the environment in which the vehicle is located is greater than or equal to the first noise value, outputting a prompt message; The prompt information is used to prompt that the environment where the vehicle is located is not suitable for making calls.
5. The method according to any one of claims 1 to 4, characterized in that: After adjusting the state of the target device in the vehicle to the target state, the method further includes: After the call of the in-vehicle Bluetooth device ends, the target device is restored from the target state to the initial state, where the initial state is the state of the target device before the call of the in-vehicle Bluetooth device.
6. A call control device, characterized in that: The device comprises: A first acquisition module, used to acquire the current volume value of the in-vehicle Bluetooth device when the in-vehicle Bluetooth device is in a call state; The second acquisition module is used to obtain the first noise value of the vehicle environment when the vehicle-mounted Bluetooth device is in a call state at a preset time interval; the first noise value is used to control the call volume value of the vehicle-mounted Bluetooth device within the next preset time period; A first adjustment module, configured to increase the current volume value to a first target volume value if it is determined that the first noise value has an impact on the call of the in-vehicle Bluetooth device; a second adjustment module, configured to adjust the state of a target device in the vehicle to a target state; the target device includes a device that has an impact on the noise value of the environment in which the vehicle is located, and when the target device is in the target state, a second noise value of the environment in which the vehicle is located is lower than the first noise value; A first determination module, configured to determine a call volume value corresponding to the second noise value according to the second noise value and a preset association relationship between the noise value and the volume value; A second determination module, configured to determine a plurality of second candidate volume values greater than the call volume value; a third determining module, configured to determine the smallest second candidate volume value among the plurality of second candidate volume values as a second target volume value, and adjust the first target volume value down to the second target volume value; The second acquisition module is further used to collect multiple sounds in the environment of the vehicle, and identify the multiple sounds to determine the sound belonging to the vehicle owner when talking on the phone; and obtain the first noise value according to the multiple sounds that do not belong to the vehicle owner; The first adjustment module is also used for: If it is determined that the first noise value has an impact on the call of the in-vehicle Bluetooth device, first candidate volume values corresponding to multiple target noise values are determined according to a preset correlation between the noise value and the volume value; the target noise value is greater than the first noise value, and the first candidate volume value is greater than the current volume value; the smallest first candidate volume value among the multiple first candidate volume values is determined as the first target volume value, and the current volume value is adjusted up to the first target volume value.
7. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
