Light control method and device, vehicle and storage medium
By locating the target sound source position of the voice command and controlling the lighting effect, the problem of users being unable to determine the complete recognition of the voice command is solved, and the richness of vehicle lighting and user experience are improved.
Patent Information
- Application Number
- CN202410828849.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-27
AI Technical Summary
During the interaction between people and vehicles, users cannot be sure whether the voice commands are fully recognized by the vehicle and the machine, leading to the problem that the function is not implemented.
By locating the target sound source position of the voice command and controlling the lighting effect inside the vehicle according to the duration of the voice command, the linkage between the lighting and the voice command is realized, allowing the user to determine whether the command is recognized through the lighting effect.
It improves the richness of vehicle lighting effects and informs users of the recognition status of voice commands through lighting effects, solving the problem of users being unable to determine the integrity of voice commands.
Smart Images

Figure CN118700931A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a lighting control method, device, vehicle and storage medium. Background Art
[0002] With the development of technology, in the process of human-vehicle interaction, it is possible to control the vehicle computer to perform corresponding functions through the user's voice commands, such as raising and lowering the car window, switching the vehicle computer music, etc. However, when the vehicle computer receives the voice command, the user cannot know whether the vehicle computer has fully recognized the voice command initiated, resulting in the problem that the voice command is not fully recognized by the vehicle computer, and the corresponding function cannot be realized, and the user cannot know it. Summary of the invention
[0003] The present application provides a lighting control method, device, vehicle and storage medium. The method can link voice commands with the lights inside the vehicle to display lighting effects according to the duration of the voice commands, so that the user can determine whether the voice commands are fully recognized through the lighting effects, and improve the richness of the vehicle lighting effects.
[0004] In a first aspect, a lighting control method is provided, which is applied to a vehicle, and the method includes: in response to a voice command, determining a target sound source position that initiates the voice command, and obtaining a target voice duration of the voice command; based on the target sound source position, screening a target lighting zone from a plurality of lighting zones configured inside the vehicle; and based on the target voice duration, controlling a target light in the target lighting zone to display a lighting effect.
[0005] Through the above technical scheme, by locating the target sound source position of the voice command, the target light in the target light partition corresponding to the target sound source position is controlled to display the light effect according to the target voice duration of the voice command, so that the voice command is linked with the lights inside the vehicle, and the lights are displayed according to the duration of the voice command, so that the user can determine whether the voice command is fully recognized through the light effect, and the effect richness of the vehicle lights is improved.
[0006] In combination with the first aspect, in some possible implementations, the vehicle is configured with at least three microphone devices arranged in an array, which respond to a voice command and determine the target sound source position that initiates the voice command, including: obtaining a first time delay between the voice command arriving at a first microphone device and arriving at a second microphone device, and a second time delay between the voice command arriving at the first microphone device and arriving at a third microphone device; based on the first time delay and the second time delay, determine the target sound source position that initiates the voice command.
[0007] Through the above technical solution, the target sound source position for initiating a voice command can be determined by the time delay between the arrival at the microphone devices arranged in an array, so as to improve the accuracy of locating the target sound source position.
[0008] In combination with the first aspect, in some possible implementations, the target sound source position for initiating the voice command is determined based on the first time delay and the second time delay, including: determining a first association relationship between a first receiving path of the first microphone device and a second receiving path of the second microphone device based on the first time delay and a preset propagation speed; determining a second association relationship between the first receiving path of the first microphone device and a third receiving path of the third microphone device based on the second time delay and the preset propagation speed; calculating a first distance of the first receiving path, a second distance of the second receiving path, a third distance of the third receiving path, and an actual angle value based on the first association relationship, the second association relationship, the first mapping function, and the second mapping function, the actual angle value being the first receiving path and the microphone device arrangement. The angle value of the angle formed between the directions; based on the first distance, the second distance, the third distance and the actual angle value, determine the target sound source position that initiates the voice command; the first mapping function is used to characterize the mapping function of the first analog receiving path and the second analog receiving path according to the simulation angle and the set distance, and the second mapping function is used to characterize the mapping function of the first analog receiving path and the third analog receiving path according to the simulation angle and the set distance, the simulation angle is the angle formed between the first analog receiving path and the arrangement direction of the microphone device, the set distance is the distance between adjacent microphones, the first analog receiving path, the second analog receiving path and the third analog receiving path are the receiving paths formed by the simulated sound source position and the first microphone device, the second microphone device and the third microphone device respectively.
[0009] Through the above technical scheme, the association relationship between each microphone device on the receiving path is determined based on the time delay between each microphone device and the preset propagation speed, and the first distance of the first receiving path, the second distance of the second receiving path, the third distance of the third receiving path and the actual angle value are calculated according to the pre-set mapping function between the simulated receiving paths, so as to determine the target sound source position for initiating the voice command according to the above calculated parameters, so as to improve the accuracy of locating the target sound source position.
[0010] In combination with the first aspect, in some possible implementations, the target sound source position for initiating the voice command is determined based on the first distance, the second distance, the third distance and the actual angle value, including: determining a target direction whose angle value with the arrangement direction of the microphone device is the actual angle value; in a preset coordinate system, extending along the target direction from the first microphone device to obtain a target ray; and determining the position in the target ray whose distance with the first microphone device is the first distance, whose distance with the second microphone device is the second distance, and whose distance with the third microphone device is the third distance as the target sound source position for initiating the voice command.
[0011] Through the above technical scheme, the target ray from the first microphone device can be determined according to the actual angle value, so that the position in the target ray whose distance from the first microphone device is the first distance, whose distance from the second microphone device is the second distance, and whose distance from the third microphone device is the third distance can be determined as the target sound source position for initiating the voice command, so as to improve the accuracy of locating the target sound source position.
[0012] In combination with the first aspect, in some possible implementations, the target light partition is screened from multiple light partitions configured inside the vehicle based on the target sound source position, including: obtaining a position area corresponding to each of the light partitions; screening out a target position area where the target sound source position is located from the multiple position areas; and determining the light partition corresponding to the target position area as the target light partition.
[0013] Through the above technical scheme, it is possible to pre-allocate different position areas in the vehicle interior space for each lighting zone, so as to screen out the target position area where the target sound source position is located from multiple position areas, and determine the lighting zone corresponding to the target position area as the target lighting zone.
[0014] In combination with the first aspect, in some possible implementations, the target lights in the target light zone are controlled to display light effects based on the target speech duration, including: determining the target effect display duration corresponding to the target speech duration based on a mapping relationship between speech duration and effect display duration; and controlling the target lights in the target light zone to display light effects according to the target effect display duration.
[0015] Through the above technical scheme, it is possible to determine the target effect display duration corresponding to the target voice duration, so that the target light can display the lighting effect according to the target effect display duration, and realize the lighting effect that changes with the duration of the voice command, so that the user can determine whether the voice command is completely recognized through the lighting effect, and improve the richness of the vehicle lighting effect.
[0016] In combination with the first aspect, in some possible implementations, before controlling the target lights in the target light zone to display the light effects according to the target effect display duration, it also includes: responding to the light effect adjustment instruction, determining the light brightness and the light effect mode adjusted by the light effect adjustment instruction; controlling the target lights in the target light zone to display the light effects according to the target effect display duration includes: controlling the target lights in the target light zone to display the light effects according to the target effect display duration, the light brightness and the light effect mode.
[0017] Through the above technical solution, it is possible to realize user-defined lighting effect modes and lighting brightness of lighting effects, so that in the subsequent display process, the lighting effects can be displayed according to the pre-selected lighting effect mode and lighting brightness combined with the target effect display time, so as to achieve the effect of enhancing the diversity of lighting effects.
[0018] In a second aspect, a lighting control device is provided, which is applied to a vehicle, and the device comprises:
[0019] a determination unit, configured to determine, in response to a voice command, a target sound source position of the voice command, and obtain a target voice duration of the voice command;
[0020] A screening unit, configured to screen a target light partition from a plurality of light partitions configured inside the vehicle according to the position of the target sound source;
[0021] The control unit is used to control the target lights in the target light zone to display light effects based on the target speech duration.
[0022] In a third aspect, a vehicle is provided, the vehicle comprising:
[0023] A memory for storing executable program codes;
[0024] The processor is used to call and run the executable program code from the memory, so that the vehicle executes any of the above lighting control methods.
[0025] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, any of the above lighting control methods is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0027] Figure 1 It is a scene schematic diagram of a lighting control method provided in an embodiment of the present application;
[0028] Figure 2 It is a flowchart of a lighting control method provided in an embodiment of the present application;
[0029] Figure 3 is a schematic top view of a vehicle provided in an embodiment of the present application;
[0030] Figure 4 It is a flowchart of a lighting control method provided in an embodiment of the present application;
[0031] Figure 5 It is a flowchart of a lighting control method provided in an embodiment of the present application;
[0032] Figure 6 It is a schematic diagram of a simulation scenario provided by an embodiment of the present application;
[0033] Figure 7 is a structural schematic diagram of a lighting control device provided in an embodiment of the present application;
[0034] Figure 8 is a structural schematic diagram of a vehicle provided in an embodiment of the present application;
[0035] Fig. 9 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to make the features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0037] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0038] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0039] Figure 1 It is a scene schematic diagram of a lighting control method provided in an embodiment of the present application. Figure 1 A scenario in which a user is controlling a vehicle is given.
[0040] In the above scenario, the user generally initiates a voice command by waking up the central control screen or voice receiving device with voice, so that the central control screen or voice receiving device analyzes the voice command, thereby realizing corresponding functions such as raising and lowering windows and switching car music. However, when the user's voice command is wrong or the speaking time is long, there is a problem that the voice command is not fully recognized, and thus the corresponding function cannot be realized, and the user cannot know whether the voice command is fully recognized.
[0041] The present application is aimed at the above-mentioned scenario. By locating the target sound source position of the voice command, the target light in the target light zone corresponding to the target sound source position can be controlled to display the light effect according to the target voice duration of the voice command, thereby linking the voice command with the lights inside the vehicle to display the light effect according to the duration of the voice command, so that the user can determine whether the voice command is fully recognized through the light effect, and improve the richness of the vehicle light effect.
[0042] based on Figure 1 The scene diagram shown below will be combined with Figure 2-Figure 6 , the lighting control method provided in the embodiment of the present application is introduced in detail.
[0043] See also Figure 2 , Figure 2 : is a flow chart of a lighting control method provided in an embodiment of the present application. The execution subject of the method may be a vehicle, and the specific flow of the method may be as follows:
[0044] S101, in response to a voice command, determining a target sound source position for initiating the voice command, and obtaining a target voice duration of the voice command.
[0045] Among them, the voice command is the voice information spoken by the user in the vehicle, the target sound source position is the position that initiates the voice command, that is, the user position that initiates the voice command, and the target voice duration is the duration of the voice command, that is, the voice duration of the voice information spoken by the user.
[0046] Specifically, when the vehicle responds to a voice command initiated by a user, it determines the target sound source position of the voice command and obtains the target voice duration of the voice command.
[0047] S102, selecting a target light partition from a plurality of light partitions configured inside the vehicle according to the target sound source position.
[0048] The lighting partition is a lighting partition obtained by dividing the interior space of the vehicle according to the seat arrangement. The lighting partition is composed of a plurality of light array arrangements and / or at least one light strip.
[0049] Specifically, Figure 3 As shown, Figure 3 is a schematic top view of a vehicle provided in an embodiment of the present application. Figure 3 Take the vehicle with three rows of seats as an example, the seats are arranged as follows: the main driver's seat and the front passenger seat in the first row; the second row's left seat and the second row's right seat in the second row; the third row's left seat and the third row's right seat in the third row. Each seat corresponds to a lighting zone, the main driver's seat corresponding to the lighting zone is on the left side of the main driver's seat, the front passenger's seat corresponding to the lighting zone is on the right side of the front passenger's seat, the second row's left seat corresponding to the lighting zone is on the left side of the second row's left seat, the second row's right seat corresponding to the lighting zone is on the right side of the second row's right seat, the third row's left seat corresponding to the lighting zone is on the left side of the third row's left seat, and the third row's right seat corresponding to the lighting zone is on the right side of the third row's right seat.
[0050] After the target sound source position is determined in step S101, the target light partition can be selected from multiple light partitions configured inside the vehicle.
[0051] S103, based on the target speech duration, controlling the target lights in the target light partition to display light effects.
[0052] Among them, in order to control the lights to display lighting effects according to voice commands, it is necessary to combine the target voice duration of the voice command to achieve the change of lighting effects with the voice duration.
[0053] The lighting control method provided in the embodiment of the present application locates the target sound source position of the voice command, thereby controlling the target lights in the target lighting partition corresponding to the target sound source position to display lighting effects according to the target voice duration of the voice command, thereby linking the voice command with the lights inside the vehicle, and realizing the lighting effects display according to the duration of the voice command, so that the user can determine whether the voice command is completely recognized through the lighting effects, and improve the richness of the vehicle lighting effects.
[0054] For further information, see Figure 4 , Figure 4This is a flow chart of a lighting control method provided by an embodiment of the present application. The embodiment of the present application focuses on the method of determining the target sound source position for initiating a voice command, how to determine the target lighting partition based on the target sound source position, and how to control the lighting based on the target voice duration. The specific process of the method can be as follows:
[0055] S201, in response to a voice command, obtain a first time delay between when the voice command reaches a first microphone device and when it reaches a second microphone device, a second time delay between when the voice command reaches the first microphone device and when it reaches a third microphone device, and obtain a target voice duration of the voice command.
[0056] Among them, for example Figure 1 As shown, the vehicle is equipped with at least three microphone devices arranged in an array. Due to the positional differences between the microphone devices, the voice commands arrive at different microphone devices at different times during the reception of the same voice command, resulting in a time delay between the microphone devices. Therefore, based on the characteristic of the time delay when the microphone device receives the voice command, the target sound source position of the voice command can be determined based on this characteristic. The target voice duration is the duration of the voice command, that is, the voice duration of the voice information spoken by the user.
[0057] Specifically, a first time delay when the first microphone device and the second microphone device receive the voice command, and a second time delay when the first microphone device and the third microphone device receive the voice command are respectively obtained.
[0058] Among them, the method for obtaining the delay can be: respectively record the receiving time of the first microphone device, the second microphone device and the third microphone device when receiving the voice command, and obtain the first delay by calculating the difference between the receiving time of the first microphone device and the second microphone device; obtain the second delay by calculating the difference between the receiving time of the first microphone device and the third microphone device.
[0059] For example, the receiving time of the first microphone device is 12:00, the receiving time of the second microphone device is 12:01, and the receiving time of the third microphone device is 12:02. Then, the first delay is 1 second, and the second delay is 2 seconds.
[0060] Specifically, the delay can also be obtained by calculating it through the generalized cross-correlation method of phase transformation (GCC-PHAT algorithm). The delay estimation algorithm of the generalized cross-correlation method estimates the delay value based on the peak value of the cross-correlation function of the two microphone signals. In the sound source localization system, the signal received by each array element of the microphone array comes from the same sound source. Therefore, there is a strong correlation between the signals of each channel. By calculating the correlation function between each two signals, the delay between the two microphone observation signals can be determined.
[0061] S202: Determine a target sound source position for initiating a voice command based on the first time delay and the second time delay.
[0062] After the first time delay and the second time delay are determined in step S201, the target sound source position for initiating the voice command can be determined based on the first time delay and the second time delay.
[0063] S203, obtaining a location area corresponding to each light partition.
[0064] Among them, since the lighting zones are divided according to the seat arrangement of the interior space of the vehicle, one lighting zone corresponds to a position area of the interior space of the vehicle, thereby obtaining the position area corresponding to each lighting zone.
[0065] Specifically, the location area may be a coordinate set consisting of multiple coordinate positions.
[0066] S204: Filter out a target position area where the target sound source position is located from the multiple position areas.
[0067] After the target sound source position is determined in step S202 and the position area corresponding to each light partition is obtained in step S203, the target position area where the target sound source position is located is screened out from multiple position areas based on the position area where the target sound source position is located.
[0068] Specifically, the target sound source position can be represented by coordinates, and a method for filtering out the target position area where the target sound source position is located from multiple position areas can be to determine whether there are coordinates corresponding to the target sound source position in the coordinate set corresponding to each position area. If the coordinates corresponding to the target sound source position exist in the coordinate set corresponding to the position area, then the position area is determined as the target position area.
[0069] S205: Determine the light partition corresponding to the target position area as the target light partition.
[0070] Wherein, based on the mapping relationship between the light partitions and the position areas, the light partition corresponding to the target position area is determined as the target light partition.
[0071] S206, determining a target effect display duration corresponding to a target speech duration based on a mapping relationship between speech duration and effect display duration.
[0072] Among them, in order to control the lights to display light effects according to voice commands, a mapping relationship between voice duration and effect display duration is preset, so as to determine the target effect display duration corresponding to the target voice duration according to the mapping relationship.
[0073] Specifically, the mapping relationship between the speech duration and the effect display duration can be a proportional mapping relationship, for example, the duration ratio between the speech duration and the effect display duration is 1:1, 1:0.8, etc. The specific duration ratio is not limited here.
[0074] S207, controlling the target lights in the target light partition to display the light effects according to the target effect display duration.
[0075] After the target effect display duration is determined in step S206, the target lights in the target light partition are controlled to display the light effects according to the target effect display duration.
[0076] The lighting control method provided in this embodiment locates the target sound source position of the voice command, thereby controlling the target light in the target light partition corresponding to the target sound source position to display the lighting effect according to the target voice duration of the voice command, thereby linking the voice command with the lights inside the vehicle, realizing that the lights display the lighting effect according to the duration of the voice command, so that the user can determine whether the voice command is completely recognized through the lighting effect, and improve the effect richness of the vehicle lighting. The target sound source position that initiates the voice command is determined by the time delay between the microphone devices arranged in an array, so as to improve the accuracy of the positioning of the target sound source position. It is possible to pre-allocate different position areas in the vehicle interior space for each lighting partition, so as to screen out the target position area where the target sound source position is located from multiple position areas, and determine the lighting partition corresponding to the target position area as the target lighting partition. By determining the target effect display duration corresponding to the target voice duration, the target light is displayed according to the target effect display duration, and the lighting effect that changes with the duration of the voice command is realized, so that the user can determine whether the voice command is completely recognized through the lighting effect, and improve the effect richness of the vehicle lighting.
[0077] For further information, see Figure 5 , Figure 5 is a flowchart of a lighting control method provided by an embodiment of the present application. Figure 4 In the corresponding embodiment, a further description of the method for determining the target sound source position for initiating a voice command and a further description of controlling the light based on the target voice duration are provided. The specific process of the light control method may be as follows:
[0078] S301, in response to a voice command, obtain a first time delay between when the voice command reaches a first microphone device and when it reaches a second microphone device, a second time delay between when the voice command reaches the first microphone device and when it reaches a third microphone device, and obtain a target voice duration of the voice command.
[0079] Among them, the time delay between microphone devices can be obtained by respectively recording the receiving time of the first microphone device, the second microphone device and the third microphone device when receiving the voice command, and calculating the difference between the receiving time of the first microphone device and the second microphone device to obtain the first delay; and by calculating the difference between the receiving time of the first microphone device and the third microphone device, the second delay is obtained.
[0080] S302: Determine a first association relationship between a first receiving path of a first microphone device and a second receiving path of a second microphone device based on a first time delay and a preset propagation speed.
[0081] The preset propagation speed is the propagation speed of sound in the air, which is generally 340m / s.
[0082] Specifically, since the delay is caused by the different lengths of the receiving paths due to the different positions of different microphone devices, the relationship between the delay and the receiving path can be expressed as follows:
[0083]
[0084] Among them, τ xy is the time delay between microphone device x and microphone device y, c is the preset propagation speed, r x is the receiving path corresponding to the microphone device x, r y is the receiving path corresponding to microphone device y.
[0085] Specifically, based on the above formula, it can be known that the first association relationship between the first receiving path of the first microphone device and the second receiving path of the second microphone device is:
[0086] r2=r1+cτ 12 ;
[0087] Where r2 is the second receiving path of the second microphone device, r1 is the first receiving path of the first microphone device, τ 12 is the first delay.
[0088] S303: Determine, based on the second time delay and the preset propagation speed, a second association relationship between the first receiving path of the first microphone device and the third receiving path of the third microphone device.
[0089] Based on the relationship between the time delay and the receiving path, it can be known that the second correlation relationship between the first receiving path of the first microphone device and the third receiving path of the third microphone device is:
[0090] r3=r1+cτ 13 ;
[0091] Wherein, r3 is the third receiving path of the third microphone device, r1 is the first receiving path of the first microphone device, τ 13 is the second delay.
[0092] S304, calculating a first distance of the first receiving path, a second distance of the second receiving path, a third distance of the third receiving path, and an actual angle value according to the first association relationship, the second association relationship, the first mapping function, and the second mapping function.
[0093] Among them, Figure 6 As shown, Figure 6 It is a schematic diagram of a simulation scenario provided in an embodiment of the present application. Figure 6 For giving a simulated sound source position, a first mapping function between a first simulated receiving path r1 and a second simulated receiving path r2, and a second mapping function between the first simulated receiving path r1 and a third simulated receiving path r3 are determined by a simulated angle α formed between the first simulated receiving path and the arrangement direction of the microphone device and a setting distance d between adjacent microphones.
[0094] Specifically, Figure 6 As shown, the first mapping function is as follows:
[0095]
[0096] The second mapping function is as follows:
[0097]
[0098] Among them, by combining the first association relationship, the second association relationship, the first mapping function and the second mapping function, r1, r2, r3 and α in the formula can be calculated, that is, the first distance of the first receiving path, the second distance of the second receiving path, the third distance of the third receiving path and the actual angle value are obtained.
[0099] S305: Determine the target sound source position for initiating the voice command based on the first distance, the second distance, the third distance, and the actual angle value.
[0100] The method of determining the target sound source position of initiating the voice command based on the first distance, the second distance, the third distance and the actual angle value specifically includes the following steps:
[0101] S3501, determining a target direction whose angle value with respect to the arrangement direction of the microphone device is an actual angle value.
[0102] Wherein, the target direction is determined according to the actual angle value.
[0103] For example, if the actual angle value is 60°, the target direction is a direction whose angle value with respect to the arrangement direction of the microphone devices is 60°.
[0104] S3502: In a preset coordinate system, starting from the first microphone device, extend along a target direction to obtain a target ray.
[0105] The preset coordinate system is an internal coordinate system established by the vehicle, and is used to represent the coordinates of each position inside the vehicle. Starting from the first microphone device, the target ray is extended along the target direction to obtain the target ray.
[0106] S3503: Determine a position in the target ray that is a first distance away from the first microphone device, a second distance away from the second microphone device, and a third distance away from the third microphone device as a target sound source position for initiating the voice command.
[0107] The target sound source position is a position in the target ray, which is at a first distance from the first microphone device, at a second distance from the second microphone device, and at a third distance from the third microphone device.
[0108] For example, if the first distance is 5 cm, the second distance is 8 cm, and the third distance is 10 cm, the target sound source position is the coordinate position in the target ray at a distance of 5 cm from the first microphone device, 8 cm from the second microphone device, and 10 cm from the third microphone device.
[0109] S306, obtaining the location area corresponding to each light partition.
[0110] Among them, since the lighting zones are divided according to the seat arrangement of the interior space of the vehicle, one lighting zone corresponds to a position area of the interior space of the vehicle, thereby obtaining the position area corresponding to each lighting zone.
[0111] Specifically, the location area may be a coordinate set consisting of multiple coordinate positions.
[0112] S307: Filter out a target position area where the target sound source position is located from the multiple position areas.
[0113] After the target sound source position is determined in step S305 and the position area corresponding to each light partition is obtained in step S306, the target position area where the target sound source position is located is screened out from multiple position areas based on the position area where the target sound source position is located.
[0114] S308: Determine the light partition corresponding to the target position area as the target light partition.
[0115] Wherein, based on the mapping relationship between the light partitions and the position areas, the light partition corresponding to the target position area is determined as the target light partition.
[0116] S309: Determine a target effect display duration corresponding to a target speech duration based on a mapping relationship between speech duration and effect display duration.
[0117] Among them, in order to control the lights to display light effects according to voice commands, a mapping relationship between voice duration and effect display duration is preset, so as to determine the target effect display duration corresponding to the target voice duration according to the mapping relationship.
[0118] Specifically, the mapping relationship between the speech duration and the effect display duration can be a proportional mapping relationship, for example, the duration ratio between the speech duration and the effect display duration is 1:1, 1:0.8, etc. The specific duration ratio is not limited here.
[0119] S310, in response to the lighting effect adjustment instruction, determining the lighting brightness and the lighting effect mode after adjustment by the lighting effect adjustment instruction.
[0120] Among them, the embodiment of the present application also sets an adjustment function for the interior lighting, which can be integrated into the lighting effect adjustment application of the central control screen, so that the user can operate the lighting effect adjustment application of the central control screen through voice, touch, etc. to form a lighting effect adjustment instruction, and set the user's desired lighting brightness and lighting effect mode based on the lighting effect adjustment instruction.
[0121] S311, controlling the target lights in the target light partition to display the light effects according to the target effect display duration, light brightness and light effect mode.
[0122] Among them, after determining the light brightness and light effect mode expected by the user in step S310, the light effects are jointly controlled and displayed in combination with the target effect display duration.
[0123] For example, the lighting effect mode is "Colorful and Brilliant". In this mode, the lighting effect will switch between different colors, the lighting brightness is level 5, and the target effect display time is 8s. During the joint control display process, the target lights in the target lighting partition will be controlled to display the "Colorful and Brilliant" effect at level 5 for 8s.
[0124] Specifically, the lighting effect mode can be selected by the user through the vehicle's central control screen, or different lighting effect modes can be set in advance for different time periods to establish a correspondence between time periods and lighting effect modes. When the user uses the vehicle, the corresponding lighting effect mode can be determined based on the correspondence between time periods and lighting effect modes. This can achieve the effect of displaying different lighting effect modes in different time periods and enhance the richness of the lighting effects.
[0125] In addition, after the lighting effect mode is determined, the lighting effect mode can also adjust the light color under the same type of lighting effect mode according to different driving scenes. For example, the lighting effect mode is "Colorful and Gorgeous". In this mode, if the driving scene is an automatic driving scene, it means that the user is relatively tired at this time, then the light brightness is reduced, and the light brightness of the "Colorful and Gorgeous" lighting effect mode is a lower level 1 brightness; if the driving scene is a music playing scene, it means that the user is relatively passionate at this time, then the light brightness is increased, and the light brightness of the "Colorful and Gorgeous" lighting effect mode is a higher level 8 brightness, and so on.
[0126] Specifically, when the driving scene is a music playing scene, the music type can be analyzed to determine the type of music being played, so as to adjust the light brightness of the light effect mode according to the different music types. For example, when the music type being played is a soothing type, the light brightness of the light effect mode is a lower brightness level; when the music type being played is a fast-paced type, the light brightness of the light effect mode is a higher brightness level, and so on.
[0127] The lighting control method provided in this embodiment locates the target sound source position of the voice command, thereby controlling the target lights in the target light partition corresponding to the target sound source position to display the lighting effects according to the target voice duration of the voice command, thereby linking the voice command with the lights inside the vehicle, and realizing the lighting effects display according to the duration of the voice command, so that the user can determine whether the voice command is fully recognized through the lighting effects, and improve the effect richness of the vehicle lighting. The target sound source position that initiates the voice command can be determined by the time delay between the microphone devices arranged in an array, so as to improve the accuracy of the positioning of the target sound source position. The association relationship between each microphone device on the receiving path is determined based on the time delay between each microphone device and the preset propagation speed, and the first distance of the first receiving path, the second distance of the second receiving path, the third distance of the third receiving path and the actual angle value are calculated according to the mapping function between the preset simulated receiving paths, so as to determine the target sound source position that initiates the voice command according to the above-calculated parameters, so as to improve the accuracy of the positioning of the target sound source position. It is possible to determine the target ray from the first microphone device according to the actual angle value, so as to determine the position in the target ray whose distance from the first microphone device is the first distance, whose distance from the second microphone device is the second distance, and whose distance from the third microphone device is the third distance as the target sound source position for initiating the voice command, so as to improve the accuracy of the positioning of the target sound source position. It is possible to realize user-defined lighting effect mode and lighting brightness, so that in the subsequent display process, the lighting effect can be displayed according to the pre-selected lighting effect mode and lighting brightness, combined with the target effect display duration, so as to achieve the effect of improving the diversity of lighting effects.
[0128] based on Figure 1 The scene diagram shown below will be combined with Figure 7 , the lighting control device provided in the embodiment of the present application is introduced in detail. It should be noted that, Figure 7 The lighting control device is used to execute the present application Figure 2-Figure 6 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 2-Figure 6 The embodiment shown.
[0129] See also Figure 7 , Figure 7 5 is a schematic diagram of a light control device provided in an embodiment of the present application. The light control device 500 can be applied to a vehicle. The light control device 500 can include a determination unit 501, a screening unit 502 and a control unit 503, as follows:
[0130] The determining unit 501 is used to determine the target sound source position of the voice command in response to the voice command, and obtain the target voice duration of the voice command;
[0131] A screening unit 502, configured to screen a target light partition from a plurality of light partitions configured inside the vehicle according to the target sound source position;
[0132] The control unit 503 is used to control the target lights in the target light partition to display light effects based on the target speech duration.
[0133] In some embodiments, the vehicle is equipped with at least three microphone devices arranged in an array, and the determination unit 501 is specifically configured to:
[0134] Acquire a first time delay between when the voice command reaches the first microphone device and when it reaches the second microphone device, and a second time delay between when the voice command reaches the first microphone device and when it reaches the third microphone device;
[0135] Based on the first time delay and the second time delay, a target sound source position for initiating the voice command is determined.
[0136] In some embodiments, the determining unit 501 is specifically configured to:
[0137] Determine, based on the first time delay and a preset propagation speed, a first association relationship between a first receiving path of the first microphone device and a second receiving path of the second microphone device;
[0138] Determine, based on the second time delay and a preset propagation speed, a second association relationship between a first receiving path of the first microphone device and a third receiving path of the third microphone device;
[0139] Calculate, according to the first association relationship, the second association relationship, the first mapping function, and the second mapping function, a first distance of the first receiving path, a second distance of the second receiving path, a third distance of the third receiving path, and an actual angle value, wherein the actual angle value is an angle value formed between the first receiving path and an arrangement direction of the microphone device;
[0140] Determine a target sound source position for initiating the voice command based on the first distance, the second distance, the third distance, and the actual angle value;
[0141] The first mapping function is used to characterize the mapping function of the first analog receiving path and the second analog receiving path according to the simulation angle and the set distance, and the second mapping function is used to characterize the mapping function of the first analog receiving path and the third analog receiving path according to the simulation angle and the set distance. The simulation angle is the angle formed between the first analog receiving path and the arrangement direction of the microphone device, and the set distance is the distance between adjacent microphones. The first analog receiving path, the second analog receiving path and the third analog receiving path are respectively the receiving paths formed by the simulated sound source position and the first microphone device, the second microphone device and the third microphone device.
[0142] In some embodiments, the determining unit 501 is specifically configured to:
[0143] Determine a target direction whose angle value with respect to the arrangement direction of the microphone device is the actual angle value;
[0144] In a preset coordinate system, starting from the first microphone device, extending along the target direction to obtain a target ray;
[0145] The position in the target ray whose distance from the first microphone device is the first distance, whose distance from the second microphone device is the second distance, and whose distance from the third microphone device is the third distance is determined as the target sound source position for initiating the voice command.
[0146] In some embodiments, the screening unit 502 is specifically configured to:
[0147] Obtaining the location area corresponding to each of the light partitions;
[0148] Filtering out a target position area where the target sound source position is located from a plurality of position areas;
[0149] The light partition corresponding to the target position area is determined as the target light partition.
[0150] In some embodiments, the control unit 503 is specifically configured to:
[0151] Based on the mapping relationship between speech duration and effect display duration, determine the target effect display duration corresponding to the target speech duration;
[0152] The target lights in the target light partition are controlled to display the light effects according to the target effect display duration.
[0153] In some embodiments, the device is also used to:
[0154] In response to the light effect adjustment instruction, determining the light brightness and light effect mode after adjustment by the light effect adjustment instruction;
[0155] The control unit 503 is specifically configured to:
[0156] The target lights in the target light partition are controlled to display light effects according to the target effect display duration, the light brightness and the light effect mode.
[0157] The embodiment of the present application locates the target sound source position of the voice command, thereby controlling the target light in the target light partition corresponding to the target sound source position to display the light effect according to the target voice duration of the voice command, thereby linking the voice command with the lights inside the vehicle, and realizing the light effect display according to the duration of the voice command, so that the user can determine whether the voice command is fully recognized through the light effect, and improve the effect richness of the vehicle light. The target sound source position that initiates the voice command can be determined by the time delay between the microphone devices arranged in an array, so as to improve the accuracy of the target sound source position positioning. The association relationship between each microphone device on the receiving path is determined based on the time delay between each microphone device and the preset propagation speed, and the first distance of the first receiving path, the second distance of the second receiving path, the third distance of the third receiving path and the actual angle value are calculated according to the mapping function between the preset simulated receiving paths, so as to determine the target sound source position that initiates the voice command according to the above-calculated parameters, so as to improve the accuracy of the target sound source position positioning. The target ray from the first microphone device can be determined according to the actual angle value, so that the position with the first distance from the first microphone device, the second distance from the second microphone device, and the third distance from the third microphone device in the target ray is determined as the target sound source position for initiating the voice command, so as to improve the accuracy of the positioning of the target sound source position. The technical means of pre-allocating different position areas in the interior space of the vehicle for each light partition can be achieved to screen out the target position area where the target sound source position is located from multiple position areas, and determine the light partition corresponding to the target position area as the target light partition. The target effect display duration corresponding to the target voice duration can be determined so that the target light can be displayed according to the target effect display duration, and the light effect can be realized in which the light effect changes with the duration of the voice command, so that the user can determine whether the voice command is completely recognized through the light effect, and improve the effect richness of the vehicle light. The light effect mode and light brightness of the user-defined light effect can be realized, so that in the subsequent display process, the light effect can be displayed according to the pre-selected light effect mode and light brightness, combined with the target effect display duration, so as to achieve the effect of improving the diversity of the light effect.
[0158] See also Figure 8 , Figure 8600 is a schematic diagram of a vehicle structure provided by an embodiment of the present application. The vehicle 600 includes a processor 601 and a memory 602. The processor 601 is electrically connected to the memory 602.
[0159] The processor 601 is the control center of the vehicle 600 and may include one or more processing cores. The processor 601 uses various interfaces and lines to connect various parts of the entire vehicle 600, and executes various functions and processes data of the vehicle 600 by running or calling computer programs stored in the memory 602, and calling data stored in the memory 602, so as to control the vehicle 600 as a whole. Optionally, the processor 601 can be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 601 may integrate one or a combination of CPU, graphics processing unit (GPU), modem, etc. Among them, the CPU mainly processes the operating system, user pages, and applications; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 601, but may be implemented separately through a communication chip.
[0160] The memory 602 can be used to store software programs and modules, and the processor 601 executes various functional applications and data processing by running the computer programs and modules stored in the memory 602. The memory 602 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, a computer program required for at least one function, etc.; the data storage area can store data created according to the use of the vehicle 600, etc.
[0161] In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0162] In the embodiment of the present application, the processor 601 in the vehicle 600 loads instructions corresponding to the processes of one or more computer programs into the memory 602 according to the following steps, and the processor 601 runs the computer program stored in the memory 602 to implement various functions, as follows:
[0163] In response to a voice command, determining a target sound source position of the voice command, and obtaining a target voice duration of the voice command;
[0164] According to the target sound source position, selecting a target light partition from a plurality of light partitions configured inside the vehicle;
[0165] Based on the target speech duration, the target lights in the target light partition are controlled to display light effects.
[0166] Optionally, the vehicle is equipped with at least three microphone devices arranged in an array, and when the processor 601 determines the target sound source position of initiating the voice command in response to the voice command, it specifically executes:
[0167] Acquire a first time delay between when the voice command reaches the first microphone device and when it reaches the second microphone device, and a second time delay between when the voice command reaches the first microphone device and when it reaches the third microphone device;
[0168] Based on the first time delay and the second time delay, a target sound source position for initiating the voice command is determined.
[0169] Optionally, when the processor 601 determines the target sound source position of initiating the voice command based on the first time delay and the second time delay, the processor 601 specifically performs:
[0170] Determine, based on the first time delay and a preset propagation speed, a first association relationship between a first receiving path of the first microphone device and a second receiving path of the second microphone device;
[0171] Determine, based on the second time delay and a preset propagation speed, a second association relationship between a first receiving path of the first microphone device and a third receiving path of the third microphone device;
[0172] Calculate, according to the first association relationship, the second association relationship, the first mapping function, and the second mapping function, a first distance of the first receiving path, a second distance of the second receiving path, a third distance of the third receiving path, and an actual angle value, wherein the actual angle value is an angle value formed between the first receiving path and an arrangement direction of the microphone device;
[0173] Determine a target sound source position for initiating the voice command based on the first distance, the second distance, the third distance, and the actual angle value;
[0174] The first mapping function is used to characterize the mapping function of the first analog receiving path and the second analog receiving path according to the simulation angle and the set distance, and the second mapping function is used to characterize the mapping function of the first analog receiving path and the third analog receiving path according to the simulation angle and the set distance. The simulation angle is the angle formed between the first analog receiving path and the arrangement direction of the microphone device, and the set distance is the distance between adjacent microphones. The first analog receiving path, the second analog receiving path and the third analog receiving path are respectively the receiving paths formed by the simulated sound source position and the first microphone device, the second microphone device and the third microphone device.
[0175] Optionally, when the processor 601 determines the target sound source position of initiating the voice command based on the first distance, the second distance, the third distance, and the actual angle value, the processor 601 specifically performs:
[0176] Determine a target direction whose angle value with respect to the arrangement direction of the microphone device is the actual angle value;
[0177] In a preset coordinate system, starting from the first microphone device, extending along the target direction to obtain a target ray;
[0178] The position in the target ray whose distance from the first microphone device is the first distance, whose distance from the second microphone device is the second distance, and whose distance from the third microphone device is the third distance is determined as the target sound source position for initiating the voice command.
[0179] Optionally, when the processor 601 selects a target light partition from a plurality of light partitions configured inside the vehicle according to the target sound source position, the processor 601 specifically performs:
[0180] Obtaining the location area corresponding to each of the light partitions;
[0181] Filtering out a target position area where the target sound source position is located from a plurality of position areas;
[0182] The light partition corresponding to the target position area is determined as the target light partition.
[0183] Optionally, when the processor 601 controls the target light in the target light partition to display the light effect based on the target speech duration, the processor 601 specifically executes:
[0184] Based on the mapping relationship between speech duration and effect display duration, determine the target effect display duration corresponding to the target speech duration;
[0185] The target lights in the target light partition are controlled to display the light effects according to the target effect display duration.
[0186] Optionally, the processor 601 may further execute:
[0187] In response to the light effect adjustment instruction, determining the light brightness and light effect mode after adjustment by the light effect adjustment instruction;
[0188] When the processor 601 controls the target light in the target light partition to display the light effect according to the target effect display duration, the processor 601 specifically executes:
[0189] The target lights in the target light partition are controlled to display light effects according to the target effect display duration, the light brightness and the light effect mode.
[0190] The lighting control method provided in the embodiment of the present application determines the target sound source position that initiates the voice command in response to a voice command, and obtains the target voice duration of the voice command; based on the target sound source position, selects a target lighting partition from multiple lighting partitions configured inside the vehicle; based on the target voice duration, controls the target lights in the target lighting partition to display lighting effects. By locating the target sound source position of the voice command, the target lights in the target lighting partition corresponding to the target sound source position are controlled to display lighting effects according to the target voice duration of the voice command, thereby linking the voice command with the lights inside the vehicle, and realizing that the lights display lighting effects according to the duration of the voice command, so that the user can determine whether the voice command is fully recognized through the lighting effect, and improve the effect richness of the vehicle lights.
[0191] See also Fig. 9 , Fig. 9 6 is a schematic diagram of a structure of a vehicle provided in an embodiment of the present application. The vehicle 600 may include: a processor 601, a memory 602, a display screen 603, a camera component 604, an audio circuit 605, a sensor 606, and a power supply 607. The processor 601 is electrically connected to the display 603, the camera component 604, the audio circuit 605, the sensor 606, and the power supply 607, respectively.
[0192] The display screen 603 may be used to display information input by a user or information provided to a user and various graphical user interfaces of the vehicle, which may be composed of images, texts, icons, videos and any combination thereof.
[0193] The camera assembly 604 may include an image processing circuit, which may be implemented using hardware and / or software components and may include various processing units that define an image signal processing pipeline. The image processing circuit may include at least: multiple cameras, an image signal processor (ISP processor), a control logic, and an image memory, etc. Each camera may include at least one or more lenses and an image sensor. The image sensor may include a color filter array (such as a Bayer filter). The image sensor may obtain light intensity and wavelength information captured by each imaging pixel of the image sensor, and provide a set of raw image data that can be processed by an image signal processor.
[0194] The audio circuit 605 can be used to provide an audio interface between the user and the vehicle 600 through a speaker and a microphone. The audio circuit 605 includes a microphone. The microphone is electrically connected to the processor 601. The microphone is used to receive voice information input by the user.
[0195] The sensor 606 is used to collect information about the vehicle 600 itself, the user, or the external environment. For example, the sensor 606 may include one or more sensors such as a vibration sensor, a temperature sensor, a distance sensor, a magnetic field sensor, a light sensor, an acceleration sensor, a fingerprint sensor, a Hall sensor, a position sensor, a gyroscope, an inertial sensor, a posture sensor, a barometer, and a heart rate sensor.
[0196] The power supply 607 is used to supply power to various components of the vehicle 600. In some embodiments, the power supply 607 may be logically connected to the processor 601 through a power management system, so that the power management system can manage charging, discharging, power consumption, and other functions.
[0197] It should be understood that the device provided in the embodiment of the present application is used to execute the above-mentioned lighting control method, and thus can achieve the same effect as the above-mentioned implementation method.
[0198] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes, etc.
[0199] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0200] In addition, the device provided in the embodiment of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a lighting control method provided in the above embodiment.
[0201] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a lighting control method provided by the above-mentioned embodiment.
[0202] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a lighting control method provided by the above-mentioned embodiment.
[0203] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0204] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0205] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0206] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A lighting control method, characterized in that: Applied to a vehicle, the method comprises: In response to a voice command, determining a target sound source position of the voice command, and obtaining a target voice duration of the voice command; According to the target sound source position, selecting a target light partition from a plurality of light partitions configured inside the vehicle; Based on the target speech duration, the target lights in the target light partition are controlled to display light effects.
2. The method according to claim 1, characterized in that The vehicle is equipped with at least three microphone devices arranged in an array, and in response to a voice command, determining the target sound source position of initiating the voice command includes: Acquire a first time delay between when the voice command reaches the first microphone device and when it reaches the second microphone device, and a second time delay between when the voice command reaches the first microphone device and when it reaches the third microphone device; Based on the first time delay and the second time delay, a target sound source position for initiating the voice command is determined.
3. The method according to claim 2, characterized in that The determining, based on the first time delay and the second time delay, a target sound source position of initiating the voice command includes: Determine, based on the first time delay and a preset propagation speed, a first association relationship between a first receiving path of the first microphone device and a second receiving path of the second microphone device; Determine, based on the second time delay and a preset propagation speed, a second association relationship between a first receiving path of the first microphone device and a third receiving path of the third microphone device; Calculate, according to the first association relationship, the second association relationship, the first mapping function, and the second mapping function, a first distance of the first receiving path, a second distance of the second receiving path, a third distance of the third receiving path, and an actual angle value, wherein the actual angle value is an angle value formed between the first receiving path and an arrangement direction of the microphone device; Determine a target sound source position for initiating the voice command based on the first distance, the second distance, the third distance, and the actual angle value; The first mapping function is used to characterize the mapping function of the first analog receiving path and the second analog receiving path according to the simulation angle and the set distance, and the second mapping function is used to characterize the mapping function of the first analog receiving path and the third analog receiving path according to the simulation angle and the set distance. The simulation angle is the angle formed between the first analog receiving path and the arrangement direction of the microphone device, and the set distance is the distance between adjacent microphones. The first analog receiving path, the second analog receiving path and the third analog receiving path are respectively the receiving paths formed by the simulated sound source position and the first microphone device, the second microphone device and the third microphone device.
4. The method according to claim 3, characterized in that The determining, based on the first distance, the second distance, the third distance, and the actual angle value, a target sound source position for initiating the voice command includes: Determine a target direction whose angle value with respect to the arrangement direction of the microphone device is the actual angle value; In a preset coordinate system, starting from the first microphone device, extending along the target direction to obtain a target ray; The position in the target ray whose distance from the first microphone device is the first distance, whose distance from the second microphone device is the second distance, and whose distance from the third microphone device is the third distance is determined as the target sound source position for initiating the voice command.
5. The method according to any one of claims 1 to 4, characterized in that: The step of selecting a target light partition from a plurality of light partitions configured inside the vehicle according to the target sound source position includes: Obtaining the location area corresponding to each of the light partitions; Filtering out a target position area where the target sound source position is located from a plurality of position areas; The light partition corresponding to the target position area is determined as the target light partition.
6. The method according to any one of claims 1 to 4, characterized in that: The controlling the target lights in the target light partition to display the light effects based on the target speech duration includes: Based on the mapping relationship between speech duration and effect display duration, determine the target effect display duration corresponding to the target speech duration; The target lights in the target light partition are controlled to display the light effects according to the target effect display duration.
7. The method according to claim 6, characterized in that Before controlling the target lights in the target light partition to display the light effects according to the target effect display duration, the method further includes: In response to the light effect adjustment instruction, determining the light brightness and light effect mode after adjustment by the light effect adjustment instruction; The controlling the target light in the target light partition to display the light effect according to the target effect display duration includes: The target lights in the target light partition are controlled to display light effects according to the target effect display duration, the light brightness and the light effect mode.
8. A lighting control device, characterized in that: Applied to a vehicle, the device comprises: a determination unit, configured to determine, in response to a voice instruction, a target sound source position for initiating the voice instruction, and obtain a target voice duration of the voice instruction; A screening unit, configured to screen a target light partition from a plurality of light partitions configured inside the vehicle according to the target sound source position; A control unit is used to control the target lights in the target light partition to display light effects based on the target speech duration.
9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program code, and when the computer program code is executed, the method according to any one of claims 1 to 7 is implemented.
