Vehicle headrest sound control method and device, and computer readable storage medium

文档序号:59950 发布日期:2021-10-01 浏览:45次 中文

阅读说明:本技术 车载头枕音响控制方法及装置、计算机可读存储介质 (Vehicle headrest sound control method and device, and computer readable storage medium ) 是由 吴卿 于 2021-07-19 设计创作,主要内容包括:本申请实施例公开了一种车载头枕音响控制方法及装置、计算机可读存储介质,车载头枕音响设置在车辆的座椅头枕中并包括可伸缩移动的左扬声器和右扬声器,当接收到启用目标头枕音响的指令时,获取目标头枕音响对应用户的耳部位置;根据用户的耳部位置,控制目标头枕音响的扬声器移动以接触用户耳部;在扬声器接触用户耳部的过程中,监测扬声器对用户耳部产生的压力;根据压力控制扬声器移动以贴合用户耳部。本申请实施例的方案可以提高车辆载头枕音响的播放效果,提升用户播放内容的隐私性,并达到降低用户感知的车辆内外噪音的效果。(The embodiment of the application discloses a vehicle-mounted headrest sound control method and device and a computer-readable storage medium, wherein the vehicle-mounted headrest sound is arranged in a seat headrest of a vehicle and comprises a left loudspeaker and a right loudspeaker which can move in a telescopic mode, and when an instruction for starting the target headrest sound is received, the ear position of a user corresponding to the target headrest sound is obtained; controlling the speaker of the target headrest speaker to move to contact the user's ear according to the user's ear position; monitoring pressure generated by the speaker on the ear of the user during the process of contacting the speaker with the ear of the user; controlling the speaker to move to fit the user's ear according to the pressure. The scheme of this application embodiment can improve the broadcast effect that the vehicle carried the headrest stereo set, promotes the privacy nature of user broadcast content to reach the effect of the inside and outside noise of vehicle that reduces user's perception.)

1. A vehicle headrest sound control method characterized in that the vehicle headrest sound is provided in a seat headrest of a vehicle and includes a left speaker and a right speaker that are telescopically movable, the method comprising:

when an instruction of starting a target headrest sound is received, acquiring the ear position of a user corresponding to the target headrest sound;

controlling a speaker of the target headrest sound to move to contact the user's ear according to the user's ear position;

monitoring pressure generated by the speaker against the user's ear during contact of the speaker with the user's ear;

controlling the speaker to move to fit the user's ear according to the pressure.

2. The method of claim 1, wherein obtaining the ear position of the target headrest sound corresponding to the user comprises:

respectively acquiring the height of the user ear, the distance between the user ear and the left side and the right side of a seat headrest corresponding to the target headrest sound, and the distance between the user ear and the front side of the seat headrest;

and determining the three-dimensional coordinate position of the ear of the user relative to the seat headrest according to the height of the ear of the user and the distance.

3. The method of claim 1 or 2, wherein controlling movement of a speaker of the target headrest sound to contact the user's ear based on the user's ear position comprises:

controlling a left loudspeaker of the target headrest sound to move to the left ear position of the user in a stretching mode according to the ear position of the user;

and controlling a right loudspeaker of the target headrest sound to move to the right ear position of the user in a stretching mode.

4. The method of claim 1, wherein controlling the speaker to move to fit the user's ear in accordance with the pressure comprises:

detecting whether the pressure meets a set threshold value;

when the pressure is lower than the set threshold value, controlling the left loudspeaker and the right loudspeaker to correspondingly move towards the directions close to the left ear and the right ear of the user;

when the pressure is higher than the set threshold value, controlling the left loudspeaker and the right loudspeaker to correspondingly move in the direction away from the left ear and the right ear of the user;

and when the pressure is equal to the set threshold value, controlling the left loudspeaker and the right loudspeaker to stop moving.

5. The method of claim 4, prior to detecting whether the pressure meets a set threshold, further comprising:

acquiring at least one of the fitting degree and the noise reduction degree of the loudspeaker set by the user;

and determining the set threshold according to at least one of the fit degree and the noise reduction degree.

6. The method of claim 1, further comprising:

continuously monitoring the ear position of the user and the pressure generated by the loudspeaker on the ear of the user in the process of fitting the loudspeaker with the ear of the user;

the user's ear position with when pressure changes, according to user's current ear position and current pressure, control the speaker corresponds flexible removal in order to laminate the user ear.

7. The method of claim 1 or 2, wherein when the target headrest sound comprises a primary driving headrest sound of the vehicle, prior to obtaining the ear position of the target headrest sound corresponding to the user, further comprising:

judging whether the vehicle is in full automatic driving;

and under the condition that the vehicle is in full automatic driving, acquiring the left and right ear positions of the main driving headrest sound corresponding to the user.

8. The method of claim 7, further comprising:

judging whether the vehicle is in a running state or not under the condition that the vehicle is not driven completely automatically;

under the condition that the vehicle is in the driving state, the position of one-side ear of corresponding user is obtained according to the position of main driving seat to be used for controlling in the main driving headrest stereo set with the speaker that one-side ear position corresponds removes in order to laminate user's one-side ear.

9. An on-vehicle headrest audio control device characterized by comprising: a memory and a processor electrically connected to the memory, the memory storing a computer program executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.

Technical Field

The application relates to the technical field of vehicle-mounted sound, in particular to a vehicle-mounted headrest sound control method and device and a computer-readable storage medium.

Background

At present, vehicles of some vehicle types are equipped with vehicle headrest sound, and speakers of the vehicle headrest sound are arranged on the left and right sides of the headrest or in front of the headrest. However, the existing vehicle-mounted headrest sound equipment is fixed on the headrest, so that a distance exists between a loudspeaker of the sound equipment and the ear of a user corresponding to the headrest seat, the sound playing effect is poor, the sound playing privacy is low, and the sound equipment is easily influenced by other noise inside and outside the vehicle.

How to improve the playing effect and the privacy of the vehicle headrest sound is a technical problem to be solved at present.

Disclosure of Invention

The embodiment of the application aims to provide a vehicle-mounted headrest sound control method and device and a computer-readable storage medium, which are used for solving the problems of poor playing effect and low privacy of the conventional vehicle-mounted headrest sound.

In order to solve the above technical problem, the present specification is implemented as follows:

in a first aspect, there is provided a vehicle headrest sound control method, the vehicle headrest sound being provided in a seat headrest of a vehicle and including a left speaker and a right speaker that are telescopically movable, the method including: when an instruction for starting the target headrest sound is received, acquiring the ear position of a user corresponding to the target headrest sound; controlling the speaker of the target headrest speaker to move to contact the user's ear according to the user's ear position; monitoring pressure generated by the speaker on the ear of the user during the process of contacting the speaker with the ear of the user; controlling the speaker to move to fit the user's ear according to the pressure.

Optionally, obtain the ear position that target headrest stereo set corresponds the user, include:

respectively acquiring the height of the ear of a user, the distance between the ear of the user and the left side and the right side of a headrest of a seat corresponding to the target headrest sound, and the distance between the ear of the user and the front side of the headrest of the seat;

and determining the three-dimensional coordinate position of the ear of the user relative to the headrest of the seat according to the height and the distance of the ear of the user.

Optionally, controlling the speaker of the target headrest sound to move to contact the user's ear according to the user's ear position, including:

controlling a left loudspeaker of the target headrest sound to move to the left ear position of the user in a stretching mode according to the ear position of the user;

and controlling the right loudspeaker of the target headrest sound to move to the right ear position of the user in a stretching mode.

Optionally, controlling the speaker to move to fit the user's ear according to the pressure, comprises:

detecting whether the pressure meets a set threshold value;

when the pressure is lower than a set threshold value, controlling the left loudspeaker and the right loudspeaker to correspondingly move towards the directions close to the left ear and the right ear of the user;

when the pressure is higher than the set threshold value, controlling the left loudspeaker and the right loudspeaker to correspondingly move towards the directions far away from the left ear and the right ear of the user;

and when the pressure is equal to the set threshold value, controlling the left loudspeaker and the right loudspeaker to stop moving.

Optionally, before detecting whether the pressure meets the set threshold, the method further includes:

acquiring at least one of the fitting degree and the noise reduction degree of a loudspeaker set by a user;

and determining a set threshold according to at least one of the fitting degree and the noise reduction degree.

Optionally, the method further includes:

continuously monitoring the ear position of a user and the pressure of the speaker on the ear of the user in the process of fitting the speaker and the ear of the user;

when user's ear position and pressure change, according to user's current ear position and current pressure, control speaker corresponds flexible removal in order to laminate user's ear.

Optionally, when the target headrest sound includes the main driving headrest sound of the vehicle, before obtaining the ear position of the user corresponding to the target headrest sound, the method further includes:

judging whether the vehicle is in full automatic driving;

and when the vehicle is in full automatic driving, acquiring the left and right ear positions of the main driving headrest sound corresponding to the user.

Optionally, the method further includes:

judging whether the vehicle is in a running state or not under the condition that the vehicle is not driven completely automatically;

under the condition that the vehicle is in the driving state, the position of one-side ear corresponding to the user is obtained according to the position of the main driving seat, so that the loudspeaker corresponding to the position of the one-side ear in the main driving headrest sound box is controlled to move to fit the one-side ear of the user.

In a second aspect, there is provided an in-vehicle headrest sound control device comprising a memory and a processor electrically connected to the memory, the memory storing a computer program executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first aspect.

In a third aspect, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to the first aspect.

In the embodiment of the application, the vehicle-mounted headrest sound device is arranged in a seat headrest of a vehicle and comprises a left loudspeaker and a right loudspeaker which can move in a telescopic mode, and the ear position of a user corresponding to the target headrest sound device is obtained when an instruction for starting the target headrest sound device is received; controlling the speaker of the target headrest speaker to move to contact the user's ear according to the user's ear position; monitoring pressure generated by the speaker on the ear of the user during the process of contacting the speaker with the ear of the user; move with laminating user's ear according to pressure control speaker, from this through the speaker laminating user's ear with the seat headrest stereo set, can bring the broadcast effect of better on-vehicle headrest stereo set, reach the sound privacy that leaks of reducing the headrest speaker by a wide margin, promote the headrest speaker to reach the effect of making an uproar of falling voluntarily simultaneously, with the influence of noise inside and outside the reduction vehicle to the user.

Drawings

The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:

fig. 1 is a schematic structural view of a vehicle headrest audio robot according to an embodiment of the present application.

Fig. 2 is a flowchart illustrating a vehicle headrest sound control method according to an embodiment of the present application.

Fig. 3 is an exemplary flowchart of an in-vehicle headrest sound control method according to an embodiment of the present application.

Fig. 4 is a block diagram showing the configuration of a vehicle control device according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. The reference numbers in the present application are only used for distinguishing the steps in the scheme and are not used for limiting the execution sequence of the steps, and the specific execution sequence is described in the specification.

In order to solve the problems in the prior art, embodiments of the present application provide a vehicle headrest sound control method, where a vehicle headrest sound to which the method is applied is provided in a seat headrest of a vehicle, and includes a left speaker and a right speaker that are telescopically movable. That is, the vehicle headrest sound system according to the embodiment of the present application is a headrest sound system having a telescopic adjustment function.

Fig. 1 is a schematic view of a robot arm mechanism of a headrest sound system for vehicles according to an embodiment of the present invention, and as shown in fig. 1, the robot arm of the headrest sound system includes a headrest connection part 10 and a speaker connection part 20, which may be connected to each other by a spring connection part 30. The headrest connection member 10 is connected to a functional accessory of the vehicle headrest audio provided in the seat headrest, and the speaker connection member 20 is connected to a speaker of the vehicle headrest audio.

The spring connecting part 30 is a part having an elastic function, such as a spring, and can play a role of force buffering when the mechanical arm drives the speaker to move telescopically and adjust through the connecting function of the spring connecting part 30.

Left and right speakers of the in-vehicle headrest audio may be provided on left and right sides of the seat headrest or on the front side of the headrest, respectively, and each speaker is connected to the speaker connecting part 20 on the corresponding side. Fig. 1 shows only the arms of the headrest sound corresponding to one speaker, and the headrest sound may be configured with two arms. One speaker can be connected to the headrest sound by the mechanical arm corresponding to the headrest connection member 10, the speaker connection member 20, and the spring connection member 30.

The speaker and the arm of headrest stereo set can be at ordinary times the inside of inline seat headrest to accessible mechanical force control arm and the speaker that corresponds stretch out in going out the headrest, and flexible the removal realizes that height, the direction of speaker are adjusted. The user's that speaker and seat headrest correspond ear laminating, the speaker can be for example the form of ear muff, and the outside cladding of ear muff has soft material, can avoid the uncomfortable sense of causing of ear when metal speaker is direct and user's ear contact.

Next, a vehicle headrest sound control method according to an embodiment of the present application will be described with reference to fig. 2, and fig. 2 is a flowchart illustrating the vehicle headrest sound control method according to the embodiment of the present application.

As shown in fig. 2, the method comprises the following steps:

step 102, when an instruction for starting the target headrest sound is received, acquiring the ear position of a user corresponding to the target headrest sound;

104, controlling the loudspeaker of the target headrest sound to move to contact the ear of the user according to the ear position of the user;

step 106, monitoring the pressure generated by the loudspeaker on the ear of the user in the process of contacting the loudspeaker with the ear of the user;

and step 108, controlling the loudspeaker to move to fit the ear of the user according to the pressure.

In step 102, the instruction for enabling the target headrest audio may be an instruction for enabling the headrest audio function through in-vehicle voice, key press, gesture, and the like, and the triggering of the instruction may be automatically started by the vehicle control system in a specific scene, for example, when it is monitored that a driver is making a call, an in-vehicle driver and an in-vehicle passenger are on-line meeting through a car machine, or the in-vehicle driver and the in-vehicle passenger are in-vehicle games, karaoke, live broadcast, and the like, the vehicle control system actively prompts the user whether to start; or it may be actively turned on by the user.

The enabled target headrest sounds include selectable independently enabled position-designated headrest sounds, such as selectable enabling of a primary driver seat headrest sound, a co-driver seat headrest sound, a second row of left headrest sounds, a second row of right headrest sounds, a third row of headrest sounds, and the like, or selectable enabling of all seat headrest sounds in the vehicle.

Based on the solution provided by the foregoing embodiment, optionally, in step 102, acquiring the ear position of the user corresponding to the target headrest sound device includes: respectively acquiring the height of the ear of a user, the distance between the ear of the user and the left side and the right side of a headrest of a seat corresponding to the target headrest sound, and the distance between the ear of the user and the front side of the headrest of the seat; and determining the three-dimensional coordinate position of the ear of the user relative to the headrest of the seat according to the height and the distance of the ear of the user.

Specifically, the image of the head of the user and the image of the corresponding seat headrest together can be acquired through the in-vehicle camera, and the size of the seat headrest is used as a reference object, so that the size of the head of the user is determined. After the user's head size is determined, the height of the user's ear, as well as the distance between the user's left ear and the left side of the seat headrest and the distance between the user's right ear and the right side of the seat headrest, may then be determined, thereby determining the two-dimensional coordinate position of the user relative to the seat headrest. Further, the degree of distance of the user's ear from the headrest in the front-rear direction can be determined according to the distance between the user's ear and the front side of the headrest of the seat. Thus, the three-dimensional coordinate position of the ear of the user relative to the headrest of the seat can be determined in conclusion.

In the embodiment of the present application, optionally, after receiving the instruction to enable the target headrest sound system in step 102, it may also be detected whether the target user is present in the seat corresponding to the target headrest sound system through an in-vehicle camera or a seat pressure sensor of the vehicle. If the target user does not exist, the target headrest sound does not respond to the instruction; and if the target user exists, the target headrest sound receives the instruction and responds to the instruction so as to trigger the step 102 of acquiring the ear position of the user corresponding to the target headrest sound.

That is, after receiving the function of opening the headrest audio, the user can detect whether the seat position corresponding to the headrest is occupied or not through the image shot by the camera in the vehicle or the seat pressure detected by the pressure sensor. When no person is detected in the corresponding seat, the headrest sound does not respond to the instruction; when the corresponding seat is detected to be a person, the headrest stereo receives the instruction and responds.

Based on the solution provided by the foregoing embodiment, optionally, in step 104, controlling the speaker of the target headrest sound to move to contact with the ear of the user according to the ear position of the user, includes: controlling a left loudspeaker of the target headrest sound to move to the left ear position of the user in a stretching mode according to the ear position of the user; and controlling the right loudspeaker of the target headrest sound to move to the right ear position of the user in a stretching mode.

After the position of the ear of the user is determined, the loudspeaker of the corresponding seat headrest sound slowly extends out of the seat headrest according to the position of the ear of the user and moves to a position close to the ear of the user. The speakers of different sides move telescopically towards the user's ears of the corresponding sides to make precise contact with the corresponding user's ears.

In step 106, pressure detection may be performed on the contacted user's ear by a pressure sensor built into the speaker. When the speaker of the seat headrest audio does not contact the ear of the corresponding user, the pressure is 0. When the pressure is higher than 0 just after the ear of the corresponding user is contacted, the pressure sensor can be activated to work. Thus, as the speaker is brought closer to the user's ear, the corresponding pressure is greater, and conversely, smaller.

Based on the solution provided by the foregoing embodiment, optionally, in step 108, controlling the speaker to move to fit the ear of the user according to the pressure includes: detecting whether the pressure meets a set threshold value; when the pressure is lower than a set threshold value, controlling the left loudspeaker and the right loudspeaker to correspondingly move towards the directions close to the left ear and the right ear of the user; when the pressure is higher than the set threshold value, controlling the left loudspeaker and the right loudspeaker to correspondingly move towards the directions far away from the left ear and the right ear of the user; and when the pressure is equal to the set threshold value, controlling the left loudspeaker and the right loudspeaker to stop moving.

The set threshold value represents the degree of tightness of the corresponding loudspeaker and the ear of the user, and the larger the set threshold value is, the tighter the loudspeaker is correspondingly attached to the ear of the user, and the larger the pressure correspondingly generated is; the smaller the threshold value is set, the looser the loudspeaker is correspondingly attached to the ear of the user, and the smaller the pressure generated correspondingly.

Therefore, when the detected pressure is lower than the set threshold value, the corresponding loudspeaker is controlled to move forwards in a direction close to the ear of the corresponding user; when the detected pressure is higher than the set threshold value, controlling the corresponding loudspeaker to retract and move towards the direction far away from the ear of the corresponding user; and when the detected pressure is equal to the set threshold value, controlling the corresponding loudspeaker to stop moving towards the direction of the ear of the corresponding user and keeping the current position.

Optionally, before detecting whether the pressure meets the set threshold, the method may further include: acquiring at least one of the fitting degree and the noise reduction degree of a loudspeaker set by a user; and determining a set threshold according to at least one of the fitting degree and the noise reduction degree.

The fitting degree is related to the fitting tightness degree of the loudspeaker corresponding to the pressure, and the loudspeaker can be customized by a user and can also be selected by the user through factory setting of a plurality of threshold values. And selecting the corresponding fitting degree in advance according to the tightness preference of the user when wearing the loudspeaker earphone. The higher the fit, the tighter the speaker fits to the user's ear, and vice versa.

The noise reduction is realized by blocking external noise to enter after the loudspeaker is attached to the ear part. The fitting degree is also related to the fitting tightness degree of the loudspeaker corresponding to the pressure, and the fitting degree can be customized by a user or can be selected by the user through factory setting of a plurality of threshold values. The higher the noise reduction, the tighter the speaker fits to the user's ear, and vice versa.

For example, the noise reduction is achieved when the speaker just touches and covers the ear of the user, but the fitting degree does not reach the set value at the moment, and the speaker can be controlled to continue to be pressed towards the ear of the user.

Select the speaker laminating degree of headrest stereo set and fall the degree of making an uproar, through the laminating degree with fall the selection of the degree of making an uproar, decide the built-in pressure sensor's of headrest stereo set reference threshold value to the elasticity degree of deciding headrest stereo set speaker laminating user ear.

Through speaker laminating user ear, can reduce headrest stereo set speaker's hourglass sound by a wide margin, can promote headrest stereo set speaker's sound privacy, can promote by a wide margin and make a call, the use under the scene such as online meeting experiences on the car. Through speaker laminating user's ear, can reach the effect of making an uproar of falling voluntarily, reduce the inside and outside noise of vehicle. In addition, the loudspeaker is close to the ear, so that better music experience can be brought, and the use experience under the scenes of in-car games, in-car karaoke, in-car live broadcast, in-car games and the like can be greatly improved.

Therefore, the requirements of the user on comfort, noise reduction effect and privacy effect can be guaranteed.

Optionally, the vehicle headrest sound control method according to the embodiment of the present application further includes: continuously monitoring the ear position of a user and the pressure of the loudspeaker on the ear of the user in the process that the loudspeaker of the target headrest sound is attached to the ear of the user; when user's ear position and pressure change, according to user's current ear position and current pressure, control speaker corresponds flexible removal in order to laminate user's ear.

When a user wears the loudspeaker, if the user swings or turns the head, the pressure generated between the loudspeaker and the ear changes, and the corresponding loudspeaker can be adjusted in a telescopic mode according to the relative direction of the movement of the ear at the moment for keeping the wearing comfort of the user. Specifically, the ear position of the user and the corresponding generated pressure may be obtained according to the above steps 102 to 108, the speaker is controlled to move to the corresponding ear position to precisely fit the ear, and the position is maintained when the pressure reaches the set threshold.

The built-in pressure sensor that the accessible corresponds the speaker lasts monitoring pressure, ensures that the pressure that pressure sensor monitored keeps unanimous with the threshold value of setting for to this constantly carries out the flexible regulation of small-amplitude to the speaker of headrest stereo set, ensures that the speaker is in the state of laminating user's ear, and the monitoring and the intelligent flexible regulation through the built-in pressure sensor of speaker can let the user keep comfortable always.

This application embodiment finds user's ear position through fixing a position earlier, again according to the speaker contact that ear position control corresponds and laminating ear. In the fitting process, the position change of the ear of the user and the pressure generated by the ear are continuously monitored, and therefore the loudspeaker is controlled to adjust and move in real time to keep a state of being fitted with the ear.

When the user is detected to leave the seat, the extended headrest sound is automatically retracted into the headrest of the seat, and the headrest sound system is prevented from being damaged by other behaviors. Whether the user leaves after finishing using is intelligently monitored, the extended loudspeaker is timely withdrawn, and the loudspeaker can be protected from being damaged.

Under the incomplete automatic driving condition, whether the driving needs are the main driving needs or not is intelligently identified, if the driving needs are the main driving needs, only the single-side headrest loudspeaker responds to the function, and the driving safety is guaranteed.

As described above, the movement of the speaker can be performed by controlling the robot arm including the headrest coupling part 10, the speaker coupling part 20, and the spring coupling part 30 can play a role of force relief in adjusting the fitting of the speaker to the ear of the user, thereby preventing the head or face of the user from being injured by the hard object of the robot arm.

In one embodiment, when the target headrest sound comprises a primary driving headrest sound of the vehicle, before acquiring the ear position of the target headrest sound corresponding to the user, the method further comprises: judging whether the vehicle is in full automatic driving; and when the vehicle is in full automatic driving, acquiring the left and right ear positions of the main driving headrest sound corresponding to the user.

Judging whether the vehicle is in a running state or not under the condition that the vehicle is not driven completely automatically; under the condition that the vehicle is in the driving state, the position of one-side ear corresponding to the user is obtained according to the position of the main driving seat, so that the loudspeaker corresponding to the position of the one-side ear in the main driving headrest sound box is controlled to move to fit the one-side ear of the user.

For driving safety, a driver controls to wear only one-side speaker earphones or not to wear the earphones in order to prevent the condition that the driver cannot hear the outside during driving. Therefore, in response to the non-fully automatic driving, it is necessary to control the speaker of the headrest sound in the main driving seat position during the driving of the driver, for example, the main driving seat is located on the left side, and the speaker is worn on the right ear of the driver in response to the sound of the outside vehicle heard by the left ear. For full automatic driving, driving is independent of the driver, so that the positions of both ears of the user on the main driving seat can be acquired, thereby controlling the user on the main driving seat to wear the speakers of both ears simultaneously.

When the vehicle does not reach the full automatic driving level, whether the current vehicle is in the process of traveling is detected, when the vehicle is in the process of traveling, if the main driving seat is located on the left side, the headrest sound box only extends out of a loudspeaker on the right side of a driver, in order to prevent noise reduction and avoid tight fitting, the threshold value of a pressure sensor arranged in the loudspeaker on the right side can be set to be the lowest, the headrest loudspeaker is kept in light contact with the ear of the user, and therefore driving safety is guaranteed.

Referring now to fig. 3, fig. 3 is an exemplary flowchart of an in-vehicle headrest sound control method according to an embodiment of the present application. As shown in fig. 3, the method comprises the following steps:

step 202, starting a headrest sound function;

step 204, selecting the noise reduction degree of the headrest sound;

step 206, selecting the comfort level, namely the fitting degree, of the loudspeaker earphone;

step 208, judging whether the full automatic driving function is started, if so, entering step 212, otherwise, entering step 210;

step 210, judging whether the headrest sound of the main driving position is to be started, if so, entering step 236, and if not, entering step 212;

step 212, shooting images through a camera in the vehicle to detect the condition of corresponding seat personnel;

step 214, judging whether a person exists at the shooting position according to the shot image, if so, entering step 216, otherwise, returning to step 212;

step 216, detecting the ear position of the passenger through a camera;

step 218, the headrest speaker slowly extends out from the corresponding headrest side according to the height of the ear position of the person and the distance between the ear and the headrest;

220, detecting pressure through a pressure sensor arranged in the headrest loudspeaker;

step 222, comparing the magnitude relation between the detected pressure value and a preset threshold corresponding to the noise reduction degree and the fitting degree preset in the system by the user;

step 224, if the detected pressure value is greater than a preset threshold value, controlling the loudspeaker to retract;

step 226, if the detected pressure value is smaller than the preset threshold value, controlling the loudspeaker to extend forwards;

step 228, if the detected pressure value is equal to the preset threshold value, controlling the loudspeaker to keep the current position;

step 230, detecting whether the pressure value is changed through the pressure sensor, if so, entering step 232, and if not, returning to step 228;

step 232, judging whether the user leaves the seat through the camera, if so, entering step 234, and if not, returning to step 220;

step 234, retracting the headrest sound into the seat headrest;

step 236, judging whether the vehicle is in the process of traveling, if so, entering step 238, otherwise, entering step 216;

and 238, canceling the noise reduction function of the headrest speaker of the main driving seat, and controlling the response of only the speaker on the right side of the headrest corresponding to the main driving seat on the left side.

In the embodiment of the application, the vehicle-mounted headrest sound device is arranged in a seat headrest of a vehicle and comprises a left loudspeaker and a right loudspeaker which can move in a telescopic mode, and when an instruction for starting the target headrest sound device is received, the ear position of the target headrest sound device corresponding to a user is obtained; controlling the speaker of the target headrest speaker to move to contact the user's ear according to the user's ear position; monitoring pressure generated by the speaker on the ear of the user during the process of contacting the speaker with the ear of the user; move with laminating user's ear according to pressure control speaker, from this through the speaker laminating user's ear with the seat headrest stereo set, can bring the broadcast effect of better on-vehicle headrest stereo set, reach the sound privacy that leaks of reducing the headrest speaker by a wide margin, promote the headrest speaker to reach the effect of making an uproar of falling voluntarily simultaneously, with the influence of noise inside and outside the reduction vehicle to the user.

Optionally, an in-vehicle headrest audio control apparatus is further provided in an embodiment of the present application, and fig. 4 is a block diagram of a structure of the vehicle control apparatus in the embodiment of the present application.

As shown in fig. 4, the vehicle headrest sound control apparatus 2000 includes a memory 2200 and a processor 2400 electrically connected to the memory 2200, where the memory 2200 stores a computer program that can be executed by the processor 2400, and when the computer program is executed by the processor, the computer program implements each process of any one of the above embodiments of the vehicle headrest sound control method, and can achieve the same technical effect, and is not described herein again to avoid repetition.

The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of any one of the above embodiments of the method for controlling a sound device of a vehicle headrest, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.

While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:车门开启预警系统和方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!