Background dynamic rhythm switching method and device based on music genre and vehicle
By judging the background dynamic rhythm switching request in the music APP and dynamically adjusting the music playback background and ambient light rhythm strategy, fixed cover or background problems in the existing technology are solved, and a richer user experience is achieved.
Patent Information
- Application Number
- CN202411123420.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2044-08-15
AI Technical Summary
Existing music APPs tend to be homogeneous in the playback interface design, and the fixed cover or background animation cannot be automatically adjusted according to the rhythm and genre of the music, limiting the user's immersion experience.
By judging the background dynamic rhythm switching request, determine the target music playback background and mode, and control the ambient light rhythm strategy, realize the dynamic switching of music background and rhythm, including adjustment of line, square and circle modes, automatically retrieve and recommend the latest background and modes , store user preferences for next use.
It improves the user's driving experience, realizes the aggregation of the music background and rhythm of the car machine, and enhances the intelligence and immersion of music playback.
Smart Images

Figure CN119105726A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method, device and vehicle for switching background dynamic rhythm based on music genres. Background Art
[0002] With the rapid development of Internet of Vehicles technology, smart cars have become a new window connecting the real world and the digital world, which not only greatly enriches the driver's travel experience, but also gives rise to many APP applications closely related to car life. These applications are gradually changing people's driving habits and entertainment methods with their highly customized and constantly innovative content. In this context, music apps, as an important part of in-car entertainment, are particularly important for improving user experience.
[0003] However, the music apps currently on the market tend to be homogenized in their playback interface design, especially in the visual presentation when music is playing. Most of them use fixed covers or specific animations as backgrounds. There are no background effects that move with the rhythm of the music, supplemented by backgrounds designed according to the genre. They cannot automatically adjust according to the rhythm, law or even genre of the music, which limits the depth and breadth of users' immersion in the music atmosphere. Summary of the invention
[0004] The present application provides a method, device and vehicle for switching background dynamic rhythm based on music genres, so as to solve the problems that the current music software generally has a fixed cover or background dynamic effect when playing, and has low intelligence.
[0005] The first aspect of the present application provides a background dynamic rhythm switching method based on music genre, including the following steps: determining whether a background dynamic rhythm switching request is received; if the background dynamic rhythm switching request is received, determining 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; switching the current music playback mode of the vehicle to the target music playback mode, and / or switching the current music playback background of the vehicle to the target music playback background, and controlling the ambient light to rhythmically move based on the ambient light rhythm strategy corresponding to the target music playback mode.
[0006] Optionally, switching the current music playback mode of the vehicle to the target music playback mode includes: if the background dynamic rhythm switching request is a line mode switching request, processing the pulse code modulation PCM audio data, converting the PCM audio data into a digital signal representing an audio energy value, and adjusting the moving speed of the line according to the energy value; if the background dynamic rhythm switching request is a block mode switching request, controlling the up and down swing of the block according to the energy value; if the background dynamic rhythm switching request is a switching request, adjusting the moving speed of the circle according to the energy value.
[0007] Optionally, the above-mentioned background dynamic rhythm switching method based on music genre also includes: automatically retrieving and downloading the latest music playback background and the latest music playback mode; sending a notification of updating the music playback background and music playback mode to the user through the user interface of the music player.
[0008] Optionally, the above-mentioned background dynamic rhythm switching method based on music genre also includes: deleting music playback backgrounds and music playback modes that are repeated or do not meet preset quality conditions based on a preset time interval, 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 the music playback modes.
[0009] Optionally, after switching the current music playback mode of the vehicle to the target music playback mode, it includes: storing the target music playback mode in a cloud server, and automatically loading a query instruction for the target music playback mode when the user starts the music player next time; if a confirmation instruction for entering the target music playback mode sent by the user based on the query instruction is received, directly entering the target music playback mode.
[0010] The second aspect of the present application provides a background dynamic rhythm switching device based on music genre, including: a judgment module, used to judge whether a background dynamic rhythm switching request is received; a determination module, 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; a switching module, used to switch the current music playback mode of the vehicle to the target music playback mode, and / or switch the current music playback background of the vehicle to the target music playback background, and control the ambient light to rhythm based on the ambient light rhythm strategy corresponding to the target music playback mode.
[0011] Optionally, the switching module is also used for: if the background dynamic rhythm switching request is a line mode switching request, processing pulse code modulation PCM audio data, converting the PCM audio data into a digital signal representing an audio energy value, and adjusting the moving speed of the line according to the energy value; if the background dynamic rhythm switching request is a block mode switching request, controlling the up and down swing of the block according to the energy value; if the background dynamic rhythm switching request is a switching request, adjusting the moving speed of the circle according to the energy value.
[0012] Optionally, the above-mentioned background dynamic rhythm switching device based on music genre also includes: a download module, used to automatically retrieve and download the latest music playback background and the latest music playback mode; a notification module, used to send notifications of updating the music playback background and music playback mode to the user through the user interface of the music player.
[0013] Optionally, the above-mentioned background dynamic rhythm switching device based on music genre also includes: a recommendation module, which is used to delete music playback backgrounds and music playback modes that are repeated or do not meet preset quality conditions based on preset time intervals, and intelligently recommend new music playback backgrounds and new music playback modes based on the user's actual usage of the music playback backgrounds and the music playback modes.
[0014] Optionally, after switching the current music playback mode of the vehicle to the target music playback mode, the switching module is also used to: store the target music playback mode in a cloud server, and automatically load a query instruction for the target music playback mode when the user starts the music player next time; if a confirmation instruction for entering the target music playback mode sent by the user based on the query instruction is received, the target music playback mode is directly entered.
[0015] A third aspect of the present application provides a vehicle, comprising: 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 embodiment.
[0016] The fourth aspect of the present 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 embodiment.
[0017] In the above implementation, it is determined whether a background dynamic rhythm switching request is received. 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, 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 light is controlled to rhythmically move based on the ambient light rhythm strategy corresponding to the target music playback mode. Thus, the current problems of fixed cover or fixed background dynamic effects and low intelligence when playing music software are solved, and the aggregation of the car computer music background and rhythm is realized, which improves the user's driving experience.
[0018] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0020] Figure 1 A flowchart of a background dynamic rhythm switching method based on music genres provided according to an embodiment of the present application;
[0021] Figure 2 A schematic diagram of a data stream of a switching background dynamic rhythm according to an embodiment of the present application;
[0022] Figure 3 is a flow chart of a background dynamic rhythm switching method based on music genre according to an embodiment of the present application;
[0023] Figure 4 This is an example diagram of a background dynamic rhythm switching device based on music genres according to an embodiment of the present application;
[0024] Figure 5 It is a schematic diagram of a vehicle structure according to an embodiment of the present application.
[0025] Description of reference numerals:
[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 DESCRIPTION
[0027] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0028] The following describes the background dynamic rhythm switching method, device, and vehicle based on the music genre of the embodiment of the present application with reference to the accompanying drawings. In view of the problem mentioned in the above background technology that the current music software generally has a fixed cover or background dynamic effect when playing, and the intelligence is low, the present application provides a background dynamic rhythm switching method based on the music genre, in which it is determined whether a background dynamic rhythm switching request is received. 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, the current music playback mode of the vehicle is switched to the target music playback mode, and / or the current music playback background of the vehicle is switched to the target music playback background, and the ambient light is controlled to rhythm based on the ambient light rhythm strategy corresponding to the target music playback mode. As a result, the problem that the current music software generally has a fixed cover or background dynamic effect when playing, and the intelligence is low is solved, and the aggregation of the car-machine music background and rhythm is realized, thereby improving the user's driving experience.
[0029] Specifically, Figure 1 A flowchart of a background dynamic rhythm switching method based on music genre provided in an embodiment of the present application.
[0030] like Figure 1 As shown, the background dynamic rhythm switching method based on music genre includes the following steps:
[0031] In step S101, it is determined whether a background dynamic rhythm switching request is received.
[0032] Among them, the background dynamic rhythm switching request can be issued by the user clicking the switch button of the music player, or through the voice of the voice assistant.
[0033] In step S102, if a background dynamic rhythm switching request is received, a target music playing background, a target music playing mode and an ambience light rhythm strategy corresponding to the target music playing mode are determined based on the background dynamic rhythm switching request.
[0034] Among them, the target music playback modes include random mode and rhythm mode, and the rhythm mode includes line mode, square mode, circle mode, etc.
[0035] In step S103, the current music playback mode of the vehicle is switched to the target music playback mode, and / or the current music playback background of the vehicle is switched to the target music playback background, and the ambient light is controlled to move according to the ambient light rhythm strategy corresponding to the target music playback mode.
[0036] Optionally, in some embodiments, the current music playback mode of the vehicle is switched to the target music playback mode, including: if the background dynamic rhythm switching request is a line mode switching request, processing the pulse code modulation PCM audio data, converting the PCM audio data into a digital signal representing an audio energy value, and adjusting the moving speed of the line according to the energy value; if the background dynamic rhythm switching request is a block mode switching request, controlling the up and down swing of the block according to the energy value; if the background dynamic rhythm switching request is a switching request, adjusting the moving speed of the circle according to the energy value.
[0037] Specifically, Figure 2 As shown, the embodiment of the present 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. Among them, each music genre designs a corresponding default music playback background and music rhythm mode, and the music rhythm mode can be displayed by stars, petals, lines, etc., among which the music genres include pop genre, electronic genre, light music genre, folk genre, rap genre, rock genre, jazz genre, R&B genre, blues genre, classical genre, post-rock genre, ancient style genre, Chinese style genre, etc.
[0038] Currently, music apps are all aggregation apps. Bluetooth and USB music can use the default background. QQ, NetEase, Kugou, etc. design music playback backgrounds that match their types based on the music genres returned by the third-party SDK interface.
[0039] If there is an atmosphere light, the PCM data processed by the atmosphere light can be directly called. If there is no atmosphere light, the PCM data is collected and then the spectrum is analyzed to obtain the energy value data. The rhythmic resources jump regularly according to the energy value.
[0040] When music is playing, the rhythmic resources adapt to the entire screen and beat regularly according to the energy value. The beating methods of the rhythmic resources include the speed of the lines moving left and right on the screen, the height and speed of the blocks jumping up and down, and the speed of circles. At the same time, the atmosphere light beats according to the target music playback mode. The rhythm pauses when the music is paused. The default music playback background and music rhythm mode are applied when music is playing. Users can select the target music rhythm mode and target music playback background.
[0041] As an embodiment, specifically, if the background dynamic rhythm switching request is a line mode, 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 speed of the energy value; if the background dynamic rhythm switching request is a square mode, a rectangle is displayed on the music playback interface, and swings up and down according to the energy value; if the background dynamic rhythm switching request is a circle mode, the middle resources of the screen form 5-10 circles that move clockwise according to the energy value.
[0042] Optionally, in some embodiments, the above-mentioned background dynamic rhythm switching method based on music genre also includes: automatically retrieving and downloading the latest music playback background and the latest music playback mode; sending a notification of updating the music playback background and music playback mode to the user through the user interface of the music player.
[0043] It should be understood that whenever the music player is connected to the Internet, the music player will automatically retrieve the latest music playback background (such as high-definition pictures, dynamic wallpapers) and the latest music playback mode (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 start downloading these resources and store them in the local device or cloud storage for subsequent use.
[0044] After 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. The user can choose to view and apply these new resources.
[0045] Optionally, in some embodiments, the above-mentioned background dynamic rhythm switching method based on music genre also includes: deleting music playback backgrounds and music playback modes that are repeated or 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.
[0046] It should be understood that the music playback background and music playback mode that do not meet the preset quality conditions may be a music playback background and music playback mode with lower resolution, a music playback background and music playback mode with lower user ratings, and so on.
[0047] To keep the resource library tidy and efficient, the music player will automatically check and delete music backgrounds and music playback modes that are duplicate or do not meet preset quality requirements based on preset time intervals (such as weekly or monthly). For example, the music backgrounds and music playback modes have small files, low resolutions, low user ratings, or conflict with other resources.
[0048] The music player uses machine learning algorithms to analyze user preferences based on the user's actual usage of music playback backgrounds and music playback modes (such as click-through rate, playback time, user ratings, etc.), and intelligently recommends new music playback backgrounds and new music playback modes that are highly relevant to the user's preferences.
[0049] Optionally, in some embodiments, after the current music playback mode of the vehicle is switched to the target music playback mode, the process includes: storing the target music playback mode in a cloud server, and automatically loading a query instruction for the target music playback mode when the user starts the music player next time; if a confirmation instruction for entering the target music playback mode is received from the user based on the query instruction, the target music playback mode is directly entered.
[0050] Specifically, when the user switches the current music playback mode to a target playback mode or a target music playback background, the music player will store the target playback mode and the target music playback background in the cloud server.
[0051] When the user starts the music player next time, the music player will send a query command to the user, asking the user whether he wants to directly enter the target music playback mode saved last time. If the user confirms this command within a certain period of time by clicking, voice response or gesture, the music player will immediately load and apply the target music playback mode saved last time. If the user chooses not to enter the target music playback mode saved last time, the music player will return to the default playback state or adjust according to the user's latest selection.
[0052] In order to enable those skilled in the art to further understand the background dynamic rhythm switching method based on music genres in the embodiment of the present application, it is described in detail below in conjunction with specific embodiments. Figure 3 shown.
[0053] Step 1: According to the type of aggregation, USB, Bluetooth, etc., design a set of default background and rhythm resources, and obtain and classify song genres through QQ, Kugou, etc.
[0054] Step 2: If the third-party genres 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, then all genre types are sorted out.
[0055] Step 3: UI designs the background and rhythm resources corresponding to each genre type according to all genre types, and after completion, converts them into png format and gives them to the corresponding development.
[0056] Step 4: Connect to the PCM data interface collected and converted by the ambient light, register and call back.
[0057] Step 5: Get the mode selected by the user. Each genre has a default music background and music rhythm mode. In random mode, the music background and music mode are randomly selected when switching songs; in rhythm mode, if it is line mode, the resources are combined into a line that moves from left to right according to the energy value. If it is square mode, the resources are combined into a rectangle that swings up and down according to the energy value. If it is circle mode, the resources in the middle 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 and the data transmitted by the PCM is received and processed, and the rhythm is performed according to the rhythm mode selected by the user. The rhythm is paused when the music is paused.
[0059] Step 7: The process ends.
[0060] According to the background dynamic rhythm switching method based on music genres proposed in the embodiment of the present application, it is determined whether a background dynamic rhythm switching request is received. 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, the current music playback mode of the vehicle is switched to the target music playback mode, and / or the current music playback background of the vehicle is switched to the target music playback background, and the ambient light is controlled to rhythm based on the ambient light rhythm strategy corresponding to the target music playback mode. In this way, the problem that the current music software generally has a fixed cover or a fixed background dynamic effect when playing, and the intelligence is low is solved, and the aggregation of the car computer music background and rhythm is realized, thereby improving the user's driving experience.
[0061] Next, a background dynamic rhythm switching device based on music genres proposed in an embodiment of the present application will be described with reference to the accompanying drawings.
[0062] Figure 4 It is a block diagram of a background dynamic rhythm switching device based on music genres according to an embodiment of the present 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] Among them, the judgment module 100 is used to determine whether a background dynamic rhythm switching request is received; the determination module 200 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 300 is used to switch the current music playback mode of the vehicle to the target music playback mode, and / or switch the current music playback background of the vehicle to the target music playback background, and control the ambient light to rhythmically move based on the ambient light rhythm strategy corresponding to the target music playback mode.
[0065] Optionally, in some embodiments, the switching module 300 is also used for: if the background dynamic rhythm switching request is a line mode switching request, then processing the pulse code modulated PCM audio data, converting the PCM audio data into a digital signal representing an audio energy value, and adjusting the moving speed of the line 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 block according to the energy value; if the background dynamic rhythm switching request is a switching request, then adjusting the moving speed of the circle according to the energy value.
[0066] Optionally, in some embodiments, the above-mentioned background dynamic rhythm switching device 10 based on music genre also includes: a download module, used to automatically retrieve and download the latest music playback background and the latest music playback mode; a notification module, used to send notifications of updated music playback background and music playback mode to users through the user interface of the music player.
[0067] Optionally, in some embodiments, the above-mentioned background dynamic rhythm switching device 10 based on music genre further includes: a recommendation module, which is used to delete music playback backgrounds and music playback modes that are repeated or do not meet preset quality conditions based on preset time intervals, and 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.
[0068] Optionally, in some embodiments, after the current music playback mode of the vehicle is switched to the target music playback mode, the switching module 300 is also used to: store the target music playback mode in a cloud server, and automatically load an inquiry instruction for the target music playback mode when the user starts the music player next time; if a confirmation instruction to enter the target music playback mode is received from the user based on the inquiry instruction, the target music playback mode is directly entered.
[0069] It should be noted that the aforementioned explanation of the embodiment of the background dynamic rhythm switching method based on music genre is also applicable 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 genres proposed in the embodiment of the present application, it is determined whether a background dynamic rhythm switching request is received. 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, the current music playback mode of the vehicle is switched to the target music playback mode, and / or the current music playback background of the vehicle is switched to the target music playback background, and the ambient light is controlled to rhythmically move based on the ambient light rhythm strategy corresponding to the target music playback mode. In this way, the problem that the current music software generally has a fixed cover or a fixed background dynamic effect when playing, and has low intelligence is solved, and the aggregation of the car computer music background and rhythm is realized, thereby improving the user's driving experience.
[0071] Figure 5 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:
[0072] A memory 501 , a processor 502 , and a computer program stored in the memory 501 and executable on the processor 502 .
[0073] When the processor 502 executes the program, the background dynamic rhythm switching method based on music genre provided in the above embodiment is implemented.
[0074] Furthermore, the vehicle also includes:
[0075] The communication interface 503 is used for communication between the memory 501 and the processor 502 .
[0076] The memory 501 is used to store computer programs that can be executed on the processor 502 .
[0077] The memory 501 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0078] If the memory 501, the processor 502 and the communication interface 503 are implemented independently, the communication interface 503, the memory 501 and the processor 502 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0079] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can communicate with each other through an internal interface.
[0080] The processor 502 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0081] An embodiment of the present application also provides a computer program product having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned background dynamic rhythm switching method based on music genre.
[0082] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0083] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0084] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0085] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer program product for use with an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, a "computer program product" can be any device that can contain, store, communicate, propagate or transmit a program for use with an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer program products (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). Furthermore, the computer program product may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example by optically scanning the paper or other medium and then editing, interpreting or, if necessary, processing it in another suitable manner, and then storing it in a computer memory.
[0086] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0087] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer program product, which, when executed, includes one or a combination of the steps of the method embodiment.
[0088] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may 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 the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A background dynamic rhythm switching method based on music genre, characterized in that: The following steps are involved: Determine whether a background dynamic rhythm switching request is received; If the background dynamic rhythm switching request is received, determining the target music playing background, the target music playing mode and the ambient light rhythm strategy corresponding to the target music playing mode based on the background dynamic rhythm switching request; Switch the current music playback mode of the vehicle to the target music playback mode, and / or switch the current music playback background of the vehicle to the target music playback background, and control the ambient light to move based on the ambient light rhythm strategy corresponding to the target music playback mode.
2. The method according to claim 1, characterized in that The step of switching the current music playing mode of the vehicle to the target music playing mode includes: If the background dynamic rhythm switching request is a line mode switching request, the pulse code modulation PCM audio data is processed, the PCM audio data is converted into a digital signal representing an audio energy value, and the moving speed of the line is adjusted according to the energy value; If the background dynamic rhythm switching request is a block mode switching request, the block is controlled to swing up and down according to the energy value; If the background dynamic rhythm switching request is a switching request, the moving speed of the circle is adjusted according to the energy value.
3. The method according to claim 1, characterized in that Also includes: Automatically retrieve and download the latest music playing background and the latest music playing mode; A notification is sent to the user through the user interface of the music player to update the music playback background and music playback mode.
4. The method according to claim 1, characterized in that Also includes: Based on a preset time interval, music playback backgrounds and music playback modes that are repeated or do not meet preset quality conditions are deleted, and new music playback backgrounds and new music playback modes are intelligently recommended based on the user's actual usage of the music playback backgrounds and the music playback modes.
5. The method according to claim 1, characterized in that After the current music playing mode of the vehicle is switched to the target music playing mode, including: Storing the target music playing mode in a cloud server, and automatically loading the query instruction of the target music playing mode when the user starts the music player next time; If a confirmation instruction for entering a target music playing mode is received from the user based on the inquiry instruction, the target music playing mode is directly entered.
6. A background dynamic rhythm switching device based on music genre, characterized in that: include: A judgment module, used to judge whether a background dynamic rhythm switching request is received; A determination module, for determining a target music playing background, a target music playing mode and an ambience light rhythm strategy corresponding to the target music playing mode based on the background dynamic rhythm switching request if the background dynamic rhythm switching request is received; A switching module is used to switch the current music playback mode of the vehicle to the target music playback mode, and / or switch the current music playback background of the vehicle to the target music playback background, and control the ambient light to move based on the ambient light rhythm strategy corresponding to the target music playback mode.
7. The device according to claim 6, characterized in that The switching module is further used for: If the background dynamic rhythm switching request is a line mode switching request, the pulse code modulation PCM audio data is processed, the PCM audio data is converted into a digital signal representing an audio energy value, and the moving speed of the line is adjusted according to the energy value; If the background dynamic rhythm switching request is a block mode switching request, the block is controlled to swing up and down according to the energy value; If the background dynamic rhythm switching request is a switching request, the moving speed of the circle is adjusted according to the energy value.
8. The device according to claim 6, characterized in that Also includes: Download module, used to automatically retrieve and download the latest music playing background and the latest music playing mode; The notification module is used to send notifications of updating the music playing background and the music playing mode to the user through the user interface of the music player.
9. A vehicle, characterized in that: Including memory and processor; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the background dynamic rhythm switching method based on music genre as described in any one of claims 1-5.
10. A computer program product, wherein the computer program product stores a computer program, characterized in that: When the program is executed by a processor, the background dynamic rhythm switching method based on music genre as described in any one of claims 1 to 5 is implemented.
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
Atmosphere lamp control method, device and equipment for vehicle
CN116113120A
Music linkage rhythm method and system based on process name and playing state and medium
CN117331711A
Scene-based music audio-visual method and system
CN117445836A
