Vehicle atmosphere lamp control method, system, electronic device and readable storage medium

By acquiring the frequency patterns and frequency data of vehicle ambient lighting, and combining whitelisting and data processing technologies, the problem of real-time acquisition of frequency data from third-party applications was solved, enabling effective control of vehicle ambient lighting and improving user experience and memory utilization.

CN115402194BActive Publication Date: 2026-01-02SHANGHAI PATEO INTERNET TECH SERVICE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110589019.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-27
Publication Date
2026-01-02
Estimated Expiration
2041-05-27

AI Technical Summary

Technical Problem

In existing technologies, how to obtain frequency data from third-party applications in real time to effectively control vehicle ambient lighting is an urgent problem to be solved.

Method used

By obtaining the frequency pattern of the vehicle ambient lighting, it is determined whether the target application is in the whitelist, the frequency data is obtained and cached, the extraction frequency is determined by combining the data write rate, the frequency data is processed to obtain the target frequency data, and the vehicle ambient lighting is effectively controlled.

Benefits of technology

It improves the effectiveness of ambient lighting rhythm control in vehicles, enhances the user experience, and increases the utilization of terminal memory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115402194B_ABST
    Figure CN115402194B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a vehicle atmosphere lamp control method and system, an electronic device and a readable storage medium. The method comprises: obtaining a frequency point mode of the vehicle atmosphere lamp; obtaining frequency point data of a target application program playing a media file; processing the frequency point data based on the frequency point mode of the vehicle atmosphere lamp to obtain target frequency point data corresponding to the vehicle atmosphere lamp; and controlling the vehicle atmosphere lamp based on the target frequency point data. The embodiments of the present application can effectively control the vehicle atmosphere lamp.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicles, and particularly relates to a vehicle atmosphere lamp control method and system, an electronic device and a readable storage medium. BACKGROUND

[0002] With the continuous improvement of living standards, automobiles have gradually become a common means of transportation for people. People's requirements for the entertainment of vehicle-mounted devices are also getting higher and higher.

[0003] In the process that a user plays a multimedia file through a vehicle-mounted device, media rhythm information can enrich the entertainment of the vehicle-mounted device, and the media rhythm information can drive the vehicle atmosphere lamp to beat through the vehicle-mounted device.

[0004] In the process that the vehicle-mounted device system plays a multimedia file through a third-party application and drives the vehicle atmosphere lamp to beat, how to acquire frequency point data of the third-party application in real time to effectively control the vehicle atmosphere lamp is a problem to be solved at present. SUMMARY

[0005] One purpose of the present application is to provide a vehicle atmosphere lamp control method, which realizes effective control of the vehicle atmosphere lamp by combining the frequency point mode of the vehicle atmosphere lamp.

[0006] Another purpose of the present application is to provide a vehicle atmosphere lamp control method, which sets a white list for vehicle atmosphere lamp beat control, and determines whether frequency point data of a target application program needs to be acquired by judging whether the target application program is in the white list.

[0007] Another purpose of the present application is to provide a vehicle atmosphere lamp control method, which extracts frequency point data by combining the frequency point data extraction frequency corresponding to the data writing rate of the vehicle atmosphere lamp, thereby improving the effectiveness of vehicle atmosphere lamp beat control.

[0008] Another purpose of the present application is to provide a vehicle atmosphere lamp control method, which realizes effective control of the vehicle atmosphere lamp in a single frequency point mode by combining the frequency point amplitude of the extracted frequency point data.

[0009] Another purpose of the present application is to provide a vehicle atmosphere lamp control method, which realizes effective control of the vehicle atmosphere lamp in a multi-frequency point mode by the extracted frequency point data or adjusted frequency point data.

[0010] Another purpose of the present application is to provide a vehicle atmosphere lamp control method, which clears the frequency point data in the data pool, thereby improving the utilization rate of the terminal memory.

[0011] Other advantages and features of the application will be apparent from the following detailed description, from the attached claims as well as from the drawings.

[0012] According to an aspect of the application, there is provided a control method of a vehicle ambient light, comprising the steps of:

[0013] obtaining a frequency point mode of the vehicle ambient light;

[0014] obtaining frequency point data of a target application program playing a media file;

[0015] processing the frequency point data based on the frequency point mode of the vehicle ambient light to obtain target frequency point data corresponding to the vehicle ambient light;

[0016] controlling the vehicle ambient light based on the target frequency point data.

[0017] According to another aspect of the application, there is provided a control system, comprising: a vehicle terminal, a target application program and a vehicle ambient light, the vehicle terminal being in communication with the target application program and the vehicle ambient light respectively,

[0018] the vehicle terminal performing the following steps:

[0019] obtaining a frequency point mode of the vehicle ambient light;

[0020] obtaining frequency point data of the target application program playing a media file;

[0021] processing the frequency point data based on the frequency point mode of the vehicle ambient light to obtain target frequency point data corresponding to the vehicle ambient light;

[0022] controlling the vehicle ambient light based on the target frequency point data.

[0023] According to another aspect of the application, there is provided an electronic device, comprising:

[0024] a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the control method of the vehicle ambient light according to any one of the preceding aspects.

[0025] According to another aspect of the application, there is provided a readable storage medium, when instructions in the readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the steps of the control method of the vehicle ambient light according to any one of the preceding aspects.

[0026] The above description is only a summary of the technical solutions of the present application. In order to make the technical means of the present application more clear and understandable, and to enable the above and other purposes, characteristics and advantages of the present application to be more obvious and easy to understand, the following will describe the specific embodiments of the present application in detail. BRIEF DESCRIPTION OF DRAWINGS

[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0028] Figure 1 A step flow chart of a control method of a vehicle atmosphere lamp provided by the embodiments of the present application;

[0029] Figure 2 A step flow chart of a frequency point data caching method provided by the embodiments of the present application;

[0030] Figure 3 A step flow chart of a method for obtaining frequency point data of a target application program of a played media file provided by the embodiments of the present application;

[0031] Figure 4 A step flow chart of a frequency point data processing method provided by the embodiments of the present application;

[0032] Figure 5 An application environment diagram for control of a vehicle atmosphere lamp provided by the embodiments of the present application;

[0033] Figure 6 A structural schematic diagram of a control system provided by the embodiments of the present application;

[0034] Figure 7 A structural schematic diagram of an electronic device provided by the embodiments of the present application. DETAILED DESCRIPTION

[0035] The technical solutions of the embodiments of the present application will be described in detail below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0036] Embodiment one

[0037] Reference Figure 1, a step flow chart of a vehicle atmosphere lamp control method provided by an embodiment of the present application is shown, as shown in Figure 1 The vehicle atmosphere lamp control method can include the following steps:

[0038] Step 101: Obtain the frequency point mode of the vehicle atmosphere lamp.

[0039] In this example, the frequency point mode of the vehicle atmosphere lamp can include a single frequency point mode and a multi-frequency point mode, where the single frequency point mode refers to a mode of controlling the vehicle atmosphere lamp through a single frequency point data, and the multi-frequency point mode refers to a mode of controlling the vehicle atmosphere lamp through multiple frequency point data.

[0040] When the vehicle-mounted system plays a media file through a target application, the frequency point mode of the vehicle atmosphere lamp can be obtained.

[0041] Step 102: Obtain the frequency point data of the target application playing the media file.

[0042] The embodiment of the present application can be applied to a scenario of controlling the vehicle atmosphere lamp in rhythm.

[0043] In this example, the media file can be a music file, a video file, etc.

[0044] The target application refers to an application of playing a media file through a playback device of the vehicle-mounted system. In this example, the target application can be an application built-in in the vehicle-mounted system, or a third-party application, etc. Specifically, it can be determined according to business requirements, and the present embodiment does not limit it.

[0045] The frequency point data refers to audio data when the target application plays the media file, and the audio is the sound frequency.

[0046] In this embodiment, before obtaining the frequency point data of the target application, it is first needed to determine whether the target application is in a whitelist pre-set in the vehicle-mounted system, and then determine whether the vehicle atmosphere lamp needs to be controlled. Specifically, it can be described as follows. Figure 2

[0047] Referring to Figure 2 , a step flow chart of a frequency point data caching method provided by an embodiment of the present application is shown, as shown in Figure 2 Before obtaining the frequency point data of the target application, the following steps can also be included:

[0048] Step 201: Determine whether the target application is an application in the whitelist.

[0049] The embodiment of the present application can be applied to a scenario of controlling the vehicle atmosphere lamp in rhythm.​

[0050] The target application refers to an application playing a media file through a playing device of the vehicle-mounted system. In the present example, the target application can be an application built in the vehicle-mounted system or a third-party application, etc. Specifically, the target application can be determined according to business requirements, which is not limited in the present embodiment.

[0051] The white list refers to a list of applications that need to be controlled by the vehicle ambient light in the vehicle-mounted system, i.e., the applications saved in the white list. When a media file of the application is played through the playing device of the vehicle-mounted system, the vehicle ambient light needs to be controlled. The white list set in the vehicle-mounted system can be used to manage the applications that need to be controlled.

[0052] When a media file is played through the target application, it is first needed to determine whether the target application is an application in the white list. For example, the applications in the white list include application A, application B and application C. When the target application is any one of the application A, the application B and the application C, it can be determined that the target application is an application in the white list, otherwise, it can be determined that the target application is not an application in the white list.

[0053] After it is determined that the target application is an application in the white list, step 202 is executed.

[0054] Step 202: When the target application is an application in the white list, frequency point data of the media file played by the target application is acquired.

[0055] The frequency point data refers to audio data of the media file played by the target application, and the audio refers to sound frequency.

[0056] After it is determined that the target application is an application in the white list, the frequency point data of the media file played by the target application can be acquired. In a specific implementation, a frequency point data acquisition duration can be set in advance. The frequency point data of the media file played by the target application is acquired every time the duration elapses. In actual application, the duration is less than an interval duration of writing the frequency point data to the vehicle ambient light.

[0057] After the frequency point data of the media file played by the target application is acquired, step 203 is executed.

[0058] Step 203: The frequency point data is cached in a data pool.

[0059] After obtaining the frequency point data of the target application playing the media file, the obtained frequency point data can be cached in a data pool, so that when the vehicle atmosphere lamp needs to be controlled in rhythm, the frequency point data of the target application playing the media file can be directly extracted from the data pool.

[0060] When the vehicle machine system plays the media file through the target application, the frequency point data of the target application playing the media file can be obtained every preset time interval, and the frequency point data is saved in the data pool previously set by the vehicle system. Then, when the vehicle atmosphere lamp is controlled in rhythm, the frequency point data of the playing media file can be obtained from the data pool. For this process, the method of Figure 3 will be described in detail as follows.

[0061] Referring to Figure 3 , a step flowchart of another method for obtaining frequency point data of a target application playing a media file provided by an embodiment of the present application is shown, as Figure 3 shown, obtaining frequency point data of a target application playing a media file can specifically include the following steps:

[0062] Step 301: determining a frequency point data extraction frequency according to a data write rate corresponding to the vehicle atmosphere lamp.

[0063] The data write rate refers to the rate of writing frequency point data to the vehicle atmosphere lamp. The data write rate can be 100 ms, 120 ms, etc. Specifically, the data write rate of the vehicle atmosphere lamp can be determined according to actual conditions, and the present embodiment does not limit this.

[0064] The frequency point data extraction frequency can be used to indicate the frequency of extracting frequency point data from the data pool.

[0065] After caching the frequency point data in the data pool, the frequency point data extraction frequency can be determined according to the data write rate corresponding to the vehicle atmosphere lamp. In a specific implementation, the frequency point data extraction frequency can be the same as the data write rate, for example, when the data write rate is 100 ms, the frequency point data extraction frequency can be 100 ms, etc. Of course, the frequency point data extraction frequency can also be less than the data write rate, for example, when the data write rate is 100 ms, the frequency point data extraction frequency can be 80 ms, etc.

[0066] It can be understood that the above examples are only examples for better understanding the technical solutions of the embodiments of the present application, and are not the only limitation of the embodiments.

[0067] After determining the frequency point data extraction frequency according to the data write rate of the vehicle atmosphere lamp, step 302 is performed.

[0068] Step 302: based on the frequency point data extraction frequency, obtaining the frequency point data corresponding to the target application program.

[0069] After obtaining the frequency point data extraction frequency, the frequency point data corresponding to the target application program can be obtained from the data pool based on the frequency point data extraction frequency, for example, when the frequency point data extraction frequency is 100 ms / time, the frequency point data of the target application program can be obtained from the data pool every 100 ms, and the like.

[0070] After obtaining the frequency point data corresponding to the target application program from the data pool, the frequency point data in the data pool can be cleared, so as to provide a cache space for the subsequent frequency point data of the target application program playing the media file, and the utilization rate of the system memory is improved.

[0071] After obtaining the frequency point data of the target application program playing the media file and the frequency point mode of the vehicle ambient light, step 103 is executed.

[0072] Step 103: based on the frequency point mode of the vehicle ambient light, processing the frequency point data to obtain the target frequency point data corresponding to the vehicle ambient light.

[0073] The target frequency point data refers to the frequency point data used for controlling the vehicle ambient light, and in the present example, the number of target frequency point data is determined according to the frequency point mode of the vehicle ambient light. When the frequency point mode of the vehicle ambient light is a single frequency point mode, the target frequency point data is one frequency point data. When the frequency point mode of the vehicle ambient light is a multi-frequency point mode, the target frequency point data is multiple frequency point data.

[0074] After obtaining the frequency point mode of the vehicle ambient light, the frequency point data can be processed based on the frequency point mode of the vehicle ambient light to obtain the target frequency point data corresponding to the vehicle ambient light. Specifically, when the frequency point mode of the vehicle ambient light is a single frequency point mode, the obtained frequency point data can be processed by solving the maximum value or the average value, so as to obtain one frequency point data as the target frequency point data. When the frequency point mode of the vehicle ambient light is a multi-frequency point mode, the obtained frequency point data can be proportionally converted, and the multiple frequency point data converted can be used as the target frequency point data, and the like. Specifically, the frequency point data of the target application program playing the media file can be combined with the frequency point mode of the vehicle ambient light to obtain the target frequency point data corresponding to the vehicle ambient light. Figure 4 The following detailed description is made.

[0075] Referring to Figure 4 , a step flowchart of a frequency point data processing method provided by an embodiment of the present application is shown, as Figure 4 shown, based on the frequency point mode of the vehicle ambient light, the frequency point data is processed to obtain the target frequency point data corresponding to the vehicle ambient light, which can specifically include the following steps:

[0076] Step 401: In the case where the frequency point mode is a single frequency point mode, a frequency point amplitude corresponding to the frequency point data is obtained, and the frequency point amplitude is taken as the target frequency point data.

[0077] In this embodiment, the frequency point amplitude refers to a frequency point amplitude obtained after processing of the frequency point data.

[0078] In the case where the frequency point mode of the vehicle atmosphere lamp is a single frequency point mode, it is indicated that one frequency point data is required for the beat control of the vehicle atmosphere lamp, and at this time, the frequency point data of the target application program extracted from the data pool can be processed to obtain a frequency point amplitude corresponding to the frequency point data, and then the frequency point amplitude can be taken as the target frequency point data. The specific processing process can be: 1. The frequency point data is processed to obtain the frequency point data with the maximum or minimum frequency point value, and the frequency point data with the maximum or minimum frequency point value is taken as the target frequency point data; 2. The frequency point average of the frequency point data is solved, and the frequency point average is taken as the frequency point amplitude, etc.

[0079] Of course, in specific implementation, the manner of obtaining the frequency point amplitude is not limited to the above two manners, and in actual application, other manners can also be used to process the frequency point data to obtain the frequency point amplitude. The specific processing manner can be determined according to the business requirement, and the present embodiment does not limit this.

[0080] Step 402: In the case where the frequency point mode is a multi-frequency point mode, the frequency point data is taken as the target frequency point data.

[0081] In this embodiment, in the case where the frequency point mode of the vehicle atmosphere lamp is a multi-frequency point mode, it is indicated that multiple frequency point data are required for the beat control of the vehicle atmosphere lamp, and at this time, the frequency point data of the vehicle atmosphere lamp extracted from the data pool can be taken as the target frequency point data.

[0082] Step 403: In the case where the frequency point mode is a multi-frequency point mode, the adjustment frequency point data corresponding to the frequency point data is calculated according to the conversion ratio corresponding to the frequency point data, and the adjustment frequency point data is taken as the target frequency point data.

[0083] In this embodiment, in the case where the frequency point mode of the vehicle atmosphere lamp is a multi-frequency point mode, the adjustment frequency point data corresponding to the frequency point data can be calculated according to the conversion ratio corresponding to the frequency point data, and the adjustment frequency point data is taken as the target frequency point data. In this example, the conversion ratio can be a ratio for conversion calculation of the frequency point data pre-set by the business personnel, and the specific value of the conversion ratio can be determined according to the business requirement, and the present embodiment does not limit this.

[0084] After the target frequency point data corresponding to the vehicle atmosphere lamp is obtained by processing the frequency point data based on the frequency point mode of the vehicle atmosphere lamp, step 104 is performed.

[0085] Step 104: Control the vehicle atmosphere lamp based on the target frequency point data.

[0086] After obtaining the target frequency point data corresponding to the vehicle atmosphere lamp, the vehicle atmosphere lamp can be controlled based on the target frequency point data, such as Figure 5 As shown in the figure, the vehicle terminal 510 can send the target frequency point data to the vehicle atmosphere lamp 530 in the vehicle 520 to realize the beat control of the vehicle atmosphere lamp 530.

[0087] In this example, the process of beat control of the vehicle atmosphere lamp can be to control the color of the vehicle atmosphere lamp, for example, when the target frequency point data is high frequency data, the vehicle atmosphere lamp can be controlled to display red, when the target frequency point data is medium frequency data, the vehicle atmosphere lamp can be controlled to display blue, when the target frequency point data is low frequency data, the vehicle atmosphere lamp can be controlled to display green, etc.

[0088] The process of beat control of the vehicle atmosphere lamp can also be to control the brightness of the vehicle atmosphere lamp, for example, when the target frequency point data is high frequency data, the vehicle atmosphere lamp can be controlled to display with high brightness, when the target frequency point data is low frequency data, the vehicle atmosphere lamp can be controlled to display with low brightness, etc.

[0089] The process of beat control of the vehicle atmosphere lamp can also be to control the flashing frequency of the vehicle atmosphere lamp, for example, when the target frequency point data is high frequency data, the vehicle atmosphere lamp can be controlled to flash at high frequency, when the target frequency point data is low frequency data, the vehicle atmosphere lamp can be controlled to flash at low frequency, etc.

[0090] Of course, the process of beat control of the vehicle atmosphere lamp can also be to control at least two of the flashing frequency, color and brightness of the vehicle atmosphere lamp at the same time, for example, when the target frequency point data is high frequency data, the vehicle atmosphere lamp can be controlled to display red and flash at high frequency, when the target frequency point data is low frequency data, the vehicle atmosphere lamp can be controlled to display green and flash at low frequency, etc.

[0091] It can be understood that the above examples are only examples for better understanding the technical solutions of the embodiments of the present application, and are not the only limitation of the embodiments.

[0092] The vehicle ambient lighting control method provided in this application obtains the frequency pattern of the vehicle ambient lighting, acquires the frequency data of the target application playing media files, processes the frequency data based on the frequency pattern of the vehicle ambient lighting to obtain the target frequency data corresponding to the vehicle ambient lighting, and controls the vehicle ambient lighting based on the target frequency data. This application embodiment, by combining the frequency data of the target application playing media files and the frequency pattern of the vehicle ambient lighting, can achieve effective control of the vehicle ambient lighting, improving the user experience.

[0093] Example 2

[0094] Reference Figure 6 The diagram shows a schematic representation of the control system provided in an embodiment of this application. Figure 6 As shown, the control system 600 may include: an in-vehicle terminal 610, a target application 620, and a vehicle ambient light 630, wherein the in-vehicle terminal 610 communicates with the target application 620 and the vehicle ambient light 630, respectively.

[0095] The vehicle-mounted terminal performs the following steps:

[0096] Obtain the frequency pattern of the vehicle ambient lighting;

[0097] Obtain the frequency data of the target application that plays the media file;

[0098] Based on the frequency pattern of the vehicle ambient light, the frequency data is processed to obtain the target frequency data corresponding to the vehicle ambient light.

[0099] The vehicle ambient lighting is controlled based on the target frequency data.

[0100] Optionally, before acquiring the frequency data of the target application for playing media files, the vehicle terminal performs the following steps:

[0101] Determine whether the target application is a whitelisted application;

[0102] If the target application is a whitelisted application, obtain the frequency data of the target application playing the media file;

[0103] The frequency point data is cached in the data pool.

[0104] Optionally, when the vehicle terminal acquires the frequency data of the target application for playing media files, it performs the following steps:

[0105] The frequency point data extraction frequency is determined based on the data writing rate corresponding to the vehicle ambient light.

[0106] Extract the frequency based on the frequency point data, and obtain the frequency point data corresponding to the target application program.

[0107] Optionally, when the vehicle terminal processes the frequency point data based on the frequency point mode of the vehicle atmosphere lamp to obtain the target frequency point data corresponding to the vehicle atmosphere lamp, the following steps are performed:

[0108] In a case where the frequency point mode is a single frequency point mode, a frequency point amplitude corresponding to the frequency point data is obtained, and the frequency point amplitude is taken as the target frequency point data.

[0109] Optionally, when the vehicle terminal processes the frequency point data based on the frequency point mode of the vehicle atmosphere lamp to obtain the target frequency point data corresponding to the vehicle atmosphere lamp, the following steps are performed:

[0110] In a case where the frequency point mode is a multi-frequency point mode, the frequency point data is taken as the target frequency point data; or

[0111] In a case where the frequency point mode is a multi-frequency point mode, the adjustment frequency point data corresponding to the frequency point data is calculated according to a conversion ratio corresponding to the frequency point data, and the adjustment frequency point data is taken as the target frequency point data.

[0112] Optionally, after the vehicle terminal obtains the frequency point data of the target application program playing the media file, the following steps are performed:

[0113] The frequency point data in the data pool is cleared.

[0114] The control system provided by the embodiment of the application obtains the frequency point mode of the vehicle atmosphere lamp, obtains the frequency point data of the target application program playing the media file, obtains the frequency point mode of the vehicle atmosphere lamp, processes the frequency point data based on the frequency point mode of the vehicle atmosphere lamp to obtain the target frequency point data corresponding to the vehicle atmosphere lamp, and controls the vehicle atmosphere lamp based on the target frequency point data. The embodiment of the application can realize effective control of the vehicle atmosphere lamp by combining the frequency point data of the target application program playing the media file and the frequency point mode of the vehicle atmosphere lamp, and improves the user experience.

[0115] Embodiment three

[0116] The embodiment of the application further provides an electronic device, which comprises a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the computer program is executed by the processor to implement the control method of the vehicle atmosphere lamp.

[0117] Figure 7 A structural schematic diagram of an electronic device 700 is shown. Figure 7As shown, the electronic device 700 includes a central processing unit (CPU) 701 that can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 702 or loaded into a random access memory (RAM) 703 from a storage unit 708. Various programs and data required for the operation of the electronic device 700 can also be stored in the RAM 703. The CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0118] A plurality of components in the electronic device 700 are connected to the I / O interface 705, including an input unit 706 such as a keyboard, a mouse, a microphone, and the like; an output unit 707 such as various types of displays, a speaker, and the like; a storage unit 708 such as a magnetic disk, an optical disk, and the like; and a communication unit 709 such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 709 allows the electronic device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0119] The various processes and processes described above can be performed by the processing unit 701. For example, the method of any of the above-described embodiments can be implemented as a computer software program that is tangibly embodied in a computer readable medium, such as the storage unit 708. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the CPU 701, one or more actions of the above-described method can be performed.

[0120] Embodiment Four

[0121] The embodiments of the present application also provide a computer readable storage medium, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement various processes of the above-mentioned vehicle atmosphere lamp control method embodiments, and can achieve the same technical effects. To avoid repetition, details are not described here. The computer readable storage medium includes, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.

[0122] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element preceded by "comprises... a" does not, without more constraints, foreclose the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0123] Those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the methods described in various embodiments of the present application.

[0124] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative, not restrictive, and those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope of protection of the claims.

[0125] Those skilled in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed in the embodiments of the present application can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are executed in hardware or software depends on the specific application and design constraints of the technical solutions. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0126] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiments, which will not be described here.

[0127] In the embodiments of the present application, it should be understood that the disclosed apparatus and method can be implemented in other manners. For example, the described embodiments of the apparatus are merely schematic. The units as divided can or can not be physically reallocated, and can or can not be components independent of each other. In some embodiments, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electric, mechanical or other forms.

[0128] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments.

[0129] In addition, each functional unit in the various embodiments of the present application can be integrated into a processing unit, or each unit can be a physically independent unit, or two or more units can be integrated into a unit.

[0130] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the parts that make contributions to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc.

[0131] The above description is merely a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A control method of a vehicle mood light, characterized by, The method comprises the following steps: acquiring a frequency point mode of the vehicle atmosphere lamp; acquiring frequency point data of a target application program playing a media file every preset time interval when the infotainment system plays the media file through the target application program; caching the frequency point data into a data pool; determining a frequency point data extraction frequency according to a data writing rate corresponding to the vehicle atmosphere lamp; acquiring frequency point data corresponding to the target application program from the data pool based on the frequency point data extraction frequency; processing the frequency point data based on the frequency point mode of the vehicle atmosphere lamp to obtain target frequency point data corresponding to the vehicle atmosphere lamp; controlling the vehicle atmosphere lamp based on the target frequency point data.

2. The method of claim 1, before the acquiring frequency point data of a target application program playing a media file every preset time interval, further comprising the following steps: determining whether the target application program is an application program in a white list; in the case that the target application program is an application program in the white list, acquiring frequency point data of the target application program playing the media file.

3. The method of claim 1, the processing the frequency point data based on the frequency point mode of the vehicle atmosphere lamp to obtain target frequency point data corresponding to the vehicle atmosphere lamp, comprising the following steps: in the case that the frequency point mode is a single frequency point mode, acquiring a frequency point amplitude corresponding to the frequency point data, and taking the frequency point amplitude as the target frequency point data.

4. The method of claim 1, the processing the frequency point data based on the frequency point mode of the vehicle atmosphere lamp to obtain target frequency point data corresponding to the vehicle atmosphere lamp, comprising the following steps: in the case that the frequency point mode is a multi-frequency point mode, taking the frequency point data as the target frequency point data; or in the case that the frequency point mode is a multi-frequency point mode, calculating adjustment frequency point data corresponding to the frequency point data according to a conversion ratio corresponding to the frequency point data, and taking the adjustment frequency point data as the target frequency point data.

5. The method of claim 2, after the acquiring frequency point data corresponding to the target application program from the data pool, further comprising the following steps: clearing the frequency point data in the data pool.

6. A control system characterized by, comprising: a vehicle terminal, a target application program and a vehicle atmosphere lamp, the vehicle terminal respectively communicating with the target application program and the vehicle atmosphere lamp, the vehicle terminal performing the following steps: acquiring a frequency point mode of the vehicle atmosphere lamp; acquiring frequency point data of the target application program playing a media file every preset time interval when the infotainment system plays the media file through the target application program; caching the frequency point data into a data pool; determining a frequency point data extraction frequency according to a data writing rate corresponding to the vehicle atmosphere lamp; acquiring frequency point data corresponding to the target application program from the data pool based on the frequency point data extraction frequency; processing the frequency point data based on the frequency point mode of the vehicle atmosphere lamp to obtain target frequency point data corresponding to the vehicle atmosphere lamp; Control the vehicle atmosphere lamp based on the target frequency point data. 7.The system of claim 6, wherein before the acquiring the frequency point data of the target application program playing the media file every preset time interval, the following step is performed: determining whether the target application program is an application program in a white list; in the case that the target application program is an application program in the white list, acquiring the frequency point data of the target application program playing the media file. 8.The system of claim 6, wherein when the vehicle terminal processes the frequency point data based on a frequency point mode of the vehicle atmosphere lamp, to obtain the target frequency point data corresponding to the vehicle atmosphere lamp, the following step is performed: in the case that the frequency point mode is a single frequency point mode, acquiring a frequency point amplitude corresponding to the frequency point data, and taking the frequency point amplitude as the target frequency point data. 9.The system of claim 6, wherein when the vehicle terminal processes the frequency point data based on a frequency point mode of the vehicle atmosphere lamp, to obtain the target frequency point data corresponding to the vehicle atmosphere lamp, the following step is performed: in the case that the frequency point mode is a multiple frequency point mode, taking the frequency point data as the target frequency point data;or in the case that the frequency point mode is a multiple frequency point mode, calculating adjusted frequency point data corresponding to the frequency point data according to a conversion ratio corresponding to the frequency point data, and taking the adjusted frequency point data as the target frequency point data. 10.The system of claim 7, wherein after the acquiring the frequency point data corresponding to the target application program from the data pool, the following step is performed: clearing the frequency point data in the data pool.

11. An electronic device, comprising: comprise: a memory, a processor, and a computer program stored in the memory and executable on the processor, which, when executed by the processor, implements the steps of the control method of the vehicle atmosphere lamp according to any one of claims 1 to 5.

12. A readable storage medium, characterized by, When the instructions in the readable storage medium are executed by the processor of the electronic device, the electronic device can perform the steps of the control method of the vehicle atmosphere lamp according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Control method and device of vehicle-mounted atmosphere lamp, storage medium and vehicle-mounted atmosphere lamp

    CN109743819A