Vehicle control method, apparatus, device, vehicle, and storage medium
By identifying the user's head position and adjusting the speaker parameters, the problem of audio focus shift when the car seat back is reclined has been solved, achieving audio focus in the car's sleep mode and improving the user's listening experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2026-04-07
AI Technical Summary
When the car seat back is reclined, the user's head is away from the headrest area, and the audio focus is still near the headrest, affecting the listening experience.
By identifying the user's head position, the speaker's audio parameters are adjusted to focus the audio on the vicinity of the head, including the querying and adjustment of speaker identification and target audio parameters.
It improves the listening experience for users in car sleep mode, ensuring that the sound is focused near the head, thus enhancing the user experience.
Smart Images

Figure CN116620189B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of vehicle intelligent control, and particularly relates to a vehicle control method and device, equipment, vehicle and storage medium. BACKGROUND
[0002] With the development of science and technology, the development of automobiles is becoming more and more intelligent, and people's demand for automobiles is also increasing, especially the requirement for the use comfort of automobiles is getting higher and higher. The main reason is that the automobile is the main tool for people to travel, and the time people spend on the car is also increasing. For example, people spend more time resting and taking a break in the car.
[0003] When the backrest of the car seat is in a normal upright state, in order to provide a more comfortable listening effect for the user, the audio focus of the audio played by the speaker inside the vehicle is near the seat headrest. However, in the scenario where the car works in sleep mode, the seat backrest needs to be reclined, and when the user is in a lying position, the user's head is far away from the position near the seat headrest, but the audio focus is still near the seat headrest, which affects the user's listening effect. SUMMARY
[0004] The present disclosure provides a vehicle control method, device, equipment, vehicle and storage medium, which takes the position of the user's head as the focus of the audio in sleep mode, so that the sound is focused near the user's head, improving the user's listening effect.
[0005] In a first aspect, the present disclosure provides a vehicle control method, comprising:
[0006] In response to receiving a mode switching instruction, controlling the vehicle to work in sleep mode;
[0007] When the vehicle works in sleep mode, obtaining a user's head position by identifying a collected image, wherein the collected image includes a user's head image;
[0008] Querying the user's head position in a position and playing parameter correspondence relationship to obtain a target playing parameter, wherein the target playing parameter includes a speaker identifier and a target audio parameter;
[0009] Controlling the speaker corresponding to the speaker identifier to adjust from a current audio parameter to a target audio parameter, so that the audio focus of the audio played by multiple speakers is within a preset range of the head position.
[0010] In one embodiment of the present disclosure, the response to the mode switching instruction includes:
[0011] Detecting whether the speaker at a set position inside the vehicle cabin is blocked;
[0012] In response to receiving a mode switching instruction when the loudspeaker is shielded.
[0013] In an embodiment of the present disclosure, the detection of whether the loudspeaker at the set position inside the vehicle cabin is shielded comprises:
[0014] In the process of playing audio by the loudspeaker, the audio played by the loudspeaker is collected by an audio collection device to obtain collected audio;
[0015] The collected audio is analyzed and processed to obtain collected audio parameters corresponding to the collected audio;
[0016] When the collected audio parameters meet the audio shielding condition, it is determined that the loudspeaker inside the vehicle cabin is shielded.
[0017] In an embodiment of the present disclosure, the control of the loudspeaker to identify the corresponding loudspeaker to be adjusted from the current audio parameter to the target audio parameter comprises:
[0018] For the shielded loudspeaker, the shielded loudspeaker is turned off;
[0019] For one or more unshielded loudspeakers, the current audio parameter of the unshielded loudspeaker is adjusted to the target audio parameter, so that the audio played by the unshielded loudspeaker is focused within the preset range of the head position.
[0020] In an embodiment of the present disclosure, the audio parameter comprises at least one or more of the following: reverberation parameter, delay parameter, loudness parameter; the control of the target loudspeaker to be adjusted from the current audio parameter to the target audio parameter comprises:
[0021] The target loudspeaker is controlled to be adjusted from the current reverberation parameter to the target reverberation parameter; and / or
[0022] The target loudspeaker is controlled to be adjusted from the current delay parameter to the target delay parameter; and / or
[0023] The target loudspeaker is controlled to be adjusted from the current loudness parameter to the target loudness parameter.
[0024] In an embodiment of the present disclosure, the response to receiving a mode switching instruction comprises:
[0025] Detect whether the vehicle seat in the vehicle cabin is in a first state, wherein the first state refers to the included angle between the seat back and the seat cushion being within a first angle range,
[0026] In response to receiving a mode switching instruction when the vehicle seat is in the first state.
[0027] In one embodiment of the present disclosure, the control of the vehicle working in the sleep mode comprises:
[0028] adjusting the light device in the vehicle to a preset brightness; and / or
[0029] adjusting the output temperature and air volume of the air conditioner in the vehicle; and / or
[0030] turning off the setting function of the seat in the vehicle.
[0031] In a second aspect, the embodiments of the present disclosure provide a vehicle control device, comprising:
[0032] a mode control module, configured to control the vehicle to work in the sleep mode in response to receiving a mode switching instruction;
[0033] a head position acquisition module, configured to obtain a user head position by identifying a collected image when the vehicle works in the sleep mode, wherein the collected image comprises a head image of the user;
[0034] a target playing parameter determination module, configured to query the user head position in a position and playing parameter correspondence relationship to obtain a target playing parameter, wherein the target playing parameter comprises a loudspeaker identifier and a target audio parameter;
[0035] a playing parameter adjustment module, configured to control the loudspeaker corresponding to the loudspeaker identifier to be adjusted from a current audio parameter to the target audio parameter, so that the audio focus of the multiple loudspeakers is within a preset range of the head position.
[0036] In one embodiment of the present disclosure, the mode control module comprises: a shielding detection unit, configured to detect whether the loudspeaker at a set position inside the vehicle cabin is shielded; and an instruction response unit, configured to respond to the mode switching instruction when the loudspeaker is shielded.
[0037] In one embodiment of the present disclosure, the shielding detection unit comprises: an audio acquisition subunit, configured to acquire the audio played by the loudspeaker through an audio acquisition device during the playing of the audio by the loudspeaker to obtain collected audio; an audio analysis subunit, configured to analyze and process the collected audio to obtain a collected audio parameter corresponding to the collected audio; and a shielding determination subunit, configured to determine that the loudspeaker inside the vehicle cabin is shielded when the collected audio parameter satisfies an audio shielding condition.
[0038] In one embodiment of the present disclosure, the playing parameter adjustment module comprises: a closing unit configured to close the obstructed speaker; and a parameter adjustment unit configured to adjust a current audio parameter of the unobstructed speaker to a target audio parameter, so that the audio played by the unobstructed speaker is focused on a preset range of the head position.
[0039] In one embodiment of the present disclosure, the audio parameter comprises at least one or more of a reverberation parameter, a delay parameter, and a loudness parameter; and the playing parameter adjustment module comprises: a reverberation parameter adjustment unit configured to control the target speaker to be adjusted from a current reverberation parameter to a target reverberation parameter; a delay parameter adjustment unit configured to control the target speaker to be adjusted from a current delay parameter to a target delay parameter; and a loudness parameter adjustment unit configured to control the target speaker to be adjusted from a current loudness parameter to a target loudness parameter.
[0040] In one embodiment of the present disclosure, the response to the received mode switching instruction comprises:
[0041] detecting whether a vehicle seat in a vehicle cabin is in a first state, wherein the first state refers to an included angle between a seat back and a seat cushion being within a first angle range,
[0042] when the vehicle seat is in the first state, in response to receiving a mode switching instruction.
[0043] In one embodiment of the present disclosure, the mode control module comprises: a light adjustment unit configured to adjust a vehicle interior light device to a preset brightness; an air conditioner adjustment unit configured to adjust an output temperature and an air volume of a vehicle-mounted air conditioner; and a function closing unit configured to close a setting function of the vehicle seat.
[0044] In a third aspect, an electronic device is provided, and the electronic device comprises:
[0045] one or more processors;
[0046] a storage device configured to store one or more programs;
[0047] When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of the first aspect.
[0048] In a fourth aspect, a computer-readable storage medium is provided, and the computer-readable storage medium stores a computer program, wherein the program is executed by a processor to implement the method according to any one of the first aspect.
[0049] In a fifth aspect, the embodiments of the present disclosure provide a vehicle, comprising the method according to any one of the first aspect.
[0050] The vehicle control method, device, equipment and storage medium provided by the embodiments of the present disclosure, the method comprises: in response to receiving a mode switching instruction, controlling the vehicle to work in a sleep mode; when the vehicle works in the sleep mode, obtaining a user head position by identifying a collected image, wherein the collected image includes a head image of the user; querying the user head position in a position and playing parameter correspondence relationship to obtain a target playing parameter, wherein the target playing parameter includes a loudspeaker identifier and a target audio parameter; controlling the loudspeaker corresponding to the loudspeaker identifier to adjust from a current audio parameter to a target audio parameter, so that the audio focus of the multiple loudspeakers is within a preset range of the head position. The embodiments of the present disclosure adjust the audio parameter of the loudspeaker by taking the position of the user's head as the audio focus in the sleep mode, so that the sound is focused near the user's head, and the listening effect of the user is improved. BRIEF DESCRIPTION OF DRAWINGS
[0051] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, further serve to explain the principles of the present disclosure.
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.
[0053] Figure 1 A flowchart of a vehicle control method in the embodiments of the present disclosure;
[0054] Figure 2a A structure diagram of a seat backrest upright state in the embodiments of the present disclosure;
[0055] Figure 2b A structure diagram of a seat backrest reclining state in the embodiments of the present disclosure;
[0056] Figure 3 A flowchart of a vehicle control method in the embodiments of the present disclosure;
[0057] Figure 4 A structure diagram of a vehicle control device in the embodiments of the present disclosure;
[0058] Figure 5 A structure diagram of an electronic device provided by the embodiments of the present disclosure. DETAILED DESCRIPTION
[0059] In order to more clearly understand the above-mentioned purposes, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0060] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms, and should not be interpreted as being limited to the embodiments set forth herein, but rather these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes, and are not intended to limit the scope of protection of the present disclosure.
[0061] It should be understood that each step described in the method embodiments of the present disclosure can be performed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0062] The term “comprising” and variations thereof as used herein are open-ended, that is, “including but not limited to”. The term “based on” is “based, at least in part, on”. The term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”. Related definitions for other terms will be given in the description below.
[0063] It should be noted that the concepts of “first”, “second”, etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units.
[0064] It should be noted that the modification of “one”, “multiple” mentioned in the present disclosure is illustrative rather than limiting, and those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as “one or more”.
[0065] The names of the messages or information exchanged between the plurality of devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0066] The vehicle control method provided in the embodiments of the present disclosure will be described in detail in the following embodiments in conjunction with the accompanying drawings.
[0067] Figure 1For a flowchart of a vehicle control method in an embodiment of the present disclosure, the embodiment can be applicable to adjusting the sound playing effect in the vehicle. The vehicle control method is executed by a vehicle control device. The vehicle control device can be implemented in software and / or hardware, and can be configured in an electronic device.
[0068] For example, the electronic device can be a mobile terminal, a stationary terminal, or a portable terminal, such as a mobile phone, a station, a unit, a device, a multimedia computer, a multimedia tablet, an Internet module, a communicator, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a game device, or any combination thereof, including accessories and peripherals of these devices or any combination thereof.
[0069] For another example, the electronic device can be a server, where the server can be an entity server or a cloud server. The server can be a single server or a server cluster.
[0070] Specifically, as shown in Figure 1 The vehicle control method provided by the embodiment of the present disclosure mainly includes steps S101-S103.
[0071] S101, in response to receiving a mode switching instruction, control the vehicle to work in a sleep mode.
[0072] In the embodiment of the present disclosure, the sleep mode can be understood as a mode in which the vehicle enters a leisure state after parking. The leisure state is mainly used to provide a user with a leisure, entertainment, sleep, or the like. In the sleep mode, the user can not only listen to music and watch videos, but also can place a mattress inside the vehicle cabin, and the user can rest or sleep on the mattress.
[0073] In one embodiment of the present disclosure, in response to receiving a vehicle mode switching instruction, the vehicle mode is switched from a non-sleep mode to a sleep mode, and the vehicle is controlled to work in the sleep mode. The non-sleep mode can be a normal use mode, a KTV mode, or the like.
[0074] In the embodiment of the present disclosure, after the vehicle is switched from a driving state to a parking state, it is detected whether a vehicle mode switching instruction input by a user is received. The vehicle mode switching instruction can be input by the user in a clicking manner, in a voice manner, or in a gesture manner. For example, the user inputs a voice "please switch the mode to the sleep mode", and at this time, the vehicle mode switching instruction is successfully input.
[0075] In one specific embodiment, the vehicle mode switching instruction can be an instruction input by a user through a central display screen of the vehicle. Specifically, the user can call up a mode switching interface through clicking, sliding or voice, and display the interface on the central display screen, and then input the mode switching instruction through the displayed interface. After the vehicle receives the mode switching instruction, it can perform a mode switching operation accordingly.
[0076] In one possible embodiment, the vehicle mode switching instruction can also be input by the user through a specified terminal connected to the vehicle. Specifically, the vehicle and the specified terminal can be connected through Bluetooth. When the terminal receives a program starting instruction input by the user, it starts the specified application program and displays the interface of the specified application program. The specified application program can be an application program specially used for managing the vehicle. After displaying the interface of the specified application program on the terminal, the terminal can receive a vehicle mode switching instruction input by the user through the interface of the application program. Finally, the terminal can send the received vehicle mode switching instruction to the vehicle and instruct the vehicle to perform a mode switching operation according to the mode switching instruction.
[0077] In one embodiment of the present disclosure, the response to receiving the mode switching instruction includes detecting whether a vehicle seat in the vehicle cabin is in a first state, wherein the first state refers to an included angle between the seat back and the seat cushion being within a first angle range. When the vehicle seat is in the first state, the response to receiving the mode switching instruction is performed.
[0078] In the embodiment of the present disclosure, the first state refers to a state in which the seat back is laid back. The first angle range can be set according to actual conditions, and preferably, the first angle range is 160-180 degrees. As shown in FIG. 1, when the included angle between the seat cushion and the seat back is 180 degrees, i.e., the seat cushion and the seat back are on the same horizontal plane, the loudspeaker at the back of the seat can be seen to be blocked, and at this time, the mode switching instruction is received. When the included angle between the seat cushion and the seat back is not within the first angle range, i.e., the seat in the vehicle cabin is not in the first state, no operation is performed. Figure 2b Figure 2a As shown in FIG. 2, when the included angle between the seat cushion and the seat back is 90 degrees, i.e., the seat cushion and the seat back are in a vertical state, the loudspeaker at the back of the seat can be seen to be not blocked, and at this time, no operation is performed.
[0079] It should be noted that in the embodiments of the present disclosure, the adjustment mode of the seat inside the vehicle can be that the user adjusts through a mechanical handle, or the seat is adjusted according to the seat adjustment instruction input by the user. In the embodiments of the present disclosure, the adjustment mode is not limited specifically.
[0080] Further, the detection mode of the angle between the seat back and the seat cushion can be detection according to an angle sensor. In the embodiments of the present disclosure, the detection mode is not limited specifically.
[0081] In an embodiment of the present disclosure, the control of the vehicle to work in the sleep mode includes: adjusting the light device inside the vehicle to a preset brightness; and / or adjusting the output temperature and air volume of the vehicle air conditioner; and / or closing the setting function of the vehicle seat.
[0082] In the embodiments of the present disclosure, when the vehicle enters the sleep mode, the user wants to take a rest, and at this time, it can be necessary to adjust the brightness of the vehicle light to a preset brightness, wherein the preset brightness can be set according to actual conditions. In the embodiments of the present disclosure, the preset brightness is not limited specifically. Preferably, the brightness of the light device inside the vehicle is adjusted to be low, or the light device inside the vehicle is turned off.
[0083] In the embodiments of the present disclosure, the step of automatically adjusting the output temperature and air volume of the vehicle air conditioner includes adjusting the output temperature and air volume of the vehicle air conditioner to a preset temperature value and a preset air volume, respectively; collecting the heart rate and body surface temperature of the user in real time; and adjusting the output temperature and air volume of the vehicle air conditioner in real time according to the heart rate and body surface temperature of the user.
[0084] In the embodiments of the present disclosure, in order to remind the driver when an emergency or danger is encountered, the vehicle seat can be provided with a vibration function. When the vehicle is in the sleep mode, the vehicle is in a stationary state, and the probability of encountering an emergency is very low, and the user can not want to be disturbed when sleeping, and therefore, the vibration function of the vehicle seat is turned off to bring a more comfortable sleeping experience to the user.
[0085] S102, when the vehicle works in the sleep mode, the position of the head of the user is obtained by recognizing the collected image, wherein the collected image includes the head image of the user.
[0086] In the embodiments of the present disclosure, the image is collected by the camera inside the vehicle cabin, and the position of the head of the user is obtained by recognizing the collected image.
[0087] In the embodiments of the present disclosure, the position of the head of the user can be recognized by a pre-trained human head recognition model.
[0088] S103, query the position and the playing parameter corresponding relationship based on the user head position, and obtain a target playing parameter, wherein the target playing parameter comprises a loudspeaker identifier and a target audio parameter.
[0089] The position and the playing parameter corresponding relationship comprises: position-loudspeaker identifier-audio parameter. The loudspeaker identifier is used to indicate the loudspeaker that needs to be adjusted. Further, the position-loudspeaker identifier-audio parameter can be understood as the loudspeaker identifier of the loudspeaker that needs to be adjusted and the playing parameter of the loudspeaker that needs to be adjusted when the user head is in the position. The above corresponding relationship can be obtained by the designer after multiple tests before the vehicle is shipped.
[0090] In the embodiment of the present disclosure, the loudspeaker identifier-audio parameter obtained by querying the position-loudspeaker identifier-audio parameter corresponding relationship based on the user head position is used as the target playing parameter, that is, the loudspeaker identifier that needs to be adjusted and the audio parameter that each loudspeaker needs to be adjusted to.
[0091] S104, control the loudspeaker corresponding to the loudspeaker identifier to be adjusted from the current audio parameter to the target audio parameter, so that the audio focus of the multiple loudspeakers is in the preset range of the head position.
[0092] In an embodiment of the present disclosure, the audio parameter comprises a reverberation parameter, a delay parameter and / or a loudness parameter of the loudspeaker. Further, the playing parameter of each loudspeaker in the vehicle cabin can be adjusted, or only the parameter of one or part of the loudspeakers can be adjusted. The above preset range can be set according to the actual situation, which will not be described in detail in the embodiment of the present disclosure.
[0093] Specifically, the current audio parameter can be understood as the playing parameter corresponding to the current playing mode of the loudspeaker. For example, the target audio parameter a corresponding to the loudspeaker identifier 1, and the current audio parameter b of the loudspeaker corresponding to the loudspeaker identifier 1, so as to control the audio parameter of the loudspeaker identifier 1 to be adjusted from the current audio parameter b to the target audio parameter a.
[0094] In an embodiment of the present disclosure, controlling the target loudspeaker to be adjusted from the current audio parameter to the target audio parameter comprises: controlling the target loudspeaker to be adjusted from the current reverberation parameter to the target reverberation parameter; and / or controlling the target loudspeaker to be adjusted from the current delay parameter to the target delay parameter; and / or controlling the target loudspeaker to be adjusted from the current loudness parameter to the target loudness parameter.
[0095] Specifically, if the target audio parameter includes a target reverberation parameter, the target reverberation parameter is adjusted, and if the target audio parameter does not include the target reverberation parameter, the reverberation parameter can not be adjusted. That is, which parameters are included in the target audio parameter, that is, the parameters corresponding to the loudspeaker can be adjusted.
[0096] The vehicle control method provided in the embodiments of the present disclosure includes: in response to receiving a mode switching instruction, controlling the vehicle to work in a sleep mode; when the vehicle works in the sleep mode, obtaining a user head position by identifying a collected image, wherein the collected image includes a head image of the user; querying the user head position in a position and playing parameter correspondence relationship to obtain a target playing parameter, wherein the target playing parameter includes a loudspeaker identifier and a target audio parameter; and controlling a loudspeaker corresponding to the loudspeaker identifier to be adjusted from a current audio parameter to the target audio parameter, so that audio focus points of multiple loudspeakers are within a preset range of the head position. The embodiments of the present disclosure take the position of the user's head as the audio focus point in the sleep mode, adjust the audio parameter of the loudspeaker, and focus the sound near the user's head, thereby improving the listening effect of the user.
[0097] On the basis of the above-mentioned embodiments, the vehicle control method is further optimized in the embodiments of the present disclosure, and the optimized vehicle control method mainly includes the following steps:
[0098] S201, detecting whether a loudspeaker at a set position in the vehicle cabin is blocked.
[0099] In the embodiments of the present disclosure, the loudspeaker at the set position refers to a loudspeaker installed at the rear side of the seat, i.e., below the seat backrest, as shown in Figure 2a In the above-mentioned embodiments, the position of the loudspeaker is installed below the seat backrest. Figure 2a As shown in the state of FIG. 6, the loudspeaker is not blocked,As shown in the state of FIG. 7, the loudspeaker is blocked. Figure 2b
[0100] In one embodiment of the present disclosure, whether the loudspeaker is blocked is determined according to the state of the seat. When the seat backrest and the seat cushion are in the first state, it is determined that the loudspeaker at the set position is blocked, and when the seat backrest and the seat cushion are not in the first state, it is determined that the loudspeaker at the set position is not blocked.
[0101] In one embodiment of the present disclosure, the detecting whether the speaker at the set position inside the vehicle cabin is blocked comprises: during the speaker playing audio, collecting the audio played by the speaker by an audio collection device to obtain collected audio; analyzing and processing the collected audio to obtain collected audio parameters corresponding to the collected audio; and determining that the speaker inside the vehicle cabin is blocked when the collected audio parameters satisfy an audio blocking condition.
[0102] The collected audio parameters can include any one or more of output impedance, audio harmonic frequency, output power, etc., and the audio blocking condition refers to a range of audio parameters collected when the speaker is blocked.
[0103] In the embodiment of the present disclosure, the collected audio is analyzed and processed to obtain audio parameters, and it is determined whether the audio parameters are within an audio parameter range. If the collected audio is within the audio parameter range, it is determined that the collected audio parameters satisfy the audio blocking condition. If the collected audio is not within the audio parameter range, it is determined that the collected audio parameters do not satisfy the audio blocking condition.
[0104] In one specific embodiment, if the audio parameter is audio impedance, when the collected audio impedance is greater than a preset audio impedance, it is determined that the speaker is blocked. When the collected audio impedance is less than the preset impedance, it is determined that the speaker is not blocked.
[0105] S202, when the speaker is blocked, in response to receiving a mode switching instruction, controlling the vehicle to work in a sleep mode.
[0106] S203, when the vehicle works in the sleep mode, obtaining a user head position by identifying a collected image, wherein the collected image includes a head image of the user.
[0107] In the embodiment of the present disclosure, steps S202-S203 are the same as the specific manners of steps S101-S102 in the above-described embodiments, and can be described in the above-described embodiments. The present embodiment will not be described again.
[0108] S204, querying the target playing parameters based on the user head position in a position and playing parameter correspondence relationship, wherein the target playing parameters include a speaker identifier and a target audio parameter.
[0109] In the embodiment of the present disclosure, steps S202-S204 are the same as the specific manners of steps S101-S103 in the above-described embodiments, and can be described in the above-described embodiments. The present embodiment will not be described again.
[0110] S205. For the blocked speaker, turn off the blocked speaker; for one or more unblocked speakers, adjust the current audio parameters of the unblocked speakers to the target audio parameters, so that the audio focus of the unblocked speakers is within a preset range of the head position.
[0111] In this embodiment of the disclosure, since the sound heard by the user may be distorted when the speaker is blocked, in order to avoid the user hearing distorted sound and affecting the user experience, the blocked speaker can be turned off and only the parameters of the unblocked speaker can be adjusted.
[0112] In this embodiment of the disclosure, the audio parameters of the unobstructed speaker are adjusted from the current audio parameters to the target audio parameters. For example, if the unobstructed speaker is speaker 1, and the target audio parameters for speaker 1 are the target reverberation parameter and the target delay parameter, then the speaker's reverberation parameter is adjusted from the current reverberation parameter to the target reverberation parameter, and the speaker's delay parameter is adjusted from the current delay parameter to the target delay parameter.
[0113] In this embodiment of the disclosure, the sleep mode is determined by whether the speaker at the set position is blocked. After entering the sleep mode, the target playback parameters are determined according to the user's head position and the preset correspondence. The audio parameters of the speaker are adjusted from the current audio parameters to the target audio parameters so that the speaker's focus can be focused near the user's head, thereby improving the user's listening experience.
[0114] Figure 4 This is a schematic diagram of a vehicle control device according to an embodiment of the present disclosure. This embodiment is applicable to situations where in-vehicle sound playback effects can be adjusted. The vehicle control device can be implemented using software and / or hardware, and can be configured within an electronic device.
[0115] Specifically, such as Figure 4 As shown, the vehicle control device 40 provided in this embodiment mainly includes a mode control module 41, a head position acquisition module 42, a target playback parameter determination module 43, and a playback parameter adjustment module 44.
[0116] The mode control module 41 is used to control the vehicle to work in sleep mode in response to receiving a mode switching command;
[0117] The head position acquisition module 42 is used to obtain the user's head position by recognizing the acquired image when the vehicle is working in sleep mode, wherein the acquired image includes the user's head image.
[0118] The target playback parameter determination module 43 is used to query the correspondence between position and playback parameters based on the user's head position to obtain the target playback parameters, wherein the target playback parameters include speaker identifier and target audio parameters;
[0119] The playback parameter adjustment module 44 is used to control the speaker corresponding to the speaker identifier to adjust from the current audio parameters to the target audio parameters, so that the audio focus of the multiple speakers is within a preset range of the head position.
[0120] In one embodiment of this disclosure, the mode control module includes: an obstruction detection unit for detecting whether a speaker at a set position inside the vehicle cabin is obstructed; and an instruction response unit for responding to receiving a mode switching instruction when the speaker is obstructed.
[0121] In one embodiment of this disclosure, the occlusion detection unit includes: an audio acquisition subunit, used to acquire audio played by the speaker through an audio acquisition device during the playback of audio by the speaker, and obtain acquired audio; an audio analysis subunit, used to analyze and process the acquired audio to obtain acquired audio parameters corresponding to the acquired audio; and an occlusion determination subunit, used to determine that the speaker inside the vehicle cabin is occluded when the acquired audio parameters meet the audio occlusion conditions.
[0122] In one embodiment of this disclosure, the playback parameter adjustment module includes: a shut-off unit for shutting off a blocked speaker; and a parameter adjustment unit for adjusting the current audio parameters of one or more unblocked speakers to target audio parameters, such that the audio focus played by the unblocked speakers is within a preset range of the head position.
[0123] In one embodiment of this disclosure, the audio parameters include at least one or more of the following: reverberation parameters, delay parameters, and loudness parameters; the playback parameter adjustment module includes: a reverberation parameter adjustment unit, used to control the target speaker to adjust from the current reverberation parameter to the target reverberation parameter; a delay parameter adjustment unit, used to control the target speaker to adjust from the current delay parameter to the target delay parameter; and a loudness parameter adjustment unit, used to control the target speaker to adjust from the current loudness parameter to the target loudness parameter.
[0124] In one embodiment of this disclosure, the response to receiving a mode switching command includes:
[0125] The system detects whether the vehicle seats inside the vehicle cabin are in a first state, where the first state refers to the angle between the seat back and the seat cushion being within a first angle range.
[0126] When the vehicle seat is in the first state, it responds to receiving a mode switching command.
[0127] In one embodiment of this disclosure, the mode control module includes: a lighting adjustment unit for adjusting the vehicle interior lighting device to a preset brightness; an air conditioning adjustment unit for adjusting the output temperature and airflow of the vehicle air conditioning; and a function shutdown unit for shutting down the setting functions of the vehicle seats.
[0128] Figure 4 The vehicle control device in the illustrated embodiment is used to execute the vehicle control method in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described again here.
[0129] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of this disclosure. See below for details. Figure 5 The diagram illustrates a structural schematic suitable for implementing the electronic device 500 in the embodiments of this disclosure. The electronic device 300 in the embodiments of this disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), wearable terminal devices, etc., as well as fixed terminals such as digital TVs, desktop computers, smart home devices, etc. Figure 5 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0130] like Figure 5 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503 to implement the vehicle control method as described in the embodiments of this disclosure. The RAM 503 also stores various programs and data required for the operation of the terminal device 500. The processing device 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0131] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows terminal device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 A terminal device 500 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0132] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts, thereby implementing the vehicle control method as described above. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, it performs the functions defined in the methods of embodiments of this disclosure.
[0133] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0134] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol, such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0135] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0136] The aforementioned computer-readable medium carries one or more programs, which, when executed by the terminal device, cause the terminal device to perform the method as described in any embodiment.
[0137] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0138] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0139] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.
[0140] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0141] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0142] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0143] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0144] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A vehicle control method, characterized in that, include: In response to receiving a mode switching command, the vehicle is controlled to operate in sleep mode; The user's head position is obtained when the vehicle is in sleep mode; Based on the user's head position, target playback parameters are obtained, wherein the target playback parameters include speaker identification and target audio parameters; Control the speaker corresponding to the speaker identifier to adjust its current audio parameters to the target audio parameters; The step of controlling the speaker corresponding to the speaker identifier to adjust from the current audio parameters to the target audio parameters includes: For any blocked speaker, turn off the blocked speaker; For one or more unobstructed speakers, adjust the current audio parameters of the unobstructed speakers to the target audio parameters.
2. The method according to claim 1, characterized in that, The response to receiving a mode switching instruction includes: Detect whether the speakers at a set location inside the vehicle's cabin are blocked; When the speaker is blocked, it responds to receiving a mode switching command.
3. The method according to claim 2, characterized in that, The detection of whether a speaker at a predetermined location inside the vehicle cabin is blocked includes: During the process of the speaker playing audio, the audio played by the speaker is acquired by an audio acquisition device to obtain the acquired audio. The acquired audio is analyzed and processed to obtain the acquired audio parameters corresponding to the acquired audio. When the collected audio parameters meet the audio occlusion condition, it is determined that the speakers inside the vehicle cabin are blocked.
4. The method according to claim 1, characterized in that, The audio parameters include at least one or more of the following: reverberation parameters, delay parameters, and loudness parameters; controlling the speaker corresponding to the speaker identifier to adjust from the current audio parameters to the target audio parameters includes: Control the speaker corresponding to the speaker identifier to adjust from the current reverberation parameter to the target reverberation parameter; and / or Control the speaker corresponding to the speaker identifier to adjust from the current delay parameter to the target delay parameter; and / or Control the loudspeaker corresponding to the loudspeaker identifier to adjust from the current loudspeaker parameter to the target loudspeaker parameter.
5. The method according to claim 1, characterized in that, The response to receiving a mode switching instruction includes: The system detects whether the vehicle seats inside the vehicle cabin are in a first state, where the first state refers to the angle between the seat back and the seat cushion being within a first angle range. When the vehicle seat is in the first state, it responds to receiving a mode switching command.
6. The method according to claim 1, characterized in that, Controlling the vehicle to operate in sleep mode includes: Adjust the vehicle's interior lighting to the preset brightness; and / or Adjust the output temperature and airflow of the vehicle's air conditioning; and / or Turn off the vehicle seat settings.
7. A vehicle control device, characterized in that, include: The mode control module is used to control the vehicle to work in sleep mode in response to receiving a mode switching command; A head position acquisition module is used to obtain the user's head position when the vehicle is in sleep mode; The target playback parameter determination module is used to obtain target playback parameters based on the user's head position, wherein the target playback parameters include a speaker identifier and target audio parameters; The playback parameter adjustment module is used to control the speaker corresponding to the speaker identifier to adjust from the current audio parameters to the target audio parameters; The playback parameter adjustment module includes: a shutdown unit for shutting down the blocked speaker; and a parameter adjustment unit for adjusting the current audio parameters of one or more unblocked speakers to a target audio parameter.
8. An electronic device, characterized in that, The electronic device includes: One or more processors; Storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-6.
10. A vehicle, characterized in that, The vehicle includes the electronic equipment as described in claim 8.
Citation Information
Patent Citations
Control method of intelligent headrest, storage medium and electronic equipment
CN114162014A
Audio processing method and system of seat headrest audio system
CN114567839A
audio device
DE102015208283A1