CN113986189A - Method and device for dynamically adjusting navigation volume of vehicle-mounted terminal - Google Patents
Method and device for dynamically adjusting navigation volume of vehicle-mounted terminal Download PDFInfo
- Publication number
- CN113986189A CN113986189A CN202111260586.1A CN202111260586A CN113986189A CN 113986189 A CN113986189 A CN 113986189A CN 202111260586 A CN202111260586 A CN 202111260586A CN 113986189 A CN113986189 A CN 113986189A
- Authority
- CN
- China
- Prior art keywords
- application program
- music
- volume
- application
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Navigation (AREA)
Abstract
The application discloses a method and a device for dynamically adjusting navigation volume of a vehicle-mounted terminal. Monitoring a second application program of the vehicle-mounted terminal; the music playing detection result of the second application program is obtained through a pre-trained music type recognition model, the music type recognition model is obtained by using multiple groups of music data through machine learning training, and each group of data in the multiple groups of music data comprises: the music data processing method comprises the steps that sample music data and a music type label of the music data, wherein the music type label and playing volume have a preset association relation; and under the condition that the vehicle-mounted terminal is running the first application program and the second application program runs in the background, dynamically adjusting the playing volume of the first application program according to the detection result of the played music of the second application program. The technical problem that the navigation volume of the vehicle-mounted terminal cannot be dynamically adjusted is solved.
Description
Technical Field
The application relates to the field of computer software, in particular to a method and a device for dynamically adjusting navigation volume of a vehicle-mounted terminal.
Background
And the vehicle-mounted terminal can provide services such as navigation, music playing and the like in the driving process.
When different music is played, if the navigation volume is always kept at the same volume, the driving experience of the driver is influenced.
Aiming at the problem that the navigation volume of the vehicle-mounted terminal in the related technology can not be dynamically adjusted, an effective solution is not provided at present.
Disclosure of Invention
The present application mainly aims to provide a method and a device for dynamically adjusting navigation volume of a vehicle-mounted terminal to solve the problem that the navigation volume of the vehicle-mounted terminal cannot be dynamically adjusted.
In order to achieve the above object, according to one aspect of the present application, a method for dynamically adjusting navigation volume of a vehicle-mounted terminal is provided.
The method for dynamically adjusting the navigation volume of the vehicle-mounted terminal comprises the following steps: monitoring a second application program of the vehicle-mounted terminal; the music playing detection result of the second application program is obtained through a pre-trained music type recognition model, the music type recognition model is obtained by using multiple groups of music data through machine learning training, and each group of data in the multiple groups of music data comprises: the music data processing method comprises the steps that sample music data and a music type label of the music data, wherein the music type label and playing volume have a preset association relation; and under the condition that the vehicle-mounted terminal is running the first application program and the second application program runs in the background, dynamically adjusting the playing volume of the first application program according to the detection result of the played music of the second application program.
Further, still include: and under the condition that the vehicle-mounted terminal is running the second application program and the first application program runs in the background, dynamically adjusting the playing volume of the first application program when the first application program runs in the background according to the detection result of the played music of the second application program.
Further, the dynamically adjusting the playing volume of the first application program according to the detection result of the playing music of the second application program includes: under the condition that the detection result of the played music of the second application program is a first music type, dynamically adjusting the current playing volume of the first application program to be a first playing volume; under the condition that the detection result of the played music of the second application program is a second music type, dynamically adjusting the current playing volume of the first application program to be a second playing volume; under the condition that the detection result of the played music of the second application program is a third music type, dynamically adjusting the current playing volume of the first application program to be a third playing volume; the third playing volume > the second playing volume > the first playing volume, and the first music type, the second music type and the third music type all comprise preset playing volumes corresponding to different music types.
Further, after monitoring the second application program of the vehicle-mounted terminal, the method further includes: when the current playing volume of the second application program is lower than a preset threshold value, the playing volume of the first application program is not adjusted; and when the current playing volume of the second application program is higher than a preset threshold value, adjusting the playing volume of the first application program to be not higher than the preset threshold value, wherein the preset threshold value is determined by the sound volume in the environment in the vehicle.
Further, the dynamically adjusting the playing volume of the first application program according to the detection result of the music played by the second application program under the condition that the vehicle-mounted terminal is running the first application program and the second application program runs in the background comprises: and under the condition that the vehicle-mounted terminal is running the first application program and the second application program runs in the background, the playing volume of the first application program is adjusted in real time together with the current environment volume in the vehicle according to the detection result of the played music of the second application program.
Further, when the vehicle-mounted terminal is running the first application program and the second application program runs in the background, after dynamically adjusting the playing volume of the first application program according to the detection result of the music played by the second application program, the method further includes: monitoring whether a first application program of the vehicle-mounted terminal is switched to a third application program, wherein the third application program and the first application program are the same type of application; if the switching to the third application program is monitored, keeping the current playing volume of the third application program to be the same as the playing volume of the first application program; monitoring whether a first application program of the vehicle-mounted terminal is switched to a fourth application program, wherein the fourth application program and the first application program are non-same type applications; and if the switching to the fourth application program is monitored, keeping the current playing volume of the fourth application program.
Further, the detection result of the played music of the second application obtained through the pre-trained music type recognition model includes: the second application program is a music playing application program, the first application program is a navigation application program, and matching results of music album information, singer information and name information of playing music of the music playing application program are obtained through a pre-trained music type recognition model; and dynamically adjusting the playing volume of the navigation application program according to the matching result.
In order to achieve the above object, according to another aspect of the present application, a dynamic volume adjusting device for a vehicle terminal navigation is provided.
The dynamic adjusting device for the navigation volume of the vehicle-mounted terminal comprises: the monitoring module is used for monitoring a second application program of the vehicle-mounted terminal; the recognition module is used for obtaining a music playing recognition result of the second application program through a pre-trained music type recognition model, the music type recognition model is obtained by using a plurality of groups of music data through machine learning training, and each group of data in the plurality of groups of music data comprises: the music data processing method comprises the steps that sample music data and a music type label of the music data, wherein the music type label and playing volume have a preset association relation; and the adjusting module is used for dynamically adjusting the playing volume of the first application program according to the recognition result of the played music of the second application program under the condition that the first application program is operated by the vehicle-mounted terminal and the second application program operates in the background.
In the method and the device for dynamically adjusting the navigation volume of the vehicle-mounted terminal in the embodiment of the application, a mode of monitoring a second application program of the vehicle-mounted terminal is adopted, and a detection result of playing music of the second application program is obtained through a pre-trained music type recognition model, so that the aim of dynamically adjusting the playing volume of the first application program according to the detection result of the playing music of the second application program under the condition that the first application program is running and the second application program runs in a background is fulfilled, the technical effect that the navigation volume is dynamically adjusted according to the playing music is achieved, and the technical problem that the navigation volume of the vehicle-mounted terminal cannot be dynamically adjusted is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
FIG. 1 is a schematic diagram of a hardware structure adopted in a method for dynamically adjusting navigation volume of a vehicle-mounted terminal according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a dynamic adjustment method for navigation volume of a vehicle-mounted terminal according to an embodiment of the application;
FIG. 3 is a schematic structural diagram of a device for dynamically adjusting navigation volume of a vehicle-mounted terminal according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a method for dynamically adjusting navigation volume of a vehicle-mounted terminal according to a preferred embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In this application, the terms "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings. These terms are used primarily to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meaning of these terms in this application will be understood by those of ordinary skill in the art as appropriate.
Furthermore, the terms "mounted," "disposed," "provided," "connected," and "sleeved" are to be construed broadly. For example, it may be a fixed connection, a removable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
As shown in fig. 1, the method provided in the first embodiment of the present application may be executed in a vehicle-mounted terminal, a computer terminal, or a similar vehicle-mounted device. Taking the vehicle-mounted terminal as an example, fig. 1 is a hardware structure block diagram of a hardware structure adopted in the vehicle-mounted terminal navigation volume dynamic adjustment method according to the embodiment of the present application. As shown in fig. 1, the in-vehicle terminal may include one or more processors 102 (only one is shown in fig. 1) (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the in-vehicle terminal. For example, the in-vehicle terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of an application software, such as a computer program corresponding to the privacy-blocking method for video surveillance in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the in-vehicle terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. The specific example of the network described above may include a wireless network provided by a communication provider of the in-vehicle terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
As shown in fig. 2, the method includes steps S201 to S203 as follows:
step S201, monitoring a second application program of the vehicle-mounted terminal;
step S202, obtaining a detection result of the played music of the second application program through a pre-trained music type recognition model, wherein the music type recognition model is obtained by using multiple groups of music data through machine learning training, and each group of data in the multiple groups of music data comprises: the music data processing method comprises the steps that sample music data and a music type label of the music data, wherein the music type label and playing volume have a preset association relation;
step S203, when the vehicle-mounted terminal is running the first application program and the second application program runs in the background, the playing volume of the first application program is dynamically adjusted according to the detection result of the playing music of the second application program.
From the above description, it can be seen that the following technical effects are achieved by the present application:
by adopting a mode of monitoring a second application program of the vehicle-mounted terminal and obtaining a music playing detection result of the second application program through a pre-trained music type recognition model, the aim of dynamically adjusting the playing volume of the first application program according to the music playing detection result of the second application program under the condition that the vehicle-mounted terminal is running the first application program and the second application program runs in a background is fulfilled, so that the technical effect of dynamically adjusting the navigation volume according to the playing music is realized, and the technical problem that the navigation volume of the vehicle-mounted terminal cannot be dynamically adjusted is solved.
In step S201, different applications can be run on the in-vehicle terminal, so as to meet different requirements of the user. Monitoring the second application program of the vehicle-mounted terminal means monitoring some feature data or user data of the second application program.
As an alternative embodiment, the second application may be an application dedicated to playing music.
As an alternative, the second application may also be an application that generates music during operation.
In step S202, a detection result of the played music of the second application program is obtained by the vehicle-mounted terminal through a pre-trained music type recognition model. It should be noted that the detection result of the played music of the second application program includes, but is not limited to, a music genre, a music tempo, and the like.
As an alternative embodiment, the music type recognition model is derived by machine learning training using a plurality of sets of music data. It is understood that a person skilled in the art can train the plurality of sets of music data by using various machine learning models, and obtain a music type recognition model. The embodiment of the present application is not particularly limited, and a person skilled in the art may select the learning model according to an actual usage scenario.
As an alternative embodiment, each set of data in the plurality of sets of music data includes: the music data comprises sample music data and music type labels of the music data, wherein the music type labels have a preset association relation with playing volume. It is to be noted that the sample music data is previously acquired by the history data acquisition. The music type label of the music data is obtained by means of labeling. Preferably, a preset association relationship is set between the music type tag and the playing volume. For example, the music type tag is pop music, and the corresponding playing volume is middle. The music type label is classical music, and the corresponding playing volume is small.
In step S203, when the vehicle-mounted terminal is running the first application and the second application runs in the background, the playing volume of the first application is dynamically adjusted according to the detection result of the music played by the second application. It is understood that the first application is a navigation-type application running on the in-vehicle terminal. The detection result of the played music of the second application program means that the music belongs to a preset type.
It should be noted that, as an alternative implementation, the first application program is running at the vehicle-mounted terminal, and the second application program runs in the background. That is, the first application program is running and displayed on the main interface of the vehicle-mounted terminal, i.e., the navigation service is performed, and the second application program is running in the background and playing music.
As an alternative embodiment, the playing volume of the first application program may be dynamically adjusted by gradually decreasing or increasing the volume.
As an optional implementation manner, the dynamically adjusting the playing volume of the first application program may be that the volume is gradually decreased or increased to a preset threshold value and the current volume is maintained.
As a preference in the present embodiment, the present invention further includes: and under the condition that the vehicle-mounted terminal is running the second application program and the first application program runs in the background, dynamically adjusting the playing volume of the first application program when the first application program runs in the background according to the detection result of the played music of the second application program.
In specific implementation, the second application program is running at the vehicle-mounted terminal, and the first application program runs in the background, that is, the second application program is running and is displayed on the main interface of the vehicle-mounted terminal, that is, music playing is performed, and the first application program runs in the background and performs navigation.
It can be understood that the first application program has a navigation information playing volume in the background navigation process, and the navigation information playing volume at this time needs to be adjusted according to the detection result of the music played by the second application program. The process of adjusting may include: increasing/decreasing the playing volume of the navigation information while maintaining the playing volume of a second application program; or keeping the playing volume of the navigation information and keeping the playing volume of the second application program.
As a preferable preference in this embodiment, the dynamically adjusting the playing volume of the first application according to the detection result of the played music of the second application includes: under the condition that the detection result of the played music of the second application program is a first music type, dynamically adjusting the current playing volume of the first application program to be a first playing volume; under the condition that the detection result of the played music of the second application program is a second music type, dynamically adjusting the current playing volume of the first application program to be a second playing volume; under the condition that the detection result of the played music of the second application program is a third music type, dynamically adjusting the current playing volume of the first application program to be a third playing volume; the third playing volume > the second playing volume > the first playing volume, and the first music type, the second music type and the third music type all comprise preset playing volumes corresponding to different music types.
In specific implementation, when the detection result of the played music of the second application program is the first music type, the current playing volume of the first application program is dynamically adjusted to be the first playing volume, that is, the current playing volume of the first application program is dynamically adjusted to be the first playing volume according to the first music type. It can be understood that, when the detection result of the played music of the second application program is a second music type, the current playing volume of the first application program is dynamically adjusted to be a second playing volume; and dynamically adjusting the current playing volume of the first application program to be a third playing volume under the condition that the playing music detection result of the second application program is a third music type. The third playback volume > the second playback volume > the first playback volume. For example, the playing volume includes high, medium, low, medium, high, and balanced.
It can be understood that the first music type, the second music type, and the third music type all include preset playing volume sizes corresponding to different music types, which means that the first music type, the second music type, and the third music type all have different corresponding preset playing volume sizes (decibels). And meanwhile, dynamically adjusting the current playing volume according to the preset playing volume.
In addition, the third playing volume, the second playing volume and the first playing volume can also consider the influence of the current environmental noise in the vehicle. For example, Va playback volume is Vb threshold volume ± Vc ambient noise.
As a preferable preference in this embodiment, after monitoring the second application program of the in-vehicle terminal, the method further includes: when the current playing volume of the second application program is lower than a preset threshold value, the playing volume of the first application program is not adjusted; and when the current playing volume of the second application program is higher than a preset threshold value, adjusting the playing volume of the first application program to be not higher than the preset threshold value, wherein the preset threshold value is determined by the sound volume in the environment in the vehicle.
In specific implementation, by monitoring a second application program of the vehicle-mounted terminal, when it is monitored that the current playing volume of the second application program is lower than a preset threshold, the playing volume of the first application program is not adjusted. That is, when the current playing volume of the second application does not affect the first application, no adjustment is needed.
Further, when the current playing volume of the second application program is higher than a preset threshold, the playing volume of the first application program is adjusted to be not higher than the preset threshold. It is noted that the preset threshold is determined by the volume of sound in the vehicle environment. That is, when the current playing volume of the second application affects the playing volume of the first application, the playing volume of the first application needs to be adjusted and cannot be higher than the preset threshold. When the environment in the vehicle is noisy and the playing volume of the second application program is high, the playing volume of the first application program needs to be correspondingly adjusted (increased), but the environment in the vehicle is not disturbed.
As a preferable preference in this embodiment, the dynamically adjusting the playback volume of the first application program according to the detection result of the played music of the second application program when the in-vehicle terminal is running the first application program and the second application program runs in the background includes: and under the condition that the vehicle-mounted terminal is running the first application program and the second application program runs in the background, the playing volume of the first application program is adjusted in real time together with the current environment volume in the vehicle according to the detection result of the played music of the second application program.
In specific implementation, under the condition that the first application program is running and the second application program runs in the background, the playing volume of the first application program is adjusted in real time according to the detection result of the played music of the second application program and the current environment volume in the vehicle. That is, when adjusting the playback volume of the first application, not only the playback music detection result identified by the result of machine learning but also the sound influence of the environment in the vehicle need to be taken into consideration.
As a preferable preference in this embodiment, after dynamically adjusting the playback volume of the first application program according to the detection result of the played music of the second application program when the in-vehicle terminal is running the first application program and the second application program is running in the background, the method further includes: monitoring whether a first application program of the vehicle-mounted terminal is switched to a third application program, wherein the third application program and the first application program are the same type of application; if the switching to the third application program is monitored, keeping the current playing volume of the third application program to be the same as the playing volume of the first application program; monitoring whether a first application program of the vehicle-mounted terminal is switched to a fourth application program, wherein the fourth application program and the first application program are non-same type applications; and if the switching to the fourth application program is monitored, keeping the current playing volume of the fourth application program.
In specific implementation, after the dynamic volume adjustment, the vehicle-mounted terminal may continue to monitor whether the first application program of the vehicle-mounted terminal is switched to the third application program. It is noted that the third application is the same type of application as the first application. That is, the third application may be a handover of a different service provider by the user during the use of the in-vehicle terminal.
If the vehicle-mounted terminal monitors that the third application program is switched to, keeping the current playing volume of the third application program to be the same as the playing volume of the first application program; and monitoring whether the first application program of the vehicle-mounted terminal is switched to a fourth application program. It is noted that the fourth application is a non-same type of application as the first application. That is, the fourth application may be a handover of a different type of service by the user during the use of the in-vehicle terminal. Such as switching from a navigation application to a fueling application, or from a navigation application to a shopping application.
Further, if the vehicle-mounted terminal monitors that the switch is made to the fourth application program, the current playing volume of the fourth application program is kept. Namely, the current playing volume of the fourth application program is kept, and the self volume of the application program is not influenced.
Preferably, in this embodiment, the detection result of the played music of the second application obtained through the pre-trained music type recognition model includes: the second application program is a music playing application program, the first application program is a navigation application program, and matching results of music album information, singer information and name information of playing music of the music playing application program are obtained through a pre-trained music type recognition model; and dynamically adjusting the playing volume of the navigation application program according to the matching result.
In specific implementation, the second application program of the vehicle-mounted terminal is a music playing application program, and the first application program is a navigation application program. Obtaining a matching result of music album information, singer information and name information which the playing music of the music playing application program belongs to at the vehicle-mounted terminal through a pre-trained music type identification model; and then dynamically adjusting the playing volume of the navigation application program according to the matching result.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
According to an embodiment of the present application, there is also provided a device for dynamically adjusting navigation volume of a vehicle-mounted terminal, where as shown in fig. 3, the device includes:
a monitoring module 301, configured to monitor a second application program of the vehicle-mounted terminal;
a recognition module 302, configured to obtain a recognition result of the played music of the second application program through a pre-trained music type recognition model, where the music type recognition model is obtained through machine learning training by using multiple sets of music data, and each set of data in the multiple sets of music data includes: the music data processing method comprises the steps that sample music data and a music type label of the music data, wherein the music type label and playing volume have a preset association relation;
the adjusting module 303 is configured to dynamically adjust the playing volume of the first application program according to the recognition result of the played music of the second application program when the first application program is being executed by the vehicle-mounted terminal and the second application program is executed in the background.
In the monitoring module 301 of the embodiment of the present application, the vehicle-mounted terminal can run different applications, so as to meet different requirements of users. Monitoring the second application program of the vehicle-mounted terminal means monitoring some feature data or user data of the second application program.
As an alternative embodiment, the second application may be an application dedicated to playing music.
As an alternative, the second application may also be an application that generates music during operation.
In the identification module 302 of the embodiment of the present application, a detection result of the played music of the second application program is obtained by the in-vehicle terminal through a pre-trained music type identification model. It should be noted that the detection result of the played music of the second application program includes, but is not limited to, a music genre, a music tempo, and the like.
As an alternative embodiment, the music type recognition model is derived by machine learning training using a plurality of sets of music data. It is understood that a person skilled in the art can train the plurality of sets of music data by using various machine learning models, and obtain a music type recognition model. The embodiment of the present application is not particularly limited, and a person skilled in the art may select the learning model according to an actual usage scenario.
As an alternative embodiment, each set of data in the plurality of sets of music data includes: the music data comprises sample music data and music type labels of the music data, wherein the music type labels have a preset association relation with playing volume. It is to be noted that the sample music data is previously acquired by the history data acquisition. The music type label of the music data is obtained by means of labeling. Preferably, a preset association relationship is set between the music type tag and the playing volume. For example, the music type tag is pop music, and the corresponding playing volume is middle. The music type label is classical music, and the corresponding playing volume is small.
In the adjusting module 303 of the embodiment of the present application, when the vehicle-mounted terminal is running the first application and the second application runs in the background, the playing volume of the first application is dynamically adjusted according to the detection result of the music played by the second application. It is understood that the first application is a navigation-type application running on the in-vehicle terminal. The detection result of the played music of the second application program means that the music belongs to a preset type.
It should be noted that, as an alternative implementation, the first application program is running at the vehicle-mounted terminal, and the second application program runs in the background. That is, the first application program is running and displayed on the main interface of the vehicle-mounted terminal, i.e., the navigation service is performed, and the second application program is running in the background and playing music.
As an alternative embodiment, the playing volume of the first application program may be dynamically adjusted by gradually decreasing or increasing the volume.
As an optional implementation manner, the dynamically adjusting the playing volume of the first application program may be that the volume is gradually decreased or increased to a preset threshold value and the current volume is maintained.
It will be apparent to those skilled in the art that the modules or steps of the present application described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present application is not limited to any specific combination of hardware and software.
In order to better understand the flow of the above method for dynamically adjusting the navigation volume of the vehicle-mounted terminal, the following explains the above technical solutions with reference to preferred embodiments, but is not limited to the technical solutions of the embodiments of the present invention.
According to the dynamic adjustment method for the navigation volume of the vehicle-mounted terminal in the embodiment of the application, the music model is established by monitoring the music played by the user in real time, and the volume of the navigation playing is dynamically adjusted according to the played music.
As shown in fig. 4, a schematic flow chart of a method for dynamically adjusting navigation volume of a vehicle-mounted terminal specifically includes:
step S401, training and analyzing music, and establishing different music models.
A library of music samples is created, the music number of which is on the order of a certain order of magnitude, say 2000, containing various types of music.
And marking the music in the sample library, and dividing the music into rock, slow and common music types.
Step S402, the navigation system monitors the music played by the user in real time and matches the music to different models according to the information of music album, singer, name and the like.
And establishing a music recognition model by a machine learning method, and loading the music recognition model into the navigation equipment. The navigation system monitors external music sound in real time, and divides the monitored music into three models by a machine learning method
And S403, dynamically adjusting the volume of the navigation according to the matched model, and meeting the requirement that the user hears the proper volume.
And respectively setting the navigation sound to be high, medium and low three-level volume according to the divided model.
In the steps, a music playing program of the vehicle-mounted terminal is monitored; the music playing detection result of the music playing program is obtained through a pre-trained music type recognition model, the music type recognition model is obtained by using a plurality of groups of music data through machine learning training, and each group of data in the plurality of groups of music data comprises: the music data processing method comprises the steps that sample music data and a music type label of the music data, wherein the music type label and playing volume have a preset association relation; and under the condition that the vehicle-mounted terminal is running the navigation system and the music playing program runs in the background, dynamically adjusting the playing volume of the navigation system according to the detection result of the music playing program.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. A method for dynamically adjusting navigation volume of a vehicle-mounted terminal is characterized by comprising the following steps:
monitoring a second application program of the vehicle-mounted terminal;
the music playing detection result of the second application program is obtained through a pre-trained music type recognition model, the music type recognition model is obtained by using multiple groups of music data through machine learning training, and each group of data in the multiple groups of music data comprises: the music data processing method comprises the steps that sample music data and a music type label of the music data, wherein the music type label and playing volume have a preset association relation;
and under the condition that the vehicle-mounted terminal is running the first application program and the second application program runs in the background, dynamically adjusting the playing volume of the first application program according to the detection result of the played music of the second application program.
2. The method of claim 1, further comprising:
and under the condition that the vehicle-mounted terminal is running the second application program and the first application program runs in the background, dynamically adjusting the playing volume of the first application program when the first application program runs in the background according to the detection result of the played music of the second application program.
3. The method of claim 2, wherein dynamically adjusting the playback volume of the first application according to the detection result of the playback music of the second application comprises:
under the condition that the detection result of the played music of the second application program is a first music type, dynamically adjusting the current playing volume of the first application program to be a first playing volume;
under the condition that the detection result of the played music of the second application program is a second music type, dynamically adjusting the current playing volume of the first application program to be a second playing volume;
under the condition that the detection result of the played music of the second application program is a third music type, dynamically adjusting the current playing volume of the first application program to be a third playing volume;
the third playing volume > the second playing volume > the first playing volume, and the first music type, the second music type and the third music type all comprise preset playing volumes corresponding to different music types.
4. The method according to claim 1, wherein after the monitoring the second application program of the in-vehicle terminal, the method further comprises:
when the current playing volume of the second application program is lower than a preset threshold value, the playing volume of the first application program is not adjusted;
and when the current playing volume of the second application program is higher than a preset threshold value, adjusting the playing volume of the first application program to be not higher than the preset threshold value, wherein the preset threshold value is determined by the sound volume in the environment in the vehicle.
5. The method according to claim 1, wherein dynamically adjusting the playback volume of the first application according to the detection result of the playback music of the second application when the in-vehicle terminal is running the first application and the second application is running in the background comprises:
and under the condition that the vehicle-mounted terminal is running the first application program and the second application program runs in the background, the playing volume of the first application program is adjusted in real time together with the current environment volume in the vehicle according to the detection result of the played music of the second application program.
6. The method according to claim 1, wherein when the in-vehicle terminal is running the first application and the second application is running in the background, after dynamically adjusting the playback volume of the first application according to the detection result of the playback music of the second application, the method further comprises:
monitoring whether a first application program of the vehicle-mounted terminal is switched to a third application program, wherein the third application program and the first application program are the same type of application;
if the switching to the third application program is monitored, keeping the current playing volume of the third application program to be the same as the playing volume of the first application program;
monitoring whether a first application program of the vehicle-mounted terminal is switched to a fourth application program, wherein the fourth application program and the first application program are non-same type applications;
and if the switching to the fourth application program is monitored, keeping the current playing volume of the fourth application program.
7. The method of claim 1, wherein the detection of the music played by the second application through the pre-trained music type recognition model comprises:
the second application is a music playing application, the first application is a navigation application,
obtaining a matching result of music album information, singer information and name information to which playing music of the music playing application program belongs through a pre-trained music type identification model;
and dynamically adjusting the playing volume of the navigation application program according to the matching result.
8. The utility model provides a vehicle mounted terminal navigation volume dynamic adjustment device which characterized in that includes:
the monitoring module is used for monitoring a second application program of the vehicle-mounted terminal;
the recognition module is used for obtaining a music playing recognition result of the second application program through a pre-trained music type recognition model, the music type recognition model is obtained by using a plurality of groups of music data through machine learning training, and each group of data in the plurality of groups of music data comprises: the music data processing method comprises the steps that sample music data and a music type label of the music data, wherein the music type label and playing volume have a preset association relation;
and the adjusting module is used for dynamically adjusting the playing volume of the first application program according to the recognition result of the played music of the second application program under the condition that the first application program is operated by the vehicle-mounted terminal and the second application program operates in the background.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 7 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111260586.1A CN113986189A (en) | 2021-10-27 | 2021-10-27 | Method and device for dynamically adjusting navigation volume of vehicle-mounted terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111260586.1A CN113986189A (en) | 2021-10-27 | 2021-10-27 | Method and device for dynamically adjusting navigation volume of vehicle-mounted terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113986189A true CN113986189A (en) | 2022-01-28 |
Family
ID=79743123
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111260586.1A Pending CN113986189A (en) | 2021-10-27 | 2021-10-27 | Method and device for dynamically adjusting navigation volume of vehicle-mounted terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113986189A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116761114A (en) * | 2023-07-14 | 2023-09-15 | 润芯微科技(江苏)有限公司 | Method and system for adjusting playing sound of vehicle-mounted sound equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102332279A (en) * | 2011-07-15 | 2012-01-25 | 东莞市远峰科技有限公司 | Switching method between navigation sound and music sound |
CN202216698U (en) * | 2011-07-15 | 2012-05-09 | 东莞市远峰科技有限公司 | Navigation voice and music voice switching system |
CN102774321A (en) * | 2012-08-15 | 2012-11-14 | 中标软件有限公司 | Vehicle-mounted system and sound control method thereof |
CN103123797A (en) * | 2011-11-21 | 2013-05-29 | 上海博泰悦臻网络技术服务有限公司 | Vehicular audio playing system and vehicular audio playing method |
JP2013104722A (en) * | 2011-11-11 | 2013-05-30 | Sanyo Electric Co Ltd | Navigation device for vehicle |
CN105827825A (en) * | 2016-02-29 | 2016-08-03 | 维沃移动通信有限公司 | Audio data processing method and mobile terminal |
CN109117110A (en) * | 2018-07-10 | 2019-01-01 | 苏州车萝卜汽车电子科技有限公司 | Data processing method and device for voice dynamic fusion |
CN110505553A (en) * | 2018-05-16 | 2019-11-26 | 上海擎感智能科技有限公司 | Interior speaker playback method and playing device |
CN110598011A (en) * | 2019-09-27 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Data processing method, data processing device, computer equipment and readable storage medium |
CN111753049A (en) * | 2020-06-15 | 2020-10-09 | 广东美的厨房电器制造有限公司 | Menu recommendation method and device, household appliance and storage medium |
-
2021
- 2021-10-27 CN CN202111260586.1A patent/CN113986189A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102332279A (en) * | 2011-07-15 | 2012-01-25 | 东莞市远峰科技有限公司 | Switching method between navigation sound and music sound |
CN202216698U (en) * | 2011-07-15 | 2012-05-09 | 东莞市远峰科技有限公司 | Navigation voice and music voice switching system |
JP2013104722A (en) * | 2011-11-11 | 2013-05-30 | Sanyo Electric Co Ltd | Navigation device for vehicle |
CN103123797A (en) * | 2011-11-21 | 2013-05-29 | 上海博泰悦臻网络技术服务有限公司 | Vehicular audio playing system and vehicular audio playing method |
CN102774321A (en) * | 2012-08-15 | 2012-11-14 | 中标软件有限公司 | Vehicle-mounted system and sound control method thereof |
CN105827825A (en) * | 2016-02-29 | 2016-08-03 | 维沃移动通信有限公司 | Audio data processing method and mobile terminal |
CN110505553A (en) * | 2018-05-16 | 2019-11-26 | 上海擎感智能科技有限公司 | Interior speaker playback method and playing device |
CN109117110A (en) * | 2018-07-10 | 2019-01-01 | 苏州车萝卜汽车电子科技有限公司 | Data processing method and device for voice dynamic fusion |
CN110598011A (en) * | 2019-09-27 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Data processing method, data processing device, computer equipment and readable storage medium |
CN111753049A (en) * | 2020-06-15 | 2020-10-09 | 广东美的厨房电器制造有限公司 | Menu recommendation method and device, household appliance and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116761114A (en) * | 2023-07-14 | 2023-09-15 | 润芯微科技(江苏)有限公司 | Method and system for adjusting playing sound of vehicle-mounted sound equipment |
CN116761114B (en) * | 2023-07-14 | 2024-01-26 | 润芯微科技(江苏)有限公司 | Method and system for adjusting playing sound of vehicle-mounted sound equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103888837B (en) | A kind of video information method for pushing and device | |
CN106792003B (en) | Intelligent advertisement insertion method and device and server | |
CN105487760B (en) | Method and device for displaying message and electronic equipment | |
US20170085960A1 (en) | Video-based interaction method, terminal, server and system | |
US20100299615A1 (en) | System And Method For Injecting Sensed Presence Into Social Networking Applications | |
CN104902101B (en) | A kind of internet access method and device of double-card mobile phone | |
CN106845390A (en) | Video title generation method and device | |
CN110458655B (en) | Shop information recommendation method and mobile terminal | |
CN108763564A (en) | Using method for pushing, device and computer readable storage medium | |
CN107995285B (en) | Information display method, device, server and readable storage medium | |
CN108540815B (en) | Multimedia content playing method, device and system | |
CN110784727B (en) | Reporting method and device for live broadcast | |
CN110674349B (en) | Video POI (Point of interest) identification method and device and electronic equipment | |
CN110267248A (en) | BLE communication means, device, equipment and storage medium | |
CN109597543A (en) | Application program image target display methods, system and terminal | |
CN110991392A (en) | Crowd identification method, device, terminal and storage medium | |
CN109255070B (en) | Recommendation information processing method and device, computer equipment and storage medium | |
CN103778550B (en) | Obtain the method, apparatus and system of information | |
CN108288171A (en) | Advertisement insertion, server and computer readable storage medium | |
CN113986189A (en) | Method and device for dynamically adjusting navigation volume of vehicle-mounted terminal | |
WO2020106452A1 (en) | Methods, systems, and media for identifying abusive user accounts based on playlists | |
CN106156295A (en) | Notification bar display method and device and electronic equipment | |
CN108230104A (en) | Using category feature generation method, mobile terminal and readable storage medium storing program for executing | |
CN106776040A (en) | A kind of resource allocation methods and device | |
CN105608095A (en) | Multimedia playing method and device as well as mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |