Vehicle-mounted music recommendation method and related device
By identifying the scene category of the vehicle and recommending corresponding music, it solves the problem of difficulty in recommending music based on the driving scene of the vehicle in the existing technology, achieves more personalized music recommendation, and improves the user experience.
Patent Information
- Application Number
- CN202310411491.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-17
- Publication Date
- 2024-10-22
AI Technical Summary
Existing in-vehicle music recommendation methods are difficult to recommend music based on the driving scene of the vehicle, and cannot meet the entertainment needs of users in different driving scenes.
By obtaining the vehicle's external environment image and driving status data, a lightweight convolutional neural network is used to identify the scene category the vehicle is in, and recommend the corresponding music style based on the scene category.
It improves the user experience. By combining the vehicle's external scene and driving status data, it recommends music that matches the current scene, thereby improving the driving and riding experience.
Smart Images

Figure CN118823701A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method and device for recommending in-vehicle music, an electronic control unit, a vehicle, a computer-readable storage medium, and a computer program product. Background Art
[0002] With the rapid development of vehicle intelligence, the entertainment functions that can be realized by the in-vehicle entertainment system are also increasing. Among them, the entertainment function can include in-vehicle music.
[0003] In order to enrich the user's driving and riding experience, the in-vehicle entertainment system can provide in-vehicle music recommendations to the user. For example, in-vehicle music recommendations can be made based on the user's music style preferences. For another example, in-vehicle music recommendations can be made based on the vehicle's current driving mode.
[0004] However, the above method only recommends in-car music based on the user's preferences or the driving status of the vehicle, and it is difficult to recommend in-car music that meets the current driving scene to the user. Summary of the invention
[0005] The present application provides a method for recommending in-vehicle music, which can perform targeted in-vehicle music recommendations based on the current driving scene of the vehicle, thereby improving the user experience. The present application also provides a device, an electronic control unit, a vehicle, a computer-readable storage medium, and a computer program product corresponding to the above method.
[0006] In a first aspect, the present application provides a method for recommending in-car music. The method comprises:
[0007] Acquire the vehicle's external environment image and driving status data;
[0008] Determining the scene category of the vehicle according to the external environment image and the driving status data;
[0009] Recommend in-vehicle music corresponding to the scene category in which the vehicle is located to the user.
[0010] In some possible implementations, determining the scene category of the vehicle according to the external environment image and the driving state data includes:
[0011] Determining a first scene recognition result of the vehicle according to the external environment image, and determining a second scene recognition result of the vehicle according to the driving state data;
[0012] The scene category of the vehicle is determined according to the first scene recognition result and the second scene recognition result.
[0013] In some possible implementations, determining the scene recognition result of the vehicle according to the external environment image includes:
[0014] Inputting the external environment image into a trained scene recognition model to extract features of the external environment image;
[0015] According to the features of the external environment image, based on a classifier, a scene recognition result of the vehicle is determined.
[0016] In some possible implementations, determining the scene category of the vehicle according to the first scene recognition result and the second scene recognition result includes:
[0017] The scene category of the vehicle is determined according to a loss function of the first scene recognition result and the second scene recognition result.
[0018] In some possible implementations, the recommending to the user in-vehicle music corresponding to the scene category in which the vehicle is located includes:
[0019] Determining a music style corresponding to the scene category according to the scene category in which the vehicle is located;
[0020] Recommend in-car music corresponding to the music style to the user.
[0021] In some possible implementations, the scene recognition model includes a backbone feature extraction network in a lightweight convolutional neural network, and the backbone feature extraction network includes a first branch for content feature extraction and a second branch for style feature extraction.
[0022] In some possible implementations, the external environment image of the vehicle is collected by a vehicle-mounted camera; or,
[0023] The external environment image of the vehicle is uploaded by the user.
[0024] In a second aspect, the present application provides a car music recommendation device. The device comprises:
[0025] An acquisition module, used to acquire the external environment image and driving status data of the vehicle;
[0026] A determination module, configured to determine the scene category in which the vehicle is located according to the external environment image and the driving state data;
[0027] The recommendation module is used to recommend in-vehicle music corresponding to the scene category in which the vehicle is located to the user.
[0028] In some possible implementations, the determining module is specifically configured to:
[0029] Determining a first scene recognition result of the vehicle according to the external environment image, and determining a second scene recognition result of the vehicle according to the driving state data;
[0030] The scene category of the vehicle is determined according to the first scene recognition result and the second scene recognition result.
[0031] In some possible implementations, the determining module is specifically configured to:
[0032] Inputting the external environment image into a trained scene recognition model to extract features of the external environment image;
[0033] According to the features of the external environment image, based on a classifier, a scene recognition result of the vehicle is determined.
[0034] In some possible implementations, the determining module is specifically configured to:
[0035] The scene category of the vehicle is determined according to a loss function of the first scene recognition result and the second scene recognition result.
[0036] In some possible implementations, the recommendation module is specifically used to:
[0037] Determining a music style corresponding to the scene category according to the scene category in which the vehicle is located;
[0038] Recommend in-car music corresponding to the music style to the user.
[0039] In some possible implementations, the scene recognition model includes a backbone feature extraction network in a lightweight convolutional neural network, and the backbone feature extraction network includes a first branch for content feature extraction and a second branch for style feature extraction.
[0040] In some possible implementations, the external environment image of the vehicle is collected by a vehicle-mounted camera; or,
[0041] The external environment image of the vehicle is uploaded by the user.
[0042] In a third aspect, the present application provides an electronic control unit, wherein the electronic control unit includes a processor and a memory, wherein the memory stores instructions, and the processor executes the instructions so that the electronic control unit executes the method described in the first aspect or any one of the implementations of the first aspect.
[0043] In a fourth aspect, the present application provides a vehicle, wherein the vehicle comprises the electronic control unit described in the third aspect.
[0044] In a fifth aspect, the present application provides a computer-readable storage medium having instructions stored therein, which, when executed on a vehicle fault monitoring system, causes the vehicle fault monitoring system to execute the method described in the first aspect or any one of the implementations of the first aspect.
[0045] In a sixth aspect, the present application provides a computer program product, which includes computer-readable instructions, and when the computer program product is run on a vehicle fault monitoring system, the vehicle fault monitoring system executes the method described in the first aspect or any one of the implementations of the first aspect.
[0046] Based on the implementations provided in the above aspects, this application can also be further combined to provide more implementations.
[0047] Based on the above description, it can be seen that the technical solution of this application has the following beneficial effects:
[0048] Specifically, the method first obtains the vehicle's external environment image and driving status data, and then determines the scene category of the vehicle based on the external environment image and driving status data, so as to recommend in-car music corresponding to the scene category of the vehicle to the user. The method determines the scene category of the vehicle based on the vehicle's external scene and current driving conditions, so as to recommend in-car music that matches the current scene category to the user, so as to improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0050] Figure 1 A flowchart of a method for recommending in-car music provided in an embodiment of the present application;
[0051] Figure 2 A schematic diagram of the structure of a lightweight convolutional neural network provided in an embodiment of the present application;
[0052] Figure 3 A schematic diagram of the structure of a car music recommendation device provided in an embodiment of the present application;
[0053] Figure 4 A schematic diagram of the structure of an electronic control unit for implementing in-vehicle music recommendation provided in an embodiment of the present application. DETAILED DESCRIPTION
[0054] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.
[0055] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0056] It should be noted that the concepts such as "first" and "second" mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0057] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0058] In order to facilitate understanding of the technical solution of the present application, the specific application scenarios in the present application are described below.
[0059] In-vehicle infotainment (IVI), also known as in-vehicle infotainment system, is an in-vehicle comprehensive information processing system formed by using a dedicated in-vehicle central processor, based on the body bus system and Internet services. Among them, the in-vehicle entertainment system can provide users with in-vehicle music functions.
[0060] In order to enrich the user's driving and riding experience, the in-vehicle entertainment system can provide in-vehicle music recommendations to the user. The in-vehicle entertainment system can make in-vehicle music recommendations based on the user's music style preferences. For example, if the user's historical playback records in the music software show that the user likes classical music, the in-vehicle entertainment system can recommend classical music to the user. Furthermore, the in-vehicle entertainment system can also make in-vehicle music recommendations based on the vehicle's current driving mode. For example, if the vehicle is currently in sports mode, the in-vehicle entertainment system can recommend more dynamic music to the user.
[0061] However, the above method only recommends in-car music based on the user's preferences or the driving status of the vehicle, and it is difficult to recommend in-car music that meets the current driving scene to the user.
[0062] Based on this, an embodiment of the present application provides a method for recommending in-car music. Specifically, the method first obtains the external environment image and driving status data of the vehicle, and then determines the scene category of the vehicle based on the external environment image and driving status data, so as to recommend in-car music corresponding to the scene category of the vehicle to the user. The method determines the scene category of the vehicle through the external scene of the vehicle and the current driving condition, so as to recommend in-car music that matches the current scene category to the user, so as to improve the user experience.
[0063] Next, the in-vehicle music recommendation method provided in the embodiment of the present application is described in detail with reference to the accompanying drawings.
[0064] See also Figure 1 The flowchart of a method for recommending in-vehicle music is shown in FIG. 1 , which can be executed by an electronic control unit (ECU) and specifically includes the following steps:
[0065] S101: The ECU obtains the vehicle's external environment image and driving status data.
[0066] Among them, the external environment image of the vehicle can be collected by the vehicle-mounted camera. For example, the vehicle-mounted camera can be deployed at multiple locations outside the vehicle, so that the ECU can collect environmental images from multiple directions outside the vehicle. Furthermore, the external environment image of the vehicle can also be uploaded by the user. For example, the user can take the external environment image of the vehicle through the terminal, and upload the external environment image to the ECU through the Internet of Vehicles.
[0067] The vehicle's external environment image is unstructured data, while the vehicle's driving status data (for example, may include GPS signals, CAN signals, vehicle speed, etc.) is structured data. In an embodiment of the present application, the unstructured data and the structured data are combined to determine the scene category in which the vehicle is located.
[0068] S102: The ECU determines the scene category of the vehicle based on the external environment image and driving status data.
[0069] Specifically, the ECU can determine the first scene recognition result of the vehicle based on the external environment image, and determine the second scene recognition result of the vehicle based on the driving state data of the vehicle. Then, the ECU can determine the scene category of the vehicle based on the first scene recognition result and the second scene recognition result.
[0070] Next, the specific process of determining the vehicle scene recognition result will be described.
[0071] The ECU may input the external environment image into the scene recognition model, extract features of the external environment image, and then determine a first scene recognition result of the vehicle based on the classifier according to the features of the external environment image.
[0072] The scene recognition model may be trained by a lightweight convolutional neural network, and the scene recognition model may include a backbone feature extraction network of the lightweight convolutional neural network, and the backbone feature extraction network may include a first branch for content feature extraction and a second branch for style feature extraction.
[0073] In some possible implementations, the scene recognition model can remove the classification network in the lightweight convolutional neural network and use the classifier to determine the first scene recognition result.
[0074] Specifically, the lightweight convolutional neural network may include MobileNetV3. MobileNetV3 is a streamlined architecture that uses depth-separable convolution to construct a lightweight deep neural network. In an embodiment of the present application, the feature extraction network of the scene recognition model may be composed of a backbone network of MobileNetV3.
[0075] Specifically, the feature extraction network may include multiple feature extraction units. Figure 2 A schematic diagram of the structure of a lightweight convolutional neural network is shown.
[0076] Among them, several layers are selected from multiple feature extraction units of MobileNetV3 as content layers (i.e., the first branch), wherein the content layer may include a 1*1 convolution layer, a 3*3 convolution layer, and a 1*1 convolution layer, which are used to measure the content error of the external environment image. Then, several layers are selected from multiple feature extraction units as style layers (i.e., the second branch), wherein the style layer may include a 3*3 convolution layer and a 1*1 convolution layer, which are used to measure the style error.
[0077] During the training of a lightweight deep neural network, a linear combination of the content error and the style error can be used as the loss error of the scene recognition model to adjust the parameters. For example, the gradient descent method can be used to optimize the parameters until the loss error meets the preset conditions.
[0078] For example, we can first construct a content error function and a style error function, and use the sum of the content error function and the style error function as the total loss error of the scene recognition model. The total loss error can be expressed as L = α·Lc+Ls, where Lc represents the content error, Ls represents the style error, and α is a coefficient, which is usually small.
[0079] Furthermore, in the process of training the lightweight deep neural network, a single external environment image can be used to train the scene recognition model, and the initial value of the external environment image can be a content image rather than a random noise image, thereby achieving the purpose of accelerating training. Furthermore, the above training method has a low occupancy rate of computing resources and a low computing cost.
[0080] Specifically, in the content layer, the feature matrices of each convolutional layer are F1(X), F2(X), ..., Fn(X), then the content error can be expressed as:
[0081]
[0082] In the style layer, the feature matrices of each convolutional layer are H1(X), H2(X), ..., Hm(X), then the style error can be expressed as:
[0083]
[0084] Among them, G k Representing the Gram matrix of the kth convolutional layer, we have:
[0085]
[0086] Furthermore, the ECU may input the features of the external environment image into a classifier (e.g., a softmax layer) to determine the scene recognition result of the vehicle. For example, the scene recognition result of the vehicle may be the probability of the vehicle being in different scene categories, and the scene categories may include various driving scenes such as urban, rural, and highway.
[0087] Furthermore, the ECU may determine the second scene classification result of the vehicle according to the driving state data, wherein the driving state data may include one or more of vehicle speed, torque, vehicle acceleration and global positioning system (GPS) data.
[0088] Specifically, the ECU may determine the second scene classification result of the vehicle through a multivariate linear regression model. The dependent variable of the multivariate linear regression model may include the scene classification result, the independent variable of the multivariate linear regression model may include the driving state data, and the calculation formula may be expressed as:
[0089] Y=w0+w1x1+w2x2…+w m x m +ε (4)
[0090] Among them, w i =[w0,w1,…,w m ] represents the weight vector on m different components, x i=[x0,x1,…,x m ] represents the eigenvectors on m different components, and ε is the coefficient to be determined.
[0091] Furthermore, the ECU may determine the scene category of the vehicle based on a loss function of a first scene recognition result and a second scene recognition result of the vehicle.
[0092] The loss function is used to characterize the difference between the first scene recognition result and the second scene recognition result, which can be expressed as:
[0093]
[0094] Where P = [p0, p1, ..., p C-1 ] is the probability distribution, that is, p i Indicates the probability that the image sample belongs to the i-th category. Y=[y0,y1,…,y C-1 ] is the unique hot encoding of the sample label. When the image sample (i.e., driving status data) belongs to the i-th category, y i =1, otherwise y i =0, C is the number of sample labels.
[0095] Among them, the sample labels may include vehicle speed information and / or surrounding environment information. The labels of vehicle speed information may include slow speed (below 30km / h), normal driving (30-60km / h), fast speed (60-80km / h), and high speed (above 80km / h). The labels of surrounding environment information may include: city, forest, countryside, mountain road, coast, desert, etc.
[0096] By calculating the value of the loss function, it is possible to determine the scene category that the vehicle is in. For example, the scene category may include a quiet scene, a high-speed scene, an urban scene, and the like.
[0097] S103: The ECU recommends to the user in-vehicle music corresponding to the scene category in which the vehicle is located.
[0098] Specifically, the ECU can determine the music style corresponding to the scene category according to the scene category in which the vehicle is located, and recommend in-vehicle music corresponding to the music style to the user.
[0099] For example, the rural low-speed scene category corresponds to pure music, the urban expressway scene category corresponds to rock music, the urban medium-low-speed scene category corresponds to R&B, and the highway uniform-speed scene category corresponds to classical music.
[0100] The method first obtains the vehicle's external environment image and driving status data, and then determines the scene category of the vehicle based on the external environment image and driving status data, so as to recommend in-car music corresponding to the scene category the vehicle is in to the user. The method combines unstructured data with structured data through the vehicle's external scene and current driving conditions to determine the scene category the vehicle is in, so as to recommend in-car music that matches the current scene category to the user, thereby improving the user experience.
[0101] Based on the above method provided in the embodiment of the present application, the embodiment of the present application also provides an in-vehicle music recommendation device corresponding to the above method. The units / modules involved in the embodiments of the present application can be implemented by software or by hardware. The name of the unit / module does not constitute a limitation on the unit / module itself in some cases.
[0102] See also Figure 3 The structural diagram of the in-vehicle music recommendation device shown in FIG. 300 includes:
[0103] The acquisition module 301 is used to acquire the external environment image and driving status data of the vehicle;
[0104] A determination module 302, for determining the scene category of the vehicle according to the external environment image and the driving state data;
[0105] The recommendation module 303 is used to recommend in-vehicle music corresponding to the scene category in which the vehicle is located to the user.
[0106] In some possible implementations, the determination module 302 is specifically configured to:
[0107] Determining a first scene recognition result of the vehicle according to the external environment image, and determining a second scene recognition result of the vehicle according to the driving state data;
[0108] The scene category of the vehicle is determined according to the first scene recognition result and the second scene recognition result.
[0109] In some possible implementations, the determination module 302 is specifically configured to:
[0110] Input the external environment image into the trained scene recognition model to extract the features of the external environment image;
[0111] According to the features of the external environment image, based on the classifier, the scene recognition result of the vehicle is determined.
[0112] In some possible implementations, the determination module 302 is specifically configured to:
[0113] The scene category of the vehicle is determined according to the loss function of the first scene recognition result and the second scene recognition result.
[0114] In some possible implementations, the recommendation module 303 is specifically used to:
[0115] According to the scene category in which the vehicle is located, determine the music style corresponding to the scene category;
[0116] Recommend in-car music corresponding to the music style to users.
[0117] In some possible implementations, the scene recognition model includes a backbone feature extraction network in a lightweight convolutional neural network, where the backbone feature extraction network includes a first branch for content feature extraction and a second branch for style feature extraction.
[0118] In some possible implementations, the external environment image of the vehicle is collected by a vehicle-mounted camera; or,
[0119] The vehicle's external environment images are uploaded by users.
[0120] The in-vehicle music recommendation device 300 according to the embodiment of the present application may correspond to executing the method described in the embodiment of the present application, and the above and other operations and / or functions of each module / unit of the in-vehicle music recommendation device 300 are respectively to implement Figure 1 For the sake of brevity, the corresponding processes of each method in the illustrated embodiment are not described in detail here.
[0121] The functions described above in this document may be performed at least in part by one or more hardware logic components. Figure 4 The structural diagram of the electronic control unit 400 for implementing in-vehicle music recommendation is shown. It should be noted that: Figure 4 The electronic control unit shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0122] like Figure 4 As shown, the electronic control unit 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 to a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic control unit 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0123] Typically, the following devices may be connected to the I / O interface 405: input devices 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 408 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 409. The communication devices 409 may allow the electronic control unit 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic control unit 400 is shown with various devices, but it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have instead.
[0124] The present application also provides a vehicle, which includes the aforementioned electronic control unit.
[0125] The present application also provides a computer-readable storage medium, also referred to as a machine-readable medium. In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0126] It should be noted that the computer-readable medium mentioned above in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0127] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic control unit, the electronic control unit: obtains the vehicle's external environment image and driving status data; determines the scene category of the vehicle based on the external environment image and driving status data; and recommends in-vehicle music corresponding to the scene category of the vehicle to the user.
[0128] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device. When the computer program is executed by a processing device, the above-mentioned functions defined in the method of the embodiment of the present application are executed.
[0129] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
[0130] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present application. Certain features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.
[0131] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
Claims
1. A method for recommending in-car music, characterized in that: The method comprises: Acquire the vehicle's external environment image and driving status data; Determining the scene category of the vehicle according to the external environment image and the driving status data; Recommend in-vehicle music corresponding to the scene category in which the vehicle is located to the user.
2. The method according to claim 1, characterized in that The determining, according to the external environment image and the driving state data, the scene category in which the vehicle is located includes: Determining a first scene recognition result of the vehicle according to the external environment image, and determining a second scene recognition result of the vehicle according to the driving state data; The scene category of the vehicle is determined according to the first scene recognition result and the second scene recognition result.
3. The method according to claim 2, characterized in that The determining, according to the external environment image, a scene recognition result of the vehicle includes: Inputting the external environment image into a trained scene recognition model to extract features of the external environment image; According to the features of the external environment image, based on a classifier, a scene recognition result of the vehicle is determined.
4. The method according to claim 2, characterized in that: The determining, according to the first scene recognition result and the second scene recognition result, the scene category in which the vehicle is located includes: The scene category of the vehicle is determined according to a loss function of the first scene recognition result and the second scene recognition result.
5. The method according to claim 1, characterized in that The recommending to the user the in-vehicle music corresponding to the scene category in which the vehicle is located includes: Determining a music style corresponding to the scene category according to the scene category in which the vehicle is located; Recommend in-car music corresponding to the music style to the user.
6. The method according to claim 3, characterized in that The scene recognition model includes a backbone feature extraction network in a lightweight convolutional neural network, and the backbone feature extraction network includes a first branch for content feature extraction and a second branch for style feature extraction.
7. The method according to any one of claims 1 to 6, characterized in that: The external environment image of the vehicle is collected by a vehicle-mounted camera; or, The external environment image of the vehicle is uploaded by the user.
8. A car music recommendation device, characterized in that: The device comprises: An acquisition module, used to acquire the external environment image and driving status data of the vehicle; A determination module, configured to determine the scene category in which the vehicle is located according to the external environment image and the driving state data; The recommendation module is used to recommend in-vehicle music corresponding to the scene category in which the vehicle is located to the user.
9. An electronic control unit, characterized in that: The electronic control unit comprises a processor and a memory, wherein instructions are stored in the memory, and the processor executes the instructions so that the electronic control unit executes the method according to any one of claims 1 to 7.
10. A vehicle, characterized in that: The vehicle comprises an electronic control unit as claimed in claim 9.
Citation Information
Patent Citations
Image processing method and apparatus, electronic device and storage medium
CN110598781A
Vehicle recognition method and device, computer equipment and storage medium
CN112001269A
Audio scene recognition method, device and equipment and computer readable storage medium
CN112750459A
Music recommendation method and device, vehicle and storage medium
CN115402229A
