Volume adjustment method, vehicle-mounted terminal and computer storage medium

By obtaining information on the opening degree of the vehicle's windows, it automatically adjusts the speaker volume, which solves the problem of tedious and distracting manual volume adjustments, and improves user experience and driving safety.

CN112631540BActive Publication Date: 2024-09-27SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN201910907280.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-24
Publication Date
2024-09-27
Estimated Expiration
2039-09-24

AI Technical Summary

Technical Problem

While the vehicle is driving, the operation of manually adjusting the volume is cumbersome and distracts the driver's attention, reducing the user experience and driving safety.

Method used

By obtaining the vehicle window opening information, the output volume of the speaker is automatically adjusted, and the corresponding relationship between the window mark and the speaker mark is used to determine the appropriate volume adjustment according to the opening range and volume adjustment instructions to achieve automatic adjustment of the speaker volume. .

Benefits of technology

It improves the user experience, avoids distracting the driver's attention by manually adjusting the volume, and improves driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112631540B
    Figure CN112631540B
Patent Text Reader

Abstract

The present invention discloses a volume adjustment method, a vehicle-mounted terminal and a computer storage medium, wherein the volume adjustment method comprises: the vehicle-mounted terminal obtains the opening degree information of the vehicle window; the vehicle-mounted terminal adjusts the output volume of the speaker in the vehicle according to the opening degree information of the vehicle window. The volume adjustment method, the vehicle-mounted terminal and the computer storage medium provided by the present invention adjust the output volume of the speaker in the vehicle according to the opening degree information of the vehicle window, so as to realize automatic adjustment of the output volume of the speaker according to the opening degree of the vehicle window, which can effectively improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicles, and in particular to a volume adjustment method, a vehicle-mounted terminal and a computer storage medium. Background Art

[0002] With the rapid development of electronic technology, in-vehicle terminals are becoming more and more popular. During the driving process, it is more and more convenient to listen to radio programs, play music, etc. through multimedia applications such as radio and music installed in the in-vehicle terminal. In the related art, when the car window is open, the user can manually adjust the output volume of the car's speakers through the volume adjustment knob or the multi-function button on the steering wheel of the car. However, when the driver is driving the vehicle, the process of manually adjusting the volume is not only cumbersome, but also distracts the driver's attention, reducing the user experience. Summary of the invention

[0003] The object of the present invention is to provide a volume adjustment method, a vehicle-mounted terminal and a computer storage medium, which can effectively improve the user experience.

[0004] To achieve the above object, the technical solution of the present invention is achieved as follows:

[0005] In a first aspect, an embodiment of the present invention provides a volume adjustment method, which is applied to a vehicle-mounted terminal. The volume adjustment method includes:

[0006] Obtaining information on the degree of opening of vehicle windows;

[0007] The output volume of the speaker in the vehicle is adjusted according to the opening degree information of the vehicle window.

[0008] As one implementation manner, the step of obtaining the opening degree information of the vehicle window includes:

[0009] After detecting an opening event of a vehicle window, information on the degree of opening of the vehicle window is obtained.

[0010] As one implementation manner, the step of adjusting the output volume of the speaker in the vehicle according to the window opening degree information includes:

[0011] Based on the set correspondence between the window identifier and the horn identifier, determining a target horn identifier corresponding to the window identifier in the window opening degree information;

[0012] The output volume of the target speaker corresponding to the target speaker identifier in the vehicle is adjusted according to the opening degree information of the vehicle window.

[0013] As one implementation manner, the window opening degree information includes the window opening degree, and the window opening degree is the ratio of the window opening height to the total window height; the step of adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the window opening degree information includes:

[0014] Determining a volume adjustment instruction corresponding to a target opening interval according to a correspondence between a set opening interval and a volume adjustment instruction, wherein the target opening interval is an opening interval corresponding to the opening of the vehicle window;

[0015] The output volume of the target speaker corresponding to the target speaker identifier in the vehicle is adjusted according to the volume adjustment instruction corresponding to the target opening range.

[0016] As one implementation manner, the step of adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the volume adjustment instruction corresponding to the target opening range includes:

[0017] When the target opening interval is a set first opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to increase a preset first volume value;

[0018] When the target opening interval is a set second opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to increase a preset second volume value;

[0019] When the target opening interval is a set third opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to increase by a preset third volume value;

[0020] The opening values ​​corresponding to the first opening interval, the second opening interval and the third opening interval increase in sequence, respectively, and the third volume value, the second volume value and the first volume value decrease in sequence.

[0021] As one implementation manner, the step of adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the volume adjustment instruction corresponding to the target opening range includes:

[0022] When the target opening interval is the set first opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to be a preset fourth volume value;

[0023] When the target opening interval is the set second opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to be a preset fifth volume value;

[0024] When the target opening interval is the set third opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to be a preset sixth volume value;

[0025] The opening values ​​corresponding to the first opening interval, the second opening interval and the third opening interval increase in sequence, respectively, and the sixth volume value, the fifth volume value and the fourth volume value decrease in sequence.

[0026] As one implementation manner, the step of adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the volume adjustment instruction corresponding to the target opening range also includes:

[0027] According to the correspondence between the set opening interval and the volume compensation instruction, determining the volume compensation instruction corresponding to the target opening interval;

[0028] The output volume of speakers other than the target speaker in the vehicle is compensated according to the volume compensation instruction corresponding to the target opening range.

[0029] As one implementation manner, before determining the target horn identifier corresponding to the window identifier in the window opening degree information based on the set correspondence between the window identifier and the horn identifier, the method further includes:

[0030] Obtaining an input binding instruction, wherein the binding instruction carries a window identifier and a horn identifier;

[0031] A corresponding relationship between the vehicle window identifier and the horn identifier is established and stored according to the binding instruction.

[0032] In a second aspect, an embodiment of the present invention provides a vehicle-mounted terminal, comprising: a processor and a memory storing a computer program, and when the processor runs the computer program, the steps of the volume adjustment method described in the first aspect are implemented.

[0033] In a third aspect, an embodiment of the present invention provides a computer storage medium, wherein the computer storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the volume adjustment method described in the first aspect are implemented.

[0034] The volume adjustment method, vehicle-mounted terminal and computer storage medium provided in the embodiment of the present invention include: the vehicle-mounted terminal obtains the opening degree information of the vehicle window, and adjusts the output volume of the speaker in the vehicle according to the opening degree information of the window. In this way, the output volume of the speaker in the vehicle is adjusted according to the opening degree information of the vehicle window, so as to realize automatic adjustment of the output volume of the speaker according to the opening degree of the window, which can effectively improve the user experience. In addition, the driver does not need to manually adjust the output volume of the speaker, which avoids distracting the driver's attention, thereby improving driving safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A flow chart of a volume adjustment method provided by an embodiment of the present invention;

[0036] Figure 2 Schematic diagram of the positional relationship between the vehicle window and the speaker in an embodiment of the present invention;

[0037] Figure 3 A specific flow chart of a volume adjustment method provided by an embodiment of the present invention;

[0038] Figure 4 A schematic structural diagram of a vehicle-mounted terminal provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0039] The technical solution of the present invention is further elaborated in detail below in conjunction with the accompanying drawings and specific embodiments of the specification. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0040] See also Figure 1 , a volume adjustment method provided by an embodiment of the present invention, applied to a vehicle-mounted terminal, comprises the following steps:

[0041] Step S101: The vehicle terminal obtains the opening degree information of the vehicle window;

[0042] It should be noted that the vehicle-mounted terminal can specifically be a vehicle machine, or a vehicle-mounted T-BOX or other equipment. In this embodiment, the vehicle is a car, and the car includes windows with adjustable opening height. The vehicle-mounted terminal obtains the opening degree information of the vehicle's windows, which may refer to the vehicle-mounted terminal obtaining the opening degree information of the vehicle's windows after the vehicle's windows change from a closed state to an open state, or the vehicle-mounted terminal obtains the opening degree information of the vehicle's windows after the vehicle's windows change from one open state to another open state, that is, the vehicle-mounted terminal obtains the opening degree information of the vehicle's windows after the vehicle's windows change from one open height to another open height. The vehicle-mounted terminal obtains the opening degree information of the vehicle's windows, which may be the opening degree information of all the vehicle's windows, or the opening degree information of the windows in the vehicle that are in an open state. It should be noted that the open state refers to the opening height of the window being greater than a preset height threshold, and the height threshold can be set according to actual needs, such as 0, 0.5 cm, 2 cm, etc. Generally, when the opening height of the window is small, the influence of the external noise of the vehicle on the internal environment of the vehicle through the window is small, or even basically negligible. At this time, it can be considered that the output volume of the vehicle's speaker does not need to be adjusted. Therefore, the height threshold can usually be set to a value greater than zero. The window opening degree information is used to characterize the opening size of the window, and may include the window opening height and / or the window opening degree, and the window opening degree is the ratio of the window opening height to the total window height. The window opening degree information may also include a window identification, and the window identification is used to identify the position of the window relative to the vehicle. For example, if the window identification is represented by a number, the number "1" can be used to identify the main driver's seat window of the vehicle, and the number "2" can be used to identify the co-driver's seat window of the vehicle. Here, the vehicle-mounted terminal can read the vehicle window opening degree information through the CAN bus, thereby obtaining the vehicle window opening degree information.

[0043] In one embodiment, the step of obtaining the opening degree information of the vehicle window includes: obtaining the opening degree information of the vehicle window after monitoring the opening event of the vehicle window. It can be understood that when the vehicle is in a driving state and the windows remain closed, it can be considered that the output volume of the speaker in the vehicle does not need to be adjusted at this time, and when the owner and / or passenger opens one or more windows of the vehicle, affected by the external environment of the vehicle such as noise, the owner and / or passenger will feel that the output volume of the speaker has become smaller at this time, which directly affects the listening effect of the audio content played by the speaker. Therefore, it is necessary to obtain the opening degree information of the vehicle window at this time to adjust the output volume of the speaker according to the opening degree information of the vehicle window. In this way, the opening degree information of the vehicle window is obtained only after the opening event of the vehicle window is monitored, and the opening degree information of the vehicle window does not need to be obtained in real time, which can effectively save resources and improve operation efficiency.

[0044] Step S102: the vehicle terminal adjusts the output volume of the speaker in the vehicle according to the opening degree information of the vehicle window.

[0045] Specifically, the vehicle terminal adjusts the output volume of the speaker in the vehicle according to the window opening degree information, thereby automatically adjusting the output volume of the speaker according to the window opening degree information, so that the output volume of the speaker in the vehicle meets user needs.

[0046] In one embodiment, the step of adjusting the output volume of the speaker in the vehicle according to the window opening degree information includes:

[0047] Based on the set correspondence between the window identifier and the horn identifier, determining a target horn identifier corresponding to the window identifier in the window opening degree information;

[0048] The output volume of the target speaker corresponding to the target speaker identifier in the vehicle is adjusted according to the opening degree information of the vehicle window.

[0049] It can be understood that a vehicle usually has multiple horns, which are respectively arranged near different windows of the vehicle, such as Figure 2As shown, the vehicle has at least four speakers, which are marked as S1, S2, S3, and S4 respectively; and the vehicle has at least four windows, namely the main driver's window, the co-driver's window, the rear left window, and the rear right window, which are marked as W1, W2, W3, and W4 respectively; wherein, speaker S1 is arranged near the main driver's window W1, speaker S2 is arranged near the co-driver's window W2, speaker S3 is arranged near the rear left window W3, and speaker S4 is arranged near the rear right window W4. When the co-driver's window W2 is opened, the external environment of the vehicle will mainly affect the output of speaker S2, which may cause the passenger to be unable to effectively listen to the audio content output by the speaker S2. Therefore, at this time, it may be necessary to adjust the output volume of the speaker S2. The vehicle-mounted terminal is pre-set with a correspondence between the window identification and the speaker identification, that is, the windows and speakers are bound one by one, such as Figure 2 As shown, the speaker S1 is bound to the main driver's window W1, the speaker S2 is bound to the co-driver's window W2, the speaker S3 is bound to the rear left window W3, the speaker S4 is bound to the rear right window W4, etc. Based on the correspondence between the window identifier and the speaker identifier, after the target speaker to be adjusted is determined according to the window identifier in the window opening degree information, the output volume of the target speaker is adjusted to achieve accurate adjustment of the speaker. In this way, after the speaker corresponding to the open window is determined according to the window, the output volume of the speaker is adjusted according to the window opening degree information, and the accurate adjustment of the speaker is achieved by accurately adjusting the volume, which improves the efficiency and accuracy of the volume adjustment and further improves the user experience.

[0050] In one embodiment, before determining the target horn identifier corresponding to the window identifier in the window opening degree information based on the set correspondence between the window identifier and the horn identifier, the method further includes:

[0051] Obtaining an input binding instruction, wherein the binding instruction carries a window identifier and a horn identifier;

[0052] A corresponding relationship between the vehicle window identifier and the horn identifier is established and stored according to the binding instruction.

[0053] It should be noted that the vehicle terminal may be provided with a user interface for binding the window and the horn, and the user interface may be provided with a window identification input box, a corresponding horn identification input box, and a binding key. Specifically, when the user completes the input operation of the window identification input box and the horn identification input box and touches the binding key, it is equivalent to the vehicle terminal receiving the input binding instruction, indicating that the user wishes to bind the window corresponding to the window identification in the window identification input box with the horn corresponding to the horn identification in the horn identification input box, thereby establishing and storing the corresponding relationship between the window identification and the horn identification, so that the corresponding horn identification can be quickly obtained according to the window identification later. In this way, by establishing and storing the corresponding relationship between the window identification and the horn identification, that is, binding the window to the corresponding horn, so that the corresponding horn identification can be quickly obtained according to the window identification, the processing efficiency can be improved, and the window and the horn can be flexibly bound as needed.

[0054] In one embodiment, the window opening degree information includes the window opening degree, and the window opening degree is the ratio of the window opening height to the total window height; the step of adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the window opening degree information includes:

[0055] Determining a volume adjustment instruction corresponding to a target opening interval according to a correspondence between a set opening interval and a volume adjustment instruction, wherein the target opening interval is an opening interval corresponding to the opening of the vehicle window;

[0056] The output volume of the target speaker corresponding to the target speaker identifier in the vehicle is adjusted according to the volume adjustment instruction corresponding to the target opening range.

[0057] It can be understood that the vehicle terminal can pre-set the correspondence between the opening range and the volume adjustment instruction. An opening range is equivalent to a set of continuous openings. There is no intersection between any two opening ranges, that is, there is no same opening, and each opening range corresponds to a volume adjustment instruction. For example, the opening interval can be divided into 4, such as (0, 0.25], (0.25, 0.5], (0.5, 0.75] and (0.75, 1]. In order to make the range of each opening interval smaller, so that the corresponding volume adjustment instructions are more and more in line with the actual volume adjustment needs, the opening interval can be divided into 8, 16, etc., or it can be divided into a larger number of opening intervals. Here, according to the opening of the window, the opening interval corresponding to the opening of the window, that is, the target opening interval, can be determined, and then according to the correspondence between the opening interval and the volume adjustment instruction, the volume adjustment instruction corresponding to the target opening interval can be obtained, so that the output volume of the target speaker is adjusted according to the volume adjustment instruction corresponding to the target opening interval. In this way, the output volume of the speaker corresponding to the window is adjusted according to the opening of the window, which is simple to operate and has good effect, further improving the user experience.

[0058] It should be noted that when the window opening degree information includes the window opening height, the step of adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the window opening degree information may include: determining the volume adjustment instruction corresponding to the window opening height according to the set correspondence between the window opening height and the volume adjustment instruction; adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the volume adjustment instruction corresponding to the window opening height. Here, the vehicle terminal may be pre-set with the correspondence between the window opening height and the volume adjustment instruction, and different window opening heights correspond to different volume adjustment instructions. It can be understood that, in order to simplify the calculation, the window opening height can be rounded up in a rounded manner. For example, if the window opening height is 3.1 cm, the window opening height can be rounded up to 3 cm. In this way, the output volume of the speaker corresponding to the window is adjusted according to the window opening height, which is easy to operate and has good effect, further improving the user experience.

[0059] Here, the volume adjustment instruction may be to increase the output volume of the speaker by a set volume value. In one embodiment, the step of adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the volume adjustment instruction corresponding to the target opening range includes:

[0060] When the target opening interval is a set first opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to increase a preset first volume value;

[0061] When the target opening interval is a set second opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to increase a preset second volume value;

[0062] When the target opening interval is a set third opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to increase by a preset third volume value;

[0063] The opening values ​​corresponding to the first opening interval, the second opening interval and the third opening interval increase in sequence, respectively, and the third volume value, the second volume value and the first volume value decrease in sequence.

[0064] It should be noted that, in this embodiment, the vehicle terminal obtains the opening degree information of the vehicle window after the window changes from the closed state to the open state, and then adjusts the output volume of the vehicle's horn according to the window opening degree information. It can be understood that when the opening degree of the window is in different opening intervals, that is, the target opening interval is a different opening interval, because the impact of the vehicle's external environment on the vehicle's internal environment is also different, it is necessary to control the output volume of the target horn corresponding to the target horn identifier in the vehicle to increase the volume value. Take the first opening interval as (0, 0.33], the second opening interval as (0.33, 0.66], and the third opening interval as (0.66, 1] as an example, the corresponding first volume value may be 5 decibels, the second volume value may be 10 decibels, and the third volume value may be 20 decibels. In this way, different increase values ​​are set for the output volume of the horn in different opening intervals, so as to realize the flexible setting and adjustment of the output volume of the horn according to the opening degree of the window, and further improve the user experience.

[0065] Here, the volume adjustment instruction may be to adjust the output volume of the speaker to a certain volume value. In one embodiment, the step of adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the volume adjustment instruction corresponding to the target opening range includes:

[0066] When the target opening interval is the set first opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to be a preset fourth volume value;

[0067] When the target opening interval is the set second opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to be a preset fifth volume value;

[0068] When the target opening interval is the set third opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to be a preset sixth volume value;

[0069] The opening values ​​corresponding to the first opening interval, the second opening interval and the third opening interval increase in sequence, respectively, and the sixth volume value, the fifth volume value and the fourth volume value decrease in sequence.

[0070] It should be noted that in this embodiment, the vehicle terminal obtains the opening degree information of the vehicle window after the window changes from a closed state to an open state, or the vehicle terminal obtains the opening degree information of the vehicle window after the window changes from one open state to another open state, and then adjusts the output volume of the vehicle's horn according to the window opening degree information. It can be understood that when the opening degree of the window is in different opening intervals, that is, the target opening interval is a different opening interval, since the impact of the vehicle's external environment on the vehicle's internal environment is also different, it is necessary to control the output volume of the target horn corresponding to the target horn identifier in the vehicle to be different volume values. Taking the first opening interval as (0, 0.33], the second opening interval as (0.33, 0.66], and the third opening interval as (0.66, 1] as an example, the corresponding fourth volume value may be 25 decibels, the fifth volume value may be 45 decibels, the third volume value may be 60 decibels, etc. In this way, the output volume of the speaker is set to different volume values ​​for different opening intervals, so that the output volume of the speaker can be flexibly set and adjusted according to the opening of the window, further improving the user experience.

[0071] In one embodiment, the step of adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the volume adjustment instruction corresponding to the target opening range also includes:

[0072] According to the correspondence between the set opening interval and the volume compensation instruction, determining the volume compensation instruction corresponding to the target opening interval;

[0073] The output volume of speakers other than the target speaker in the vehicle is compensated according to the volume compensation instruction corresponding to the target opening range.

[0074] It is understandable that a vehicle usually has multiple horns, which are respectively arranged near different windows of the vehicle. Please refer to Figure 2, when the passenger seat window W2 is opened, the external environment of the vehicle may affect the output of the speaker S2, the output of the speaker S1, and / or the output of the speaker S3, and / or the output of the speaker S4, causing the passenger to be unable to effectively listen to the audio content output by the corresponding speaker. Therefore, it may be necessary to compensate the output volume of the speaker S1, and / or the speaker S3, and / or the speaker S4. Here, the vehicle terminal may be pre-set with a corresponding relationship between the opening interval and the volume compensation instruction. According to the opening of the window, the opening interval corresponding to the opening of the window, i.e., the target opening interval, can be determined. Then, according to the corresponding relationship between the opening interval and the volume adjustment instruction, the volume compensation instruction corresponding to the target opening interval can be obtained, so that the output volume of the speaker other than the target speaker is compensated according to the volume compensation instruction corresponding to the target opening interval. The volume compensation instruction may be to increase the output volume of the speaker by a set volume value. For different opening intervals, the increased volume value corresponding to the volume compensation instruction may be different. Taking the first opening interval as (0, 0.33], the second opening interval as (0.33, 0.66], and the third opening interval as (0.66, 1] as an example, the volume compensation instruction corresponding to the first opening interval may be a volume increase of 3 decibels, the volume compensation instruction corresponding to the second opening interval may be a volume increase of 5 decibels, and the volume compensation instruction corresponding to the third opening interval may be a volume increase of 8 decibels, etc. In this way, the output volume of speakers other than the target speaker corresponding to the window is compensated according to the opening of the window, so that the volume adjustment is more comprehensive and the effect is better, further improving the user experience.

[0075] It should be noted that, when the window opening degree information includes the window opening height, the output volume of the target speaker corresponding to the target speaker identifier in the vehicle is adjusted according to the volume adjustment instruction corresponding to the target opening range, and also includes: determining the volume compensation instruction corresponding to the opening height of the window according to the correspondence between the set window opening height and the volume compensation instruction; and compensating the output volume of speakers other than the target speaker in the vehicle according to the volume compensation instruction corresponding to the window opening height.

[0076] In summary, in the volume adjustment method provided in the above embodiment, the output volume of the speaker in the vehicle is adjusted according to the opening degree information of the vehicle window, so as to automatically adjust the output volume of the speaker according to the opening degree of the window, which can effectively improve the user experience. In addition, the driver does not need to manually adjust the output volume of the speaker, which avoids distracting the driver's attention, thereby improving driving safety.

[0077] Based on the same inventive concept as the above-mentioned embodiment, this embodiment describes the technical solution of the above-mentioned embodiment in detail through specific examples. Figure 2 , taking the volume adjustment method applied to a car with a main driver's seat window W1, a front passenger seat window W2, a rear left seat window W3, and a rear right seat window W4 with adjustable opening heights, and with speakers S1, S2, S3, and S4 as an example, Figure 3 A specific flow chart of a volume adjustment method provided by an embodiment of the present invention includes:

[0078] Step S201: establishing a correspondence between the speaker and the car window;

[0079] Specifically, establish the correspondence between the horn S1 and the main driver's seat window W1, the correspondence between the horn S2 and the front passenger seat window W2, the correspondence between the horn S3 and the rear left seat window W3, and the correspondence between the horn S4 and the rear right seat window W4, so as to realize the binding of the horn and the window.

[0080] Step S202: Record the current output volume of the speaker;

[0081] Specifically, the current output volume of each of the four speakers is recorded, wherein the current output volume of speaker S1 is recorded as V1, the current output volume of speaker S2 is recorded as V2, the current output volume of speaker S3 is recorded as V3, and the current output volume of speaker S4 is recorded as V4.

[0082] Step S203: According to the message event of the vehicle window change, the corresponding volume compensation data is dynamically applied to correct the volume.

[0083] Specifically, when it is detected that the corresponding window is opened, the output volume of the corresponding speaker is corrected according to the opening height of the window.

[0084] Here, the preset volume compensation data is set according to the opening height of the window. For example, when the window is closed, the corresponding compensation volume may be zero; when the window is half-opened, the corresponding compensation volume may be a first volume value; when the window is fully open, the corresponding compensation volume may be a second volume value, and the first volume value is less than the second volume value.

[0085] In summary, in this embodiment, a corresponding relationship between four speakers and four windows is established, and the volume of the corresponding speakers is dynamically corrected according to the size of the windows opened, thereby improving the user experience and solving the problem of manually adjusting the volume when the windows are open while the vehicle is driving.

[0086] Based on the same inventive concept as the above embodiments, the embodiment of the present invention provides a vehicle-mounted terminal, such as Figure 4As shown, the vehicle-mounted terminal includes: a processor 310 and a memory 311 storing a computer program; wherein, Figure 4 The processor 310 shown in the figure is not used to indicate that the number of the processor 310 is one, but is only used to indicate the positional relationship of the processor 310 relative to other devices. In actual applications, the number of the processor 310 may be one or more; similarly, Figure 4 The memory 311 shown in the figure has the same meaning, that is, it is only used to refer to the position relationship of the memory 311 relative to other devices. In practical applications, the number of memories 311 can be one or more. When the processor 310 runs the computer program, the volume adjustment method applied to the above-mentioned vehicle-mounted terminal is implemented.

[0087] The vehicle terminal may also include: at least one network interface 312. The various components in the vehicle terminal are coupled together through a bus system 313. It can be understood that the bus system 313 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 313 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 4 Various buses are labeled as bus system 313.

[0088] The memory 311 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. The nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 311 described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable types of memories.

[0089] The memory 311 in the embodiment of the present invention is used to store various types of data to support the operation of the vehicle-mounted terminal. Examples of these data include: any computer program used to operate on the vehicle-mounted terminal, such as an operating system and an application; contact data; phone book data; messages; pictures; videos, etc. Among them, the operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program may include various applications, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. Here, the program that implements the method of the embodiment of the present invention may be included in the application program.

[0090] Based on the same inventive concept as the above-mentioned embodiment, this embodiment further provides a computer storage medium, in which a computer program is stored. The computer storage medium may be a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); it may also be various devices including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc. When the computer program stored in the computer storage medium is executed by the processor, the volume adjustment method applied to the above-mentioned vehicle-mounted terminal is implemented. For the specific steps implemented when the computer program is executed by the processor, please refer to Figure 1 The description of the illustrated embodiment will not be repeated here.

[0091] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0092] In this document, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of elements other than those listed and may also include additional elements not expressly listed.

[0093] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A volume adjustment method, applied to a vehicle-mounted terminal, characterized in that: include: Obtaining information on the degree of opening of vehicle windows; adjusting the output volume of a speaker in the vehicle according to the window opening degree information; Wherein, the step of adjusting the output volume of the speaker in the vehicle according to the opening degree information of the vehicle window comprises: Based on the set correspondence between the window identifier and the horn identifier, determining a target horn identifier corresponding to the window identifier in the window opening degree information; adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the window opening degree information; The window opening degree information includes the window opening degree, and the window opening degree is the ratio of the window opening height to the total window height; the step of adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the window opening degree information includes: Determining a volume adjustment instruction corresponding to a target opening interval according to a correspondence between a set opening interval and a volume adjustment instruction, wherein the target opening interval is an opening interval corresponding to the opening of the vehicle window; The output volume of the target speaker corresponding to the target speaker identifier in the vehicle is adjusted according to the volume adjustment instruction corresponding to the target opening interval; wherein, the larger the target opening interval is, the larger the output volume of the target speaker after adjustment is; the output volume of the target speaker corresponding to the target speaker identifier in the vehicle is adjusted according to the volume adjustment instruction corresponding to the target opening interval, and also includes: determining the volume compensation instruction corresponding to the target opening interval according to the correspondence between the set opening interval and the volume compensation instruction; The output volume of speakers other than the target speaker in the vehicle is compensated according to the volume compensation instruction corresponding to the target opening range.

2. The volume adjustment method according to claim 1, characterized in that: The step of obtaining the opening degree information of the vehicle window comprises: After detecting an opening event of a vehicle window, information on the degree of opening of the vehicle window is obtained.

3. The volume adjustment method according to claim 1, characterized in that: The step of adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the volume adjustment instruction corresponding to the target opening interval comprises: when the target opening interval is a set first opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to increase by a preset first volume value; When the target opening interval is a set second opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to increase a preset second volume value; When the target opening interval is a set third opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to increase by a preset third volume value; The opening values ​​corresponding to the first opening interval, the second opening interval and the third opening interval increase in sequence, respectively, and the third volume value, the second volume value and the first volume value decrease in sequence.

4. The volume adjustment method according to claim 1, characterized in that: The step of adjusting the output volume of the target speaker corresponding to the target speaker identifier in the vehicle according to the volume adjustment instruction corresponding to the target opening interval includes: when the target opening interval is a set first opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to a preset fourth volume value; When the target opening interval is the set second opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to be a preset fifth volume value; When the target opening interval is the set third opening interval, controlling the output volume of the target speaker corresponding to the target speaker identifier in the vehicle to be a preset sixth volume value; The opening values ​​corresponding to the first opening interval, the second opening interval and the third opening interval increase in sequence, respectively, and the sixth volume value, the fifth volume value and the fourth volume value decrease in sequence.

5. The volume adjustment method according to claim 1, characterized in that: Before determining the target horn identification corresponding to the window identification in the window opening degree information based on the correspondence between the set window identification and the horn identification, the method also includes: obtaining an input binding instruction, the binding instruction carrying the window identification and the horn identification; establishing and storing the correspondence between the window identification and the horn identification according to the binding instruction.

6. A vehicle-mounted terminal, characterized in that: include: A processor and a memory storing a computer program, wherein when the processor runs the computer program, the volume adjustment method according to any one of claims 1 to 5 is implemented.

7. A computer storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the volume adjustment method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Safe protection system for kid left in car and method thereof

    CN106494342A

  • Intelligent vehicular audio system volume adjusting system based on opening / closure of window

    CN106792362A

  • Method for controlling volume of electric automobile audio

    CN107415865A

  • Vehicle window control method and device

    CN108286386A

  • Volume adjusting method and device and computer readable storage medium

    CN109353297A