Music genre-based background dynamic beat switch method, apparatus, and vehicle
By judging background dynamic rhythm switching requests, switching vehicle music playback mode and background, and controlling ambient light rhythm, the problem of fixed cover or background animation effects when playing music software is solved, thus improving the user's driving experience.
Patent Information
- Application Number
- CN202411123420.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2044-08-15
AI Technical Summary
In existing technologies, music software uses fixed cover or background animations during playback, which are not very intelligent and cannot be adjusted according to the rhythm and beat of the music. This limits the depth and breadth of the user's immersion in the music atmosphere.
By determining whether a background dynamic rhythm switching request has been received, the system determines the target music playback background, mode, and ambient light rhythm strategy based on the request, switches the vehicle's music playback mode and background, and controls the ambient light to rhythm according to the mode.
It integrates background music and rhythm into the car's infotainment system, enhancing the user's driving experience.
Smart Images

Figure CN119105726B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a method, device and vehicle for background dynamic rhythm switching based on music genre. Background Technology
[0002] With the rapid development of vehicle-to-everything (V2X) technology, smart cars have become a new window connecting the real and digital worlds. This has not only greatly enriched the driver's travel experience but also spurred the development of numerous apps closely related to car life. These apps, with their high degree of customization and constantly innovative content, are gradually changing people's driving habits and entertainment methods. Against this backdrop, improving the user experience of music apps, as an important component of in-car entertainment, is particularly crucial.
[0003] However, music apps on the market today tend to have homogenized playback interface designs, especially in the visual presentation during music playback. Most of them use fixed album art or specific animations as backgrounds, without background animations that move with the music or backgrounds designed according to genres. They cannot automatically adjust according to the rhythm, melody, or even genre of the music, which limits the depth and breadth of users' immersion in the musical atmosphere. Summary of the Invention
[0004] This application provides a method, device, and vehicle for dynamic background rhythm switching based on music genres, in order to solve the problems that current music software generally uses fixed album art or background animations and has low intelligence.
[0005] The first aspect of this application provides a method for background dynamic rhythm switching based on music genre, comprising the following steps: determining whether a background dynamic rhythm switching request is received; if the background dynamic rhythm switching request is received, determining a target music playback background, a target music playback mode, and an ambient light rhythm strategy corresponding to the target music playback mode based on the background dynamic rhythm switching request; switching the vehicle's current music playback mode to the target music playback mode, and / or switching the vehicle's current music playback background to the target music playback background, and controlling the ambient light to rhythm based on the ambient light rhythm strategy corresponding to the target music playback mode.
[0006] Optionally, switching the vehicle's current music playback mode to the target music playback mode includes: if the background dynamic rhythm switching request is a line mode switching request, then processing pulse code modulation (PCM) audio data, converting the PCM audio data into a digital signal representing the audio energy value, and adjusting the movement speed of the lines according to the energy value; if the background dynamic rhythm switching request is a block mode switching request, then controlling the up-and-down swing of the blocks according to the energy value; if the background dynamic rhythm switching request is a switching request, then adjusting the movement speed of the circles according to the energy value.
[0007] Optionally, the above-mentioned method for dynamic background rhythm switching based on music genre further includes: automatically retrieving and downloading the latest music playback background and the latest music playback mode; and sending a notification to the user through the user interface of the music player to update the music playback background and music playback mode.
[0008] Optionally, the above-mentioned background dynamic rhythm switching method based on music genre further includes: deleting duplicate music playback backgrounds and music playback modes that do not meet preset quality conditions based on preset time intervals, and intelligently recommending new music playback backgrounds and new music playback modes based on the user's actual usage of the music playback backgrounds and music playback modes.
[0009] Optionally, after switching the vehicle's current music playback mode to the target music playback mode, the process includes: storing the target music playback mode in a cloud server, and automatically loading a query command for the target music playback mode when the user launches the music player next time; if a confirmation command to enter the target music playback mode is received from the user based on the query command, then the user directly enters the target music playback mode.
[0010] A second aspect of this application provides a background dynamic rhythm switching device based on music genre, comprising: a judging module for judging whether a background dynamic rhythm switching request is received; a determining module for determining, if the background dynamic rhythm switching request is received, a target music playback background, a target music playback mode, and an ambient light rhythm strategy corresponding to the target music playback mode based on the background dynamic rhythm switching request; and a switching module for switching the vehicle's current music playback mode to the target music playback mode, and / or switching the vehicle's current music playback background to the target music playback background, and controlling the ambient light to rhythmize based on the ambient light rhythm strategy corresponding to the target music playback mode.
[0011] Optionally, the switching module is further configured to: if the background dynamic rhythm switching request is a line mode switching request, process pulse code modulation (PCM) audio data, convert the PCM audio data into a digital signal representing the audio energy value, and adjust the movement speed of the lines according to the energy value; if the background dynamic rhythm switching request is a square mode switching request, control the up-and-down swing of the square according to the energy value; if the background dynamic rhythm switching request is a switching request, adjust the movement speed of the circle according to the energy value.
[0012] Optionally, the aforementioned background dynamic rhythm switching device based on music genre further includes: a download module for automatically retrieving and downloading the latest music playback background and the latest music playback mode; and a notification module for sending a notification to the user through the user interface of the music player to update the music playback background and music playback mode.
[0013] Optionally, the aforementioned background dynamic rhythm switching device based on music genre further includes: a recommendation module, used to delete duplicate music playback backgrounds and music playback modes that do not meet preset quality conditions based on preset time intervals, and to intelligently recommend new music playback backgrounds and new music playback modes based on the user's actual usage of the music playback backgrounds and music playback modes.
[0014] Optionally, after switching the vehicle's current music playback mode to the target music playback mode, the switching module is further configured to: store the target music playback mode in a cloud server, and automatically load the query command for the target music playback mode when the user launches the music player next time; if a confirmation command to enter the target music playback mode is received from the user based on the query command, then the user directly enters the target music playback mode.
[0015] A third aspect of this application provides a vehicle, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the background dynamic rhythm switching method based on music genre as described in the above embodiments.
[0016] A fourth aspect of this application provides a computer program product having a computer program stored thereon, which is executed by a processor to implement the background dynamic rhythm switching method based on music genre as described in the above embodiments.
[0017] In the above implementation, it is determined whether a background dynamic rhythm switching request has been received. If a background dynamic rhythm switching request is received, the target music playback background, target music playback mode, and ambient light rhythm strategy corresponding to the target music playback mode are determined based on the background dynamic rhythm switching request. The vehicle's current music playback mode is switched to the target music playback mode, and / or the vehicle's current music playback background is switched to the target music playback background. The ambient lights are then controlled to rhythmize according to the ambient light rhythm strategy corresponding to the target music playback mode. This solves the problem that current music software typically uses fixed album art or background animations, resulting in low intelligence. It achieves the aggregation of in-vehicle music background and rhythm, improving the user's driving experience.
[0018] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0019] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0020] Figure 1 This is a flowchart of a background dynamic rhythm switching method based on music genre provided in an embodiment of this application;
[0021] Figure 2 This is a schematic diagram of a data stream for switching background dynamic rhythm according to an embodiment of this application;
[0022] Figure 3 This is a flowchart of a background dynamic rhythm switching method based on music genre according to an embodiment of this application;
[0023] Figure 4 This is an example diagram of a background dynamic rhythm switching device based on music genre according to an embodiment of this application;
[0024] Figure 5 This is a schematic diagram of a vehicle structure according to an embodiment of this application.
[0025] Explanation of reference numerals in the attached figures:
[0026] 10-Background dynamic rhythm switching device based on music genre; 100-Judgment module; 200-Determination module; 300-Switching module; 501-Memory; 502-Processor; 503-Communication interface. Detailed Implementation
[0027] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0028] The following description, with reference to the accompanying drawings, describes a method, apparatus, and vehicle for background dynamic rhythm switching based on music genres according to embodiments of this application. Addressing the issue mentioned in the background art that current music software typically uses fixed album art or background animations with low intelligence, this application provides a method for background dynamic rhythm switching based on music genres. In this method, it is determined whether a background dynamic rhythm switching request has been received. If so, a target music playback background, a target music playback mode, and a corresponding ambient light rhythm strategy are determined based on the request. The vehicle's current music playback mode is switched to the target music playback mode, and / or the vehicle's current music playback background is switched to the target music playback background. The ambient lights are then controlled to rhythmically move according to the ambient light rhythm strategy corresponding to the target music playback mode. This solves the problem of current music software typically using fixed album art or background animations with low intelligence, achieving the aggregation of in-vehicle music background and rhythm, and improving the user's driving experience.
[0029] Specifically, Figure 1 This is a flowchart illustrating a method for switching background dynamics based on music genres, provided in an embodiment of this application.
[0030] like Figure 1 As shown, this method for background dynamic rhythm switching based on music genre includes the following steps:
[0031] In step S101, it is determined whether a background dynamic rhythm switching request has been received.
[0032] The background dynamic rhythm switching request can be issued by the user clicking the switch button on the music player or by speaking through the voice assistant.
[0033] In step S102, if a background dynamic rhythm switching request is received, the target music playback background, the target music playback mode, and the ambient light rhythm strategy corresponding to the target music playback mode are determined based on the background dynamic rhythm switching request.
[0034] The target music playback modes include random mode and rhythm mode. The rhythm mode includes line mode, square mode, and spinning mode.
[0035] In step S103, the vehicle's current music playback mode is switched to the target music playback mode, and / or the vehicle's current music playback background is switched to the target music playback background, and the ambient lights are controlled to rhythm based on the ambient light rhythm strategy corresponding to the target music playback mode.
[0036] Optionally, in some embodiments, switching the vehicle's current music playback mode to a target music playback mode includes: if the background dynamic rhythm switching request is a line mode switching request, then processing pulse code modulation (PCM) audio data, converting the PCM audio data into a digital signal representing the audio energy value, and adjusting the movement speed of the lines according to the energy value; if the background dynamic rhythm switching request is a block mode switching request, then controlling the up-and-down swing of the blocks according to the energy value; if the background dynamic rhythm switching request is a switching request, then adjusting the movement speed of the circles according to the energy value.
[0037] Specifically, such as Figure 2 As shown, this embodiment of the application obtains the current music genre of the current song and designs the corresponding current music playback background and current music playback mode according to the type of the current music genre. Each music genre has a corresponding default music playback background and music rhythm mode, which can be displayed using stars, petals, lines, etc. Music genres include pop, electronic, light music, folk, rap, rock, jazz, R&B, blues, classical, post-rock, traditional Chinese style, and Chinese style, etc.
[0038] Currently, music apps are mostly aggregation apps. Bluetooth and USB music can use the default background, while apps like QQ Music, NetEase Music, and Kugou Music design their own music playback backgrounds based on the music genres returned by third-party SDK interfaces.
[0039] If there is ambient lighting, the PCM data processed by the ambient lighting can be directly accessed. If there is no ambient lighting, the PCM data is collected and then the energy value data is obtained through spectrum analysis. The rhythmic resources jump regularly according to the energy value.
[0040] When music plays, the rhythmic elements adapt to the entire screen, jumping rhythmically according to the energy value. The jumping patterns of the rhythmic elements include the speed at which lines move left and right on the screen, the height at which squares jump up and down, and the speed at which they rotate. At the same time, the ambient lights rhythmize according to the target music playback mode. The rhythm stops when the music is paused. The default music playback background and music rhythm mode are applied when music is playing, but users can select the target music rhythm mode and target music playback background.
[0041] As one embodiment, specifically, if the background dynamic rhythm switching request is a line mode, then the pulse code modulation (PCM) audio data is processed, the PCM audio data is converted into a digital signal representing the audio energy value, and a line is displayed on the music playback interface, moving from left to right according to the energy value; if the background dynamic rhythm switching request is a square mode, then a rectangle is displayed on the music playback interface, and it swings up and down according to the energy value; if the background dynamic rhythm switching request is a rotating mode, then 5-10 circles formed by resources in the middle of the screen move clockwise according to the energy value.
[0042] Optionally, in some embodiments, the above-described background dynamic rhythm switching method based on music genre further includes: automatically retrieving and downloading the latest music playback background and the latest music playback mode; and sending a notification to the user through the user interface of the music player to update the music playback background and music playback mode.
[0043] It should be understood that whenever a music player connects to the internet, it automatically searches for the latest music playback backgrounds (such as high-definition images and live wallpapers) and the latest music playback modes (such as animation effects and visual effects templates synchronized with the music rhythm). Once a new music playback mode is detected, the music player will immediately begin downloading these resources and storing them on the local device or in cloud storage for later use.
[0044] Once the download is complete, the music player will appear in the form of a pop-up window, banner, or notification bar message to inform the user that new music playback backgrounds and music playback modes are available. Users can choose to view and apply these new resources.
[0045] Optionally, in some embodiments, the above-described background dynamic rhythm switching method based on music genre further includes: deleting duplicate music playback backgrounds and music playback modes that do not meet preset quality conditions based on preset time intervals, and intelligently recommending new music playback backgrounds and new music playback modes based on the user's actual usage of music playback backgrounds and music playback modes.
[0046] It should be understood that music playback backgrounds and modes that do not meet the preset quality conditions may be music playback backgrounds and modes with lower resolution, music playback backgrounds and modes with lower user ratings, etc.
[0047] To keep the resource library clean and efficient, the music player automatically checks and deletes duplicate or substandard music playback backgrounds and modes at preset time intervals (e.g., weekly, monthly), such as when the music playback background or mode file is too small, has a low resolution, a low user rating, or conflicts with other resources.
[0048] Music players use machine learning algorithms to analyze user preferences based on actual usage data (such as click-through rate, playback duration, user ratings, etc.) of music playback backgrounds and modes, and intelligently recommend new music playback backgrounds and modes that are highly relevant to the user's preferences.
[0049] Optionally, in some embodiments, after switching the vehicle's current music playback mode to the target music playback mode, the process includes: storing the target music playback mode in a cloud server and automatically loading a query command for the target music playback mode when the user launches the music player next time; if a confirmation command to enter the target music playback mode is received from the user based on the query command, the user directly enters the target music playback mode.
[0050] Specifically, when a user switches the current music playback mode to a target playback mode or target music playback background, the music player will store the target playback mode and target music playback background in the cloud server.
[0051] When a user launches the music player again, the music player will send a prompt to the user, asking if the user wants to directly enter the last saved target music playback mode. If the user confirms this prompt within a certain time through clicking, voice response, or gesture, the music player will immediately load and apply the last saved target music playback mode. If the user chooses not to enter the last saved target music playback mode, the music player will return to the default playback state or adjust according to the user's latest selection.
[0052] To enable those skilled in the art to further understand the background dynamic rhythm switching method based on music genre in the embodiments of this application, the following detailed description is provided in conjunction with specific embodiments, such as... Figure 3 As shown.
[0053] Step 1: Categorize according to aggregation type. Design a default set of background and rhythm resources for USB and Bluetooth, and obtain and categorize song genres from QQ, Kugou, etc.
[0054] Step 2: If the genres of the third-party music are consistent, the same dynamic background video can be used. If there are differences, and the aggregated source has two or more third-party music sources, then all genre types are sorted out.
[0055] Step 3: The UI designer creates background and rhythm resources for each genre, and then converts them into PNG format for the corresponding development team.
[0056] Step 4: Connect to the interface for collecting and converting PCM data from the ambient light, register and call back.
[0057] Step 5: Obtain the user-selected mode. Each genre has a default music playback background and music rhythm mode. In random mode, the music playback background and mode are randomly selected when switching songs. In rhythm mode, if it's line mode, the resources are combined into a line that moves from left to right according to the energy value; if it's square mode, the resources are combined into a rectangle that swings up and down according to the energy value; if it's rotating mode, the resources in the center of the screen form 5-10 circles that move clockwise according to the energy value.
[0058] Step 6: When the music is playing, the rhythm starts receiving and processing the data transmitted from the PCM and rhythms according to the rhythm mode selected by the user. The rhythm stops when the music stops.
[0059] Step 7: Process ends.
[0060] According to the background dynamic rhythm switching method based on music genre proposed in this application, it is determined whether a background dynamic rhythm switching request has been received. If a background dynamic rhythm switching request is received, the target music playback background, target music playback mode, and ambient light rhythm strategy corresponding to the target music playback mode are determined based on the background dynamic rhythm switching request. The vehicle's current music playback mode is switched to the target music playback mode, and / or the vehicle's current music playback background is switched to the target music playback background. The ambient light is then controlled to rhythmically move according to the ambient light rhythm strategy corresponding to the target music playback mode. This solves the problem that current music software typically uses fixed album art or background animations, resulting in low intelligence. It achieves the aggregation of in-vehicle music background and rhythm, improving the user's driving experience.
[0061] Next, referring to the accompanying drawings, a background dynamic rhythm switching device based on music genres is described according to an embodiment of this application.
[0062] Figure 4 This is a block diagram of a background dynamic rhythm switching device based on music genre according to an embodiment of this application.
[0063] like Figure 4 As shown, the background dynamic rhythm switching device 10 based on music genre includes: a judgment module 100, a determination module 200 and a switching module 300.
[0064] The system includes a judgment module 100, which determines whether a background dynamic rhythm switching request has been received; a determination module 200, which, if a background dynamic rhythm switching request is received, determines the target music playback background, the target music playback mode, and the ambient light rhythm strategy corresponding to the target music playback mode based on the background dynamic rhythm switching request; and a switching module 300, which switches the vehicle's current music playback mode to the target music playback mode, and / or switches the vehicle's current music playback background to the target music playback background, and controls the ambient light to rhythm based on the ambient light rhythm strategy corresponding to the target music playback mode.
[0065] Optionally, in some embodiments, the switching module 300 is further configured to: if the background dynamic rhythm switching request is a line mode switching request, process pulse code modulation (PCM) audio data, convert the PCM audio data into a digital signal representing the audio energy value, and adjust the movement speed of the lines according to the energy value; if the background dynamic rhythm switching request is a square mode switching request, control the up-and-down swing of the square according to the energy value; if the background dynamic rhythm switching request is a switching request, adjust the movement speed of the circle according to the energy value.
[0066] Optionally, in some embodiments, the background dynamic rhythm switching device 10 based on music genre described above further includes: a download module for automatically retrieving and downloading the latest music playback background and the latest music playback mode; and a notification module for sending a notification to the user through the user interface of the music player to update the music playback background and music playback mode.
[0067] Optionally, in some embodiments, the background dynamic rhythm switching device 10 based on music genre described above further includes: a recommendation module, used to delete duplicate music playback backgrounds and music playback modes that do not meet preset quality conditions based on preset time intervals, and to intelligently recommend new music playback backgrounds and new music playback modes based on the user's actual usage of music playback backgrounds and music playback modes.
[0068] Optionally, in some embodiments, after switching the vehicle's current music playback mode to the target music playback mode, the switching module 300 is further configured to: store the target music playback mode in a cloud server and automatically load the query command for the target music playback mode when the user starts the music player next time; if a confirmation command to enter the target music playback mode is received from the user based on the query command, the target music playback mode is directly entered.
[0069] It should be noted that the foregoing explanation of the background dynamic rhythm switching method embodiment based on music genre also applies to the background dynamic rhythm switching device based on music genre in this embodiment, and will not be repeated here.
[0070] According to the background dynamic rhythm switching device based on music genre proposed in this application, it determines whether a background dynamic rhythm switching request has been received. If a background dynamic rhythm switching request is received, it determines the target music playback background, the target music playback mode, and the ambient light rhythm strategy corresponding to the target music playback mode based on the background dynamic rhythm switching request. It then switches the vehicle's current music playback mode to the target music playback mode and / or switches the vehicle's current music playback background to the target music playback background, and controls the ambient lights to rhythmically move according to the ambient light rhythm strategy corresponding to the target music playback mode. This solves the problem that current music software typically uses fixed album art or background animations, resulting in low intelligence. It achieves the aggregation of in-vehicle music background and rhythm, improving the user's driving experience.
[0071] Figure 5 A schematic diagram of the structure of a vehicle provided in an embodiment of this application. The vehicle may include:
[0072] The memory 501, the processor 502, and the computer program stored on the memory 501 and capable of running on the processor 502.
[0073] When the processor 502 executes the program, it implements the background dynamic rhythm switching method based on music genre provided in the above embodiments.
[0074] Furthermore, the vehicle also includes:
[0075] Communication interface 503 is used for communication between memory 501 and processor 502.
[0076] The memory 501 is used to store computer programs that can run on the processor 502.
[0077] The memory 501 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0078] If the memory 501, processor 502, and communication interface 503 are implemented independently, then the communication interface 503, memory 501, and processor 502 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0079] Optionally, in a specific implementation, if the memory 501, processor 502, and communication interface 503 are integrated on a single chip, then the memory 501, processor 502, and communication interface 503 can communicate with each other through an internal interface.
[0080] Processor 502 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0081] This application also provides a computer program product on which a computer program is stored, which, when executed by a processor, implements the above-described background dynamic rhythm switching method based on music genre.
[0082] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0083] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0084] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0085] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequential list of executable instructions for implementing logical functions, and can be specifically implemented in any computer program product for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer program product" can be any means that can contain, store, communicate, propagate, or transmit a program for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer program products include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic device, and portable optical disc read-only memory (CDROM). Furthermore, the computer program product can even be paper or other suitable medium on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0086] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0087] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer program product, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0088] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer program product.
[0089] The computer program product mentioned above may be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. A method for background dynamic rhythm switching based on music genre, characterized in that, Includes the following steps: Determine whether a background dynamic rhythm switching request has been received; If the background dynamic rhythm switching request is received, the target music playback background, the target music playback mode, and the ambient light rhythm strategy corresponding to the target music playback mode are determined based on the background dynamic rhythm switching request. Switch the vehicle's current music playback mode to the target music playback mode, and / or switch the vehicle's current music playback background to the target music playback background, and control the ambient lights to rhythm based on the ambient light rhythm strategy corresponding to the target music playback mode. The step of switching the vehicle's current music playback mode to the target music playback mode includes: if the background dynamic rhythm switching request is a line mode switching request, then processing pulse code modulation (PCM) audio data, converting the PCM audio data into a digital signal representing the audio energy value, and adjusting the movement speed of the lines according to the energy value; if the background dynamic rhythm switching request is a block mode switching request, then controlling the up-and-down swing of the blocks according to the energy value; if the background dynamic rhythm switching request is a switching request, then adjusting the movement speed of the circles according to the energy value. After switching the vehicle's current music playback mode to the target music playback mode, the process includes: storing the target music playback mode in a cloud server, and automatically loading a query command for the target music playback mode when the user launches the music player next time; if a confirmation command to enter the target music playback mode is received from the user based on the query command, the user directly enters the target music playback mode.
2. The method according to claim 1, characterized in that, Also includes: Automatically retrieves and downloads the latest music playback backgrounds and the latest music playback modes; The music player sends notifications to users through its user interface to update the music playback background and playback mode.
3. The method according to claim 1, characterized in that, Also includes: Based on preset time intervals, duplicate or substandard music playback backgrounds and modes are deleted, and new music playback backgrounds and modes are intelligently recommended based on the user's actual usage of the music playback backgrounds and modes.
4. A background dynamic rhythm switching device based on music genre, characterized in that, include: The judgment module is used to determine whether a background dynamic rhythm switching request has been received; The determination module is used to determine the target music playback background, the target music playback mode, and the ambient light rhythm strategy corresponding to the target music playback mode based on the background dynamic rhythm switching request if the background dynamic rhythm switching request is received. The switching module is used to switch the vehicle's current music playback mode to the target music playback mode, and / or switch the vehicle's current music playback background to the target music playback background, and control the ambient lights to rhythmically move according to the ambient light rhythm strategy corresponding to the target music playback mode. The switching module is further configured to: if the background dynamic rhythm switching request is a line mode switching request, process pulse code modulation (PCM) audio data, convert the PCM audio data into a digital signal representing the audio energy value, and adjust the movement speed of the lines according to the energy value; if the background dynamic rhythm switching request is a square mode switching request, control the up-and-down swing of the square according to the energy value; if the background dynamic rhythm switching request is a switching request, adjust the movement speed of the circle according to the energy value. After switching the vehicle's current music playback mode to the target music playback mode, the switching module is further configured to: store the target music playback mode in a cloud server, and automatically load the query command for the target music playback mode when the user launches the music player next time; if a confirmation command to enter the target music playback mode is received from the user based on the query command, then the user directly enters the target music playback mode.
5. The apparatus according to claim 4, characterized in that, Also includes: The download module is used to automatically retrieve and download the latest music playback backgrounds and the latest music playback modes; The notification module is used to send notifications to users through the music player's user interface to update the music playback background and music playback mode.
6. A vehicle, characterized in that, Including memory and processor; The processor reads executable program code stored in the memory to run a program corresponding to the executable program code, so as to implement the background dynamic rhythm switching method based on any one of the music genres as described in claims 1-3.
7. A computer program product, wherein the computer programmable product stores a computer program, characterized in that, When the program is executed by the processor, it implements the background dynamic rhythm switching method based on any one of the music genres as described in claims 1-3.
Citation Information
Patent Citations
In-vehicle atmosphere lamp intelligent adjusting system and control method
CN114684013A
Method and system for controlling rhythm of automobile atmosphere lamp along with sound source based on scene
CN115103485A