Whistling control method and device, electronic equipment and vehicle

By splitting the acousto-optical synchronization control signal in the vehicle and achieving synchronization and compensation horn in the horn controller, the problem of high coupling between horn control and light control is solved, improving user experience and security.

CN119078653APending Publication Date: 2024-12-06GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411200672.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The high coupling between vehicle whistle control and light control causes whistle control and light control to influence each other, bringing a bad user experience to the user, especially when the whistle control with higher priority, the whistle is interrupted. , resulting in the abortion of sound and light synchronization control, which may cause security risks.

Method used

By splitting the acousto-optical synchronization control signal into the light control signal and the whistle control signal in the light controller, and synchronous whistle and compensation whistle are realized in the whistle controller to ensure the integrity of the whistle control while reducing the whistle sound and The degree of coupling between flute control and lighting control.

Benefits of technology

The separate control of whistle control and light control is realized, which reduces the coupling between whistle control and light control, improves the user experience, ensures the integrity and safety of whistle control, and avoids interruption of whistle security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119078653A_ABST
    Figure CN119078653A_ABST
Patent Text Reader

Abstract

According to the whistling control method, the whistling control device, the electronic equipment and the vehicle, the whistling control signal for controlling whistling of the horn is forwarded through the light controller during acousto-optic synchronous control, the coupling degree between whistling control and light control is reduced, and the difficulty of independent light control or whistling control is reduced. And when the light controller forwards the advanced whistling control signal with the higher priority, whistling and timing are interrupted, advanced whistling control with the higher priority is performed preferentially, and when the advanced whistling control is finished, the loudspeaker is controlled to perform compensation whistling according to the expected whistling duration and the real-time whistling duration, and the interrupted whistling control is continued. And the interrupted whistling control is independently compensated by reducing the coupling degree of the whistling control and the light control, so that the whistling control completeness is ensured, meanwhile, the corresponding light control is not influenced, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and more particularly to a horn control method, an electronic device and a vehicle. Background Art

[0002] The vehicle's horn and turn signal functions are highly linked, and the two control processes are highly coupled. The lights flash while the horn is honking. When one of the controls is forced to be interrupted, the horn control and the light control will affect each other due to the high degree of coupling in the control process, giving users a bad experience. Summary of the invention

[0003] In view of this, the purpose of the present application is to provide a horn control method, an electronic device and a vehicle.

[0004] Based on the above purpose, the first aspect of the present application provides a whistle control method, comprising:

[0005] In response to receiving a whistle control signal sent by the lighting controller, the horn is controlled to synchronously blow the whistle according to the whistle control signal, and timing is started to obtain a real-time whistle duration;

[0006] In response to receiving a higher priority advanced whistle control signal, interrupting the timing and controlling the horn to sound the whistle synchronously according to the advanced whistle control signal;

[0007] An expected honking duration is determined based on historical honking data, and the horn is controlled to perform compensatory honking based on the expected honking duration and the real-time honking duration.

[0008] A second aspect of the present application provides a whistle control device, comprising:

[0009] The whistle control module is configured to: in response to receiving a whistle control signal sent by the light controller, control the horn to synchronously blow the whistle according to the whistle control signal, and start timing to obtain a real-time whistle duration;

[0010] A whistle interruption control module is configured to: in response to receiving a higher priority advanced whistle control signal, interrupt the timing and control the horn to synchronously sound the whistle according to the advanced whistle control signal;

[0011] The compensatory whistle control module is configured to determine an expected whistle duration based on historical whistle data, and control the horn to perform compensatory whistle according to the expected whistle duration and the real-time whistle duration.

[0012] The third aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method provided in the first aspect of the present application is implemented.

[0013] The fourth aspect of the present application provides a vehicle, comprising the horn control device provided in the second aspect of the present application or the electronic device provided in the third aspect of the present application.

[0014] From the above, it can be seen that the horn control method, device, electronic device and vehicle provided by the present application, in response to receiving the horn control signal sent by the light controller, control the horn to honk synchronously according to the horn control signal, and start timing to obtain the real-time horn duration; in response to receiving a higher-priority advanced horn control signal, interrupt the timing and control the horn to honk synchronously according to the advanced horn control signal; determine the expected horn duration according to the historical horn data, and control the horn to honk compensatorily according to the expected horn duration and the real-time horn duration. When performing sound and light synchronous control, the horn control signal that controls the horn to honk is forwarded via the light controller, and the highly coupled horn control and light control are stage controlled. The horn control signal forwarded by the light controller can realize the separate control of horn control and light control, reduce the coupling between horn control and light control, and reduce the difficulty of performing light control or horn control separately. When the lighting controller forwards a higher priority advanced whistle control signal, the whistle and timing are interrupted, and the higher priority advanced whistle control is given priority. When the advanced whistle control ends, the horn is controlled to compensate for the whistle according to the expected whistle duration and the real-time whistle duration, and the interrupted whistle control is continued to ensure the integrity of the whistle control. The interrupted whistle control is compensated separately by reducing the coupling degree of the whistle control and the lighting control to ensure the integrity of the whistle control without affecting the corresponding lighting control, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0016] Figure 1 This is a flow chart of the whistle control method according to an embodiment of the present application;

[0017] Figure 2 This is a flow chart of controlling the horn to sound synchronously according to the horn control signal according to an embodiment of the present application;

[0018] Figure 3 This is a flow chart of controlling the horn to perform compensatory honking according to the expected honking duration and the real-time honking duration in an embodiment of the present application;

[0019] Figure 4 This is a flow chart of controlling the horn to perform compensatory honking according to the remaining honking time in an embodiment of the present application;

[0020] Figure 5 This is a flow chart for determining whether to perform compensatory whistle blowing in an embodiment of the present application;

[0021] Figure 6 A flowchart for updating the expected whistle duration for an embodiment of the present application;

[0022] Figure 7 This is a schematic diagram of the structure of the whistle control device according to an embodiment of the present application;

[0023] Figure 8 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0025] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0026] It should be understood herein that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction rather than having any limiting meaning.

[0027] Based on the description of the above background technology, the related technology also has the following situations:

[0028] The turn signal should be turned on when the vehicle is turning, changing lanes or making a U-turn. When approaching a sharp bend or driving on a bend that affects safe sight distance, in addition to slowing down, the horn should also be honked to signal. The simultaneous use of the horn and turn signal provides sufficient safety reminders and protection in turning driving scenarios.

[0029] For the anti-theft alarm prompt scenario, when the anti-theft alarm is on, the horn is sounded and the lights of the vehicle need to flash for a certain period. Sounding the horn can greatly increase the warning distance of the anti-theft alarm, so as to warn the owner of the car far away that the car is at risk of being stolen. Flashing alarm can more clearly warn the owner of the car or other pedestrians nearby that there is an abnormality in the vehicle, which is used to intimidate the thief so as to stop the theft. That is, simultaneous sound and light alarm has a better warning effect.

[0030] It can be seen that in most scenarios, the light prompt and the horn prompt are performed simultaneously, that is, the sound and light synchronization control signal is sent to the light controller and the horn controller at the same time. When the light controller receives the sound and light synchronization control signal, it controls the car lights to light up according to the sound and light synchronization control signal to achieve the light prompt. When the horn controller receives the sound and light synchronization control signal, it controls the horn to honk according to the sound and light synchronization control signal to achieve the sound prompt. Among them, since the light controller and the horn controller receive the same control signal, after the signal is interpreted, the start time, execution cycle, execution cycle and execution times of the corresponding control action in the signal are consistent, so it is possible to achieve synchronized horn control and light control, and then achieve synchronized sound and light prompts.

[0031] However, when performing synchronous sound and light control, there is a high correlation between the horn control and the light control, that is, there is a high coupling between the horn control and the light control, which will cause mutual influence between the horn control and the light control. If other working conditions trigger a separate horn control with a higher priority, a corresponding horn control signal will be sent to the horn controller, which will interrupt the control of the horn by the sound and light synchronous control signal. The horn will interrupt the horn corresponding to the sound and light synchronous control signal, and then execute the horn with a higher priority. Since there is a high correlation between the horn control and the light control, when the horn is interrupted, the lights will be turned off synchronously, causing the ongoing sound and light prompt to be completely terminated, which is easy to cause safety risks, so it needs to be reduced.

[0032] When the high-priority horn control ends, the interrupted horn control corresponding to the sound and light synchronization control signal will be canceled by default, and the corresponding horn warning will not continue, resulting in no warning information being sent out when the vehicle needs to be warned, which may easily cause a collision with other vehicles or pedestrians, and easily create safety risks. Therefore, it is necessary to continue and compensate for the interrupted warning according to the actual situation. However, the relevant technology does not compensate for the interrupted horn warning, which brings a bad experience to users.

[0033] The horn control method, device, electronic device and vehicle provided in the embodiment of the present application, in response to receiving a horn control signal sent by a light controller, controls the horn to honk synchronously according to the horn control signal, and starts timing to obtain the real-time horn duration; in response to receiving a higher-level horn control signal with a higher priority, interrupts timing and controls the horn to honk synchronously according to the higher-level horn control signal; determines the expected horn duration according to historical horn data, and controls the horn to honk compensatorily according to the expected horn duration and the real-time horn duration. When performing sound and light synchronous control, the horn control signal that controls the horn to honk is forwarded via the light controller, and the highly coupled horn control and light control are stage-controlled. The horn control signal forwarded by the light controller can realize the separate control of horn control and light control, reduce the coupling between horn control and light control, and reduce the difficulty of performing light control or horn control separately. When the lighting controller forwards a higher priority advanced whistle control signal, the whistle and timing are interrupted, and the higher priority advanced whistle control is given priority. When the advanced whistle control ends, the horn is controlled to compensate for the whistle according to the expected whistle duration and the real-time whistle duration, and the interrupted whistle control is continued to ensure the integrity of the whistle control. The interrupted whistle control is compensated separately by reducing the coupling degree of the whistle control and the lighting control to ensure the integrity of the whistle control without affecting the corresponding lighting control, thereby improving the user experience.

[0034] The following describes a whistle control method according to an exemplary embodiment of the present application in conjunction with the accompanying drawings.

[0035] In some embodiments, Figure 1 As shown, a whistle control method includes:

[0036] Step 101: In response to receiving a whistle control signal sent by a lighting controller, the horn is controlled to synchronously blow the whistle according to the whistle control signal, and timing is started to obtain a real-time whistle duration.

[0037] In specific implementation, the whistle control and light control are decoupled from the signal transmission process. The whistle controller no longer directly receives the sound and light synchronization control signal initiated by the controller. Instead, the light controller receives the sound and light synchronization control signal, and then the light controller disassembles the sound and light synchronization control signal into a light control signal and a whistle control signal. The light control signal for light control includes the light start time, light flashing cycle, total number of light flashes and single light duration. The whistle control signal for whistle control includes the whistle start time, whistle cycle, total number of whistles and single whistle duration. Among them, only the signal for simultaneous whistle control and light control needs to be forwarded by the light controller, and the signal for only whistle control can be sent directly to the whistle controller.

[0038] If the original sound and light synchronization control signal before the split requires the car lights and horn to give a warning in complete synchronization, the start time of the horn and the start time of the light are usually the same time, the flashing cycle of the light and the horn cycle are the same cycle; the total number of flashing lights and the total number of horn honking are the same value; the single light duration and the single horn duration are also the same duration.

[0039] If the original sound and light synchronization control signal before disassembly requires that the vehicle lights and horns are not completely synchronized for warning prompts, the lighting parameters in the light control signal after disassembly and the horn parameters in the horn control signal may be different.

[0040] Therefore, after the lighting controller receives the sound and light synchronization control signal, it decomposes the sound and light synchronization signal into a lighting control signal and a whistle control signal. Then, the lighting controller will respond to the lighting control signal to perform lighting control, and at the same time send the whistle control signal to the whistle controller, thereby reducing the correlation between lighting control and whistle control, and reducing the degree of coupling between lighting control and whistle control. After the lighting controller sends the whistle control signal to the whistle controller, there will be no factors of mutual influence between lighting control and whistle control, and they will not influence each other due to excessive coupling, thereby improving the user experience.

[0041] After receiving the horn control signal sent by the light controller, the horn controller controls the horn to honk synchronously according to the horn control signal. At this time, the headlights and horns send out warning prompts synchronously. At this time, since the horn control and the light control are controlled separately, it is necessary to start timing at the beginning of the horn control to obtain the real-time horn duration. The real-time horn duration obtained by timing is the actual duration of the sound warning prompt information sent by the horn control, which is used to determine whether the horn control process is completely executed. If the horn process is completed, no additional control is required; if the horn control process is interrupted, the horn is compensated according to the actual situation to ensure the integrity of the alarm prompt and improve the safety of vehicle use.

[0042] Step 102: In response to receiving a higher priority advanced horn control signal, interrupt the timing and control the horn to perform synchronous horn sounding according to the advanced horn control signal.

[0043] In specific implementation, when a higher-priority advanced whistle control signal is received, it indicates that there is a higher-priority sound prompt, and it is necessary to interrupt the currently executed whistle control, and then execute the whistle control corresponding to the advanced whistle control signal, so that the horn plays the audio corresponding to the advanced whistle control signal. Among them, the priorities of different whistle control signals are determined in advance, and the corresponding priority data are stored in the memory. After receiving the whistle control signal, the priority of the corresponding whistle control signal is determined by calling the priority data in the memory. When the whistle control is interrupted, the timing is interrupted at the same time. The real-time whistle duration when the timing is interrupted is the actual execution duration of the whistle control signal. The unfinished whistle control still needs to be performed based on the real-time whistle duration, so as to facilitate the subsequent compensation of the whistle control. Among them, the advanced whistle control signal can be sent by the light controller, or it can be sent by other controllers other than the light controller, such as the vehicle controller.

[0044] If the advanced whistle control signal is forwarded by the lighting controller, it means that there is an advanced sound and light synchronization control signal with a higher priority. The lighting controller will differentiate the advanced sound and light synchronization control signal to obtain an advanced whistle control signal and an advanced lighting control signal. If the original lighting control signal has not been executed, the corresponding lighting control will also be interrupted, and then the control process corresponding to the advanced lighting control signal will be executed. Then the lighting controller can automatically perform the interrupted lighting control, because the original sound and light synchronization control signal is stored in the lighting controller, and the original lighting prompt control can be continued. However, at this time, it may not trigger the whistle control signal to be resent to the whistle controller for whistle compensation, so the whistle controller needs to compensate for the whistle control by itself (if the whistle control signal can be triggered to be resent to the whistle controller, whistle compensation can also be performed according to the new whistle control signal).

[0045] If the advanced whistle control signal is not sent by the lighting controller, after the whistle control corresponding to the advanced whistle control signal ends, the lighting controller will not send the whistle control signal to the whistle controller again, so the whistle controller needs to compensate for the whistle control by itself. It can be seen that the whistle controller's self-compensation whistle can be applied to different usage scenarios, with better compensation effect, and can further reduce the correlation between lighting control and whistle control, further reduce the coupling degree between lighting control and whistle control, reduce the mutual influence between lighting control and whistle control, and improve the user experience.

[0046] Step 103: Determine an expected honking duration based on historical honking data, and control the horn to perform compensatory honking based on the expected honking duration and the real-time honking duration.

[0047] In specific implementation, when performing compensation whistle, it is first necessary to determine the total duration of the whistle that needs to be blew. The total duration needs to be determined based on the historical whistle data in the whistle controller. The expected whistle duration can be directly determined by the total duration of the historical whistle when the same whistle control signal was fully executed last time. The average of the total duration of the historical whistle when multiple same whistle control signals were fully executed can also be used as the expected whistle duration. Among them, when multiple historical total whistle durations are selected, they are selected in increasing order of the interval duration from the current moment, that is, the historical total whistle duration that is closer to the current control time is preferentially selected.

[0048] After the expected honking duration is determined, the total duration of the honking control and the real-time honking duration that has been executed are known. Then, the total duration of the honking control and the honking duration of the executed process need to be subtracted to determine the honking control duration that needs to be compensated, that is, the expected honking duration - the real-time honking duration = the remaining honking duration. The remaining honking duration is the honking duration that needs to be compensated. The honking controller controls the horn to compensate for the honking according to the remaining honking duration to ensure the integrity of the honking reminder. Since the honking compensation process is executed by the honking controller itself, it will not affect the lighting control, improve the safety of the warning prompt, and improve the user's experience of using the vehicle.

[0049] In summary, the whistle control method provided by the embodiment of the present application forwards the whistle control signal that controls the horn to blow the whistle through the light controller when performing sound and light synchronous control, and performs stage control on the highly coupled whistle control and light control. The whistle control signal forwarded by the light controller can realize the separate control of the whistle control and the light control, reduce the coupling degree between the whistle control and the light control, and reduce the difficulty of performing light control or whistle control separately. When the light controller forwards a higher priority advanced whistle control signal, the whistle and timing are interrupted, and the higher priority advanced whistle control is performed first. At the end of the advanced whistle control, the horn is controlled to compensate for the whistle according to the expected whistle duration and the real-time whistle duration, and the interrupted whistle control is continued to ensure the integrity of the whistle control. The interrupted whistle control is compensated separately by reducing the coupling degree of the whistle control and the light control to ensure the integrity of the whistle control, while not affecting the corresponding light control, thereby improving the user experience.

[0050] In some embodiments, the horn control signal is obtained by splitting the sound-light synchronization control signal after the light controller receives the sound-light synchronization control signal, wherein the sound-light synchronization control signal is split into a light control signal and a horn control signal, and the light control signal is used to control the vehicle lights.

[0051] In specific implementation, when it is necessary to perform lighting control and whistle control simultaneously, in order to reduce the correlation between lighting control and whistle control, the whistle control and lighting control are decoupled from the signal transmission process. The whistle controller no longer directly receives the sound and light synchronization control signal initiated by the controller, but the lighting controller receives the sound and light synchronization control signal, and then the lighting controller disassembles the sound and light synchronization control signal and splits the sound and light synchronization control signal into a lighting control signal and a whistle control signal. Among them, only the signal for simultaneous whistle control and lighting control needs to be forwarded by the lighting controller, and the signal for only whistle control can be directly sent to the whistle controller.

[0052] After the lighting controller decomposes the sound and light synchronization signal into the lighting control signal and the whistle control signal, the lighting controller will respond to the lighting control signal to perform lighting control, and at the same time send the whistle control signal to the whistle controller. After receiving the whistle control signal sent by the lighting controller, the whistle controller controls the horn to perform synchronous whistle according to the whistle control signal, thereby reducing the correlation between lighting control and whistle control, and reducing the degree of coupling between lighting control and whistle control. After the lighting controller sends the whistle control signal to the whistle controller, there will be no factors that affect each other between the lighting control and the whistle control, and they will not affect each other due to excessive coupling, thereby improving the user experience.

[0053] In some embodiments, Figure 2 As shown, controlling the horn to synchronously honk according to the horn control signal includes:

[0054] Step 201: Determine the honking cycle, total number of honking times and single honking duration corresponding to the honking control signal.

[0055] In specific implementation, the whistle control signal includes the whistle start time, whistle cycle, total whistle times and single whistle duration. Among them, the whistle cycle, total whistle times and single whistle duration are necessary parameters, while the whistle start time is an optional parameter. Because the signal transmission time is very short, directly performing the whistle control after receiving the whistle control signal can also achieve simultaneous warning of whistle and light.

[0056] Among them, the whistle start time is the time point when the whistle control signal starts to be executed. For example, if the current time is 10:34:05 and the whistle start time is 10:34:07, the whistle control signal will start to be executed after 2 seconds.

[0057] The honking cycle indicates the cycle of controlling the horn to play a sound. For example, the honking cycle is 3 seconds, which means that the horn is honked once every 3 seconds to control the horn to play a corresponding sound, that is, the interval between two adjacent honking start time points is 3 seconds.

[0058] The total number of honking times indicates the number of times the horn needs to be honked. For example, if the total number of honking times is 5, it means that the horn needs to be honked 5 times in a honking cycle.

[0059] The duration of a single whistle refers to the duration of each whistle. For example, if the duration of a single whistle is 2 seconds, the horn is controlled not to play any sound for 1 second after 2 seconds of whistle, and then the horn is controlled to whistle again for two seconds, and then, it is silent for 1 second, that is, the horn is honked in a cycle of 3 seconds, and the total resonance whistle is 5 times.

[0060] Among them, when the whistle is honked continuously, the value of the whistle cycle is equal to the value of the single whistle duration.

[0061] Step 202: When performing lighting control, the horn is synchronously controlled to continuously honk according to the honking cycle and the duration of a single honking, and the honking is stopped when the number of honking times is equal to the total number of honking times.

[0062] In specific implementation, the lighting controller starts to respond to the lighting control signal after sending the whistle control signal. Since the whistle control signal takes a very short time to transmit, when the whistle control signal is received, the whistle controller directly responds to the whistle control signal to achieve synchronization of whistle control and lighting control. The same start time can also be inserted into the two models obtained by the two splits, and the control is performed synchronously after the start time is reached, so as to achieve synchronous whistle control when performing lighting control, and realize sound and light synchronous warning prompts.

[0063] In some embodiments, Figure 3 As shown, the horn is controlled to perform compensatory honking according to the expected honking duration and the real-time honking duration, including:

[0064] Step 301: Determine the difference between the expected whistle-blowing duration and the real-time whistle-blowing duration as the remaining whistle-blowing duration.

[0065] In specific implementation, when performing compensation whistle, it is first necessary to determine the total duration of the whistle that needs to be blew. The total duration needs to be determined based on the historical whistle data in the whistle controller. The expected whistle duration can be directly determined by the total duration of the historical whistle when the same whistle control signal was fully executed last time. The average of the total duration of the historical whistle when multiple same whistle control signals were fully executed can also be used as the expected whistle duration. Among them, when multiple historical total whistle durations are selected, they are selected in increasing order of the interval duration from the current moment, that is, the historical total whistle duration that is closer to the current control time is preferentially selected.

[0066] After the expected honking duration is determined, the total duration of the honking control and the real-time honking duration that has been executed are known. Then, the total duration of the honking control and the honking duration of the executed process need to be subtracted to determine the honking control duration that needs to be compensated, that is, the difference between the expected honking duration and the real-time honking duration is determined as the remaining honking duration, and the remaining honking duration = expected honking duration - real-time honking duration. The remaining honking duration is the honking duration that needs to be compensated. The honking controller controls the horn to compensate for the honking according to the remaining honking duration to ensure the integrity of the honking reminder. Since the honking compensation process is executed by the honking controller itself, it will not affect the lighting control, improve the safety of the warning prompt, and improve the user's experience of using the vehicle.

[0067] For example, if the expected whistle duration is 14 (3+3+3+3+2=14, where the 1 second of silence after the last whistle does not need to be calculated) seconds, the remaining whistle duration = 14-6=8 seconds, and the real-time whistle duration is 6 seconds, it means that you honked twice with a 3-second whistle cycle, and you need to honk three more times in the remaining 8 seconds (3+3+2=8, where the 1 second of silence after the last whistle does not need to be calculated).

[0068] Step 302: When the advanced horn control signal ends, the horn is controlled to perform compensatory horn honking according to the remaining horn honking time.

[0069] During specific implementation, since the advanced horn control signal has a higher priority, the advanced horn control signal is responded to first for horn control. During the execution of the advanced horn control signal, if there is no new light control signal, the light control remains unchanged, so that two warning prompts are carried out simultaneously. By reducing the degree of coupling between light control and horn control, it can be ensured that light control and horn control do not affect each other, so that two warning prompts can be carried out simultaneously.

[0070] After the advanced horn control signal is executed, the horn can be controlled to perform compensatory horn honking according to the remaining horn honking duration. When performing compensatory horn honking, the horn cycle, total horn honking times and single horn honking duration will not be changed. The horn can be directly honked for the remaining horn honking duration according to the horn cycle, total horn honking times and single horn honking duration. By reducing the degree of coupling between horn control and light control, the horn control can be performed separately, without honking, thus ensuring the integrity of the horn warning prompt.

[0071] In some embodiments, Figure 4 As shown, the horn is controlled to perform compensation honking according to the remaining honking time, including:

[0072] Step 401: Determine a whistle cycle and a single whistle duration corresponding to a whistle control signal.

[0073] In specific implementation, when compensatory whistle is performed, the object of compensation is the whistle control signal interrupted by the advanced whistle control signal. Therefore, when compensatory whistle is performed, the parameters of the whistle control should be consistent with the whistle control signal. Therefore, when compensatory whistle is performed, it is first necessary to determine the whistle cycle and single whistle duration corresponding to the whistle control signal to determine the specific control parameters when performing compensatory whistle.

[0074] Step 402: Control the horn to continuously honk according to the honking cycle and the single honking duration, and determine the compensation honking duration.

[0075] In specific implementation, if the honking cycle is 3 seconds and the single honking duration is 2 seconds, the process of controlling the horn to honk continuously according to the honking cycle and the single honking duration is honking for 2 seconds and being silent for 1 second. If the honking cycle is 3 seconds and the single honking duration is 3 seconds, the process of controlling the horn to honk continuously according to the honking cycle and the single honking duration is continuous honking.

[0076] During the process of compensatory whistle blasting, the compensatory whistle blasting time is timed in real time to obtain the compensatory whistle blasting duration, which indicates the length of time the compensatory whistle blasting has been executed and is used to determine whether the compensatory whistle blasting control process is completed.

[0077] Step 403: In response to the compensated whistle duration being greater than or equal to the remaining whistle duration, stop whistle honking.

[0078] In specific implementation, if the compensation whistle duration is 6 seconds and the remaining whistle duration is 8 seconds, the compensation whistle duration is less than the remaining whistle duration, which means that the compensation whistle process has not yet ended, and it is necessary to continue to sound the whistle, continue to time, and update the compensation whistle duration in real time.

[0079] For example, the whistle cycle is 3 seconds, the duration of a single whistle is 2 seconds, and the total number of whistles is 5 times. The expected whistle duration is 14 seconds, and it is interrupted after the second whistle is completed. The remaining whistle duration is 8 seconds. It can be seen that it is interrupted after the second whistle is completed. Therefore, when compensating the whistle, a complete 3 compensatory whistle can be performed based on the whistle cycle and the duration of a single whistle. At this time, the compensatory whistle duration is 8 seconds, and the compensatory whistle duration is equal to the remaining whistle duration. The compensatory whistle is completed and the whistle stops.

[0080] The whistle cycle is 3 seconds, the duration of a single whistle is 2 seconds, and the total number of whistles is 5 times, so the expected whistle duration is 14 seconds. If it is interrupted at 5.9 seconds, the remaining whistle duration is 8.1 seconds. If you simply continue to whistle to compensate, after the compensation whistle starts, first blow for 0.1 seconds, and then keep silent for 1 second, the first whistle time will be decisive and unable to serve as a warning. And the silence for 1 second will mislead the user that the compensation whistle is not triggered. Therefore, you can reduce the first whistle to perform a complete whistle, that is, blow the whistle with a single whistle duration of 2 seconds, and then blow the whistle according to the whistle cycle. At this time, the duration of the last whistle will be too short, making it difficult to achieve a warning effect.

[0081] At this time, you can make time compensation based on the remaining whistle sounding time:

[0082] In response to the whistle control type being non-continuous whistle, determining the real-time remaining sounding time according to the remaining whistle time, the single whistle time and the whistle cycle;

[0083] In response to the remaining sounding duration being less than or equal to a preset compensation limit duration, a compensatory whistle is sounded according to the compensation limit duration, a single whistle duration, or a preset effective warning duration.

[0084] Among them, the above-mentioned time compensation only applies to non-continuous whistle blowing. If the whistle is blown continuously without interruption, the whistle can be blown continuously according to the remaining whistle trial production.

[0085] When the whistle control type is non-continuous whistle, it is necessary to determine the real-time remaining sounding time required for the last whistle, for example, 0.1 seconds. If the compensation limit time is 0.5 seconds, the remaining sounding time is less than the preset compensation limit time, and time compensation is required. If the real-time remaining sounding time is 0.6 seconds, the remaining sounding time is greater than the preset compensation limit time, and time compensation is not required. Among them, the compensation limit time is the minimum sounding time that can effectively provide a warning prompt.

[0086] In order to ensure that the whistle sounding process after time compensation can produce an effective warning prompt, it is necessary to determine the new sounding time. The remaining sounding time can be directly supplemented to a single occurrence time. The compensation process is simple and the prompt effect is good. The remaining sounding time can also be supplemented to the compensation limit time. Under the premise of ensuring effective warning prompts, the compensation time can be minimized as much as possible to reduce the difference with the original whistle control and ensure the accuracy of the compensated whistle. You can also set an effective warning time separately (effective warning time ≥ compensation limit time), taking into account the advantages of effective prompts and small differences.

[0087] In some embodiments, Figure 5As shown, before determining the expected honking duration based on historical honking data, the following steps are also included:

[0088] Step 501: Determine the signal type of the whistle control signal.

[0089] In specific implementation, not all types of whistle control signals require compensatory whistling, so before compensatory whistle is performed, the signal type of the whistle control signal is first determined.

[0090] Step 502: In response to the signal type being a safety warning signal, determine whether the warning condition corresponding to the whistle control signal has ended; if the warning condition has not ended, obtain historical whistle data; if the warning condition has ended, interrupt the control process of compensating the whistle.

[0091] In specific implementation, if the signal type is a safety warning signal, it means that compensatory honking can effectively improve the safety of vehicle driving, and compensatory honking is required. At this time, it is necessary to determine whether the warning condition corresponding to the honking control signal has ended. If the corresponding warning condition has ended, there is no need to perform compensatory honking, because the danger has been eliminated and there is no need to continue the warning prompt. If the warning condition has not ended, compensatory honking is required, and historical honking data is obtained to determine the corresponding expected honking duration.

[0092] For example, if the turning horn prompt is interrupted by the advanced horn control signal corresponding to the collision in the turning warning condition, if the vehicle has passed the curve after the collision horn prompt ends, indicating that the warning condition has ended, there is no need to continue the supplementary horn, and the control process of the compensatory horn can be interrupted in advance. If the vehicle has not passed the curve, it means that the warning condition has not ended, and it is necessary to obtain historical horn data to determine the corresponding expected horn duration. Among them, when performing horn compensation control, the compensatory horn can also be interrupted in advance when the warning condition ends.

[0093] Step 503: In response to the signal type being an audio-visual entertainment signal, interrupt the control process of the compensatory whistle.

[0094] In specific implementation, if the signal type is an audio-visual entertainment signal, the interruption of the horn will not affect the safety of the vehicle. The control process of the compensatory horn can be directly interrupted without the need for compensatory horn.

[0095] In some embodiments, Figure 6 As shown, after starting the timing, it also includes:

[0096] Step 601: In response to not receiving the advanced whistle control signal sent by the lighting controller, determine the real-time timing duration when the whistle control signal ends as the actual whistle duration.

[0097] During specific implementation, if the high-level whistle control signal sent by the lighting controller is not received and the control is not interrupted, it is necessary to update the value of the expected whistle duration. At this time, it is necessary to determine the duration of the entire whistle duration and determine the duration of the entire whistle process as the actual whistle duration. That is, the real-time timing duration when the whistle control signal ends is determined as the actual whistle duration.

[0098] Step 602: Replace the value of the expected whistle duration with the value of the actual whistle duration.

[0099] In specific implementation, in preparation for the next compensatory whistle, the value of the expected whistle duration is replaced by the value of the actual whistle duration. Because the newer the data, the more accurate it is, replacing the value of the expected whistle duration with the value of the actual whistle duration can improve the accuracy of the compensatory whistle.

[0100] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0101] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0102] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a whistle control device.

[0103] refer to Figure 7 , the whistle control device comprises:

[0104] The whistle control module 10 is configured to: in response to receiving a whistle control signal sent by the light controller, control the horn to synchronously blow the whistle according to the whistle control signal, and start timing to obtain a real-time whistle duration;

[0105] The horn interruption control module 20 is configured to: in response to receiving a higher priority advanced horn control signal, interrupt the timing and control the horn to perform synchronous horn honking according to the advanced horn control signal;

[0106] The compensatory honking control module 30 is configured to determine an expected honking duration based on historical honking data, and control the horn to perform compensatory honking based on the expected honking duration and the real-time honking duration.

[0107] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0108] The device of the above embodiment is used to implement the corresponding whistle control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0109] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the whistle control method described in any of the above embodiments is implemented.

[0110] Figure 8 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0111] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0112] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0113] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0114] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0115] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0116] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0117] The electronic device of the above embodiment is used to implement the corresponding whistle control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0118] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the whistle control method described in any of the above embodiments.

[0119] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0120] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the whistle control method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0121] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides a vehicle, including the electronic device or horn control device of the above-mentioned embodiments, and the horn control method described in any of the above embodiments is executed through the electronic device of the above-mentioned embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0122] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0123] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0124] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0125] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A whistle control method, characterized in that: include: In response to receiving a whistle control signal sent by the lighting controller, the horn is controlled to synchronously blow the whistle according to the whistle control signal, and timing is started to obtain a real-time whistle duration; In response to receiving a higher priority advanced whistle control signal, interrupting the timing and controlling the horn to sound the whistle synchronously according to the advanced whistle control signal; An expected honking duration is determined based on historical honking data, and the horn is controlled to perform compensatory honking based on the expected honking duration and the real-time honking duration.

2. The whistle control method according to claim 1, characterized in that: The horn control signal is obtained after the light controller receives the sound-light synchronization control signal and splits the sound-light synchronization control signal, wherein the sound-light synchronization control signal is split into a light control signal and the horn control signal, and the light control signal is used to control the vehicle lights.

3. The whistle control method according to claim 1, characterized in that: The step of controlling the horn to synchronously honk according to the honking control signal comprises: Determine a whistle cycle, a total number of whistles, and a single whistle duration corresponding to the whistle control signal; When performing lighting control, the horn is synchronously controlled to continuously honk according to the honking cycle and the single honking duration, and the honking is stopped when the number of honking times is equal to the total number of honking times.

4. The whistle control method according to claim 1, characterized in that: The controlling the horn to perform compensatory honking according to the expected honking duration and the real-time honking duration comprises: Determine the difference between the expected whistle duration and the real-time whistle duration as the remaining whistle duration; When the advanced whistle control signal ends, the horn is controlled to perform compensatory whistle according to the remaining whistle duration.

5. The whistle control method according to claim 4, characterized in that: The controlling the horn to perform compensatory honking according to the remaining honking time comprises: Determine a whistle cycle and a single whistle duration corresponding to the whistle control signal; Controlling the horn to continuously honk according to the honking cycle and the single honking duration, and determining a compensation honking duration; In response to the compensated whistle duration being greater than or equal to the remaining whistle duration, stopping whistle honking.

6. The whistle control method according to claim 1, characterized in that: Before determining the expected whistle-blowing duration according to the historical whistle-blowing data, the method further includes: Determining a signal type of the whistle control signal; In response to the signal type being a safety prompt signal, determining whether the warning condition corresponding to the whistle control signal has ended; if the warning condition has not ended, acquiring the historical whistle data; if the warning condition has ended, interrupting the control process of the compensation whistle; In response to the signal type being an audio-visual entertainment signal, the control process of the compensatory whistle is interrupted.

7. The whistle control method according to claim 1, characterized in that: After the start of the timer, it also includes: In response to not receiving the advanced whistle control signal sent by the lighting controller, determining the real-time timing duration when the whistle control signal ends as the actual whistle duration; The value of the expected whistle duration is replaced by the value of the actual whistle duration.

8. A whistle control device, characterized in that: include: The whistle control module is configured to: in response to receiving a whistle control signal sent by the light controller, control the horn to synchronously blow the whistle according to the whistle control signal, and start timing to obtain a real-time whistle duration; A whistle interruption control module is configured to: in response to receiving a higher priority advanced whistle control signal, interrupt the timing and control the horn to synchronously sound the whistle according to the advanced whistle control signal; The compensatory whistle control module is configured to determine an expected whistle duration based on historical whistle data, and control the horn to perform compensatory whistle according to the expected whistle duration and the real-time whistle duration.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.

10. A vehicle, characterized in that: Including the whistle control method as described in claim 8 or the electronic device as described in claim 9.