Tone output method, device, apparatus, and computer readable storage medium
Patent Information
- Application Number
- CN202311658802.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2043-12-05
AI Technical Summary
[0004]本申请的主要目的在于提供一种提示音输出方法,旨在解决现有提示音输出方法普适性较差的技术问题
[0052] Fifthly, embodiments of this application provide a computer program including instructions for executing the prompt sound output method in the first aspect and any possible implementation thereof.
Smart Images

Figure CN117719422B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, device and computer-readable storage medium for outputting prompt sounds. Background Technology
[0002] Because existing new energy vehicles have no engine noise, they produce very low noise when starting or driving at low speeds, so they play low-speed warning sounds to alert pedestrians. In addition, medium and large vehicles (such as light trucks, heavy trucks, and buses) typically play reversing warning sounds and turn signal sounds to alert pedestrians due to blind spots, ensuring pedestrian safety.
[0003] However, due to differences in their overall vehicle architecture, light trucks, mini-trucks, minivans, heavy trucks, and buses follow different bus protocols and have inconsistent communication protocols. This necessitates the development and design of unique alert tone systems for each vehicle model, and these systems can only produce one alert tone, supporting only a single vehicle platform. In other words, existing alert tone output methods have poor universality. Summary of the Invention
[0004] The main purpose of this application is to provide a prompt tone output method, which aims to solve the technical problem of poor universality of existing prompt tone output methods.
[0005] To achieve the above objectives, in a first aspect, this application provides a prompt tone output method, applied to a prompt tone output device, the prompt tone output method comprising:
[0006] Receive message information from the current vehicle;
[0007] The message information is identified to determine the vehicle type of the current vehicle;
[0008] The message information is parsed based on the bus protocol corresponding to the vehicle type, and the current vehicle is controlled to output a prompt tone based on the parsed message information.
[0009] According to the first aspect, the step of identifying the message information and determining the vehicle type of the current vehicle includes:
[0010] The data frames of the message information are identified to obtain the target vehicle model code;
[0011] The vehicle type of the current vehicle is determined based on the target vehicle model code.
[0012] According to the first aspect, or any implementation of the first aspect above, the step of controlling the current vehicle to output a prompt tone based on the parsed message information includes:
[0013] Based on the parsed message information, determine whether the current vehicle is in a low-speed driving state;
[0014] If the current vehicle is traveling at a low speed, then control the current vehicle to output a low speed warning sound.
[0015] According to the first aspect, or any implementation of the first aspect above, the step of controlling the current vehicle to output a prompt tone based on the parsed message information further includes:
[0016] Based on the parsed message information, determine whether the current vehicle is in a reversing state;
[0017] If the current vehicle is in reverse, then control the current vehicle to output a reversing warning sound.
[0018] According to the first aspect, or any implementation of the first aspect above, the message information includes vehicle turning information, and the step of identifying the message information and determining the vehicle type of the current vehicle further includes:
[0019] The source of the vehicle steering information is identified to obtain the signal source controller;
[0020] The vehicle type of the current vehicle is obtained by querying a preset vehicle type mapping table based on the signal source controller.
[0021] According to the first aspect, or any implementation of the first aspect above, the step of controlling the current vehicle to output a prompt tone based on the parsed message information further includes:
[0022] Based on the parsed vehicle steering information, determine whether the current vehicle is in the target steering state;
[0023] If the current vehicle is in the target turning state, then control the current vehicle to output a turning prompt sound.
[0024] According to the first aspect, or any implementation of the first aspect above, the step of controlling the current vehicle to output a prompt tone based on the parsed message information includes:
[0025] Based on the vehicle type, query the preset volume mapping table to obtain the target volume;
[0026] Based on the parsed message information, the current vehicle is controlled to output a prompt tone according to the target volume.
[0027] Secondly, this application provides a prompt tone output device, applied to a prompt tone output equipment, the prompt tone output device comprising:
[0028] The receiving module is used to receive message information from the current vehicle.
[0029] The identification module is used to identify the message information and determine the vehicle type of the current vehicle;
[0030] The output module is used to parse the message information based on the bus protocol corresponding to the vehicle type, and control the current vehicle to output the parsed prompt tone.
[0031] According to the second aspect, the identification module is also used for:
[0032] The data frames of the message information are identified to obtain the target vehicle model code;
[0033] The vehicle type of the current vehicle is determined based on the target vehicle model code.
[0034] According to the second aspect, or any implementation of the second aspect above, the output module is also used for:
[0035] The step of controlling the current vehicle to output a prompt tone based on the parsed message information includes:
[0036] Based on the parsed message information, determine whether the current vehicle is in a low-speed driving state;
[0037] If the current vehicle is traveling at a low speed, then control the current vehicle to output a low speed warning sound.
[0038] According to the second aspect, or any implementation of the second aspect above, the output module is also used for:
[0039] Based on the parsed message information, determine whether the current vehicle is in a reversing state;
[0040] If the current vehicle is in reverse, then control the current vehicle to output a reversing warning sound.
[0041] According to the second aspect, or any implementation of the second aspect above, the message information includes vehicle turning information, and the identification module is further used for:
[0042] The source of the vehicle steering information is identified to obtain the signal source controller;
[0043] The vehicle type of the current vehicle is obtained by querying a preset vehicle type mapping table based on the signal source controller.
[0044] According to the second aspect, or any implementation of the second aspect above, the output module is also used for:
[0045] Based on the parsed vehicle steering information, determine whether the current vehicle is in the target steering state;
[0046] If the current vehicle is in the target turning state, then control the current vehicle to output a turning prompt sound.
[0047] According to the second aspect, or any implementation of the second aspect above, the output module is also used for:
[0048] Based on the vehicle type, query the preset volume mapping table to obtain the target volume;
[0049] Based on the parsed message information, the current vehicle is controlled to output a prompt tone according to the target volume.
[0050] Thirdly, this application provides a prompt sound output device, the prompt sound output device comprising: a memory and a processor, wherein the memory stores a computer program executable on the processor, the computer program being configured to implement the steps of the prompt sound output method as described above.
[0051] Fourthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform a prompt tone output method as described in any one of the first aspects or possible implementations thereof.
[0052] Fifthly, embodiments of this application provide a computer program including instructions for executing the prompt sound output method in the first aspect and any possible implementation thereof.
[0053] This application proposes a method, apparatus, device, and computer-readable storage medium for outputting alert tones. The method involves receiving message information from a current vehicle; identifying the message information to determine the vehicle type; parsing the message information based on the bus protocol corresponding to the vehicle type; and controlling the current vehicle to output alert tones based on the parsed message information. This application integrates different bus protocols and then identifies the current vehicle's message information to determine its vehicle type, thereby adapting the parsing of the message information to the bus protocol corresponding to the vehicle type to control the current vehicle to output alert tones. Therefore, the alert tone output method of this application can adapt to the alert tone output requirements of different vehicle types, and is not only applicable to low-speed alert tone output but also compatible with reversing alert tones and turn signal alert tones, effectively improving the universality of alert tone output. Attached Figure Description
[0054] Figure 1This is a flowchart illustrating the first embodiment of the prompt sound output method of this application;
[0055] Figure 2 This is a flowchart illustrating the second embodiment of the prompt sound output method of this application;
[0056] Figure 3 This is a flowchart illustrating the third embodiment of the prompt tone output method of this application;
[0057] Figure 4 This is a schematic diagram illustrating the scenario involved in the embodiments of this application;
[0058] Figure 5 This is a schematic diagram of the prompt tone output device of this application;
[0059] Figure 6 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of this application.
[0060] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0061] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0062] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
[0063] The terms "first" and "second," etc., used in the specification and claims of this application are used to distinguish different objects, not to describe a specific order of objects. For example, "first target object" and "second target object," etc., are used to distinguish different target objects, not to describe a specific order of target objects.
[0064] In the embodiments of this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.
[0065] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0066] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the prompt tone output method of this application. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown here.
[0067] The first embodiment of this application provides a method for outputting a prompting sound, the method comprising the following steps:
[0068] Step S100: Receive the message information of the current vehicle;
[0069] In this embodiment, it should be noted that the execution subject of the prompt tone output method is a prompt tone output device, which can be an AVAS (Acoustic Vehicle Alerting System), a PC (Personal Computer), a tablet computer, a portable computer, or a server, etc. The application subject of the prompt tone output method in this embodiment is vehicles with prompt tone output requirements, such as pure electric vehicles, hybrid vehicles, and fuel vehicles.
[0070] In this embodiment, it should also be noted that the message information includes information such as current vehicle speed, current gear, and ready status (i.e., the vehicle is in a drivable state).
[0071] In this embodiment, after the vehicle is powered on, the vehicle controller, GW (gateway), BCM (Body Control Module), instrument cluster, and other controllers are activated. The vehicle controller then periodically forwards messages such as gear position signals, vehicle speed signals, and ready signals through the gateway to the prompt tone output device, thereby enabling the reception of message information from the current vehicle.
[0072] Step S200: Identify the message information to determine the vehicle type of the current vehicle;
[0073] In this embodiment, it should be noted that the vehicle type can be a conventionally classified type such as light truck, mini truck, mini van, heavy truck, or bus, or it can be a vehicle type classified according to specific user needs, such as Class I vehicle, Class II vehicle, or Class III vehicle.
[0074] As an example, this embodiment can identify the data frame of the message information. By identifying the field corresponding to the vehicle type in the frame header or frame tail of the data frame, the code of the field corresponding to the vehicle type is read to obtain the target vehicle model code. Then, based on the target vehicle model code, the vehicle type of the current vehicle can be determined according to the preset correspondence between vehicle model codes and vehicle types.
[0075] As another example, since the vehicle steering information in the message is sent to the prompt tone output device by another controller, rather than by the vehicle controller, and different vehicles use different controllers to send the vehicle steering information, the source of the vehicle steering information in the message can be identified to obtain the signal source controller. Then, based on the correspondence between the signal source controller and the vehicle type, the vehicle type of the current vehicle can be determined.
[0076] The step S200, which involves identifying the message information and determining the vehicle type of the current vehicle, includes:
[0077] Step S210: Identify the data frame of the message information to obtain the target vehicle model code;
[0078] Step S220: Determine the vehicle type of the current vehicle based on the target vehicle model code.
[0079] In this embodiment, it should be noted that the frame header or frame tail of the data frame contains a field corresponding to the vehicle type.
[0080] This embodiment can identify the data frames of the message information. By identifying the field corresponding to the vehicle type in the frame header or frame tail of the data frame, the target vehicle model code is obtained by reading the code of the field corresponding to the vehicle type. Then, based on the target vehicle model code, the vehicle type of the current vehicle can be determined according to the preset correspondence between vehicle model codes and vehicle types. For example, the preset correspondence between vehicle model codes and vehicle types can be described in the form of a mapping table. The vehicle type of the current vehicle can then be obtained by querying the preset vehicle model code and vehicle type mapping table based on the target vehicle model code. This embodiment conveniently and quickly realizes the identification of the vehicle type of the current vehicle.
[0081] Step S300: parse the message information based on the bus protocol corresponding to the vehicle type, and control the current vehicle to output a prompt tone based on the parsed message information.
[0082] In this embodiment, there is a correspondence between the vehicle type and the bus protocol. Therefore, the bus protocol corresponding to the vehicle type can be queried by establishing this correspondence. For example, the bus protocol can be the SAE J1939 protocol or the ISO 11898 protocol. In this embodiment, the message information can be parsed using the bus protocol corresponding to the vehicle type to obtain the data portion of the data frame of the message information. Then, based on the parsed message information and preset prompt tone output conditions, it can be determined whether the current vehicle meets the preset prompt tone output conditions. If the current vehicle meets the preset prompt tone output conditions, the current vehicle can be controlled to output a prompt tone. If the current vehicle does not meet the preset prompt tone output conditions, the following step is executed: determine whether the current vehicle meets the preset prompt tone output conditions. The preset prompt tone output conditions are pre-set conditions for outputting prompt tones, such as the current vehicle being in a low-speed driving state, a reversing state, or a target turning state. It is understood that the prompt tone can be one or more prompt tones, such as a low-speed prompt tone, a reversing prompt tone, a turning prompt tone, etc.
[0083] The step S300, which involves controlling the current vehicle to output a prompt tone based on the parsed message information, includes:
[0084] Step S310: Based on the parsed message information, determine whether the current vehicle is in a low-speed driving state;
[0085] Step S320: If the current vehicle is in a low-speed driving state, control the current vehicle to output a low-speed warning sound.
[0086] In this embodiment, it should be noted that the parsed message information may include the current vehicle speed, current gear, and ready status.
[0087] This embodiment can determine whether the current vehicle speed is within a preset low-speed range, whether the current gear is a non-parking gear, and whether the ready state is "ready" based on the parsed message information, to determine whether the current vehicle is in a low-speed driving state. If the current vehicle speed is within the preset low-speed range, the current gear is a non-parking gear, and the ready state is "ready," then the current vehicle is determined to be in a low-speed driving state. If the current vehicle speed is not within the preset low-speed range, or the current gear is not a non-parking gear, or the ready state is not "ready," then the current vehicle is determined not to be in a low-speed driving state. If the current vehicle is in a low-speed driving state, then the current vehicle is controlled to output a low-speed warning sound. If the current vehicle is not in a low-speed driving state, then the following step is executed: determine whether the current vehicle is in a low-speed driving state based on the parsed message information. The preset low-speed range is a pre-set speed range for low-speed vehicle driving, such as a speed greater than 1 km / h and less than 21 km / h. The non-parking gear refers to any gear other than parking, such as drive, reverse, or neutral. This embodiment outputs a low-speed warning sound for vehicles traveling at low speeds, preventing pedestrians from failing to notice the vehicle when it starts or travels at low speeds.
[0088] The step S300, which involves controlling the current vehicle to output a prompt tone based on the parsed message information, further includes:
[0089] Step S330: Based on the parsed message information, determine whether the current vehicle is in a reversing state;
[0090] Step S340: If the current vehicle is in reverse, control the current vehicle to output a reversing warning sound.
[0091] This embodiment can determine whether the current gear is reverse and whether the ready state is "ready" based on the parsed message information, thus determining whether the current vehicle is in reverse. If the current gear is reverse and the ready state is "ready," then the current vehicle is determined to be in reverse. If the current gear is not reverse or the ready state is not "ready," then the current vehicle is determined not to be in reverse. If the current vehicle is in reverse, then the current vehicle is controlled to output a reversing warning sound. If the current vehicle is not in reverse, then the step of determining whether the current vehicle is in reverse based on the parsed message information is executed. This embodiment implements the output of a reversing warning sound for vehicles in reverse, preventing pedestrians behind the current vehicle from failing to notice that the vehicle is reversing.
[0092] In the first embodiment of this application, message information from the current vehicle is received; the message information is identified to determine the vehicle type of the current vehicle; the message information is parsed based on the bus protocol corresponding to the vehicle type; and the current vehicle is controlled to output a prompt tone based on the parsed message information. Thus, this application integrates different bus protocols, identifies the current vehicle's message information to determine its vehicle type, and adapts the parsing of the message information to the bus protocol corresponding to the vehicle type to control the current vehicle to output a prompt tone. Therefore, the prompt tone output method of this application can adapt to the prompt tone output requirements of different vehicle types, and is not only applicable to low-speed prompt tone output but also compatible with reversing and turning prompt tone outputs, effectively improving the universality of prompt tone output.
[0093] Reference Figure 2 , Figure 2 This is a flowchart illustrating a second embodiment of the prompt sound output method of this application.
[0094] In another embodiment of this application, content that is the same as or similar to the above embodiments can be referred to the above description, and will not be repeated hereafter. A second embodiment of this application provides a prompt sound output method, wherein the message information includes vehicle turning information. The step S200, which involves identifying the message information and determining the vehicle type of the current vehicle, further includes:
[0095] Step S230: Identify the source of the vehicle steering information and obtain the signal source controller;
[0096] Step S240: According to the signal source controller, query the preset vehicle type mapping table to obtain the vehicle type of the current vehicle.
[0097] In this embodiment, it should be noted that the message information includes vehicle turning information, which includes at least turn signal signals, and may also include position light signals and hazard warning light signals, etc.
[0098] Since the vehicle steering information in the message is sent to the prompt tone output device by another controller, rather than by the vehicle controller, and different vehicles use different controllers to send the vehicle steering information, this embodiment can identify the source of the vehicle steering information and obtain the signal source controller. It can be understood that the signal source controller is the controller within the current vehicle that sends the vehicle steering information to the prompt tone output device, such as an IC (Instrument Cluster) or BCM (Body Control Module). Then, based on the signal source controller, a preset vehicle type mapping table can be consulted to obtain the vehicle type of the current vehicle. The preset vehicle type mapping table is a pre-set mapping table used to describe the correspondence between the signal source controller and the vehicle type.
[0099] The step S300, which involves controlling the current vehicle to output a prompt tone based on the parsed message information, further includes:
[0100] Step S350: Based on the parsed vehicle steering information, determine whether the current vehicle is in the target steering state;
[0101] Step S360: If the current vehicle is in the target turning state, control the current vehicle to output a turning prompt sound.
[0102] In this embodiment, it should be noted that the target turning state is the state in which the current vehicle turns in a target direction, which is the direction opposite to the position of the driver's seat of the current vehicle. For example, if the current vehicle is a left-hand drive vehicle (i.e., the driver's seat is on the left side of the vehicle), the corresponding target turning state is a right turn. If the current vehicle is a right-hand drive vehicle (i.e., the driver's seat is on the right side of the vehicle), the corresponding target turning state is a left turn. The parsed vehicle turning information includes at least the current turn signal status.
[0103] In this embodiment, based on the parsed vehicle turning information, it can determine whether the current vehicle speed is greater than a preset minimum speed (e.g., 1 km / h, 2 km / h, 3 km / h, etc.) and whether the current turn signal is illuminated in the target direction, to determine whether the current vehicle is in a target turning state. If the current vehicle speed is greater than the preset minimum speed and the current turn signal is illuminated in the target direction, then the current vehicle is determined to be in a target turning state. If the current vehicle speed is not greater than the preset minimum speed, or the current turn signal is not illuminated in the target direction, then the current vehicle is determined not to be in a target turning state. If the current vehicle is in a target turning state, it is controlled to output a turning prompt sound. If the current vehicle is not in a target turning state, the following step is executed: based on the parsed vehicle turning information, determine whether the current vehicle is in a target turning state. This embodiment implements the output of a turning prompt sound for vehicles in a target turning state, preventing pedestrians from noticing the vehicle's turn when in the vehicle's blind spot.
[0104] In the second embodiment of this application, a signal source controller is obtained by identifying the source of the vehicle steering information. Then, based on the signal source controller, a preset vehicle type mapping table is queried to obtain the vehicle type of the current vehicle. This method is more convenient than methods that require identifying the frame header or frame tail of the message information, and it improves the efficiency of identifying the vehicle type of the current vehicle.
[0105] Reference Figure 3 , Figure 3 This is a flowchart illustrating the third embodiment of the prompt sound output method of this application.
[0106] In another embodiment of this application, content that is the same as or similar to the above embodiments can be referred to the above description, and will not be repeated hereafter. A third embodiment of this application provides a method for outputting a prompt tone. The step S300, which involves controlling the current vehicle to output a prompt tone based on the parsed message information, includes:
[0107] Step A10: Based on the vehicle type, query the preset volume mapping table to obtain the target volume;
[0108] Step A20: Based on the parsed message information, control the current vehicle to output a prompt tone according to the target volume.
[0109] In this embodiment, it should be noted that the preset volume mapping table is a pre-set mapping table used to describe the correspondence between vehicle type and volume.
[0110] Because different vehicle models have different dimensions, the installation positions of the sound-generating devices used to output alert tones also differ. Using the same volume level would make it difficult to adapt the sound output to the needs of users of different vehicle models. Therefore, this embodiment can query a preset volume mapping table based on the vehicle type to obtain the target volume. Then, based on the parsed message information, the current vehicle can be controlled to output an alert tone at the target volume.
[0111] In the third embodiment of this application, the target volume is obtained by querying a preset volume mapping table according to the vehicle type; based on the parsed message information, the current vehicle is controlled to output a prompt tone according to the target volume. Therefore, this embodiment ensures that the target volume of the prompt tone matches different vehicle types, meeting the sound effect needs of users with different vehicle types.
[0112] See Figure 4 , Figure 4 This is a schematic diagram of a scenario involved in the embodiments of this application.
[0113] like Figure 4 As shown, this embodiment uses an acoustic car alarm system as an example of the prompt tone output device. After the current vehicle is powered on, the vehicle controller, gateway, body control module, instrument panel, anti-lock braking system, and acoustic car alarm system are all activated. The vehicle controller then periodically forwards message information such as gear position signal, vehicle speed signal, and ready signal to the acoustic car alarm system through the gateway, allowing the acoustic car alarm system to receive the message information from the current vehicle. The acoustic car alarm system can identify the data frames in the message information. By identifying the field corresponding to the vehicle type in the frame header or frame tail of the data frame, it reads the code of the field corresponding to the vehicle type to obtain the target vehicle model code. Then, based on the preset correspondence between vehicle model codes and vehicle types, it determines the vehicle type of the current vehicle based on the target vehicle model code. Furthermore, the message information also includes vehicle steering information. Since the vehicle steering information in the message information is sent to the acoustic car alarm system by other controllers, rather than by the vehicle controller, this information is not sent directly from the vehicle controller. Different vehicles use different controllers to send the vehicle steering information. Therefore, the source of the vehicle steering information in the message can be identified to obtain the signal source controller, such as... Figure 4As shown, controllers such as the instrument cluster and body control module can directly or via a gateway send vehicle turning information, such as turn signal signals, position light signals, and hazard warning light signals, to the acoustic vehicle alarm system. Then, based on the correspondence between the signal source controller and the vehicle type, the vehicle type can be determined. For example, if the signal source controller is the instrument cluster, the vehicle type can be determined to be a passenger vehicle; if the signal source controller is the body control module, the vehicle type can be determined to be a heavy truck.
[0114] See Figure 5 , Figure 5 This is a schematic diagram of the prompt tone output device of this application.
[0115] like Figure 5 As shown, this application provides a prompt tone output device, applied to a prompt tone output equipment, the prompt tone output device comprising:
[0116] The receiving module 10 is used to receive the message information of the current vehicle;
[0117] The identification module 20 is used to identify the message information and determine the vehicle type of the current vehicle;
[0118] The output module 30 is used to parse the message information based on the bus protocol corresponding to the vehicle type, and control the current vehicle to output the parsed prompt tone.
[0119] Optionally, the identification module 20 is also used for:
[0120] The data frames of the message information are identified to obtain the target vehicle model code;
[0121] The vehicle type of the current vehicle is determined based on the target vehicle model code.
[0122] Optionally, the output module 30 is also used for:
[0123] The step of controlling the current vehicle to output a prompt tone based on the parsed message information includes:
[0124] Based on the parsed message information, determine whether the current vehicle is in a low-speed driving state;
[0125] If the current vehicle is traveling at a low speed, then control the current vehicle to output a low speed warning sound.
[0126] Optionally, the output module 30 is also used for:
[0127] Based on the parsed message information, determine whether the current vehicle is in a reversing state;
[0128] If the current vehicle is in reverse, then control the current vehicle to output a reversing warning sound.
[0129] Optionally, the message information includes vehicle turning information, and the identification module 20 is further used for:
[0130] The source of the vehicle steering information is identified to obtain the signal source controller;
[0131] The vehicle type of the current vehicle is obtained by querying a preset vehicle type mapping table based on the signal source controller.
[0132] Optionally, the output module 30 is also used for:
[0133] Based on the parsed vehicle steering information, determine whether the current vehicle is in the target steering state;
[0134] If the current vehicle is in the target turning state, then control the current vehicle to output a turning prompt sound.
[0135] Optionally, the output module 30 is also used for:
[0136] Based on the vehicle type, query the preset volume mapping table to obtain the target volume;
[0137] Based on the parsed message information, the current vehicle is controlled to output a prompt tone according to the target volume.
[0138] The prompt tone output device provided in this application employs the prompt tone output methods in the above embodiments, solving the technical problem of poor universality of existing prompt tone output methods. Compared with the prior art, the beneficial effects of the prompt tone output device provided in this application are the same as those of the prompt tone output methods provided in the above embodiments, and other technical features in this prompt tone output device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0139] like Figure 6 As shown, Figure 6 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of this application.
[0140] Specifically, the prompt sound output device can be an AVAS (Acoustic Vehicle Alerting System), a PC (Personal Computer), a tablet computer, a portable computer, or a server, etc.
[0141] like Figure 6As shown, the prompt tone output device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard. The user interface 1003 may also include standard wired and wireless interfaces. Optionally, the network interface 1004 may include standard wired and wireless interfaces (such as a Wi-Fi interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. Alternatively, the memory 1005 may be a storage device independent of the aforementioned processor 1001.
[0142] Those skilled in the art will understand that Figure 6 The device structure shown does not constitute a limitation on the prompt tone output device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0143] like Figure 6 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a prompt sound output application.
[0144] exist Figure 6 In the device shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the client and communicate data with the client; and the processor 1001 can be used to call the prompt sound output program stored in the memory 1005 to implement the operation in the prompt sound output method provided in the above embodiment.
[0145] Furthermore, this application also proposes a computer storage medium storing a computer program. When the computer program is executed by a processor, it implements the operation in the prompt sound output method provided in the above embodiments. The specific steps will not be described in detail here.
[0146] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity / operation / object from another, and do not necessarily require or imply any such actual relationship or order between these entities / operations / objects; the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0147] For the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and relevant details can be found in the description of the method embodiments. The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate. Some or all of the modules can be selected according to actual needs to achieve the purpose of this application. Those skilled in the art can understand and implement this without creative effort.
[0148] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0149] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, television, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0150] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for outputting a prompt tone, characterized in that, The aforementioned prompt tone output method is applied to light trucks, mini trucks, heavy trucks, and buses, and includes the following steps: Receive the message information of the current vehicle, the message information including vehicle turning information; The message information is identified to determine the vehicle type of the current vehicle; The step of identifying the message information and determining the vehicle type of the current vehicle further includes: identifying the source of the vehicle steering information and obtaining a signal source controller, wherein the signal source controller includes an instrument controller or a body control module; According to the signal source controller, the vehicle type of the current vehicle is obtained by querying the preset vehicle type mapping table, wherein the preset vehicle type mapping table includes: the instrument controller corresponds to a passenger car, and the body control module corresponds to a heavy truck. The message information is parsed based on the bus protocol corresponding to the vehicle type, and the current vehicle is controlled to output a prompt tone based on the parsed message information.
2. The prompt tone output method as described in claim 1, characterized in that, The step of identifying the message information and determining the vehicle type of the current vehicle includes: The data frames of the message information are identified to obtain the target vehicle model code; The vehicle type of the current vehicle is determined based on the target vehicle model code.
3. The prompt tone output method as described in claim 2, characterized in that, The step of controlling the current vehicle to output a prompt tone based on the parsed message information includes: Based on the parsed message information, determine whether the current vehicle is in a low-speed driving state; If the current vehicle is traveling at a low speed, then control the current vehicle to output a low speed warning sound.
4. The prompt tone output method as described in claim 2, characterized in that, The step of controlling the current vehicle to output a prompt tone based on the parsed message information further includes: Based on the parsed message information, determine whether the current vehicle is in a reversing state; If the current vehicle is in reverse, then control the current vehicle to output a reversing warning sound.
5. The prompt tone output method as described in claim 1, characterized in that, The step of controlling the current vehicle to output a prompt tone based on the parsed message information further includes: Based on the parsed vehicle steering information, determine whether the current vehicle is in the target steering state; If the current vehicle is in the target turning state, then control the current vehicle to output a turning prompt sound.
6. The prompt tone output method according to any one of claims 1 to 5, characterized in that, The step of controlling the current vehicle to output a prompt tone based on the parsed message information includes: Based on the vehicle type, query the preset volume mapping table to obtain the target volume; Based on the parsed message information, the current vehicle is controlled to output a prompt tone according to the target volume.
7. A prompt tone output device, characterized in that, The alert tone output device is used in light trucks, mini trucks, heavy trucks, and buses, and the alert tone output device includes: A receiving module is used to receive message information of the current vehicle, the message information including vehicle turning information; An identification module is used to identify the message information and determine the vehicle type of the current vehicle. Specifically, the identification module is used to identify the source of the vehicle steering information and obtain a signal source controller, which includes an instrument controller or a body control module. Based on the signal source controller, a preset vehicle type mapping table is queried to obtain the vehicle type of the current vehicle. The preset vehicle type mapping table includes: the instrument controller corresponds to a passenger car, and the body control module corresponds to a heavy truck. The output module is used to parse the message information based on the bus protocol corresponding to the vehicle type, and control the current vehicle to output the parsed prompt tone.
8. A prompt tone output device, characterized in that, The prompt tone output device includes: a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the computer program, when executed by the processor, implements the steps of the prompt tone output method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a prompt sound output program, which, when executed by a processor, implements the steps of the prompt sound output method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Method for matching vehicle CAN protocol and correlation equipment
CN108803580A
Vehicle prompting method and device, electronic control unit, medium and program product
CN112712734A
Electric automobile low-speed alarm system
CN112895905A
Low-speed alarm sound prompting method and device, electronic equipment and readable storage medium
CN116985709A