Vehicle lamp control method and related apparatus

Automatically controlling car lights through audio features enables automatic generation of rich car light shows, solving the problem of manual editing in existing systems. It is applicable to all vehicle models and enhances user experience.

WO2024179340A1PCT designated stage expired Publication Date: 2024-09-06HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2024/077902
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2024-02-21
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing automotive lighting system requires users to manually edit lighting effects, which is highly professional and does not provide a strong sense of user participation. The number of light shows is limited and it is impossible to achieve automatically generated rich lighting effects.

Method used

By obtaining audio feature information, it can automatically control the lighting mode of vehicle lights, including the number of notes, arrangement patterns and audio energy, to achieve lighting effects synchronized with the audio without professional editing.

Benefits of technology

It realizes the automatic generation of rich car light shows, enhances the user experience, is suitable for all vehicle models, and simplifies the creation process of light effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024077902_06092024_PF_FP
    Figure CN2024077902_06092024_PF_FP
Patent Text Reader

Abstract

Provided is a vehicle lamp control method, comprising: acquiring control information for a vehicle lamp of a first vehicle, wherein the vehicle lamp of the first vehicle comprises a plurality of first vehicle lamp units, the control information is determined according to an audio feature of target audio within a first time period, and the control information instructs at least one first vehicle lamp unit among the plurality of first vehicle lamp units that matches the audio feature to synchronously emit light when audio within the first time period is played, or instructs at least one first vehicle lamp unit to emit light, in a light emission mode which matches the audio feature, when the audio within the first time period is played. Further provided are a vehicle lamp control apparatus, a computing apparatus, a computer-readable storage medium and a computer program product. A vehicle lamp unit which is to emit light, or a light emission mode of the vehicle lamp unit is determined by means of an audio feature, such that the automatic generation of a light show can be realized without the need for professional pre-editing.
Need to check novelty before this filing date? Find Prior Art

Description

A vehicle light control method and related device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on February 28, 2023, with application number 202310217472.1 and invention name “A vehicle light control method and related device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of smart cars, and in particular to a vehicle light control method and related devices. Background Art

[0003] The development of automotive lighting systems has fully achieved digital control. All exterior lamps can be independently controlled. Especially with the popularization of light-emitting diode (LED) and OLED exterior lights, automotive exterior lighting has a variability comparable to stage lighting.

[0004] Traditional car lighting effects are customized for each vehicle. Lighting effects and music are preconfigured and stored in a configuration file within the vehicle. When the user selects a light show effect, the corresponding configuration file is activated and playback begins. This completely customized lighting effect lacks user engagement, and the number of light show options is limited.

[0005] Existing technology allows users to customize lighting effects through software, matching the vehicle model in the software to the actual vehicle. Each light can be independently controlled to switch on and off, and music can be freely imported. By copying the files created by the software to the vehicle computer, the customized light show can be played. However, existing technology requires manual editing by the user, which requires a high level of professional expertise.

[0006] Summary of the Invention

[0007] This application provides a car light control method that can automatically generate a light show without prior professional editing.

[0008] In a first aspect, the present application provides a vehicle light control method, the method comprising: obtaining control information for vehicle lights; the vehicle lights comprising a plurality of first light units, the control information being determined based on target audio; the audio characteristics of the target audio within a first time period comprising at least one of the number of notes, the temporal arrangement of the notes, and the audio energy of the notes; wherein the control information instructs at least one of the plurality of first light units that matches the audio characteristics to illuminate synchronously when the audio within the first time period is played, or the control information instructs at least one first light unit to illuminate in a manner that matches the audio characteristics when the audio within the first time period is played; while the audio is playing, controlling the illumination of the vehicle lights according to the control information; or sending the control information to the vehicle lights. By determining the illuminated light units or the illumination manner of the light units based on the audio characteristics, automatic generation of a light show can be achieved without prior professional editing.

[0009] By mapping light types to audio types, the on / off of exterior lights can be automatically and sequentially controlled based on the audio, eliminating the need for specialized editing and enabling the automatic generation of light shows. Furthermore, since audio types correspond only to light types, the system only needs to transmit the corresponding signal to the interface of the exterior lights corresponding to the light type when a specific audio type is recognized, regardless of the location of the exterior lights. Therefore, the light show can be used on all vehicles, regardless of vehicle type.

[0010] In a possible implementation, the lighting mode includes at least one of: lighting brightness, lighting color, lighting duration, lighting sequence between vehicle light units, and flashing speed.

[0011] In one possible implementation, the multiple first headlight units are divided into multiple groups of headlight units, each group of headlight units includes at least one first headlight unit, and the at least one first headlight unit that matches the audio feature is specifically at least one group among the multiple groups of headlight units; the control information is determined based on a preset first mapping relationship and the audio features of the target audio within the first time period, and the first mapping relationship includes a matching relationship between multiple audio features and each group of headlight units.

[0012] In a possible implementation, the multiple audio features include at least one of: blank, drum beat, measure, and rhythm.

[0013] In a possible implementation, different groups of headlight units correspond to different control interfaces; or different groups of headlight units have different luminous capabilities, which include peak brightness, luminous flux, and the number of headlight units.

[0014] Since the audio type only corresponds to the light type, it is only necessary to transmit the corresponding signal to the interface of the exterior lights of the corresponding light type when a certain audio type is recognized, regardless of the location of the exterior lights. Therefore, it does not need to be bound to the vehicle model and the light show can be used on all vehicles.

[0015] In one possible implementation, the first mapping relationship includes a first audio feature, a second audio feature, a first group of headlight units matching the first audio feature, and a second group of headlight units matching the second audio feature; the first audio feature and the second audio feature both include the number of notes, and the number of notes included in the first audio feature is greater than the number of notes included in the first audio feature, and the luminous ability of the first group of headlight units is greater than the luminous ability of the second group of headlight units.

[0016] You can combine the amplitude (the vertical axis of the spectrum conversion graph, that is, the energy corresponding to the note, which can be related to the volume or pitch) to control the changes in the lighting effects corresponding to each audio type.

[0017] In one possible implementation, the first mapping relationship includes a third audio feature, a fourth audio feature, a third group of headlight units matching the third audio feature, and a fourth group of headlight units matching the fourth audio feature; the third audio feature and the fourth audio feature both include audio energy of notes, and the audio energy of the notes included in the third audio feature is greater than the audio energy of the notes included in the fourth audio feature, and the luminous ability of the third group of headlight units is greater than the luminous ability of the fourth group of headlight units.

[0018] In a possible implementation, the audio feature also includes: the duration of the note exists in multiple consecutive time units within the first time period; the lighting mode included in the control information is determined from multiple lighting modes based on the duration, and the lighting time of the lighting mode included in the control information is the closest to the duration among the multiple lighting modes.

[0019] In a possible implementation, the first time period consists of at least one time unit, and the time unit is the maximum value of the minimum times required for the multiple first vehicle light units to complete a complete lighting process.

[0020] In a possible implementation, the audio feature further includes: at least one of: a musical style of the target audio, a vocal feature corresponding to the target audio, and a musical instrument feature corresponding to the target audio; the vocal feature includes gender or timbre.

[0021] In a possible implementation, obtaining control information of a headlight of the first vehicle includes:

[0022] Acquire target audio, and calculate the control information according to the target audio; or,

[0023] Sending target audio to a computing device, and receiving the control information calculated by the computing device according to the target audio; or

[0024] Receive the control information calculated by the second vehicle or the server based on the target audio.

[0025] In one possible implementation, music playback and lighting can be coordinated across a multi-vehicle system. Optionally, the music file itself can contain multiple channels when played, and different vehicles in the multi-vehicle system can coordinate lighting with the audio corresponding to different channels.

[0026] In a possible implementation, the target audio corresponds to a channel in a target music file.

[0027] In one possible implementation, the method further includes:

[0028] Acquire a first audio, where the first audio and the target audio correspond to different channels in a target music file;

[0029] Acquiring control information for lights of a second vehicle based on audio features of the second audio within a target time period; the lights of the second vehicle include a plurality of second light units; the audio features of the second audio within the second time period include at least one of the number of notes, a temporal arrangement of the notes, and audio energy of the notes; wherein the control information for the lights of the second vehicle instructs that at least one second light unit among the plurality of second light units that matches the audio features illuminate synchronously when the audio within the second time period is played, or the control information for the lights of the second vehicle instructs that at least one second light unit illuminate in a lighting pattern that matches the audio features when the audio within the second time period is played;

[0030] Control information of the headlights of the second vehicle is sent to the second vehicle.

[0031] In a possible implementation, the relative position of the sound channels between the first audio and the target audio matches the physical relative position between the second vehicle and the first vehicle.

[0032] In one possible implementation, the audio characteristics of the target audio in the third time period are related to at least one of the quantity characteristics of the notes, the arrangement rules of the notes in the time domain, and the audio energy of the notes; wherein, the control information also indicates that when the audio in the third time period is played, at least one first headlight unit among the multiple first headlight units that matches the audio characteristics in the third time period is illuminated synchronously, or, the control information also indicates that when the audio in the third time period is played, at least one first headlight unit is illuminated and performs a lighting mode that matches the audio characteristics in the third time period.

[0033] That is to say, for different time periods in the same audio, due to different audio characteristics, different combinations of headlight units can be selected for lighting, or the same headlight units can be used in different lighting methods, or different combinations of headlight units can be selected for lighting in different lighting methods.

[0034] In one possible implementation, the number of notes included in the audio characteristics of the target audio in the first time period is greater than the number of notes included in the audio characteristics of the target audio in the third time period, and the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the first time period is greater than the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the third time period.

[0035] In one possible implementation, the audio energy of the target audio including the notes in the first time period is greater than the audio energy of the target audio including the notes in the third time period, and the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the first time period is greater than the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the third time period.

[0036] That is to say, for different time periods in the same audio, since the number (density) of notes contained is greater, the car light unit with stronger luminous ability can be matched accordingly to emit light.

[0037] In a second aspect, the present application provides a vehicle light control device, the device comprising:

[0038] a processing module configured to obtain control information for lights of a first vehicle; the lights of the first vehicle include a plurality of first light units, the control information being determined based on target audio; the audio characteristics of the target audio within a first time period including at least one of the number of notes, a temporal arrangement of the notes, and audio energy of the notes; wherein the control information instructs at least one first light unit among the plurality of first light units that matches the audio characteristics to illuminate synchronously when the audio within the first time period is played, or the control information instructs at least one first light unit to illuminate in a lighting manner that matches the audio characteristics when the audio within the first time period is played;

[0039] While playing the audio, the lighting of the headlights of the first vehicle is controlled according to the control information; or, the control information is sent to the first vehicle.

[0040] In a possible implementation, the lighting mode includes at least one of: lighting brightness, lighting color, lighting duration, lighting sequence between vehicle light units, and flashing speed.

[0041] In one possible implementation, the multiple first headlight units are divided into multiple groups of headlight units, each group of headlight units includes at least one first headlight unit, and the at least one first headlight unit that matches the audio feature is specifically at least one group among the multiple groups of headlight units; the control information is determined based on a preset first mapping relationship and the audio features of the target audio within the first time period, and the first mapping relationship includes a matching relationship between multiple audio features and each group of headlight units.

[0042] In a possible implementation, the multiple audio features include at least one of: blank, drum beat, measure, and rhythm.

[0043] In a possible implementation, different groups of headlight units correspond to different control interfaces; or different groups of headlight units have different luminous capabilities, which include peak brightness, luminous flux, and the number of headlight units.

[0044] In one possible implementation, the first mapping relationship includes a first audio feature, a second audio feature, a first group of headlight units matching the first audio feature, and a second group of headlight units matching the second audio feature; the first audio feature and the second audio feature both include the number of notes, and the number of notes included in the first audio feature is greater than the number of notes included in the first audio feature, and the luminous ability of the first group of headlight units is greater than the luminous ability of the second group of headlight units.

[0045] In one possible implementation, the first mapping relationship includes a third audio feature, a fourth audio feature, a third group of headlight units matching the third audio feature, and a fourth group of headlight units matching the fourth audio feature; the third audio feature and the fourth audio feature both include audio energy of notes, and the audio energy of the notes included in the third audio feature is greater than the audio energy of the notes included in the fourth audio feature, and the luminous ability of the third group of headlight units is greater than the luminous ability of the fourth group of headlight units.

[0046] In a possible implementation, the audio feature also includes: the duration of the note exists in multiple consecutive time units within the first time period; the lighting mode included in the control information is determined from multiple lighting modes based on the duration, and the lighting time of the lighting mode included in the control information is the closest to the duration among the multiple lighting modes.

[0047] In a possible implementation, the first time period consists of at least one time unit, and the time unit is the maximum value of the minimum times required for the multiple first vehicle light units to complete a complete lighting process.

[0048] In a possible implementation, the audio feature further includes: at least one of: a musical style of the target audio, a vocal feature corresponding to the target audio, and a musical instrument feature corresponding to the target audio; the vocal feature includes gender or timbre.

[0049] In a possible implementation, the processing module is specifically configured to obtain target audio and calculate the control information according to the target audio; or

[0050] Sending target audio to a computing device, and receiving the control information calculated by the computing device according to the target audio; or

[0051] Receive the control information calculated by the second vehicle or the server based on the target audio.

[0052] In a possible implementation, the target audio corresponds to a channel in a target music file.

[0053] In a possible implementation, the processing module is further configured to obtain a first audio, where the first audio and the target audio correspond to different channels in the target music file;

[0054] Acquiring control information for lights of a second vehicle based on audio features of the second audio within a target time period; the lights of the second vehicle include a plurality of second light units; the audio features of the second audio within the second time period include at least one of the number of notes, a temporal arrangement of the notes, and audio energy of the notes; wherein the control information for the lights of the second vehicle instructs that at least one second light unit among the plurality of second light units that matches the audio features illuminate synchronously when the audio within the second time period is played, or the control information for the lights of the second vehicle instructs that at least one second light unit illuminate in a lighting pattern that matches the audio features when the audio within the second time period is played;

[0055] Control information of the headlights of the second vehicle is sent to the second vehicle.

[0056] In a possible implementation, the relative position of the sound channels between the first audio and the target audio matches the physical relative position between the second vehicle and the first vehicle.

[0057] In one possible implementation, the audio characteristics of the target audio in the third time period are related to at least one of the quantity characteristics of the notes, the arrangement rules of the notes in the time domain, and the audio energy of the notes; wherein, the control information also indicates that when the audio in the third time period is played, at least one first headlight unit among the multiple first headlight units that matches the audio characteristics in the third time period is illuminated synchronously, or, the control information also indicates that when the audio in the third time period is played, at least one first headlight unit is illuminated and performs a lighting mode that matches the audio characteristics in the third time period.

[0058] That is to say, for different time periods in the same audio, due to different audio characteristics, different combinations of headlight units can be selected for lighting, or the same headlight units can be used in different lighting methods, or different combinations of headlight units can be selected for lighting in different lighting methods.

[0059] In one possible implementation, the number of notes included in the audio characteristics of the target audio in the first time period is greater than the number of notes included in the audio characteristics of the target audio in the third time period, and the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the first time period is greater than the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the third time period.

[0060] In one possible implementation, the audio energy of the target audio including the notes in the first time period is greater than the audio energy of the target audio including the notes in the third time period, and the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the first time period is greater than the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the third time period.

[0061] That is to say, for different time periods in the same audio, since the number (density) of notes contained is greater, the car light unit with stronger luminous ability can be matched accordingly to emit light.

[0062] In a third aspect, an embodiment of the present application provides a computing device, which may include a memory, a processor, and a bus system, wherein the memory is used to store programs, and the processor is used to execute the programs in the memory to perform the first aspect and any optional method thereof.

[0063] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer-readable storage medium is run on a computer, the computer executes the above-mentioned first aspect and any optional method thereof.

[0064] In a fifth aspect, an embodiment of the present application provides a computer program, which, when executed on a computer, enables the computer to execute the above-mentioned first aspect and any optional method thereof.

[0065] In a sixth aspect, the present application provides a chip system comprising a processor configured to support an execution device in implementing the functions described in the aforementioned aspects, such as transmitting or processing data or information described in the aforementioned methods. In one possible design, the chip system further comprises a memory configured to store program instructions and data necessary for the execution device or training device. The chip system may consist solely of a chip or may include a chip and other discrete components.

[0066] It should be understood that the methods and devices described in the above aspects can be referenced, combined, and explained with each other when there is no technical contradiction. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] FIG1 is a schematic diagram of an application architecture provided by this application;

[0068] FIG2 is a schematic diagram of an application architecture provided by this application;

[0069] FIG3 is a schematic diagram of an application architecture provided by this application;

[0070] FIG4 is a flow chart of a vehicle light control method provided by the present application;

[0071] FIG5 is a schematic diagram of a spectrum analysis provided by this application;

[0072] FIG6 is a schematic diagram of a spectrum analysis provided by the present application;

[0073] FIG7 is a schematic diagram of a spectrum analysis provided by this application;

[0074] Figure 8 is a schematic diagram of a multi-vehicle system;

[0075] FIG9 is a schematic diagram of the structure of a computing device provided by the present application;

[0076] FIG10 is a schematic diagram of a structure of an execution device provided in an embodiment of the present application;

[0077] FIG11 is a schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION

[0078] The following describes the embodiments of the present invention in conjunction with the accompanying drawings. The terms used in the embodiments of the present invention are only used to explain the specific embodiments of the present invention, and are not intended to limit the present invention.

[0079] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0080] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, and this is merely a way of distinguishing the objects of the same attributes when describing them in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0081] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0082] The embodiments of the present application can be applied to vehicles, specifically to the control process of vehicle lights.

[0083] In one possible implementation, the vehicle may be an internal combustion engine vehicle using an engine as a power source, a hybrid vehicle using an engine and an electric motor as power sources, an electric vehicle using an electric motor as a power source, and the like.

[0084] Refer to Figure 1, which is a functional block diagram of a vehicle 100 provided in an embodiment of the present application.

[0085] The vehicle 100 may include various subsystems, such as a travel system 102, a sensor system 104, a control system 106, one or more peripheral devices 108, a power source 110, a computer system 112, and a user interface 116. Alternatively, the vehicle 100 may include more or fewer subsystems, and each subsystem may include multiple components. In addition, each subsystem and component of the vehicle 100 may be interconnected via wired or wireless connections.

[0086] The propulsion system 102 may include components that provide powered locomotion for the vehicle 100. Examples of energy sources 119 include gasoline, diesel, other petroleum-based fuels, propane, other compressed gas-based fuels, ethanol, solar panels, batteries, and other sources of electricity. The energy source 119 may also provide power to other systems of the vehicle 100.

[0087] The transmission 120 can transmit mechanical power from the engine 118 to the wheels 121. The transmission 120 may include a gearbox, a differential, and a drive shaft. In one embodiment, the transmission 120 may also include other components, such as a clutch. The drive shaft may include one or more shafts that can be coupled to one or more wheels 121.

[0088] Sensor system 104 may include several sensors that sense information about the environment surrounding vehicle 100. For example, sensor system 104 may include a positioning system 122 (the positioning system may be a global positioning system (GPS) system, a BeiDou system, or other positioning systems), an inertial measurement unit (IMU) 124, a radar 126 (or a radar sensor), a laser rangefinder 128, and a camera 130. Sensor system 104 may also include sensors for internal systems of monitored vehicle 100 (e.g., an in-vehicle air quality monitor, a fuel gauge, an oil temperature gauge, etc.). Sensor data from one or more of these sensors may be used to detect objects and their corresponding characteristics (position, shape, direction, speed, etc.). This detection and recognition is a key function for the safe operation of autonomous vehicle 100.

[0089] Positioning system 122 may be used to estimate the geographic location of vehicle 100. IMU 124 may be used to sense changes in position and orientation of vehicle 100 based on inertial acceleration. In one embodiment, IMU 124 may be a combination of an accelerometer and a gyroscope.

[0090] Radar 126 may utilize radio signals to sense objects within the surrounding environment of vehicle 100. In some embodiments, in addition to sensing objects, radar 126 may also be used to sense the speed and / or heading of the objects.

[0091] Radar 126 may include an electromagnetic wave transmitter and receiver. Based on the principle of radio wave transmission, radar 126 may be implemented as a pulse radar or a continuous wave radar. The continuous wave radar may be implemented as a frequency modulated continuous wave (FMCW) or frequency shift keying (FSK) depending on the signal waveform.

[0092] The radar 126 can detect objects using electromagnetic waves based on a time of flight (TOF) or phase-shift method, and can measure the position, distance, and relative speed of the detected object. To detect objects in front of, behind, or to the side of the vehicle, the radar 126 can be positioned appropriately outside the vehicle. The lidar 126 can detect objects using a TOF or phase-shift method using laser light, and can measure the position, distance, and relative speed of the detected object.

[0093] The laser rangefinder 128 may utilize laser light to sense objects in the environment in which the vehicle 100 is located. In some embodiments, the laser rangefinder 128 may include one or more laser sources, a laser scanner, and one or more detectors, among other system components.

[0094] The camera 130 may be used to capture multiple images of the surrounding environment of the vehicle 100. The camera 130 may be a still camera or a video camera.

[0095] The control system 106 controls the operation of the vehicle 100 and its components. The control system 106 may include various components, including a steering system 132, a throttle 134, a brake unit 136, a sensor fusion algorithm 138, a computer vision system 140, a path control system 142, and an obstacle avoidance system 144. The steering system 132 is operable to adjust the direction of the vehicle 100. For example, in one embodiment, it may be a steering wheel system. The throttle 134 is used to control the operating speed of the engine 118 and, in turn, the speed of the vehicle 100. The brake unit 136 is used to control the deceleration of the vehicle 100. The brake unit 136 may use friction to slow the wheels 121. In other embodiments, the brake unit 136 may convert the kinetic energy of the wheels 121 into electrical current. The brake unit 136 may also take other forms to slow the rotational speed of the wheels 121 and thus control the speed of the vehicle 100.

[0096] The computer vision system 140 can be operated to process and analyze images captured by the camera 130 to identify objects and / or features in the environment surrounding the vehicle 100. The objects and / or features may include traffic signs, road boundaries, and obstacles. The computer vision system 140 can use object recognition algorithms, structure from motion (SFM) algorithms, video tracking, and other computer vision techniques. In some embodiments, the computer vision system 140 can be used to map the environment, track objects, estimate the speed of objects, and so on.

[0097] Route control system 142 is used to determine the route of vehicle 100. In some embodiments, route control system 142 may combine data from sensors 138, positioning system 122, and one or more predetermined maps to determine the route of vehicle 100. Obstacle avoidance system 144 is used to identify, assess, and avoid or otherwise navigate potential obstacles in the environment of vehicle 100. Of course, in one embodiment, control system 106 may include additional or alternative components in addition to those shown and described. Alternatively, some of the components shown above may be reduced.

[0098] The relative position relationship between the vehicle itself and surrounding vehicles can be detected by the computer vision system 140 or the sensor system 104.

[0099] Vehicle 100 interacts with external sensors, other autonomous driving devices, other computer systems, or users via peripherals 108. Peripherals 108 may include a wireless communication system 146, an onboard computer 148, a microphone 150, a speaker 152, and / or lights 151.

[0100] In some embodiments, peripheral devices 108 provide a means for a user of vehicle 100 to interact with user interface 116. For example, onboard computer 148 can provide information to the user of vehicle 100. User interface 116 can also operate onboard computer 148 to receive user input. Onboard computer 148 can be operated via a touch screen. In other cases, peripheral devices 108 can provide a means for vehicle 100 to communicate with other devices located within the vehicle. For example, microphone 150 can receive audio (e.g., voice commands or other audio input) from the user of vehicle 100. Similarly, speaker 152 can output audio to the user of vehicle 100. Lights 151 can include exterior lights, specifically light sources located on the exterior of a smart car. These can be either standalone lights or clusters of lights. Exterior lights can be connected to a light show control system. Exterior lights can be connected to the light show control system via a control interface, which then accesses data such as the number of exterior lights and hardware parameters.

[0101] The wireless communication system 146 can communicate wirelessly with one or more devices directly or via a communication network. For example, the wireless communication system 146 can use 3G cellular communication, such as code division multiple access (CDMA), EVDO, global system for mobile communications (GSM) / general packet radio service (GPRS), or 4G cellular communication, such as long term evolution (LTE), or 5G cellular communication. The wireless communication system 146 can use WiFi to communicate with a wireless local area network (WLAN). In some embodiments, the wireless communication system 146 can use an infrared link, Bluetooth, or ZigBee to communicate directly with the device. Other wireless protocols, such as various autonomous driving device communication systems, for example, the wireless communication system 146 may include one or more dedicated short range communications (DSRC) devices, which may include public and / or private data communications between autonomous driving devices and / or roadside stations.

[0102] The wireless communication system 146 can be used to exchange data (such as the relative position of the vehicle and the control information of the vehicle lights) with other vehicles or computing devices.

[0103] Power source 110 can provide power to various components of vehicle 100. In one embodiment, power source 110 can be a rechargeable lithium-ion or lead-acid battery. One or more battery packs of such batteries can be configured as a power source to provide power to various components of vehicle 100. In some embodiments, power source 110 and energy source 119 can be implemented together, such as in some all-electric vehicles.

[0104] Some or all functions of the vehicle 100 are controlled by a computer system 112. The computer system 112 may include at least one processor 113 that executes instructions 115 stored in a non-transitory computer-readable medium, such as a memory 114. The computer system 112 may also be a plurality of computing devices that control individual components or subsystems of the vehicle 100 in a distributed manner.

[0105] Processor 113 can be any conventional processor, such as a commercially available central processing unit (CPU). Alternatively, the processor can be a dedicated device such as an application specific integrated circuit (ASIC) or other hardware-based processor. Although FIG. 1 functionally illustrates a processor, memory, and other elements of a computer 110 in the same block, it will be understood by those skilled in the art that the processor, computer, or memory can actually include multiple processors, computers, or memories that may or may not be stored in the same physical housing. For example, the memory can be a hard drive or other storage medium located in a housing different from the computer 110. Therefore, references to a processor or computer will be understood to include references to a collection of processors or computers or memories that may or may not operate in parallel. Different from using a single processor to perform the steps described herein, each of some components such as a steering assembly and a deceleration assembly can have its own processor that only performs calculations related to the functions of the component.

[0106] In various aspects described herein, the processor may be located remotely from the driving device and in wireless communication with the driving device. In other aspects, some of the processes described herein are performed on a processor disposed within the driving device while others are performed by a remote processor, including taking the necessary steps to perform a single maneuver.

[0107] In some embodiments, the memory 114 may contain instructions 115 (e.g., program logic) that are executable by the processor 113 to perform various functions of the vehicle 100, including those described above. The memory 114 may also contain additional instructions, including instructions for sending data to, receiving data from, interacting with, and / or controlling one or more of the travel system 102, the sensor system 104, the control system 106, and the peripheral devices 108.

[0108] User interface 116 is used to provide information to or receive information from a user of vehicle 100. Optionally, user interface 116 may include one or more input / output devices within the set of peripherals 108, such as wireless communication system 146, onboard computer 148, microphone 150, and speaker 152.

[0109] Computer system 112 may control functions of vehicle 100 based on input received from various subsystems (e.g., travel system 102, sensor system 104, and control system 106) and from user interface 116. For example, computer system 112 may utilize input from control system 106 in order to control steering unit 132 to avoid obstacles detected by sensor system 104 and obstacle avoidance system 144. In some embodiments, computer system 112 may be operable to provide control over many aspects of vehicle 100 and its subsystems.

[0110] Alternatively, one or more of the above components may be installed or associated separately from the vehicle 100. For example, the memory 114 may be partially or completely separate from the vehicle 100. The above components may be communicatively coupled together in a wired and / or wireless manner.

[0111] Optionally, the above components are only an example. In actual applications, the components in the above modules may be added or deleted according to actual needs. Figure 1 should not be understood as a limitation to the embodiments of the present application.

[0112] The vehicle 100 may be a car, truck, motorcycle, bus, ship, airplane, helicopter, lawn mower, recreational vehicle, amusement park automatic driving device, construction equipment, tram, golf cart, train, and cart, etc., and the embodiments of the present application do not impose any particular limitation.

[0113] Figure 2 is a schematic diagram of the structure of a vehicle system provided by an embodiment of the present application. Figures 1 and 2 describe the vehicle 100 from different perspectives. For example, the computer system 101 in Figure 2 is the computer system 112 in Figure 1 .

[0114] As shown in FIG2 , computer system 101 includes a processor 103 coupled to a system bus 105. Processor 103 may be one or more processors, each of which may include one or more processor cores. System bus 105 is coupled to input / output (I / O) bus 113 via bus bridge 111. I / O interface 115 is coupled to the I / O bus. I / O interface 115 communicates with various I / O devices, such as input device 117 (e.g., keyboard, mouse, touch screen, etc.), media tray 121 (e.g., CD-ROM, multimedia interface), transceiver 123 (capable of sending and / or receiving radio communication signals), camera (capable of capturing field and dynamic digital video images), and external USB port 125. Optionally, the interface connected to I / O interface 115 may be a USB interface.

[0115] Among them, the processor 103 can be any traditional processor, including a reduced instruction set computing ("RISC") processor, a complex instruction set computing ("CISC") processor, or a combination of the above. Optionally, the processor can be a dedicated device such as an application-specific integrated circuit ("ASIC"). Optionally, the processor 103 can be a neural network processing unit (NPU) or a combination of a neural network processor and the above traditional processors. Optionally, the processor 103 is equipped with a neural network processor.

[0116] Computer system 101 can communicate with server 149 via network interface 129. Network interface 129 is a hardware network interface, such as a network card. Network 127 can be an external network, such as the Internet, or an internal network, such as Ethernet or a virtual private network (VPN). Alternatively, network 127 can be a wireless network, such as a WiFi network, a cellular network, or the like.

[0117] In addition, the computer system 101 can wirelessly communicate with other vehicles 160 (vehicle to vehicle, V2V) or pedestrians (vehicle to pedestrian, V2P) through the network interface 129.

[0118] The hard drive interface is coupled to the system bus 105. The hard drive interface is connected to the hard drive. The system memory 135 is coupled to the system bus 105. The data running in the system memory 135 may include the operating system 137 and application programs 143 of the computer system 101.

[0119] The operating system consists of a shell 139 and a kernel 141. Shell 139 serves as an interface between the user and the kernel. Shell 139 is the outermost layer of the operating system. It manages the interaction between the user and the operating system: it waits for user input, interprets user input to the operating system, and processes various operating system outputs.

[0120] The kernel 141 consists of the parts of the operating system that manage memory, files, peripherals, and system resources. It interacts directly with the hardware and typically runs processes and provides inter-process communication, CPU time slice management, interrupts, memory management, I / O management, and more.

[0121] Application 141 includes autonomous driving related programs, such as programs for managing the interaction between the autonomous driving device and obstacles on the road, programs for controlling the driving route or speed of the autonomous driving device, and programs for controlling the interaction between the vehicle 100 and other autonomous driving devices on the road.

[0122] Sensor 153 is associated with computer system 101. Sensor 153 is used to detect the environment surrounding computer system 101. For example, sensor 153 can detect animals, cars, obstacles, and crosswalks. Furthermore, sensor 153 can detect the environment surrounding these objects, such as animals, cars, obstacles, and crosswalks, for example, the environment surrounding the animals, such as other animals around them, weather conditions, and ambient light levels. Alternatively, if computer system 101 is located on an autonomous driving device, the sensor can be a camera, infrared sensor, chemical detector, microphone, etc. When activated, sensor 153 senses information at preset intervals and provides the sensed information to computer system 101 in real time or near real time.

[0123] As shown in FIG2 , the display adapter 107 can drive a display 109, which is coupled to the system bus 105. The display 109 can be used for visual display, voice playback of information input by the user or information provided to the user, and various menus of the vehicle-mounted device. The display 109 may include one or more of a liquid crystal display (LCD), a thin film transistor-liquid crystal display (TFT LCD), an organic light-emitting diode (OLED), a flexible display, a 3D display, and an electronic ink display. A touch panel may cover the display 109. When the touch panel detects a touch operation on or near it, it transmits the information to the processor to determine the type of touch event. The processor then provides a corresponding visual output on the display 109 based on the type of touch event. In addition, the touch panel and the display 109 may also be integrated to implement the input and output functions of the vehicle-mounted device.

[0124] Among them, the processor 103 can execute the vehicle light control method in the embodiment of the present application.

[0125] Traditional car lighting effects are customized for each vehicle. Lighting effects and music are preconfigured and stored in a configuration file within the vehicle. When the user selects a light show effect, the corresponding configuration file is activated and playback begins. This completely customized lighting effect lacks user engagement, and the number of light show options is limited.

[0126] Existing technology allows users to customize lighting effects through software, matching the vehicle model in the software to the actual vehicle. Each light can be independently controlled to switch on and off, and music can be freely imported. By copying the files created by the software to the vehicle computer, the customized light show can be played. However, existing technology requires manual editing by the user, which requires a high level of professional expertise.

[0127] To solve the above problem, referring to FIG. 4 , FIG. 4 is a flow chart of a vehicle light control method provided in an embodiment of the present application. As shown in FIG. 4 , the vehicle light control method provided in an embodiment of the present application may include:

[0128] 401. Obtain control information of the headlights of a first vehicle; the headlights of the first vehicle include a plurality of first headlight units, and the control information is determined based on target audio; the audio characteristics of the target audio in a first time period include at least one of the number of notes, the arrangement pattern of the notes in the time domain, and the audio energy of the notes; wherein the control information indicates that when the audio in the first time period is played, at least one first headlight unit among the plurality of first headlight units that matches the audio characteristics is synchronously illuminated, or the control information indicates that when the audio in the first time period is played, at least one first headlight unit is illuminated and performs a lighting method that matches the audio characteristics.

[0129] First, let me introduce the vehicle's lights:

[0130] To achieve a variety of lighting effects, vehicles are equipped with a large number of exterior lights. In one possible implementation, the lights corresponding to each control interface can be classified into independent light sources and light groups based on the control logic of the lights.

[0131] An independent light source is an exterior light that uses a control interface to synchronously control all connected lamps. Theoretically, there are two scenarios: one in which the control interface is connected to only one lamp (usually a larger, higher-powered lamp), and the control signal is transmitted to the lamp through the interface to directly control its on / off. The other scenario involves connecting multiple lamps to the control interface, but all of them are synchronously controlled by the same signal, which is transmitted to all lamps, causing them to light and turn off simultaneously.

[0132] A light group consists of multiple lamps connected to a control interface, and each lamp can independently interpret the signal transmitted by the control interface to achieve independent brightness and dimming control. Light groups are usually presented in the form of light strips and light arrays.

[0133] Figure 3 shows the exterior lights at the front of the vehicle. A01, E01, and E02 are light strips. While the lamps within these strips share a common control interface, each lamp can independently interpret the control signal and independently control its own brightness. Areas D01, D02, and F each correspond to a control interface, forming an array of lights. Therefore, the exterior lights in areas A01, E01, E02, D01, D02, and F are all clusters. B01, B02, C01, and C02 are multiple, larger, individual lamps, each corresponding to a control interface. Therefore, the exterior lights pointed to by B01, B02, C01, and C02 are independent clusters.

[0134] In the embodiment of the present application, the headlight may include multiple headlight units, wherein the headlight unit may be a minimum granularity unit of light emission, for example, a headlight unit may be a lamp bead.

[0135] The light show control system can read the control interfaces of the exterior lights to determine the lamps controlled by each interface and, therefore, the type of light corresponding to each interface. For example, in Figure 3, the light show control system reads the interface corresponding to A01 and finds that it is connected to multiple lamps, each of which emits light independently. Therefore, the light show control system determines that exterior light A01 is a light cluster.

[0136] In one possible implementation, a vehicle can play music, and the vehicle can synchronously control the lighting of the headlights to match the music. Specifically, in an embodiment of the present application, based on the analysis of the audio characteristics of the audio, the lighting units in the headlights or the lighting mode of the headlight units can be determined to achieve coordination between music playback and headlight lighting.

[0137] The target audio may be a music file specified by the user for playback or one or more audio channels in the music file.

[0138] When playing music files, the vehicle's control system can control the headlights to illuminate in a manner that matches the music files. Visually, the headlights can illuminate accordingly based on characteristics such as the rhythm of the music.

[0139] In a possible implementation, audio features of the audio in each time period of the target audio are used to determine the headlight unit that needs to be illuminated or the lighting mode of the headlight unit in each time period.

[0140] The target audio can be divided into multiple time periods, each of which has corresponding audio features. One way to divide the time periods can be to make adjacent time periods have different audio features. Different audio features can be different audio feature types. In the embodiment of the present application, the time period is described as the first time period.

[0141] In one possible implementation, audio features can be obtained by processing the audio. The following description uses the audio features of a first time period in the audio as an example. The first time period can be composed of at least one time unit, where the time unit is the maximum value among the minimum times required for the plurality of first lamp units to complete a complete lighting process.

[0142] This time unit can also be called a threshold value. Specifically, the threshold value can be determined based on the minimum time required for all exterior lights to turn on and off once. This can be done during initialization during the first light show, determining the threshold value. The threshold value can then be saved in the vehicle computer system as a fixed parameter, which can be read directly from the system each time the light show starts. Alternatively, initialization can be performed before each light show to determine the real-time threshold value.

[0143] The threshold value indicates the minimum time required for all exterior lights in the vehicle to turn on and off once. This includes the front exterior lights shown in Figure 3 and the rear exterior lights (not shown). For light groups, the calculation is based on the individual on / off times of each lamp within the group. Using the threshold value as the minimum granularity for determining audio features ensures the feasibility of controlling the light unit and enables more precise control of subsequent light units.

[0144] For example, using Figure 3 as an example, assume that all lamps in lamp group A01, starting from the moment they receive the light-on command, turn on, gradually brighten to maximum brightness, and then gradually dim until they are completely off. This on-off cycle takes a uniform time of 0.5 seconds. The lamps in areas E01 and E02 take a uniform time of 1 second. The lamps in areas D01 and D02 take a uniform time of 0.5 seconds. The lamps in area F take a uniform time of 0.3 seconds. The five individual lamps in B01 and B02 are symmetrical, with the five individual light sources taking 1 second, 1.2 seconds, 1.4 seconds, 1.5 seconds, and 2 seconds, respectively, from the edge to the center. The five individual lamps in C01 and C02 take a uniform time of 1.5 seconds. If each individual light source in the rear vehicle's exterior lights and the lamps in each lamp group complete this cycle in no more than 2 seconds, the light show control system can determine the vehicle computer's critical value as 2 seconds.

[0145] When creating a light show based on audio in real time, the above steps can be considered as the initialization process of the light show system to obtain basic information about the vehicle - threshold value and light type.

[0146] In a possible implementation, the plurality of first headlight units are divided into a plurality of groups of headlight units, each group of headlight units includes at least one first headlight unit.

[0147] In a possible implementation, different groups of headlight units correspond to different control interfaces; or different groups of headlight units have different luminous capabilities, which include peak brightness, luminous flux, and the number of headlight units.

[0148] Since the audio type only corresponds to the light type, it is only necessary to transmit the corresponding signal to the interface of the exterior lights of the corresponding light type when a certain audio type is recognized, regardless of the location of the exterior lights. Therefore, it does not need to be bound to the vehicle model and the light show can be used on all vehicles.

[0149] In a possible implementation, the audio features in the first time period may be related to the quantity features of the notes, and the quantity features of the notes may be used to determine the types of the audio features in the first time period, such as blank, drum beat, measure, and rhythm.

[0150] Next, we will introduce how to determine the quantity characteristics of notes:

[0151] In one possible implementation, the audio of the music can be obtained and a constant-Q transform is performed on the audio to obtain a spectrum transformation diagram. When creating a light show based on the music, the user selects the corresponding music and inputs it into the light show control system, which then receives the audio information of the music. After obtaining the audio, the light show control system performs a constant-Q transform (CQT) on the audio to obtain a spectrum transformation diagram. CQT refers to a filter bank whose center frequencies are distributed according to an exponential law, with different filter bandwidths but a center frequency to bandwidth ratio of constant Q. Unlike the Fourier transform, the horizontal axis of its spectrum is not linear in frequency, but is based on log2, and the filter window length can be changed according to the different spectral line frequencies to obtain better performance. Since the distribution of CQT is the same as that of the scale frequency, by calculating the CQT spectrum of the music signal, the amplitude value of the music signal at each note frequency can be directly obtained.

[0152] In the process of audio signal processing, the time segments are divided into frames and converted into a time-frame-based spectrum diagram according to the time frame. Then, we put these spectrum diagrams on the time axis to form a spectrum transformation diagram based on time transformation, which is similar to a heat map.

[0153] Figure 5 shows a (partial) spectrum obtained through constant Q transformation, where the horizontal axis represents time and the vertical axis represents amplitude. Placing the spectrum on the time axis (adding the horizontal time axis in Figure 5) yields a spectrum transformation diagram.

[0154] The spectrum conversion graph is analyzed based on the critical value, the number of notes within each critical value interval is determined, and the audio type is identified based on the number of notes within each critical value interval. Once the critical value and spectrum conversion graph are determined, the spectrum conversion graph can be analyzed based on the critical value. Specifically, the horizontal axis of the spectrum conversion graph is divided based on the critical value, and the spectrum conversion graph within each critical value interval is then analyzed.

[0155] As shown in Figure 6, the horizontal time axis is divided into several sections based on the critical value, resulting in critical value intervals A1-A39. The spectrum transformation graph is correspondingly classified into each critical value interval. After analyzing the spectrum change graph within each critical value interval, the analysis results of all critical value intervals are integrated to identify the audio type. Audio types include blank, drum, measure, and rhythm.

[0156] Specifically, when analyzing the spectrum transform graph based on the threshold, the number of notes within each threshold interval is first identified. Ideally, a distinct peak represents a note, so the number of peaks within the threshold interval is sufficient. The audio type is then identified based on the number of notes within this threshold interval and the number of notes in the next threshold interval.

[0157] Identify the audio type based on the number of notes in this threshold interval and the number of notes in the next threshold interval, specifically:

[0158] ① When no note is recognized within the critical value range, it is recognized as blank.

[0159] ② When there is only one note within the critical interval, it is recognized as a drum beat. If the next adjacent critical interval is blank, it is merged into the drum beat of the previous critical interval. If multiple adjacent critical intervals after the critical interval recognized as a drum beat are all blank, multiple critical intervals are merged into the drum beat until a note is recognized in the next critical interval. The so-called next critical interval refers to the next critical interval along the time axis.

[0160] ③ When the critical value interval includes more than two notes, it is identified as a measure.

[0161] ④ If bars appear continuously (i.e., multiple consecutive critical value intervals are bars), the multiple consecutive bars are identified as a rhythm. Since rhythms can also be continuous, the light show system can also identify rhythms according to preset rules. For example, it can identify rhythms that appear periodically. Alternatively, the light show system can predefine the rhythm of notes. If a predefined rhythm is identified, the rhythm is separated and the consecutive bars before and after are identified as different rhythms.

[0162] Take Figure 6 as an example:

[0163] The critical value interval A2 only recognizes one note, so the drum beat is recognized in this critical value interval. A3 and A4 are blank intervals, so the A3 and A4 intervals are merged into the A2 interval, that is, the A2-A4 interval corresponds to one drum beat.

[0164] The threshold interval A5 recognizes two notes and is identified as a measure.

[0165] A36, A37, A38, and A39 all recognized multiple notes, so they are all measures. Combining the recognition results of adjacent threshold intervals, A36-A39 are merged into a rhythm.

[0166] After all critical value intervals are identified and the identification results of all critical value intervals are combined, various types of audio (blank, drum beats, measures, rhythms) can be identified on the timeline, and the critical value intervals corresponding to each audio type can be determined. The critical value intervals are then converted into the time nodes corresponding to each audio type.

[0167] It should be understood that the first time period in the embodiment of the present application can be understood as a complete time period identified as having a certain audio type.

[0168] In a possible implementation, the audio features in the first time period may also be related to the ordering pattern of notes in the time domain. For example, different melodies and different chords may correspond to different ordering patterns. The ordering pattern may include arrangement density, variation pattern, and the like.

[0169] In one possible implementation, the audio feature in the first time period may also be related to the audio energy of the note. The audio energy may be related to the volume or pitch. For example, the audio energy may be a vertical value on the CQT spectrum.

[0170] In one possible implementation, control information matching the audio features can be determined based on the audio features in the first time period of the target audio, wherein the audio features of the target audio in the first time period may include at least one of the number of notes, the arrangement pattern of the notes in the time domain, and the audio energy of the notes.

[0171] The control information indicates that when the audio in the first time period is played, at least one first light unit among the plurality of first light units that matches the audio feature is illuminated synchronously.

[0172] In one possible implementation, the at least one first headlight unit that matches the audio feature is specifically at least one group of the multiple groups of headlight units; the control information is determined based on a preset first mapping relationship and the audio features of the target audio within a first time period, and the first mapping relationship includes a matching relationship between multiple audio features and each group of headlight units.

[0173] Specifically, the lighting type corresponding to each audio type can be determined based on the preset correspondence between lighting and audio types, resulting in a lighting effect that corresponds to the audio. After determining the audio type and the corresponding time point, the corresponding lighting type can be determined based on the preset correspondence between audio and lighting types, and the exterior lights of the corresponding lighting type can be illuminated at the corresponding time point. The correspondence between the exterior light activation and the time point is output, creating a light show. An example of the correspondence between audio and lighting types is shown in Table 1.

[0174] Table 1

[0175] Optionally, if a blank threshold interval is merged into the previous drum beat, the threshold interval is no longer blank. The same applies to measures and rhythms.

[0176] By mapping light types to audio types, the on / off of exterior lights can be automatically and sequentially controlled based on the audio, eliminating the need for specialized editing and enabling the automatic generation of light shows. Furthermore, since audio types correspond only to light types, the system only needs to transmit the corresponding signal to the interface of the exterior lights corresponding to the light type when a specific audio type is recognized, regardless of the location of the exterior lights. Therefore, the light show can be used on all vehicles, regardless of vehicle type.

[0177] In one possible implementation, the light group to be lit can be selected based on the number of notes in the first time period (or the number of notes in each time unit included in the first time period). The more notes there are in the measure / rhythm, the more light groups correspond to.

[0178] In one possible implementation, the first mapping relationship includes a first audio feature, a second audio feature, a first group of headlight units matching the first audio feature, and a second group of headlight units matching the second audio feature; the first audio feature and the second audio feature both include the number of notes, and the number of notes included in the first audio feature is greater than the number of notes included in the first audio feature, and the luminous ability of the first group of headlight units is greater than the luminous ability of the second group of headlight units.

[0179] For example, the light show control system can determine the number of lamp beads connected to the control interface through the control interface, and classify the lamp groups according to the number of lamp beads in the lamp group. For example, the lamp groups are classified according to the number of lamp beads of 0-10 (large lamp strip), 10-30 (general lamp strip), 30-50 (small array lamp group), 50-100 (general array lamp group), and 100 or more (large array lamp group); 2 notes can correspond to 0-10 and 10-30, 4 to 6 notes can correspond to 10-30 and 30-50 lamp groups, and 8 or more notes can correspond to 30-50 and 100 or more lamp groups.

[0180] In the above method, the light group to be lit is selected directly according to the number of notes, or the light group can be selected indirectly. For example, you can match the lighting effect with a preset number of flashes according to the number of notes (within a lighting effect, one flash is defined as from lighting to extinguishing), and then select the light group based on the lighting effect (that is, return to the second method). The more notes there are, the more flashing light effects you will select. For example, 2 notes correspond to 1-2 flashes, 4-6 notes correspond to 2-5 flashes, and 8 or more notes correspond to more than 5 flashes.

[0181] In summary, for independent light sources, you can combine the first point to select different exterior lights, achieving on / off control of exterior lights at different locations as independent light sources. For light groups, not only can you select light groups at different locations based on amplitude, but you can also select light groups based on the number of notes. Combined with the lighting effects determined by the number of notes, you can achieve a variety of lighting effects.

[0182] When controlling lighting based on the mappings in Table 1, only simple lighting effects can be achieved. Specifically for each exterior light, the lighting effect is limited to on and off, and the lighting changes are relatively simple. Therefore, it is possible to combine amplitude (the vertical axis of the spectrum conversion graph, which represents the energy corresponding to the note, which can be related to volume or pitch) to control the lighting effects corresponding to each audio type.

[0183] In one possible implementation, the first mapping relationship includes a third audio feature, a fourth audio feature, a third group of headlight units matching the third audio feature, and a fourth group of headlight units matching the fourth audio feature; the third audio feature and the fourth audio feature both include audio energy of notes, and the audio energy of the notes included in the third audio feature is greater than the audio energy of the notes included in the fourth audio feature, and the luminous ability of the third group of headlight units is greater than the luminous ability of the fourth group of headlight units.

[0184] For example, controlling lighting based on the correspondence in Table 1 only achieves simple lighting effects. Specifically for each exterior light, the lighting effect is limited to on / off, which is a relatively simple change. Therefore, the amplitude (the vertical axis of the spectrum conversion graph) can be used to control the lighting effect changes corresponding to each audio type. For light groups, the duration of the measure / rhythm and the number of notes within the measure / rhythm can also be used to control the lighting effect changes, thereby achieving a richer range of lighting effects.

[0185] For exterior lights, different lamps have their own hardware parameters (such as peak brightness and luminous flux), which can be acquired by the light show control system when determining critical values. For independent light sources, the hardware parameters can be directly acquired. For light clusters, when selecting multiple lamps to form a cluster, the factory parameters of the selected lamps are generally similar or close. Therefore, the average or median of all lamps corresponding to the same control interface can be used as the hardware parameters of the lamp cluster.

[0186] After determining the type of exterior lights to be activated, the specific exterior lights to be activated can be determined by combining the hardware parameters of the exterior lights that determine the type of lights. (The light show control system identifies exterior lights through a control interface. A light group includes multiple lamp beads, but these multiple lamp beads are connected to the same control interface. Therefore, the multiple lamp beads in a light group are only identified as a single exterior light.) In this solution, exterior lights with different peak brightness / luminous flux can be selected based on the amplitude. Specifically, the larger the amplitude, the higher the peak brightness or luminous flux of the exterior lights selected.

[0187] Figure 7 shows two different drum beats, both occupying five critical value intervals. It is clear from the figure that the amplitude of the drum beat in Figure 7 (a) is greater than that in Figure 7 (b). Therefore, the drum beat in Figure 7 (a) can match the exterior lights with higher peak brightness or greater luminous flux and remain continuously lit within the five critical value intervals.

[0188] For example, since the pitch or tone of a sound is usually within a fixed range, the amplitude in the spectrum conversion diagram obtained by audio conversion is also within a fixed numerical range. The fixed numerical range of the amplitude can be divided into several levels. When the light show control system is initialized, the exterior lights are divided into several levels according to the preset hardware parameters (peak brightness / luminous flux). The amplitude interval division is then matched with the parameter level of the exterior lights (for example, one-to-one from low to high, or according to other preset rules). Then, the corresponding parameter interval of the exterior lights can be determined based on the amplitude interval, and the exterior lights with parameters in the corresponding interval can be lit. When the parameters of multiple exterior lights correspond to the same interval, multiple exterior lights are lit at the same time.

[0189] Optionally, the number of level divisions or the number of interval divisions of the exterior lights can be set by the user or preset by the system. Once determined, the interval values ​​corresponding to the levels are determined by direct average division.

[0190] Optionally, for light groups, similarly, the light groups that light up can be determined in the same manner as above. It should be understood that the chorus of the audio will be parsed into "drum beats" and "syllables" at the same time, and the corresponding independent light sources and light groups can be lit at the same time.

[0191] In one possible implementation, the audio characteristics of the target audio in the third time period are related to at least one of the quantity characteristics of the notes, the arrangement rules of the notes in the time domain, and the audio energy of the notes; wherein, the control information also indicates that when the audio in the third time period is played, at least one first headlight unit among the multiple first headlight units that matches the audio characteristics in the third time period is illuminated synchronously, or, the control information also indicates that when the audio in the third time period is played, at least one first headlight unit is illuminated and performs a lighting mode that matches the audio characteristics in the third time period.

[0192] That is to say, for different time periods in the same audio, due to different audio characteristics, different combinations of headlight units can be selected for lighting, or the same headlight units can be used in different lighting methods, or different combinations of headlight units can be selected for lighting in different lighting methods.

[0193] In one possible implementation, the number of notes included in the audio characteristics of the target audio in the first time period is greater than the number of notes included in the audio characteristics of the target audio in the third time period, and the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the first time period is greater than the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the third time period.

[0194] In one possible implementation, the audio energy of the target audio including the notes in the first time period is greater than the audio energy of the target audio including the notes in the third time period, and the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the first time period is greater than the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the third time period.

[0195] That is to say, for different time periods in the same audio, since the number (density) of notes contained is greater, the car light unit with stronger luminous ability can be matched accordingly to emit light.

[0196] In a possible implementation, the control information may instruct at least one first vehicle light unit to illuminate in a lighting manner that matches the audio characteristics when the audio in the first time period is played.

[0197] In a possible implementation, the lighting mode may include at least one of: lighting brightness, lighting color, lighting duration, lighting sequence between vehicle light units, and flashing speed.

[0198] In one possible implementation, the light show control system can configure several preset lighting effects for a light group (for example, it can be a general light group rather than a specific light group), specifically the number of light beads in the light group, the light intensity, the light sequence, the flashing speed, the lighting duration, etc., and pre-configure these aspects to obtain different lighting effects.

[0199] In one possible implementation, the audio feature further includes: a note duration occurring in multiple consecutive time units within the first time period; the lighting mode included in the control information is determined from multiple lighting modes based on the duration, and the lighting duration of the lighting mode included in the control information is the lighting mode that is closest to the duration among the multiple lighting modes. Each lighting mode can correspond to a lighting effect, each lighting effect having a different duration. The lighting effect that is closest to the duration of the measure / rhythm can be selected as the target lighting effect.

[0200] In a possible implementation, the audio feature further includes: at least one of: a musical style of the target audio, a vocal feature corresponding to the target audio, and a musical instrument feature corresponding to the target audio; the vocal feature includes gender or timbre.

[0201] In a possible implementation, the type of light to be turned on can also be determined based on other parsed audio information.

[0202] 1) Determine the type of lighting based on style or genre

[0203] Music can be categorized into genres like pop, rock, and folk, and each genre can be further divided into multiple subgenres. For example, rock includes punk rock, metal rock, and black metal rock. Individual light sources and light groups can be categorized, and then corresponding individual light sources, light groups, or a combination of individual light sources and light groups can be pre-assigned to each style / genre.

[0204] The classification of lamp groups can refer to the aforementioned classification based on the number of lamp beads. Independent light sources can be classified according to luminous flux.

[0205] For example, rock music corresponds to independent light sources in the range [x1 lumens, x2 lumens] and light clusters with a number of lamp beads in the range [30, ∞]. Specifically for genres, punk rock corresponds to independent light sources in the range [x11 lumens, x21 lumens] and light clusters with a number of lamp beads in the range [30, 50]. Metal rock corresponds to independent light sources in the range [x12 lumens, x22 lumens] and light clusters with a number of lamp beads in the range [100, ∞]. Black metal rock corresponds to independent light sources in the range [x13 lumens, x23 lumens] and light clusters with a number of lamp beads in the range [50, 100].

[0206] In this way, different independent light sources, light groups or combinations of independent light sources + light groups can be lit according to the style / genre, further enriching the changes in lighting effects.

[0207] 2) Control the color of the exterior lights according to the type of musical instrument or the tone of the human voice

[0208] In addition to on-off switching, LED exterior lights can also be controlled to change color. The instrument being played in the audio is identified and analyzed, with different colors corresponding to different instrument types.

[0209] For example, musical instruments can be categorized into three main categories: pipe instruments, string instruments, and percussion instruments. The lighting effects for each category can be differentiated by color, such as red, yellow, and blue. Each specific instrument can have customized lighting effects based on its category. For example, if violins and guitars are both string instruments and string instruments are defined as having a blue tonality, the violin can be colored light blue and the guitar dark blue.

[0210] [Corrected 06.05.2024 according to Rule 26] The following are examples of the correspondence between car light colors, musical instrument types, and life tones:

[0211] Optionally, the color change can also be controlled according to the timbre of the human voice. For example, if more than half of the objects of audio recognition are a mixture of pure music and human voice, and the timbre of the human voice is stronger than the sensory effect of the melody itself, the color change can be controlled according to the timbre of the human voice.

[0212] The voices are divided into male and female voices based on their tonality, with red lighting for female voices and blue lighting for male voices. Different colors are matched to voice styles such as rich, clear, magnetic, and elegant. For example, a rich female voice is dark red, a clear female voice is bright red, a magnetic female voice is pink, and an elegant female voice is pomegranate red.

[0213] In addition, you can also recognize the voice of a specific person and assign a specific color to that person. For example, if Jay Chou's voice is recognized, the corresponding color will be orange.

[0214] By controlling the color changes of the exterior lights through the type of musical instrument or the tone of the human voice, the lighting effects of the light show can be enriched from a color perspective.

[0215] 402. While playing the audio, control the lighting of the lights of the first vehicle according to the control information; or send the control information to the first vehicle.

[0216] In a possible implementation, a computing device (eg, a processor) of the first vehicle may acquire target audio and calculate the control information according to the target audio.

[0217] In a possible implementation, a computing device other than the first vehicle (eg, another vehicle or a server) may calculate the control information based on the target audio, and transmit the calculated control information to the first vehicle.

[0218] In one possible implementation, the target audio may be sent to a computing device, and the control information calculated by the computing device based on the target audio may be received; or, the control information calculated by a second vehicle or a server based on the target audio may be received.

[0219] An embodiment of the present application provides a method for controlling vehicle lights, the method comprising: obtaining control information for vehicle lights of a first vehicle; the vehicle lights of the first vehicle include a plurality of first vehicle light units, the control information being determined based on target audio; the audio features of the target audio within a first time period include at least one of the number of notes, the arrangement of the notes in the time domain, and the audio energy of the notes; wherein the control information instructs that when the audio within the first time period is played, at least one first vehicle light unit that matches the audio features among the plurality of first vehicle light units illuminates synchronously, or the control information instructs that when the audio within the first time period is played, at least one first vehicle light unit illuminates and performs an illumination mode that matches the audio features; when the audio is played, controlling the illumination of the vehicle lights according to the control information; or sending the control information to the first vehicle. In the above manner, by determining the illuminated vehicle light units or the illumination mode of the vehicle light units based on the audio features, automatic generation of a light show can be achieved without prior professional editing.

[0220] In one possible implementation, music playback and lighting can be coordinated across a multi-vehicle system. Optionally, the music file itself can contain multiple channels when played, and different vehicles in the multi-vehicle system can coordinate lighting with the audio corresponding to different channels.

[0221] In one possible implementation, the target audio in the embodiment corresponding to FIG4 may correspond to a channel in the target music file. For other channels (e.g., the first channel) in the target music file, control information for the headlights of the second vehicle may be determined based on the audio features of the audio corresponding to the first channel (the first audio), and the lighting of the headlights of the second vehicle may be controlled based on the control information for the headlights of the second vehicle.

[0222] In one possible implementation, a first audio file may be obtained, wherein the first audio file and the target audio file correspond to different channels in a target music file; control information for the lights of a second vehicle may be obtained based on audio features of the second audio file within a target time period; the lights of the second vehicle may include a plurality of second light units; the audio features of the second audio file within the second time period may include at least one of the number of notes, a temporal arrangement of the notes, and audio energy of the notes; the control information for the lights of the second vehicle may indicate that, when the audio file within the second time period is played, at least one second light unit among the plurality of second light units that matches the audio features is to be illuminated synchronously, or the control information for the lights of the second vehicle may indicate that, when the audio file within the second time period is played, at least one second light unit is to be illuminated in a lighting mode that matches the audio features; and the control information for the lights of the second vehicle may be sent to the second vehicle. Regarding how to calculate the control information for the lights of the second vehicle based on the first audio file, reference may be made to the description of calculating the control information for the lights of the first vehicle based on the target audio file in the above embodiment, which will not be repeated here.

[0223] In one possible implementation, the relative position of the sound channels between the first audio and the target audio matches the physical relative position between the second vehicle and the first vehicle. In this solution, stereo simulation is achieved through the position of the vehicle. Therefore, the master vehicle also needs to obtain the relative position information of the paired vehicle relative to the master vehicle. The acquisition of position information can be obtained at the same time as pairing. For example, when applying for pairing through Bluetooth, the orientation of the paired vehicle is detected by the received Bluetooth signal. The acquisition of position information can also be performed separately and independently. For example, when both vehicle computers are equipped with UWB base stations, the position of the paired vehicle relative to the master vehicle is determined through communication between the UWB base stations.

[0224] After determining the position of the paired vehicles relative to the master vehicle, the corresponding channels for each vehicle can be determined. For example, when using three vehicles to restore 5.1-channel stereo, the left vehicle plays the left front and left rear channels, the right vehicle plays the right front and right rear channels, and the center vehicle plays the center channel and subwoofer.

[0225] When performing spatial audio segmentation, the type of stereo sound to be restored can be determined based on the number and relative position of the vehicles. A preset model can be set within the light show control system, and the number and relative position of the vehicles can be input to determine the optimal stereo sound that can be restored.

[0226] For example, two cars can restore 2.1-channel stereo; three cars can restore 3.1 and 5.1 channels. Different numbers of cars restore different stereos. At the same time, the relative position of the vehicles will affect the stereo restoration effect. When the three cars are arranged in a straight line (or basically on the same straight line), it is more suitable for 3.1-channel stereo; and when the three cars are distributed in a triangle, it is more suitable for restoring 5.1 channels. Of course, strictly speaking, it is difficult to achieve a straight line arrangement in actual scenes. Basically, a triangle is constructed. Therefore, the type of stereo to be restored can be determined based on the inner angle of the vertex where the vehicle in the middle is located. Within a certain range, it is more suitable for restoring 5.1-channel stereo, and in other ranges, it is more suitable for restoring 3.1-channel stereo, so as to train the model.

[0227] In Figure 8 (a), the vehicles are arranged in a triangle, which can be restored to 3.1 channels or 5.1 channels. However, restoring to 5.1 channels has a better audio effect. Therefore, the vehicle distribution in Figure 8 (a) corresponds to the restored stereo type of 5.1 channels. According to the position distribution of the vehicles on the left, center, and right, the vehicle in the middle corresponds to the center channel, the vehicle in the front left corresponds to the left front channel, and the vehicle in the front right corresponds to the right front channel. In Figure 8 (b), the vehicles are in a straight line, and the corresponding restored stereo type is 3.1 channels. In the order of left, center, and right, the vehicles correspond to the left channel, center channel, and right channel, respectively.

[0228] After determining the stereo type to restore, you can determine the corresponding channels for each vehicle based on the preset position and channel mapping. For example, first determine the vehicle in the middle based on position: the center channel corresponds to the vehicle in the middle, the left channel / left front channel / left rear channel corresponds to the vehicle to the left of the vehicle in the middle, and the right channel / right front channel / right rear channel corresponds to the vehicle to the right of the vehicle in the middle.

[0229] In addition, when performing a multi-vehicle light show, in order to facilitate the synchronization of multiple vehicles, the light show control system of one vehicle (the master vehicle) is used to control the exterior lights of other vehicles. Therefore, the master vehicle needs to obtain light control permissions for other vehicles. In order to obtain light control permissions for other vehicles, the master vehicle needs to pair with other vehicles in the multi-vehicle linkage, for example, through Bluetooth pairing, joining a local area network together, etc. After pairing, the master vehicle applies for light control permissions from the paired vehicle to obtain light control permissions. Generally speaking, light shows are accompanied by audio playback. Therefore, when applying for light control permissions, you can also apply for audio playback permissions.

[0230] After determining the corresponding channels for each vehicle, the master vehicle can assign the corresponding channel audio to each vehicle. Specifically, after receiving the audio, the master vehicle parses the audio according to the determined stereo type and parses the audio into multiple channel audios belonging to different channels.

[0231] Taking the 3.1-channel stereo type to be restored in (b) of Figure 8 as an example, after obtaining the audio, the left channel, right channel and center channel are parsed from the original audio, and the left channel audio, right channel audio and center channel audio are obtained.

[0232] After parsing the channel audio, the channel audio corresponding to each vehicle can be determined. In the above steps, the channel corresponding to each vehicle has been determined. Therefore, based on the channel corresponding to each vehicle, the channel audio corresponding to each vehicle can be determined. In Figure 8 (b), according to the order of left, center, and right vehicles, the vehicles correspond to the left channel, center channel, and right channel respectively. The channel audio corresponding to the vehicle on the left is the left channel audio, the channel audio corresponding to the vehicle in the middle is the center channel audio, and the channel audio corresponding to the vehicle on the right is the right channel audio.

[0233] After determining the corresponding audio channel for each vehicle, the master vehicle classifies each vehicle's exterior lights according to the scheme described in the embodiment of Figure 4 , determines a threshold, analyzes the audio to identify the audio type, and finally determines the exterior lights and lighting effects corresponding to the audio type. This configuration file is then sent to the corresponding vehicle. Alternatively, real-time analysis and data stream transmission to the corresponding vehicle are possible. Under the control of the master vehicle, each vehicle plays the corresponding audio channel and activates its exterior lights.

[0234] This approach allows for a multi-vehicle light show, with audio channels divided based on the vehicle's location. This allows each vehicle to achieve a unique lighting effect, enhancing the visual quality of the multi-vehicle light show. This is also possible regardless of vehicle type; different brands and models can all achieve a multi-vehicle light show.

[0235] 9 , which is a schematic diagram of the structure of a vehicle light control device provided in an embodiment of the present application. As shown in FIG9 , the vehicle light control device 900 provided in an embodiment of the present application may include:

[0236] Processing module 901 is configured to obtain control information for lights of a first vehicle; the lights of the first vehicle include a plurality of first light units, and the control information is determined based on target audio; audio characteristics of the target audio within a first time period include at least one of the number of notes, a temporal arrangement of the notes, and audio energy of the notes; wherein the control information instructs at least one first light unit among the plurality of first light units that matches the audio characteristics to illuminate synchronously when the audio within the first time period is played, or the control information instructs at least one first light unit to illuminate in a lighting manner that matches the audio characteristics when the audio within the first time period is played;

[0237] While playing the audio, the lighting of the headlights of the first vehicle is controlled according to the control information; or, the control information is sent to the first vehicle.

[0238] For the description of the processing module 901 , reference may be made to the description of steps 401 and 402 in the above embodiment, which will not be repeated here.

[0239] In a possible implementation, the lighting mode includes at least one of: lighting brightness, lighting color, lighting duration, lighting sequence between vehicle light units, and flashing speed.

[0240] In one possible implementation, the multiple first headlight units are divided into multiple groups of headlight units, each group of headlight units includes at least one first headlight unit, and the at least one first headlight unit that matches the audio feature is specifically at least one group among the multiple groups of headlight units; the control information is determined based on a preset first mapping relationship and the audio features of the target audio within the first time period, and the first mapping relationship includes a matching relationship between multiple audio features and each group of headlight units.

[0241] In a possible implementation, the multiple audio features include at least one of: blank, drum beat, measure, and rhythm.

[0242] In a possible implementation, different groups of headlight units correspond to different control interfaces; or different groups of headlight units have different luminous capabilities, which include peak brightness, luminous flux, and the number of headlight units.

[0243] In one possible implementation, the first mapping relationship includes a first audio feature, a second audio feature, a first group of headlight units matching the first audio feature, and a second group of headlight units matching the second audio feature; the first audio feature and the second audio feature both include the number of notes, and the number of notes included in the first audio feature is greater than the number of notes included in the first audio feature, and the luminous ability of the first group of headlight units is greater than the luminous ability of the second group of headlight units.

[0244] In one possible implementation, the first mapping relationship includes a third audio feature, a fourth audio feature, a third group of headlight units matching the third audio feature, and a fourth group of headlight units matching the fourth audio feature; the third audio feature and the fourth audio feature both include audio energy of notes, and the audio energy of the notes included in the third audio feature is greater than the audio energy of the notes included in the fourth audio feature, and the luminous ability of the third group of headlight units is greater than the luminous ability of the fourth group of headlight units.

[0245] In a possible implementation, the audio feature also includes: the duration of the note exists in multiple consecutive time units within the first time period; the lighting mode included in the control information is determined from multiple lighting modes based on the duration, and the lighting time of the lighting mode included in the control information is the closest to the duration among the multiple lighting modes.

[0246] In a possible implementation, the first time period consists of at least one time unit, and the time unit is the maximum value of the minimum times required for the multiple first vehicle light units to complete a complete lighting process.

[0247] In a possible implementation, the audio feature further includes: at least one of: a musical style of the target audio, a vocal feature corresponding to the target audio, and a musical instrument feature corresponding to the target audio; the vocal feature includes gender or timbre.

[0248] In a possible implementation, the processing module is specifically configured to obtain target audio and calculate the control information according to the target audio; or

[0249] Sending target audio to a computing device, and receiving the control information calculated by the computing device according to the target audio; or

[0250] Receive the control information calculated by the second vehicle or the server based on the target audio.

[0251] In a possible implementation, the target audio corresponds to a channel in a target music file.

[0252] In a possible implementation, the processing module is further configured to obtain a first audio, where the first audio and the target audio correspond to different channels in the target music file;

[0253] Acquiring control information for lights of a second vehicle based on audio features of the second audio within a target time period; the lights of the second vehicle include a plurality of second light units; the audio features of the second audio within the second time period include at least one of the number of notes, a temporal arrangement of the notes, and audio energy of the notes; wherein the control information for the lights of the second vehicle instructs that at least one second light unit among the plurality of second light units that matches the audio features illuminate synchronously when the audio within the second time period is played, or the control information for the lights of the second vehicle instructs that at least one second light unit illuminate in a lighting pattern that matches the audio features when the audio within the second time period is played;

[0254] Control information of the headlights of the second vehicle is sent to the second vehicle.

[0255] In a possible implementation, the relative position of the sound channels between the first audio and the target audio matches the physical relative position between the second vehicle and the first vehicle.

[0256] In one possible implementation, the audio characteristics of the target audio in the third time period are related to at least one of the quantity characteristics of the notes, the arrangement rules of the notes in the time domain, and the audio energy of the notes; wherein, the control information also indicates that when the audio in the third time period is played, at least one first headlight unit among the multiple first headlight units that matches the audio characteristics in the third time period is illuminated synchronously, or, the control information also indicates that when the audio in the third time period is played, at least one first headlight unit is illuminated and performs a lighting mode that matches the audio characteristics in the third time period.

[0257] That is to say, for different time periods in the same audio, due to different audio characteristics, different combinations of headlight units can be selected for lighting, or the same headlight units can be used in different lighting methods, or different combinations of headlight units can be selected for lighting in different lighting methods.

[0258] In one possible implementation, the number of notes included in the audio characteristics of the target audio in the first time period is greater than the number of notes included in the audio characteristics of the target audio in the third time period, and the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the first time period is greater than the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the third time period.

[0259] In one possible implementation, the audio energy of the target audio including the notes in the first time period is greater than the audio energy of the target audio including the notes in the third time period, and the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the first time period is greater than the luminous ability of at least one first car light unit that matches the audio characteristics of the target audio in the third time period.

[0260] That is to say, for different time periods in the same audio, since the number (density) of notes contained is greater, the car light unit with stronger luminous ability can be matched accordingly to emit light.

[0261] Next, an execution device provided in an embodiment of the present application is introduced. Please refer to Figure 10. Figure 10 is a structural schematic diagram of an execution device provided in an embodiment of the present application. The execution device 1000 can be specifically manifested as a mobile terminal device such as a vehicle, which is not limited here. Specifically, the execution device 1000 includes: a receiver 1001, a transmitter 1002, a processor 1003 and a memory 1004 (wherein the number of processors 1003 in the execution device 1000 can be one or more, and Figure 10 takes one processor as an example), wherein the processor 1003 may include an application processor 10031 and a communication processor 10032. In some embodiments of the present application, the receiver 1001, the transmitter 1002, the processor 1003 and the memory 1004 may be connected via a bus or other means.

[0262] The memory 1004 may include a read-only memory and a random access memory, and provides instructions and data to the processor 1003. A portion of the memory 1004 may also include non-volatile random access memory (NVRAM). The memory 1004 stores processor and operation instructions, executable modules, or data structures, or subsets or extended sets thereof. The operation instructions may include various operation instructions for implementing various operations.

[0263] Processor 1003 controls the operation of the execution device. In specific applications, the various components of the execution device are coupled together via a bus system. In addition to a data bus, the bus system may also include a power bus, a control bus, and a status signal bus. However, for clarity, all bus systems are referred to as a bus system in the figure.

[0264] The methods disclosed in the above embodiments of the present application can be applied to or implemented by processor 1003. Processor 1003 can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits or software instructions in processor 1003. The above processor 1003 can be a general-purpose processor, a digital signal processor (DSP), a microprocessor, or a microcontroller, and can further include an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The processor 1003 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in conjunction with the embodiments of the present application can be directly implemented as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in memory 1004, and processor 1003 reads the information in memory 1004 and, in conjunction with its hardware, completes the steps of the above method.

[0265] Receiver 1001 can be used to receive input digital or character information and generate signal input related to executing relevant settings and function control of the device. Transmitter 1002 can be used to output digital or character information; transmitter 1002 can also be used to send instructions to the disk group to modify the data in the disk group.

[0266] In an embodiment of the present application, in one case, the processor 1003 is used to execute the vehicle light control method in the above embodiment).

[0267] An embodiment of the present application also provides a computer program product, which, when running on a computer, enables the computer to execute the steps executed by the aforementioned execution device, or enables the computer to execute the steps executed by the aforementioned training device.

[0268] A computer-readable storage medium is also provided in an embodiment of the present application, which stores a program for signal processing. When the computer-readable storage medium is run on a computer, it enables the computer to execute the steps executed by the aforementioned execution device, or enables the computer to execute the steps executed by the aforementioned training device.

[0269] The execution device, training device or terminal device provided in the embodiments of the present application can specifically be a chip, and the chip includes: a processing unit and a communication unit. The processing unit can be, for example, a processor, and the communication unit can be, for example, an input / output interface, a pin or a circuit. The processing unit can execute the computer execution instructions stored in the storage unit to enable the chip in the execution device to execute the data processing method described in the above embodiment, or to enable the chip in the training device to execute the data processing method described in the above embodiment. Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, etc. The storage unit can also be a storage unit located outside the chip in the wireless access device, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.

[0270] Specifically, see Figure 11, which is a schematic diagram of the structure of a chip provided in an embodiment of the present application. This chip can be represented as a neural network processor NPU 1100. NPU 1100 is mounted on the host CPU (host CPU) as a coprocessor and is assigned tasks by the host CPU. The core of the NPU is the arithmetic circuit 1103, which is controlled by a controller 1104 to extract matrix data from the memory and perform multiplication operations.

[0271] In some implementations, the arithmetic circuit 1103 includes multiple processing units (PEs). In some implementations, the arithmetic circuit 1103 is a two-dimensional systolic array. The arithmetic circuit 1103 may also be a one-dimensional systolic array or other electronic circuitry capable of performing mathematical operations such as multiplication and addition. In some implementations, the arithmetic circuit 1103 is a general-purpose matrix processor.

[0272] For example, assume there are input matrix A, weight matrix B, and output matrix C. The arithmetic circuit retrieves the corresponding data of matrix B from weight memory 1102 and caches it on each PE in the arithmetic circuit. The arithmetic circuit retrieves the data of matrix A from input memory 1101 and performs a matrix operation on matrix B. The partial or final matrix result is stored in accumulator 1108.

[0273] Unified memory 1106 is used to store input and output data. Weight data is directly transferred to weight memory 1102 through the Direct Memory Access Controller (DMAC) 1105. Input data is also transferred to unified memory 1106 through the DMAC.

[0274] BIU stands for Bus Interface Unit, i.e., bus interface unit 1110 , which is used for interaction between the AXI bus, DMAC, and instruction fetch buffer (IFB) 1109 .

[0275] The bus interface unit 1110 (BIU) is used for the instruction fetch memory 1109 to obtain instructions from the external memory, and is also used for the storage unit access controller 1105 to obtain the original data of the input matrix A or the weight matrix B from the external memory.

[0276] DMAC is mainly used to move input data in the external memory DDR to the unified memory 1106 or to move weight data to the weight memory 1102 or to move input data to the input memory 1101.

[0277] The vector calculation unit 1107 includes multiple operation processing units. When necessary, it further processes the output of the operation circuit, such as vector multiplication, vector addition, exponential operation, logarithmic operation, size comparison, etc. It is mainly used for non-convolutional / fully connected layer network calculations in neural networks, such as batch normalization, pixel-level summation, and upsampling of feature planes.

[0278] In some implementations, the vector calculation unit 1107 can store the processed output vector in the unified memory 1106. For example, the vector calculation unit 1107 can apply a linear function or a nonlinear function to the output of the operation circuit 1103, such as linear interpolation of the feature plane extracted by the convolution layer, or accumulate a vector of values ​​to generate an activation value. In some implementations, the vector calculation unit 1107 generates a normalized value, a pixel-level summed value, or both. In some implementations, the processed output vector can be used as an activation input to the operation circuit 1103, for example, for use in subsequent layers in a neural network.

[0279] An instruction fetch buffer 1109 connected to the controller 1104 is used to store instructions used by the controller 1104;

[0280] Unified memory 1106, input memory 1101, weight memory 1102, and instruction fetch memory 1109 are all on-chip memories. External memories are private to the NPU hardware architecture.

[0281] The processor mentioned in any of the above places can be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the above program.

[0282] It should also be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided in this application, the connection relationship between the modules indicates that there is a communication connection between them, which can be specifically implemented as one or more communication buses or signal lines.

[0283] Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course can also be implemented by special hardware including application-specific integrated circuits, special CPUs, special memories, special components, etc. In general, all functions performed by computer programs can be easily implemented with corresponding hardware, and the specific hardware structures used to implement the same function can also be diverse, such as analog circuits, digital circuits or special circuits, etc. However, for the present application, software program implementation is a better implementation method in most cases. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer's floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., and includes a number of instructions to enable a computer device (which can be a personal computer, training equipment, or network equipment, etc.) to execute the methods described in each embodiment of the present application.

[0284] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0285] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, a computer, a training device or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website, a computer, a training device or a data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).

Claims

1. A vehicle light control method, It is characterized in that The method comprises: Acquire control information of a headlight of a first vehicle; the headlight of the first vehicle includes a plurality of first headlight units, and the control information is determined according to a target audio; an audio feature of the target audio in a first time period is related to at least one of a number feature of notes, an arrangement rule of the notes in the time domain, and an audio energy of the notes; wherein the control information indicates that when the audio in the first time period is played, at least one first headlight unit among the plurality of first headlight units that matches the audio feature emits light synchronously, or the control information indicates that when the audio in the first time period is played, at least one first headlight unit emits light and performs a light-emitting mode that matches the audio feature; When playing the audio, controlling the lighting of the headlights of the first vehicle according to the control information; or, The control information is sent to the first vehicle.

2. The method according to claim 1, It is characterized in that The lighting mode includes at least one of lighting brightness, lighting color, lighting duration, lighting sequence between vehicle light units, and flashing speed.

3. The method according to claim 1 or 2, It is characterized in that The multiple first light units are divided into multiple groups of light units, each group of light units includes at least one first light unit, and the at least one first light unit matching the audio feature is specifically at least one group among the multiple groups of light units; the control information is determined based on a preset first mapping relationship and the audio feature of the target audio within a first time period, and the first mapping relationship includes a matching relationship between multiple audio features and each group of light units.

4. The method according to claim 3, It is characterized in that The multiple audio features include: at least one of blank, drum beats, bars and rhythm; the blank indicates that the number of notes in the first time period is 0, the drum beat indicates that the number of notes in the first time period is 1, the bar indicates that there is a time unit with a number of notes greater than 1 in the first time period, and the rhythm indicates that there are multiple time units with a number of notes greater than 1 in the first time period.

5. The method according to claim 3 or 4, It is characterized in that Different groups of headlight units correspond to different control interfaces; or, different groups of headlight units have different luminous capabilities, which include peak brightness, luminous flux, and the number of headlight units.

6. The method according to any one of claims 3 to 5, It is characterized in that The first mapping relationship includes a first audio feature, a second audio feature, a first group of car light units matching the first audio feature, and a second group of car light units matching the second audio feature; the first audio feature and the second audio feature both include the number of notes, and the number of notes included in the first audio feature is greater than the number of notes included in the first audio feature, and the luminous ability of the first group of car light units is greater than the luminous ability of the second group of car light units.

7. The method according to any one of claims 3 to 6, It is characterized in that The first mapping relationship includes a third audio feature, a fourth audio feature, a third group of car light units matching the third audio feature, and a fourth group of car light units matching the fourth audio feature; the third audio feature and the fourth audio feature both include audio energy of notes, and the audio energy of the notes included in the third audio feature is greater than the audio energy of the notes included in the fourth audio feature, and the luminous ability of the third group of car light units is greater than the luminous ability of the fourth group of car light units.

8. The method according to any one of claims 1 to 7, It is characterized in that The audio features also include: the duration of the note exists in multiple consecutive time units within the first time period; the lighting mode included in the control information is determined from multiple lighting modes according to the duration, and the lighting time of the lighting mode included in the control information is the closest to the duration among the multiple lighting modes.

9. The method according to any one of claims 1 to 8, It is characterized in that The first time period is composed of at least one time unit, and the time unit is the maximum value of the minimum time required for completing a complete lighting process among the plurality of first vehicle lamp units.

10. The method according to any one of claims 1 to 9, It is characterized in that The audio features also include: at least one of: the music style of the target audio, the vocal features corresponding to the target audio, and the musical instrument features corresponding to the target audio; the vocal features include gender or timbre.

11. The method according to any one of claims 1 to 10, It is characterized in that The obtaining control information of the headlight of the first vehicle includes: Acquire target audio, and calculate the control information according to the target audio; or, Sending target audio to a computing device, and receiving the control information calculated by the computing device based on the target audio; or, receiving the control information calculated by a second vehicle or a server based on the target audio.

12. The method according to any one of claims 1 to 11, It is characterized in that The target audio corresponds to a channel in a target music file.

13. The method according to any one of claims 1 to 12, It is characterized in that The method further comprises: Acquire a first audio, where the first audio and the target audio correspond to different channels in a target music file; According to the audio features of the second audio in the target time period, the control information of the headlights of the second vehicle is obtained; the headlights of the second vehicle include a plurality of second headlight units; the audio features of the second audio in the second time period include: at least one of the number of notes, the arrangement pattern of the notes in the time domain, and the audio energy of the notes; wherein the control information of the headlights of the second vehicle indicates that when the audio in the second time period is played, at least one second headlight unit matching the audio features among the plurality of second headlight units emits light synchronously, or the control information of the headlights of the second vehicle indicates that when the audio in the second time period is played, at least one second headlight unit emits light in a lighting mode matching the audio features; The control information of the headlights of the second vehicle is sent to the second vehicle.

14. The method according to claim 12 or 13, It is characterized in that The relative position of the channels between the first audio and the target audio matches the physical relative position between the second vehicle and the first vehicle.

15. A vehicle light control device, It is characterized in that The device comprises: A processing module, configured to obtain control information of a headlight of a first vehicle; the headlight of the first vehicle includes a plurality of first headlight units, and the control information is determined according to a target audio; the audio features of the target audio in a first time period include at least one of the number of notes, the arrangement pattern of the notes in the time domain, and the audio energy of the notes; wherein the control information indicates that when the audio in the first time period is played, at least one first headlight unit among the plurality of first headlight units that matches the audio feature emits light synchronously, or the control information indicates that when the audio in the first time period is played, at least one first headlight unit emits light and performs a light-emitting mode that matches the audio feature; While playing the audio, lighting of the lights of the first vehicle is controlled according to the control information; or, the control information is sent to the first vehicle.

16. The device according to claim 15, It is characterized in that The lighting mode includes at least one of lighting brightness, lighting color, lighting duration, lighting sequence between vehicle light units, and flashing speed.

17. The device according to claim 15 or 16, It is characterized in that The multiple first light units are divided into multiple groups of light units, each group of light units includes at least one first light unit, and the at least one first light unit matching the audio feature is specifically at least one group among the multiple groups of light units; the control information is determined based on a preset first mapping relationship and the audio feature of the target audio within a first time period, and the first mapping relationship includes a matching relationship between multiple audio features and each group of light units.

18. The device according to claim 17, It is characterized in that The plurality of audio features include at least one of blank, drum beat, measure and rhythm.

19. The device according to claim 17 or 18, It is characterized in that Different groups of headlight units correspond to different control interfaces; or, different groups of headlight units have different luminous capabilities, which include peak brightness, luminous flux, and the number of headlight units.

20. The device according to any one of claims 17 to 19, It is characterized in that The first mapping relationship includes a first audio feature, a second audio feature, a first group of car light units matching the first audio feature, and a second group of car light units matching the second audio feature; the first audio feature and the second audio feature both include the number of notes, and the number of notes included in the first audio feature is greater than the number of notes included in the first audio feature, and the luminous ability of the first group of car light units is greater than the luminous ability of the second group of car light units.

21. The device according to any one of claims 17 to 20, It is characterized in that The first mapping relationship includes a third audio feature, a fourth audio feature, a third group of car light units matching the third audio feature, and a fourth group of car light units matching the fourth audio feature; the third audio feature and the fourth audio feature both include audio energy of notes, and the audio energy of the notes included in the third audio feature is greater than the audio energy of the notes included in the fourth audio feature, and the luminous ability of the third group of car light units is greater than the luminous ability of the fourth group of car light units.

22. The device according to any one of claims 15 to 21, It is characterized in that The audio features also include: the duration of the note exists in multiple consecutive time units within the first time period; the lighting mode included in the control information is determined from multiple lighting modes according to the duration, and the lighting time of the lighting mode included in the control information is the closest to the duration among the multiple lighting modes.

23. The device according to any one of claims 15 to 22, It is characterized in that The first time period is composed of at least one time unit, and the time unit is the maximum value of the minimum time required for completing a complete lighting process among the multiple first vehicle lamp units.

24. The device according to any one of claims 15 to 23, It is characterized in that The audio features also include: at least one of: the music style of the target audio, the vocal features corresponding to the target audio, and the musical instrument features corresponding to the target audio; the vocal features include gender or timbre.

25. The device according to any one of claims 15 to 24, It is characterized in that The processing module is specifically used to obtain the target audio and calculate the control information according to the target audio; or Sending target audio to a computing device, and receiving the control information calculated by the computing device according to the target audio; or, Receive the control information calculated by the second vehicle or the server according to the target audio.

26. The device according to any one of claims 15 to 25, It is characterized in that The target audio corresponds to a channel in a target music file.

27. The device according to any one of claims 15 to 26, It is characterized in that The processing module is further used to obtain a first audio, where the first audio and the target audio correspond to different channels in the target music file; acquiring control information of a headlight of a second vehicle according to an audio feature of the second audio within a target time period; The headlight of the second vehicle comprises a plurality of second headlight units; The audio features of the second audio in the second time period include: at least one of the number of notes, the arrangement regularity of the notes in the time domain, and the audio energy of the notes; wherein the control information of the headlights of the second vehicle indicates that when the audio in the second time period is played, at least one second headlight unit among the plurality of second headlight units that matches the audio features emits light synchronously, or the control information of the headlights of the second vehicle indicates that when the audio in the second time period is played, at least one second headlight unit emits light in a lighting mode that matches the audio features; The control information of the headlights of the second vehicle is sent to the second vehicle.

28. The device according to claim 26 or 27, It is characterized in that The relative position of the channels between the first audio and the target audio matches the physical relative position between the second vehicle and the first vehicle.

29. A computing device, It is characterized in that The device includes a memory and a processor; the memory stores codes, and the processor is configured to obtain the codes and execute the method according to any one of claims 1 to 14.

30. A computer readable storage medium, It is characterized in that The method comprises computer-readable instructions, which, when executed on a computer device, cause the computer device to execute the method according to any one of claims 1 to 14.

31. A computer program product, It is characterized in that The method comprises computer-readable instructions, and when the computer-readable instructions are executed on a computer device, the computer device is caused to execute the method according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • A method and system for automobile lighting control based on music signal

    CN109089355A

  • Vehicle lamp control method and device and storage medium

    CN111942280A

  • Vehicle light show determination method and device, electronic equipment and storage medium

    CN113706667A

  • Vehicle-mounted light control method, device, system and equipment and storage medium

    CN113771738A

  • Lamp effect control method and device, electronic equipment and readable storage medium

    CN114126158A

Cited By

  • Atmosphere lamp display mode generation method and device, electronic equipment and computer storage medium

    CN119348541A

  • Atmosphere lamp display mode generation method and device, electronic equipment and computer storage medium

    CN119348541B

  • Music rhythm analysis method based on m frequency points

    CN121191535A

  • Vehicle-mounted running water atmosphere lamp control method for low-computing-power platform

    CN121240300A