Sound production device and control method thereof

By introducing a decoding control module and a sound storage module into the vehicle-mounted ECU system, the prompt information in the sound storage module can be directly retrieved, which solves the problem of poor real-time performance of the vehicle-mounted ECU system's sound prompts and achieves faster response and higher real-time performance.

CN120766672APending Publication Date: 2025-10-10JIANGSU TIANHUA AUTOMOTIVE ELECTRONICS CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202510902286.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-10-10

AI Technical Summary

Technical Problem

The operating system software of existing vehicle-mounted ECU systems is highly complex, resulting in poor real-time performance of voice prompts, especially when switching between different voice prompts, which results in long switching time.

Method used

A decoding control module and a sound storage module are introduced. The decoding control module is independent of the main control module and is used to store a variety of processed sound information. The decoding control module directly calls the corresponding prompt information according to the instruction information of the main control module, reducing the process of repeatedly reading different sound files.

Benefits of technology

The real-time performance of the sound prompts is improved, the time wasted when switching between different sound prompts is reduced, and the timeliness and response speed of the sound prompts are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120766672A_ABST
    Figure CN120766672A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a sound production device and a control method thereof. The sound production device comprises a main control module, a decoding control module, a sound storage module and a sound production module. Sound information is stored in the sound storage module, and the sound information comprises various kinds of prompt information. And the decoding control module is connected with the sound storage module, the main control module and the sound production module, and is used for determining corresponding prompt information according to the instruction information when receiving the instruction information sent by the main control module, and sending the prompt information to the sound production module, so that the sound production module carries out prompting according to the prompt information. Thus, various prompt messages are stored in the sound storage module at a time, the decoding control module directly calls the corresponding prompt messages in the sound storage module according to the instruction information, different prompt messages do not need to be repeatedly released and read, and therefore the real-time performance of sound prompt 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 voice technology, and in particular to a sound generating device and a control method thereof. BACKGROUND

[0002] In road traffic safety, the automobile ECU system, the HUD system or the ADAS system is the most important device affecting the driving behavior of the driver, is the most important component of automobile state and signal feedback, and is the most important component affecting the road safety of the automobile.

[0003] With the development of science and technology, the complexity of the vehicle-mounted ECU system is getting higher and higher, so that most ECUs need to use an operating system. The software complexity of the operating system is high, and the response speed is not timely, resulting in poor real-time effect of the sound prompt. SUMMARY

[0004] The present application provides a sound generating device and a control method thereof. When starting, a plurality of prompt information is stored in the sound storage module at one time. The decoding control module directly retrieves the corresponding prompt information in the sound storage module according to the instruction information, without repeatedly releasing and reading different prompt information to the sound storage module, thereby improving the real-time performance of the sound prompt.

[0005] In one aspect, the present application provides a sound generating device,

[0006] The sound generating device comprises a master control module, a decoding control module, a sound storage module and a sound generating module.

[0007] The sound storage module stores sound information, and the sound information comprises a plurality of prompt information.

[0008] The decoding control module is connected with the sound storage module, the master control module and the sound generating module, and is used for determining the corresponding prompt information according to the instruction information when receiving the instruction information sent by the master control module, and sending the prompt information to the sound generating module, so that the sound generating module performs sound prompt according to the prompt information.

[0009] In another aspect, the present application also provides a control method of a sound generating device, which is applied to the sound generating device provided in any embodiment of the first aspect of the present application. The control method comprises:

[0010] Obtaining the instruction information sent by the master control module;

[0011] When receiving the instruction information sent by the master control module, the corresponding prompt information is determined according to the instruction information, and the prompt information is sent to the sound generating module, so that the sound generating module performs sound prompt according to the prompt information.

[0012] In still another aspect, the present application also provides a vehicle-mounted system, which comprises the sound generating device as described in any of the first aspect.

[0013] In the sound-generating device provided by the embodiment of the present invention, a plurality of prompt information is stored in the sound storage module at one time, and when the decoding control module receives the instruction information sent by the main control module, it determines the corresponding prompt information based on the instruction information. In this way, on the one hand, the decoding control module reads the sound information and matches the prompt information, which can improve the real-time performance of the sound prompt compared to the solution of reading and parsing the sound information by the main control module in the prior art. On the other hand, the sound storage module stores a plurality of prompt information at one time. When switching different sound prompts, it is only necessary to retrieve the corresponding prompt information according to the instruction information sent by the main control module, without repeatedly switching and reading different sound files, thereby reducing the switching loss time and improving the real-time performance of the sound prompt. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is a structural diagram of a main control module provided by an embodiment of the present invention;

[0015] Figure 2 1 is a schematic structural diagram of a sound storage module provided by an embodiment of the present invention;

[0016] Figure 3 is a structural diagram of another sound-generating device provided by an embodiment of the present invention;

[0017] Figure 4 This is a schematic diagram of encoding sound information provided by an embodiment of the present invention;

[0018] Figure 5 This is another schematic diagram of encoding sound information provided by an embodiment of the present invention;

[0019] Figure 6 This is another schematic diagram of encoding of sound information provided by an embodiment of the present invention;

[0020] Figure 7 This is a flow chart of a method for controlling an alarm device provided by an embodiment of the present invention;

[0021] Figure 8 This is a flow chart of another method for controlling a sound-generating device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0022] The present invention will be further described in detail below with reference to the accompanying drawings and examples. It will be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present invention, not all structures.

[0023] Figure 1is a structural diagram of a main control module provided by an embodiment of the present invention, Figure 2 Schematic diagram of the structure of a sound storage module provided by an embodiment of the present invention. Figure 1 and Figure 2 The sound-generating device includes a main control module 10, a decoding control module 20, a sound storage module 30, and a sound-generating module 40. The sound storage module 30 stores sound information, including various prompt messages. The decoding control module 20 is connected to the sound storage module 30, the main control module 10, and the sound-generating module 40, respectively. Upon receiving instruction information from the main control module 10, the decoding control module 20 determines the corresponding prompt message based on the instruction information and sends the prompt message to the sound-generating module 40, so that the sound-generating module 40 generates a sound prompt based on the prompt message.

[0024] Specifically, such as Figure 1 and Figure 2 As shown, the sound generating device includes a main control module 10, a decoding control module 20, a sound storage module 30, and a sound generating module 40. The main control module 10 can be an onboard ECU module of a vehicle. The main control module 10 can include an input interface 110, a microprocessor 120, an output interface 130, and a power supply unit 140. The input interface 110 is used to read sensor data, such as engine speed data, coolant temperature data, accelerator pedal position data, wheel speed data, and ambient light data. The microprocessor 120 is pre-installed with a control program and control strategy. It then combines the sensor data read by the input interface 110 with internally stored parameters or maps to perform calculations, comparisons, and logical judgments, thereby outputting control signals. The output interface 130 is connected to various actuators in the vehicle (such as injectors, ignition coils, solenoid valves, motors, relays, display screens, etc.), thereby outputting control signals to the corresponding actuators to control their operation. The power supply unit 140 is used to provide stable power to the microprocessor 120 and the various actuators connected to the output interface 130. It should be noted that the main control module 10 can implement functions including engine control, transmission control, and anti-lock braking. Engine control includes managing fuel injection, ignition timing, valve timing, turbocharging, and emissions control. Transmission control controls the timing and logic of automatic or dual-clutch transmission shifts to achieve smooth shifts. Anti-lock braking prevents wheel lock during emergency braking and stabilizes the vehicle by braking individual wheels in the event of understeer or oversteer.

[0025] With the development of science and technology, the functions that the vehicle-mounted ECU module needs to perform are increasing, and the complexity is increasing. As a result, the vehicle-mounted ECU module needs to adopt an operating system and upgrade from simple logical control to complex real-time concurrent control. However, due to the high complexity of the operating system software, the response speed is not timely, resulting in poor real-time performance of the sound prompt. In the existing technology, the vehicle-mounted ECU module also includes a sound prompt function, that is, the main control module is used to read and parse the sound information, and then the sound prompt is performed through the sound module. Each prompt information is an independent sound file. When switching different sound prompts, it is necessary to repeatedly release and read different sound files into the memory. The switching loss time is large, and the switching is not timely, which further leads to poor real-time performance of the sound prompt.

[0026] To this end, the embodiment of the present invention adds a decoding control module 20 and a sound storage module 30. The sound storage module 30 is a designated memory for storing sound information. It is understood that the sound information is a processed sound file that contains a variety of prompt information. The decoding control module 20 is independent of the main control module 10, includes a microcontroller chip, and does not employ an operating system. It is specifically used to retrieve sound information and match prompt information. Specifically, the decoding control module 20 is electrically connected to the main control module 10 and the sound storage module 30. When the main control module 10 detects the need to send a sound prompt, the main control module 10 sends a command message to the decoding control module 20. After receiving the command message, the decoding control module 20 determines the corresponding prompt information based on the command message and then sends the prompt information to the sound module 40, so that the sound module 40 issues a sound prompt based on the determined prompt information. In the above process, the main control module 10 only needs to send the command message, and the decoding control module 20 reads the sound information and matches the prompt information based on the command message. The decoding control module 20 has low complexity and can achieve real-time response, thereby improving the real-time performance of the sound prompt. In addition, since the sound storage module 30 stores multiple prompt information at one time during the prompt information matching process, when switching different sound prompts (that is, switching different instruction information), the decoding control module 20 only needs to match the corresponding prompt information according to different instruction information, and there is no need to repeatedly release and read different sound files, thereby reducing the switching loss time and further improving the real-time performance of the sound prompt.

[0027] It should be noted that after the system is turned on, the processed sound file (sound information) can be loaded into the sound storage module 30 at one time through the main control module 10, thereby ensuring that the decoding control module 20 can directly retrieve the corresponding sound prompt information when matching according to the instruction information.

[0028] It is understood that the sound information stored in the sound storage module 30 can be an alarm sound information, that is, a variety of prompt information can be an alarm prompt information. Alarm prompt information has a high real-time requirement. Through the embodiment of the present invention, a real-time alarm can be achieved to ensure that the alarm prompt can be issued in a timely manner. In other embodiments, the sound information can also be other types of sound information. The present invention is not limited to this, and those skilled in the art can set it as needed.

[0029] It should also be noted that if Figure 2 In the embodiment shown, the sound storage module 30 is set independently of the decoding control module 20, but the embodiment of the present invention is not limited to this. In other embodiments, Figure 3 FIG. 1 is a structural diagram of another sound-generating device provided by an embodiment of the present invention. Figure 3 As shown, the sound storage module 30 can also be integrated into the decoding control module 20. Specifically, the decoding control module 20 can include a decoding control chip 210 and a sound storage module 30, and the decoding control chip 210 is electrically connected to the main control module 10 and the sound storage module 30 respectively.

[0030] In summary, the embodiment of the present invention newly adds a decoding control module and a sound storage module. The sound storage module stores processed sound information, and the sound information integrates a variety of prompt information. The decoding control module is electrically connected to the main control module and the sound storage module respectively. When the decoding control module receives the instruction information sent by the main control module, it determines the corresponding prompt information according to the instruction information. In this way, the main control module only needs to send the instruction information, read the sound information through the decoding control module, and match the prompt information according to the instruction information. The complexity of the decoding control module is low, and it can achieve real-time response, thereby improving the real-time performance of the sound prompt. In addition, a variety of prompt information is stored in the sound storage module at one time. When switching different sound prompts, it is only necessary to match the corresponding prompt information according to the instruction information sent by the main control module, without repeatedly switching and reading different sound files, thereby reducing the switching loss time and improving the real-time performance of the alarm prompt.

[0031] Optionally, based on the above embodiment, continue to refer to Figure 2 The decoding control module 20 includes a correspondence between multiple instruction information and multiple alarm prompt information. The decoding control module 20 is used to determine the corresponding prompt information according to the instruction information and the correspondence when receiving the instruction information sent by the main control module 10.

[0032] Specifically, the decoding control module 20 is pre-provided with a one-to-one correspondence relationship between a plurality of instruction information and a plurality of prompt information. For example, the plurality of prompt information includes one of overspeed prompt information, door prompt information, seat belt prompt information, pedestrian prompt information and obstacle prompt information. The plurality of instruction information can include overspeed prompt instruction, door prompt instruction, seat belt prompt instruction, pedestrian prompt instruction and obstacle prompt instruction, etc. Among them, the overspeed prompt instruction corresponds to the overspeed prompt information, the door prompt information corresponds to the door prompt instruction, the seat belt prompt information corresponds to the seat belt prompt instruction, etc. Specifically, when the master control module 10 judges that the vehicle is overspeed, the overspeed prompt instruction is sent to the decoding control module 20. When the decoding control module 20 receives the overspeed prompt instruction, the corresponding overspeed prompt information is determined according to the overspeed prompt instruction and the corresponding relationship, and the overspeed prompt information is sent to the sound generating module 40, so that the sound generating module 40 sounds according to the overspeed prompt information to prompt the user to slow down in time. In this way, the corresponding prompt information is determined through the instruction information and the corresponding relationship, without complex logical operation, the reaction speed of determining the prompt information can be improved, and the real-time performance of the sound prompt is improved.

[0033] It can be understood that when switching different sound prompts, such as switching the overspeed sound prompt to the obstacle sound prompt, the master control module 10 sends the obstacle prompt instruction to the decoding control module 20, and the decoding control module 20 can directly match the obstacle prompt information in the plurality of prompt information, without repeatedly switching and reading different sound files, thereby reducing the switching loss time and improving the real-time performance of the alarm prompt.

[0034] Optionally, on the basis of the above embodiment, continuing to refer to Figure 2 and Figure 3 , the instruction information includes index value information, and the sound information includes encoding address information of the plurality of prompt information. The decoding control module 20 includes a first corresponding relationship between the encoding address information and the index value information.

[0035] Specifically, the sound information includes the coding address information of multiple prompt information. For example, the coding address information of multiple prompt information can be arranged in a certain order to be integrated into a sound file, and the coding address information of each prompt information is marked as an index node. The instruction information includes index value information, and different index value information corresponds to the index nodes of different coding address information, that is, the decoding control module 20 includes a first correspondence between the coding address information and the index value information. In this way, when an overspeeding sound prompt is required, the main control module 10 sends the first index value information of the overspeeding prompt instruction, and the decoding control module 20 determines the first index node according to the first index value information. The first index node represents the coding address information of the overspeeding prompt information, thereby sending the audio file corresponding to the overspeeding sound prompt to the sound module 40, so that the sound module 40 performs a sound prompt. In this way, by determining the prompt information in the form of index value, the response speed of determining the sound prompt can be further improved, thereby improving the real-time performance of the sound prompt.

[0036] It should be noted that the coded address information can be the starting address value of the prompt information. In this way, when reading the prompt information, the decoding control module 20 is guaranteed to read the complete sound information of the corresponding prompt information, thereby ensuring that the sound module 40 can provide a complete sound prompt.

[0037] Optionally, in one embodiment, Figure 4 This is a schematic diagram of encoding of sound information provided by an embodiment of the present invention. Figure 2 and Figure 4 The decoding control module 20 is used to determine the corresponding coding address information according to the index value information and the first corresponding relationship when receiving the index value information sent by the main control module 10, and send the prompt information corresponding to the coding address information to the sound module, while retaining the current prompt information until the next index value information sent by the main control module is received.

[0038] Specifically, such as Figure 4As shown, the various prompt information may include speeding prompt information, door prompt information, seat belt prompt information, pedestrian prompt information, and obstacle prompt information. When the various prompt information are integrated into a sound file, the index node corresponding to the coding address information of the speeding prompt information is 0X00A, the index node corresponding to the coding address information of the door prompt information is 0X00B, the index node corresponding to the coding address information of the seat belt prompt information is 0X00C, the index node corresponding to the coding address information of the pedestrian prompt information is 0X00D, and the index node corresponding to the coding address information of the obstacle prompt information is 0X00E, etc. At the same time, the index value information of the speeding prompt command is 1, the index value information of the door prompt command is 2, the index value information of the seat belt prompt command is 3, the index value information of the pedestrian prompt command is 4, and the index value information of the obstacle prompt command is 5, etc. There is a first correspondence between index nodes of different index value information and different coding address information, i.e., index node 0X00A corresponds to index value information 1, index node 0X00B corresponds to index value information 2, index node 0X00C corresponds to index value information 3, index node 0X00D corresponds to index value information 4, and index node 0X00E corresponds to index value information 5, etc. Then, when the index value information sent by the main control module is 1, the decoding control module 20 can determine the coding address information corresponding to the index node 0X00A based on the index value information and the first correspondence. In this way, the decoding control module 20 can directly determine the sound file corresponding to the speeding prompt based on the coding address information, thereby causing the sound module 40 to perform the corresponding sound prompt. It can be understood that Figure 4 The pointer position shown in is the position of the prompt information determined by the decoding control module 20. When switching different sound prompts, it is equivalent to moving the pointer position left and right to determine different prompt information. In this way, there is no need to repeatedly switch and read different sound files, thereby reducing the switching loss time and improving the real-time nature of the sound prompt.

[0039] On the basis of the above, after the decoding control module 20 determines the corresponding encoding address information according to the index value information and the first corresponding relationship, it can also retain the current prompt information, that is, the pointer position will not change at the current position until the next index value information sent by the main control module is received. It can be understood that the movement distance of the pointer position is related to the response time of the sound prompt. The greater the movement distance of the pointer position, the longer the response time of the sound prompt, and the poorer the real-time performance of the sound prompt. On the contrary, the smaller the movement distance of the pointer position, the shorter the response time of the sound prompt, and the better the real-time performance of the sound prompt. In this way, when the same sound prompt is performed twice in a row, by setting the current prompt information to be retained, the pointer position will change differently when the next sound prompt is performed, which can shorten the response time of switching the sound prompt and improve the real-time performance of the sound prompt.

[0040] It is understandable that if Figure 4 In the illustrated embodiment, the coded address information of the various prompt information of the sound information is arranged in order from the lowest position to the highest position, but the embodiment of the present invention is not limited to this. In other embodiments, other sorting methods may be used, and those skilled in the art may set them as needed.

[0041] Optionally, based on the above embodiment, Figure 5 This is another encoding diagram of sound information provided by an embodiment of the present invention, see Figure 2 and Figure 5 The decoding control module 20 is used to determine the corresponding coding address information according to the index value information and the first corresponding relationship when receiving the index value information sent by the main control module 10, send the prompt information corresponding to the coding address information to the sound module, and reset to the reset address information of the sound information at the same time until the next index value information sent by the main control module 10 is received.

[0042] For example, Figure 5 In the illustrated embodiment, the sound information includes encoding address information and reset address information for a variety of prompt information. The index node of the reset address information is 0X000, and there is no audio file at the location corresponding to the reset address information. Specifically, after the decoding control module 20 determines the corresponding encoding address information based on the index value information and the first corresponding relationship, it simultaneously resets to the reset address information of the sound information, i.e., the pointer position moves to the index node 0X000 of the reset address information until the next index value information sent by the main control module is received. It is understandable that the movement distance of the pointer position is related to the response time of the sound prompt. The smaller the movement distance of the pointer position, the shorter the response time of the sound prompt, and the better the real-time performance of the sound prompt. In this way, when two different sound prompts are performed consecutively, by setting the pointer position to the index node 0X000 of the reset address information, the distance between the encoding address information of the previous sound prompt and the encoding address information of the next sound prompt is avoided, which results in a longer time for the sound prompt to switch, thereby improving the real-time performance of the sound prompt.

[0043] On the basis of the above, continue to see Figure 5 The sound information includes first prompt information and second prompt information. The security priority of the first prompt information is greater than the security priority of the second prompt information. The first prompt information includes first coded address information, and the second prompt information includes second coded address information. The distance between the first coded address information and the reset address information is less than the distance between the second coded address information and the reset address information.

[0044] Specifically, the safety priority of the first prompt information is greater than the safety priority of the second prompt information. For example, the first prompt information can be an overspeeding prompt information or an obstacle prompt information, and the second prompt information can be a door prompt information or a seat belt prompt information. The safety priority of the first prompt information is greater than the safety priority of the second prompt information, and thus the real-time requirement of the first prompt information is greater than the real-time requirement of the second prompt information. The moving distance of the pointer position is related to the response time of the sound prompt. The smaller the moving distance of the pointer position, the shorter the response time of the sound prompt, and the better the real-time performance of the sound prompt. Therefore, by setting the distance between the first coded address information and the reset address information to be smaller than the distance between the second coded address information and the reset address information (such as Figure 5 As shown, the distance between the index node 0X00A of the speeding prompt information and the index node 0X000 of the reset address information is smaller than the distance between the index node 0X00B of the door prompt information and the index node 0X000 of the reset address information), then the moving distance of the pointer when the first sound prompt (speeding prompt or obstacle prompt) is performed is smaller than the moving distance of the pointer when the second sound prompt (door prompt or seat belt prompt) is performed, and the response time of the first prompt information is set to be smaller than the response time of the second prompt information, thereby ensuring the real-time nature of the first prompt information with a higher safety priority.

[0045] In yet another embodiment, Figure 6 This is another schematic diagram of encoding of sound information provided by an embodiment of the present invention, see Figure 6 The sound information includes third prompt information and fourth prompt information. The triggering frequency of the third prompt information is greater than the triggering frequency of the fourth prompt information. The third prompt information includes third coded address information. The fourth prompt information includes fourth coded address information. The distance between the third coded address information and the reset address information is less than the distance between the fourth coded address information and the reset address information.

[0046] Specifically, such as Figure 6 In the embodiment shown, the multiple prompt information can be divided into third prompt information and fourth prompt information according to the trigger frequency, wherein the trigger frequency of the third prompt information is greater than the trigger frequency of the fourth prompt information, for example, the third prompt information can be an overspeeding prompt information or a seat belt prompt information, etc., and the fourth prompt information can be a door prompt information or an obstacle prompt information, etc. The trigger frequency of the third prompt information is greater than the trigger frequency of the fourth prompt information, and thus the real-time requirement of the third prompt information can be set to be greater than the real-time requirement of the fourth prompt information, and the moving distance of the pointer position is related to the response time of the sound prompt. Therefore, by setting the distance between the third coded address information and the reset address information to be less than the distance between the fourth coded address information and the reset address information (such as Figure 6As shown, the distance between the index node 0X00A of the speeding prompt information and the index node 0X000 of the reset address information is smaller than the distance between the index node 0X00E of the obstacle prompt information and the index node 0X000 of the reset address information), then when the third sound prompt (speeding prompt or seat belt prompt) is performed, the moving distance of the pointer is smaller than the moving distance of the pointer when the fourth sound prompt (door prompt or obstacle prompt), and then the response time of the third prompt information is set to be smaller than the response time of the fourth prompt information, thereby ensuring the real-time nature of the third prompt information with a higher triggering frequency.

[0047] It should be noted that the above embodiments are all illustrative examples of instruction information including index value information and sound information including coded address information of multiple prompt information, but this is not limited to this. In other embodiments, the instruction information can also be keyword information, and the decoding control module 20 includes a second correspondence between multiple keyword information and prompt information. The decoding control module 20 is also used to determine the corresponding prompt information based on the keyword information and the second correspondence when receiving the keyword information sent by the main control module 10, and send the prompt information to the sound module 40, so that the sound module 40 performs a sound prompt.

[0048] Based on the same inventive concept, an embodiment of the present invention further provides a method for controlling a sound-generating device. Figure 7 This is a flow chart of a control method for an alarm device provided by an embodiment of the present invention, see Figure 7 , the control method includes:

[0049] S110: Obtain instruction information sent by the main control module.

[0050] Specifically, the main control module can be an on-board ECU module of a car. The main control module may include an input interface, a microprocessor, an output interface and a power supply unit. The input interface is used to read sensor data. The microprocessor is preset with a control program and a control strategy, and then performs calculations, comparisons and logical judgments in combination with the sensor data read by the input interface and the internally stored parameters or mapping diagrams, thereby outputting control signals. The output interface is connected to various actuators of the vehicle, thereby outputting control signals to the corresponding actuators to control the actions of the actuators. The power supply unit is used to provide stable power to the microprocessor and various actuators connected to the output interface. In an embodiment of the present invention, the command information sent by the main control module is obtained by decoding the control module, wherein the command information may include overspeeding prompt instructions, door prompt instructions, seat belt prompt instructions, pedestrian prompt instructions, obstacle prompt instructions, etc.

[0051] S120. When receiving the instruction information sent by the main control module, determine the corresponding prompt information according to the instruction information, and send the prompt information to the sound module so that the sound module performs a sound prompt according to the prompt information.

[0052] Specifically, the decoding control module is electrically connected to the main control module and the sound storage module respectively, and then when it is detected that a sound prompt needs to be sent, the main control module sends a command message to the decoding control module. After receiving the command message, the decoding control module determines the corresponding prompt message according to the command message, and then sends the prompt message to the sound module so that the sound module performs a sound prompt according to the determined prompt message. In the above process, the main control module only needs to send the command message, and the decoding control module is used to read the sound message and match the prompt message according to the command message. The complexity of the decoding control module is low, and real-time response can be achieved, thereby improving the real-time performance of the sound prompt. In addition, since the sound storage module stores multiple prompt messages at one time during the matching process of the prompt message, when switching different sound prompts (i.e., switching different command messages), the decoding control module only needs to match the corresponding prompt message according to the different command messages, without repeatedly releasing and reading different sound files, thereby reducing the switching loss time and further improving the real-time performance of the sound prompt.

[0053] In summary, the embodiment of the present invention determines the corresponding prompt information based on the instruction information when the decoding control module receives the instruction information sent by the main control module. In this way, the main control module only needs to send the instruction information, and the decoding control module reads the sound information and matches the prompt information based on the instruction information. The complexity of the decoding control module is low, and it can achieve real-time response, thereby improving the real-time performance of the sound prompt. In addition, the sound storage module stores multiple prompt information at one time. When switching different sound prompts, it is only necessary to match the corresponding prompt information based on the instruction information sent by the main control module, without repeatedly switching and reading different sound files, thereby reducing the switching loss time and improving the real-time performance of the sound prompt.

[0054] In yet another embodiment, Figure 8 This is a flow chart of another method for controlling a sound-generating device provided by an embodiment of the present invention. Figure 8 , the control method includes:

[0055] S210: Obtain instruction information sent by the main control module.

[0056] S220: upon receiving the instruction information sent by the main control module, determining corresponding prompt information according to the instruction information and the corresponding relationship, and sending the prompt information to the sound module, so that the sound module performs a sound prompt according to the prompt information.

[0057] The decoding control module is pre-configured with a one-to-one correspondence between multiple command information and multiple prompt information. For example, the multiple prompt information includes one of an overspeeding prompt information, a door prompt information, a seatbelt prompt information, a pedestrian prompt information, and an obstacle prompt information. The multiple command information may include an overspeeding prompt instruction, a door prompt instruction, a seatbelt prompt instruction, a pedestrian prompt instruction, and an obstacle prompt instruction, among others. The overspeeding prompt instruction corresponds to the overspeeding prompt information, the door prompt information corresponds to the door prompt instruction, the seatbelt prompt information corresponds to the seatbelt prompt instruction, and so on. Specifically, when the main control module determines that the vehicle is speeding, it sends an overspeeding prompt instruction to the decoding control module. Upon receiving the overspeeding prompt instruction, the decoding control module determines the corresponding overspeeding prompt information based on the overspeeding prompt instruction and the corresponding relationship. The module then sends the overspeeding prompt information to the sound module, which then issues a speeding prompt based on the overspeeding prompt information, prompting the user to slow down in a timely manner. This method of determining the corresponding prompt information based on the command information and the corresponding relationship eliminates the need for complex logical operations, improves the response speed of determining the prompt information, and thus enhances the real-time nature of the sound prompt.

[0058] It can be understood that when switching different sound prompts, such as switching the speeding prompt to an obstacle prompt, the main control module sends an obstacle prompt instruction to the decoding control module. The decoding control module can directly match the obstacle prompt information among multiple alarm prompt information without repeatedly switching and reading different sound files, thereby reducing the switching loss time and improving the real-time nature of the alarm prompt.

[0059] Based on the same inventive concept, embodiments of the present invention further provide an in-vehicle system. The in-vehicle system includes the sound-generating device of the above-described embodiments. The in-vehicle system includes the sound-generating device of any embodiment of the present invention. Therefore, the in-vehicle system provided by the embodiments of the present invention possesses the corresponding beneficial effects of the sound-generating device provided by the embodiments of the present invention, which will not be further elaborated here.

[0060] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, combinations, and substitutions are possible for those skilled in the art without departing from the scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the scope of the present invention. The scope of the present invention is determined by the scope of the appended claims.

Claims

1. A sound-generating device, characterized in that: The sound-generating device includes a main control module, a decoding control module, a sound storage module and a sound-generating module; The sound storage module stores sound information, which includes a variety of prompt information; The decoding control module is respectively connected to the sound storage module, the main control module and the sound module, and is used to determine the corresponding prompt information according to the instruction information when receiving the instruction information sent by the main control module, and send the prompt information to the sound module so that the sound module makes a sound prompt according to the prompt information.

2. The sound-generating device according to claim 1, wherein: The decoding control module includes a correspondence between a plurality of the instruction information and a plurality of the prompt information; The decoding control module is configured to determine the corresponding prompt information according to the instruction information and the corresponding relationship when receiving the instruction information sent by the main control module.

3. The sound-generating device according to claim 2, characterized in that: The instruction information includes index value information, and the sound information includes coded address information of a plurality of prompt information; The decoding control module includes a first correspondence between the encoding address information and the index value information.

4. The sound-generating device according to claim 3, characterized in that: The decoding control module is used to determine the corresponding coding address information based on the index value information and the first corresponding relationship when receiving the index value information sent by the main control module, and send the prompt information corresponding to the coding address information to the sound module, while retaining the current prompt information until the index value information sent by the main control module is received next time.

5. The sound-generating device according to claim 4, characterized in that: The coded address information of the various prompt information in the sound information is arranged in order from low to high.

6. The sound-generating device according to claim 3, characterized in that: The decoding control module is used to determine the corresponding coding address information based on the index value information and the first corresponding relationship when receiving the index value information sent by the main control module, send the prompt information corresponding to the coding address information to the sound module, and reset to the reset address information of the sound information at the same time until the index value information sent by the main control module is received next time.

7. The sound-generating device according to claim 6, characterized in that: The sound information includes first prompt information and second prompt information; The security priority of the first prompt information is greater than the security priority of the second prompt information, the first prompt information includes first coded address information, and the second prompt information includes second coded address information; The distance between the first coded address information and the reset address information is smaller than the distance between the second coded address information and the reset address information.

8. The sound-generating device according to claim 6, characterized in that: The sound information includes third prompt information and fourth prompt information; The triggering frequency of the third prompt information is greater than the triggering frequency of the fourth prompt information, the third prompt information includes third coded address information, and the fourth prompt information includes fourth coded address information; The distance between the third coded address information and the reset address information is smaller than the distance between the fourth coded address information and the reset address information.

9. The sound-generating device according to claim 3, characterized in that: The coded address information is the starting address value of the prompt information.

10. The sound-generating device according to claim 2, characterized in that: The instruction information includes keyword information; The decoding control module includes a second correspondence between a plurality of the keyword information and a plurality of the prompt information.

11. The sound generating device according to claim 1, characterized in that: The prompt information includes one of speeding prompt information, door prompt information, seat belt prompt information, pedestrian prompt information and obstacle prompt information.

12. The sound-generating device according to claim 1, wherein: The sound storage module is integrated into the decoding control module.

13. A method for controlling a sound-generating device, applied to the sound-generating device according to any one of claims 1 to 12, characterized in that: The control method includes: Obtaining instruction information sent by the main control module; When the instruction information sent by the main control module is received, the corresponding prompt information is determined according to the instruction information, and the prompt information is sent to the sound module, so that the sound module performs a sound prompt according to the prompt information.

14. The control method according to claim 13, characterized in that: The decoding control module includes a correspondence between a plurality of the instruction information and a plurality of the prompt information; The reading of the sound information in the sound storage module and determining the corresponding prompt information according to the instruction information includes: The corresponding prompt information is determined according to the instruction information and the corresponding relationship.

15. A vehicle-mounted system, characterized in that: The device comprises a sound-generating device as described in any one of claims 1 to 12.

Citation Information

Patent Citations

  • Method for controlling voice promoting device with code

    CN101872551A

  • Device and system for acquiring voice network information

    CN101873297A

  • Indexing system of brand electric appliance code library and voice control method thereof

    CN117877238A

  • Voice instruction control method and device, computer equipment, readable storage medium and program product

    CN119296537A

  • Small nursing camera with angle-adjustable bidirectional slide fastener base

    CN218456458U