Vehicle prompt control method, electronic equipment and storage medium
By obtaining and updating the prompt strategy group data of the car detection data, data packets are formed for inter-module communication, which solves the performance degradation caused by synchronous data transmission between modules in the automobile control system, and realizes more efficient data management and prompt function execution.
Patent Information
- Application Number
- CN202411272156.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2044-09-11
AI Technical Summary
In automotive control systems, as the function points and data volume increase, data protection measures are frequently used for synchronous data transfer between modules, resulting in a decline in microcontroller performance.
By obtaining vehicle detection data, it is determined whether it complies with the predetermined prompt strategy, and update the corresponding prompt function policy group data to form a data packet for transmission and splitting to control the information sent by each prompt function device to reduce data interaction and synchronization between modules.
It realizes unified analysis and judgment of vehicle detection data and centralized management of prompt functions, reduces the reduction of system performance and improves data update efficiency and uniformity.
Smart Images

Figure CN119218135A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile control technology, and in particular to a vehicle prompt control method, electronic equipment and storage medium. Background Art
[0002] The vehicle has the function of providing prompts to the driver in many scenarios, such as through indicator lights, pop-up windows, assisted driving, alarm sounds, central control alarm linkage and other functions, and transmits information to the driver through light signals and sound signals. Each functional module works independently. When it is necessary to execute multiple prompt functions at the same time, such as sounding an alarm and lighting up indicator lights at the same time, the data interface between modules is required to achieve synchronization. However, with the continuous increase in functional points and data volume, the synchronization of data between different modules requires frequent use of data protection measures, such as mutexes, thread suspension and resumption, resulting in the performance of the microcontroller unit (MCU) being discounted as the number of uses increases. Summary of the invention
[0003] The embodiments of the present application provide a vehicle prompt control method, an electronic device and a storage medium to solve the technical problem of low system performance caused by frequent module data synchronization.
[0004] According to one aspect of an embodiment of the present application, a vehicle prompt control method is provided, comprising: acquiring detection data of a vehicle; determining whether the detection data complies with a predetermined prompt strategy; in response to the detection data complying with the predetermined prompt strategy, updating the policy group data of all prompt functions corresponding to the predetermined prompt strategy; and executing the prompt function based on the updated policy group data.
[0005] Further, the updating of the policy group data of all prompt functions corresponding to the predetermined prompt policy includes: sending the determination result that the detection data complies with the predetermined prompt policy to the policy group of all prompt functions corresponding to the predetermined prompt policy; and updating the policy group data in the policy group.
[0006] Furthermore, after updating the policy group data of all the prompt functions corresponding to the predetermined prompt policy, the method further includes: forming the updated policy group data into a data packet; and sending the data packet.
[0007] Further, executing the prompt function based on the updated policy group data includes: receiving the data packet; splitting the data packet to obtain the policy group data corresponding to all the prompt functions; and controlling the devices corresponding to all the prompt functions to issue prompt information based on the policy group data.
[0008] Furthermore, the step of composing the updated policy group data into a data packet includes: composing the updated policy group data and a policy group identifier corresponding to the updated policy group data into a data packet; each policy group identifier corresponds to a prompt function.
[0009] Further, the splitting of the data packet includes: splitting the data packet based on a policy group identifier corresponding to the updated policy group data.
[0010] Furthermore, the method of controlling the devices corresponding to all the prompt functions to issue prompt information based on the policy group data includes: classifying the policy group data according to the data type corresponding to each prompt function; and sending the classified policy group data to the devices corresponding to the data type respectively to control the devices to issue prompt information.
[0011] Further, the updating of the policy group data of all prompt functions corresponding to the predetermined prompt strategy includes: updating at least one of the prompt priority, prompt output form, prompt duration, prompt interval, prompt frequency, prompt number and prompt content of all prompt functions corresponding to the predetermined prompt strategy.
[0012] According to another aspect of an embodiment of the present application, a vehicle prompt control device is also provided, including: an acquisition module for acquiring detection data of a vehicle; a judgment module for judging whether the detection data complies with a predetermined prompt strategy; an update module for updating the policy group data of all prompt functions corresponding to the predetermined prompt strategy in response to the detection data complying with the predetermined prompt strategy; and an execution module for executing the prompt function based on the updated policy group data.
[0013] Furthermore, the updating module is specifically used to: send the determination result that the detection data complies with the predetermined prompt strategy to the strategy group of all prompt functions corresponding to the predetermined prompt strategy; and update the strategy group data in the strategy group.
[0014] Furthermore, the updating module is specifically used to: organize the updated policy group data into a data packet; and send the data packet.
[0015] Furthermore, the execution module is specifically used to: receive the data packet; split the data packet to obtain the policy group data corresponding to all the prompt functions; and control the devices corresponding to all the prompt functions to issue prompt information based on the policy group data.
[0016] Furthermore, the updating module is specifically used to: form a data packet with the updated policy group data and the policy group identifier corresponding to the updated policy group data; each policy group identifier corresponds to a prompt function.
[0017] Furthermore, the execution module is specifically used to split the data packet based on the policy group identifier corresponding to the updated policy group data.
[0018] Furthermore, the execution module is specifically used to: classify the policy group data according to the data type corresponding to each prompt function; and send the classified policy group data to the devices corresponding to the data type respectively to control the devices to send prompt information.
[0019] Furthermore, the update module is specifically used to update at least one of the prompt priority, prompt output form, prompt duration, prompt interval, prompt frequency, prompt number and prompt content of all prompt functions corresponding to the predetermined prompt strategy.
[0020] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the steps in the above method are executed when the program is run.
[0021] According to another aspect of an embodiment of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the program stored in the memory.
[0022] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps in the above method.
[0023] The embodiment of the present application proposes a vehicle prompt control method, electronic device and storage medium, the method acquires the detection data of the vehicle; determines whether the detection data conforms to the predetermined prompt strategy; in response to the detection data conforming to the predetermined prompt strategy, updates the policy group data of all prompt functions corresponding to the predetermined prompt strategy; and executes the prompt function based on the updated policy group data. In this way, the vehicle detection data is uniformly analyzed and determined, and the policy group data of all prompt functions is uniformly updated when the policy conditions for prompting are met. There is no need to perform data determination and policy group data update separately in different prompt function modules, and there is no need to perform interface data interaction and synchronization between multiple modules in order to realize the synchronous execution of prompt functions, which reduces the degradation of system performance caused by the frequent synchronization of data between different modules. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0025] Figure 1 is a flow chart of a vehicle prompt control method according to an embodiment of the present application;
[0026] Figure 2 is a flow chart of a vehicle prompt control method according to an embodiment of the present application;
[0027] Figure 3 is a schematic diagram of a vehicle prompt control system according to an embodiment of the present application;
[0028] Figure 4 is a schematic diagram of a vehicle prompt control system according to an embodiment of the present application;
[0029] Figure 5 is a schematic diagram of a structure data type according to an embodiment of the present application;
[0030] Figure 6 is a structural diagram of a vehicle prompt control device according to an embodiment of the present application;
[0031] Figure 7 It is a structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] In this embodiment, a vehicle prompt control method is provided. Figure 1 is a flow chart of a vehicle prompt control method according to an embodiment of the present application. Figure 1 As shown, the process includes the following steps:
[0035] S10: Acquire vehicle detection data;
[0036] S20: Determine whether the detection data conforms to the predetermined prompt strategy;
[0037] S30: in response to the detection data conforming to the predetermined prompt strategy, updating the strategy group data of all prompt functions corresponding to the predetermined prompt strategy;
[0038] S40: Execute a prompt function based on the updated policy group data.
[0039] In this embodiment, the vehicle prompt control method can be applied to the vehicle system of the vehicle. The prompt function can be a function in the vehicle for issuing prompts to the driver, for example, it can include at least one of the functions such as indicator light, prompt sound, pop-up window, central control screen display, etc. Among them, the indicator light function can prompt different contents by lighting up, flashing, changing colors, etc. The prompt sound can be a beep or other forms of sound prompts, such as playing prompt content by voice. The pop-up window can be a pop-up window prompt in the instrument panel area, such as pop-up icons, numbers, symbols, etc. to prompt different contents. The central control screen display can include displaying text, graphics, buttons, etc. on the central control screen to prompt different contents, and can also interact with the driver.
[0040] In one embodiment, the detection data of the vehicle may refer to data obtained by detecting the vehicle status related to the prompt function, for example, the vehicle status that needs to be prompted through the instrument panel and / or the central control screen. The detection data may include detection data obtained through at least one of a controller area network (CAN) signal, a local interconnect network (LIN) signal, a digital signal, an analog signal, a configuration word, and downlink switch data.
[0041] In one embodiment, step S10 may include: obtaining detection data of the vehicle at the current moment. For example, the detection data of the vehicle at the current moment may be obtained at a predetermined period. The predetermined period may be 10ms, 20ms, etc., so as to obtain the detection data regularly to determine whether the prompt function needs to be executed.
[0042] In one embodiment, step S10 may include: obtaining detection data of the vehicle within a predetermined time window before the current moment, wherein the predetermined time window may be 100ms, 200ms, etc., so that the current state of the vehicle can be better defined according to the vehicle detection data within a certain period of time, and then more accurately determine whether the prompt function needs to be executed.
[0043] In one embodiment, step S10 may include: initializing variables and acquiring detection data of the vehicle.
[0044] In one embodiment, the predetermined prompt strategy may include a corresponding relationship between a prompt condition and a prompt content to be output when the prompt condition is met. Here, the prompt condition in the strategy may indicate that the vehicle is in a predetermined vehicle state related to the prompt function. For example, the vehicle being in a predetermined vehicle state related to the prompt function may mean that one or more detection data of the vehicle at the current moment meets a predetermined data range, etc.
[0045] For example, the prompt condition may include: obtaining the vehicle tire pressure data based on the CAN signal within a predetermined low pressure range. At this time, the prompt content corresponding to the prompt condition in the predetermined prompt strategy may include: outputting a pop-up window prompt of low tire pressure, and lighting up the tire pressure indicator light, etc.
[0046] In one embodiment, the vehicle may include a predetermined prompt strategy, which includes multiple groups of the above correspondences, or may include multiple predetermined prompt strategies, each of which includes one or more groups of the above correspondences.
[0047] Here, the prompt content to be outputted may include the prompt function to be executed and the specific output parameters of each prompt function. The output parameters may include at least one of the prompt priority, prompt output form, prompt duration, prompt interval, prompt frequency, prompt number, and prompt content parameters for executing the prompt function.
[0048] In one embodiment, in step S20, determining whether the detection data conforms to a predetermined prompt strategy may refer to determining whether the detection data satisfies a prompt condition in a predetermined prompt strategy. For example, the prompt condition indicates one or more data ranges, and when the detection data are all within the one or more data ranges, the prompt condition is satisfied.
[0049] In one embodiment, steps S10-S30 may be executed by a microcontroller MCU, such as an MCU of an instrument panel. Step S40 may be executed by an actuator such as a cockpit system on chip (SOC). Steps S10 and S20 may be executed by a processing module in the vehicle, such as a function point management module, to replace multiple function modules that respectively control multiple prompt functions.
[0050] In one embodiment, each prompt function may correspond to a policy group, and the policy group may include policy group data corresponding to the prompt function, for example, the policy group data may be in the form of a structure, etc. The policy group data may indicate the parameters required to execute the prompt function currently, for example, at least one of the parameters such as the prompt priority, prompt output form, prompt duration, prompt interval duration, prompt frequency, prompt number, and prompt content required to execute the prompt function currently.
[0051] In one embodiment, updating the policy group data of all prompt functions corresponding to the predetermined prompt policy may include: updating the policy group data of all prompt functions corresponding to the predetermined prompt policy among all prompt functions included in the vehicle. Here, all prompt functions corresponding to the predetermined prompt policy may refer to all prompt functions corresponding to the prompt conditions met by the detection data, for example, all prompt functions that need to be executed when the prompt conditions are met.
[0052] In one embodiment, updating the policy group data of all prompt functions corresponding to the predetermined prompt policy may include: updating the policy group data of all prompt functions corresponding to the predetermined prompt policy based on the predetermined prompt policy that the detection data complies with.
[0053] In one embodiment, step S40 may include: sending the updated policy group data to the device corresponding to the prompt function, and executing the prompt function through the device. The device corresponding to the prompt function may refer to a device for executing the prompt function to output the prompt content. For example, the device corresponding to the indicator light, pop-up window, assisted driving and other functions may be an instrument panel, and the device corresponding to the prompt sound function may be a speaker. The device corresponding to the central control screen display function may be the central control screen.
[0054] In one embodiment, step S40 may include: sending the updated policy group data to an application in the device corresponding to the prompt function, and controlling the device to execute the prompt function through the application. For example, updated policy group data for functions such as indicator lights, pop-up windows, and assisted driving can be sent to the Kanzi application to control the display of rendering information on the instrument panel. Updated policy group data for the prompt sound function can be sent to the Audio application to drive the power amplifier and control the speaker to play sound. Updated policy group data for the central control screen display function can be sent to the central control screen to display prompt information.
[0055] In this way, the vehicle detection data can be uniformly analyzed and judged, and the policy group data of all prompt functions can be uniformly updated when the policy conditions for executing the prompt are met, so as to better centrally manage data analysis and function execution. There is no need to perform data judgment and policy group data updates separately in different prompt function modules, and it can also avoid interface data interaction and synchronization between multiple modules to achieve synchronous execution of prompt functions, thereby reducing the degradation of system performance caused by frequent data synchronization between modules.
[0056] In some embodiments, in step S30, the updating of the policy group data of all prompt functions corresponding to the predetermined prompt policy includes:
[0057] Sending the determination result that the detection data conforms to the predetermined prompt strategy to the strategy group of all prompt functions corresponding to the predetermined prompt strategy;
[0058] The policy group data is updated in the policy group.
[0059] In one embodiment, the aforementioned function point management module may send the determination result that the detection data complies with the predetermined prompt strategy to the strategy group of all prompt functions corresponding to the predetermined prompt strategy.
[0060] Here, the determination result that the detection data complies with the predetermined prompt strategy may include the predetermined prompt strategy that the detection data complies with, for example, the prompt content that needs to be output when the detection data meets the prompt condition.
[0061] In one embodiment, the determination result may include the prompt function to be executed and the specific output parameters of each prompt function. Updating the policy group data in the policy group may include: updating the policy group data in the policy group according to the determination result. For example, updating the policy group data of the prompt function according to the output parameters of each prompt function.
[0062] In one embodiment, the policy group data of different prompt functions contain different contents. For example, the policy group data of the indicator light may contain at least one of the following: the on / off state of the light, the color state of the light, and the specific digital indication information in the light, etc. For example, the brake system warning light has yellow and red in different situations, and the overspeed or speed limit indicator light should display the specific overspeed limit value in the light, etc.
[0063] In one embodiment, the strategy group data of the pop-up strategy may include at least one of the following: minimum display time, whether to poll multiple pop-ups, pop-up priority, pop-up sequence number, pop-up sub-variables, etc. For example, when a pop-up window appears when the tire pressure and temperature are high, the sub-variable can be used to distinguish which tire it is.
[0064] In one embodiment, the central control screen display function may include an assisted driving display function, which can be used to display only the signal with the highest priority if other signals are triggered to be valid within a certain range of a certain signal validity time. For example, the strategy group data includes a sequence number and sub-variables. For example, if a text prompt appears within 400ms that the lane cruising condition is not met or the adaptive cruise condition is not met, only the prompt information that the lane cruising condition is not met is displayed.
[0065] In one embodiment, the policy group of the prompt tone can be used to prioritize all valid requests, respond to the highest priority first, and then respond to the prompt tone with lower priority in sequence, etc. For example, the policy group data can include at least one of the following: prompt tone identification (ID), prompt tone channel number, prompt tone action, prompt tone interval number and interval duration, etc. For example, when the car door is not closed prompt tone sounds, a pop-up prompt tone with a higher priority appears. The pop-up prompt tone should be played after it is played, and then the car door is not closed prompt tone should be played again.
[0066] In one embodiment, the central control screen display function may include a message center function. The strategy group of this function is used to simultaneously transmit indicator lights, pop-up windows, and assisted driving alarm combinations to the same structure according to needs to achieve alarm linkage. For example, the brake system warning indicator light, thermal runaway fault pop-up window, and please take over the assisted driving data immediately should be synchronized to the central control message center prompt text.
[0067] In this way, the policy groups of each prompt function can be updated independently, which is conducive to updating and editing the policy groups of individual functions and improving efficiency. In addition, based on a determination result, multiple policy groups can be updated synchronously, which can improve the efficiency and uniformity of data update.
[0068] In some embodiments, after step S30, the method may further include:
[0069] The updated policy group data is formed into a data packet; and the data packet is sent.
[0070] In one embodiment, the steps of forming the updated policy group data into a data packet and sending the data packet may be performed by the MCU. Accordingly, step S40 performed by the cockpit SOC may include: receiving the data packet; splitting the data packet to obtain the policy group data corresponding to all prompt functions; and controlling the devices corresponding to all prompt functions to send prompt information based on the policy group data.
[0071] In one embodiment, forming the updated policy group data into a data packet may include: forming the updated policy group data and a policy group identifier corresponding to the updated policy group data into a data packet.
[0072] In this way, single data communication between the MCU and the cockpit SOC is realized through data packaging, the number of communications is reduced, and the strategy group data required for the execution of a prompt function is sent uniformly, thereby further reducing the occupancy of system performance.
[0073] In this embodiment, a vehicle prompt control method is provided. Figure 2 is a flow chart of a vehicle prompt control method according to an embodiment of the present application. Figure 2 As shown, the process includes the following steps:
[0074] S11: Acquire vehicle detection data;
[0075] S21: Determine whether the detection data conforms to the predetermined prompt strategy;
[0076] S31: in response to the detection data conforming to the predetermined prompt strategy, updating the strategy group data of all prompt functions corresponding to the predetermined prompt strategy;
[0077] S41: forming the updated policy group data into a data packet;
[0078] S51: Send data packet;
[0079] S61: receiving a data packet;
[0080] S71: Split the data packet to obtain policy group data corresponding to all prompt functions;
[0081] S81: Control all devices corresponding to the prompt functions to send prompt information based on the policy group data.
[0082] In this embodiment, the specific implementation and related embodiments of steps S11-S31 can refer to the specific implementation and related embodiments of the aforementioned steps S10-S30, and will not be repeated here. Here, steps S41 and S51 can be executed by MCU, which can be the MCU of the instrument panel, and steps S61-S81 can be executed by the cockpit SOC, which can be used to control various devices in the vehicle cockpit. The MCU and the cockpit SOC can communicate through the serial peripheral interface (Serial Peripheral Interface, SPI) of the cockpit SOC.
[0083] In one embodiment, forming the updated policy group data into a data packet may include: forming the updated policy group data into a data packet through an interprocess communication (IPC) module.
[0084] In one embodiment, step S51 may include sending a data packet to a middleware, where the middleware may be a middleware in the cockpit SOC. Accordingly, step S61 may include: receiving the data packet through the middleware. Step S71 may include: splitting the data packet through the middleware to obtain policy group data corresponding to all prompt functions.
[0085] In one embodiment, splitting the data packet may refer to splitting the data packet based on a predetermined protocol, wherein the predetermined protocol may indicate splitting the data packet based on a policy group ID, or may indicate splitting the data packet based on a data type, and the like.
[0086] In this way, single data communication between the MCU and the cockpit SOC is realized through data packaging, the number of communications is reduced, and the strategy group data required for the execution of a prompt function is sent uniformly, thereby further reducing the occupancy of system performance.
[0087] In some embodiments, forming the updated policy group data into a data packet includes:
[0088] The updated policy group data and the policy group identifier corresponding to the updated policy group data form a data packet; each policy group identifier corresponds to a prompt function.
[0089] In one embodiment, splitting the data packet includes:
[0090] The data packet is split based on the policy group identifier corresponding to the updated policy group data.
[0091] In one embodiment, the policy group identifier may be a policy group ID, and the data packet may include a policy group identifier corresponding to each policy group data, so as to distinguish different policy groups. Each policy group data may include one or more data, and each data may correspond to the policy group identifier corresponding to the policy group data.
[0092] In one embodiment, splitting the data packet based on the policy group identifier corresponding to the updated policy group data may include splitting out data corresponding to the same policy group identifier to obtain policy group data corresponding to each policy group identifier.
[0093] In one embodiment, step S81 may include: sending the policy group data of all the aforementioned prompt functions to corresponding devices respectively according to the policy group identifier, so as to issue prompt information through the device.
[0094] In this way, the policy groups corresponding to different policy group data can be quickly and accurately marked according to the policy group identifier, and then the corresponding prompt functions can be quickly distinguished for accurate splitting and execution.
[0095] In some embodiments, the step S81 may include:
[0096] Classifying the strategy group data according to the data type corresponding to each prompt function;
[0097] The classified policy group data are respectively sent to devices corresponding to the data types to control the devices to issue prompt information.
[0098] In one embodiment, the data type corresponding to the prompt function may be the data type corresponding to the device used to execute the prompt function. For example, the data type corresponding to the indicator light function may be the Kanzi application data type corresponding to the indicator light device. The data type corresponding to the pop-up window function may be the Kanzi application data type corresponding to the instrument panel. The data type corresponding to the assisted driving function may be the Kanzi application data type corresponding to the instrument panel. The data type corresponding to the alarm sound function may be the Audio application data type corresponding to the speaker. The data type corresponding to the central control screen display function may be the message data type corresponding to the central control screen, etc.
[0099] In one embodiment, the data type corresponding to the prompt function can be determined according to the policy group identifier. For example, each policy group identifier can correspond to one or more data types, and / or one data type can correspond to one or more policy group identifiers.
[0100] In one embodiment, sending the classified policy group data to the devices corresponding to the data types may refer to sending the policy group data of the same data type to the devices corresponding to the data types. One data type may correspond to one or more devices, and / or one device may correspond to one or more data types.
[0101] In this way, by classifying the policy group data by data type, the data required by different devices can be more accurately distinguished, so that the data can be sent to all execution devices in a unified manner, which is conducive to rapid response and further reduction of system performance occupancy.
[0102] In some embodiments, updating the policy group data of all prompt functions corresponding to the predetermined prompt policy includes:
[0103] At least one of the prompt priority, prompt output form, prompt duration, prompt interval duration, prompt frequency, prompt number and prompt content of all prompt functions corresponding to the predetermined prompt strategy is updated.
[0104] Here, the prompt output form may include indicator light color, indicator light lighting, indicator light flashing, prompt sound type, prompt sound rhythm, pop-up icon, pop-up symbol, pop-up display content, etc.
[0105] In this way, by updating the strategy group data, the specific parameters for executing the prompt function can be more accurately controlled, which is conducive to quickly and accurately distinguishing and outputting different prompt information when there are a large number of prompt strategies, thereby improving the recognizability for drivers.
[0106] As a possible implementation, Figure 3 As shown, this embodiment makes a unified judgment on the original input in the function point input management module, initializes the variables first, reads the input of the CAN signal, LIN signal, digital signal, analog signal, configuration word, downlink switch data, etc. required by the corresponding function point, judges whether the condition is satisfied according to the function strategy, and then sends the output result to the corresponding indicator light, pop-up window, assisted driving, alarm sound, central control message center strategy group for data update or arbitration. The specific framework can be as follows Figure 4 shown.
[0107] The indicator light strategy needs to flash synchronously, and all light states need to be sent in full. The data includes the on and off state of the light, the color state of the light, and the specific digital indication information in the light. For example, the brake system warning light has yellow and red according to the situation, and the speeding or speed limit indicator light needs to display the specific speed limit value in the light.
[0108] The pop-up strategy needs to have display functions such as minimum display time, multi-pop-up polling, and pop-up priority. The data includes the pop-up sequence number and the sub-variables of the pop-up. For example, if the tire pressure and temperature are high, there will be a pop-up window, and it is also necessary to distinguish which tire it is.
[0109] The assisted driving strategy triggers other signals to be effective within a certain range of a certain signal validity time, and only responds to the signal with the highest priority for display. The data contains sequence numbers and sub-variables. For example, if a text prompt appears within 400ms that the lane cruising conditions are not met and the adaptive cruise conditions are not met, only the prompt that the lane cruising conditions are not met will be displayed.
[0110] The alarm tone strategy prioritizes all valid requests, responding to the highest priority first, and then responding to the lower priority alarm tones in turn. The data includes the alarm tone ID, alarm tone channel number, alarm tone action, alarm tone interval times and interval duration. For example, when the car door is not closed reminder tone sounds, a higher priority pop-up alarm tone appears. The pop-up alarm tone should be played after it is played, and then the car door is not closed alarm tone should be played again.
[0111] The message center strategy transmits the indicator light, pop-up window, and assisted driving alarm combination to the same structure according to the needs to realize alarm linkage. For example, the brake system warning indicator light, thermal runaway fault pop-up window, and please take over the assisted driving data immediately should be synchronized to the central control message center prompt text. For example, the type, meaning, and form of the data in the structure corresponding to each prompt function can be as follows Figure 5 shown.
[0112] After the IPC packages the information, it sends it to the middleware through SPI communication with the SOC. The middleware unpacks it into different data types according to the protocol. The indicator light, pop-up window, and auxiliary driving data are sent to the Kanzi application, which displays the rendered information on the instrument screen. The alarm sound data is sent to the Audio application to drive the amplifier and speaker to play the sound. The message center application sends the corresponding alarm linkage information to the central control screen.
[0113] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0114] In this embodiment, a vehicle prompt control device is also provided to implement the above-mentioned embodiments and preferred implementation modes, which have been described and will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0115] Figure 6 is a structural block diagram of a vehicle prompt control device according to an embodiment of the present application, such as Figure 6 As shown, the device includes: an acquisition module 100, used for acquiring detection data of a vehicle; a judgment module 200, used for judging whether the detection data complies with a predetermined prompt strategy; an update module 300, used for updating the policy group data of all prompt functions corresponding to the predetermined prompt strategy in response to the detection data complying with the predetermined prompt strategy; and an execution module 400, used for executing the prompt function based on the updated policy group data.
[0116] Furthermore, the updating module 300 is specifically used to: send the determination result that the detection data complies with the predetermined prompt strategy to the strategy group of all prompt functions corresponding to the predetermined prompt strategy; and update the strategy group data in the strategy group.
[0117] Furthermore, the updating module 300 is specifically used to: organize the updated policy group data into a data packet; and send the data packet.
[0118] Furthermore, the execution module 400 is specifically used to: receive the data packet; split the data packet to obtain the policy group data corresponding to all the prompt functions; and control the devices corresponding to all the prompt functions to issue prompt information based on the policy group data.
[0119] Furthermore, the updating module 300 is specifically used to: form a data packet with the updated policy group data and the policy group identifier corresponding to the updated policy group data; each policy group identifier corresponds to a prompt function.
[0120] Furthermore, the execution module 400 is specifically configured to split the data packet based on the policy group identifier corresponding to the updated policy group data.
[0121] Furthermore, the execution module 400 is specifically used to: classify the policy group data according to the data type corresponding to each prompt function; and send the classified policy group data to the devices corresponding to the data type respectively to control the devices to send prompt information.
[0122] Furthermore, the updating module 300 is specifically used to update at least one of the prompt priority, prompt output form, prompt duration, prompt interval, prompt frequency, prompt number and prompt content of all prompt functions corresponding to the predetermined prompt strategy.
[0123] Furthermore, the prompt function includes at least one of the following: indicator light, prompt sound, pop-up window, and central control screen display.
[0124] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0125] The embodiment of the present application also provides an electronic device, Figure 7 is a structural diagram of an electronic device according to an embodiment of the present application, such as Figure 7 As shown, it includes a processor 41, a communication interface 42, a memory 43 and a communication bus 44, wherein the processor 41, the communication interface 42 and the memory 43 communicate with each other through the communication bus 44, and the memory 43 is used to store computer programs; the processor 41 is used to implement the following steps when executing the program stored in the memory 43: obtaining the detection data of the vehicle; determining whether the detection data conforms to a predetermined prompt strategy; in response to the detection data conforming to the predetermined prompt strategy, updating the strategy group data of all prompt functions corresponding to the predetermined prompt strategy; and executing the prompt function based on the updated strategy group data.
[0126] Further, the updating of the policy group data of all prompt functions corresponding to the predetermined prompt policy includes: sending the determination result that the detection data complies with the predetermined prompt policy to the policy group of all prompt functions corresponding to the predetermined prompt policy; and updating the policy group data in the policy group.
[0127] Furthermore, after updating the policy group data of all the prompt functions corresponding to the predetermined prompt policy, the method further includes: forming the updated policy group data into a data packet; and sending the data packet.
[0128] Further, executing the prompt function based on the updated policy group data includes: receiving the data packet; splitting the data packet to obtain the policy group data corresponding to all the prompt functions; and controlling the devices corresponding to all the prompt functions to issue prompt information based on the policy group data.
[0129] Furthermore, the step of composing the updated policy group data into a data packet includes: composing the updated policy group data and a policy group identifier corresponding to the updated policy group data into a data packet; each policy group identifier corresponds to a prompt function.
[0130] Further, the splitting of the data packet includes: splitting the data packet based on a policy group identifier corresponding to the updated policy group data.
[0131] Furthermore, the method of controlling the devices corresponding to all the prompt functions to issue prompt information based on the policy group data includes: classifying the policy group data according to the data type corresponding to each prompt function; and sending the classified policy group data to the devices corresponding to the data type respectively to control the devices to issue prompt information.
[0132] Further, the updating of the policy group data of all prompt functions corresponding to the predetermined prompt strategy includes: updating at least one of the prompt priority, prompt output form, prompt duration, prompt interval, prompt frequency, prompt number and prompt content of all prompt functions corresponding to the predetermined prompt strategy.
[0133] Furthermore, the prompt function includes at least one of the following: indicator light, prompt sound, pop-up window, and central control screen display.
[0134] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0135] The communication interface is used for communication between the above terminal and other devices.
[0136] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0137] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0138] In another embodiment provided in the present application, a computer-readable storage medium is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the vehicle prompt control method described in any one of the above embodiments.
[0139] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the vehicle prompt control method described in any one of the above embodiments.
[0140] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.
[0141] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
[0142] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A vehicle prompt control method, characterized in that: The method comprises: Obtain vehicle detection data; Determining whether the detection data complies with a predetermined prompt strategy; In response to the detection data being in compliance with the predetermined prompt strategy, updating the strategy group data of all prompt functions corresponding to the predetermined prompt strategy; The prompt function is performed based on the updated policy group data.
2. The method according to claim 1, characterized in that The updating of the policy group data of all prompt functions corresponding to the predetermined prompt policy includes: Sending the determination result that the detection data conforms to the predetermined prompt strategy to the strategy group of all prompt functions corresponding to the predetermined prompt strategy; The policy group data is updated in the policy group.
3. The method according to claim 1, characterized in that After updating the policy group data of all prompt functions corresponding to the predetermined prompt policy, the method further includes: Combining the updated policy group data into a data packet; The data packet is sent.
4. The method according to claim 3, characterized in that The performing of the prompting function based on the updated policy group data includes: receiving the data packet; Splitting the data packet to obtain policy group data corresponding to all the prompt functions; Based on the policy group data, the devices corresponding to all the prompt functions are controlled to issue prompt information.
5. The method according to claim 3, characterized in that: The updated policy group data is formed into a data packet, including: The updated policy group data and the policy group identifier corresponding to the updated policy group data form a data packet; each policy group identifier corresponds to a prompt function.
6. The method according to claim 4, characterized in that The step of splitting the data packet comprises: The data packet is split based on the policy group identifier corresponding to the updated policy group data.
7. The method according to claim 4, characterized in that The controlling the devices corresponding to all the prompt functions to send prompt information based on the policy group data includes: Classifying the strategy group data according to the data type corresponding to each prompt function; The classified policy group data are respectively sent to devices corresponding to the data types to control the devices to issue prompt information.
8. The method according to claim 1, characterized in that The updating of the policy group data of all prompt functions corresponding to the predetermined prompt policy includes: At least one of the prompt priority, prompt output form, prompt duration, prompt interval duration, prompt frequency, prompt number and prompt content of all prompt functions corresponding to the predetermined prompt strategy is updated.
9. An electronic device, characterized in that: The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the vehicle prompt control method as claimed in any one of claims 1 to 8 when executed by the processor.
10. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the steps of the vehicle prompt control method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Client control system using strategy group identifier
CN101753556A
Vehicle type label sequence updating method, vehicle type label sequence ordering method and vehicle type label sequence updating system
CN106991632A
Data monitoring method and device
CN110113356A
Vehicle risk information prompting method and device, storage medium and electronic device
CN111444473A
Vehicle control method, vehicle control device, server and storage medium
CN113720347A
