Processing method and device of auxiliary driving function control instruction, equipment and medium
Patent Information
- Application Number
- CN202410056898.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-15
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2044-01-15
AI Technical Summary
[0003]基于此,本发明提供一种辅助驾驶功能控制指令的处理方法、装置、设备及介质,以解决辅助功能的开启或关闭效率较低的技术问题
[0039]本发明的辅助驾驶功能控制指令的处理方法,接收用户输入的针对目标辅助功能的目标控制指令,根据目标控制指令和目标辅助功能的优先级,确定目标辅助功能是否对应有关联辅助功能,根据目标控制指令以及每一关联辅助功能的当前状态,确定每一关联辅助功能是否生成对应的关联控制指令;将目标控制指令和所有的关联控制指令通过进程间通讯协议发送至智能驾驶功能控制程序,使得智能驾驶功能控制程序根据目标控制指令和每一关联控制指令,控制目标辅助功能以及每一关联控制指令对应的辅助功能的开启或关闭;由于将目标控制指令和所有的关联控制指令一次性通过进程间通讯协议发送至智能驾驶功能控制程序,使得控制指令设置程序与智能驾驶功能控制程序之间只进行一次数据交互,即可完成对目标辅助功能以及每一关联辅助功能的控制,从而提高目标辅助功能的开启或关闭效率。
Smart Images

Figure CN117944597B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of driver assistance, and in particular to a method, apparatus, device, and medium for processing driver assistance function control commands. Background Technology
[0002] Currently, with the rapid development of automotive driver assistance technology, more and more cars are using driver assistance systems. When users turn driver assistance functions on or off, they typically input the corresponding control commands for the driver assistance function into the control command setting program on the central control screen. The central control screen then sends the user-input control commands to the intelligent driving function control program, which executes the user-input control commands. However, driver assistance functions are differentiated by level. When a higher-level driver assistance function is activated, the associated lower-level driver assistance functions need to be activated simultaneously. After the user inputs the control command corresponding to the higher-level driver assistance function into the control command setting program on the central control screen, the central control screen sends the control command to the intelligent driving function control program. The intelligent driving function control program determines other associated driver assistance functions based on the level of the driver assistance function corresponding to the control command and activates the associated other driver assistance functions. Because the control command setting program and the intelligent driving function control program are located on different system-on-a-chip (Security Operations Center, SOC), the communication latency between the two is high, and the intelligent driving function control program performs many logical operations before it can complete the execution of the user-input control commands, resulting in low efficiency in turning driver assistance functions on or off. Summary of the Invention
[0003] Based on this, the present invention provides a method, apparatus, device and medium for processing control commands of driver assistance functions, so as to solve the technical problem of low efficiency in turning on or off driver assistance functions.
[0004] According to a first aspect of this application, a method for processing control commands for assisted driving functions is provided. The method is applied to a control command setting program configured within a vehicle-mounted processing chip. The vehicle-mounted processing chip also contains an intelligent driving function control program. The control command setting program and the intelligent driving function control program are communicatively connected. The method includes:
[0005] Receive user input of a target control command for a target auxiliary function; wherein, the target auxiliary function is any one of all the auxiliary functions corresponding to the vehicle;
[0006] Based on the target control command and the priority of the target auxiliary function, it is determined whether the target auxiliary function corresponds to an associated auxiliary function; the associated auxiliary function is any other auxiliary function other than the target auxiliary function among all auxiliary functions.
[0007] When a target auxiliary function corresponds to an associated auxiliary function, it is determined whether each associated auxiliary function generates a corresponding associated control instruction based on the target control instruction and the current state of each associated auxiliary function.
[0008] When any associated auxiliary function generates a corresponding associated control command, the target control command and all associated control commands are sent to the intelligent driving function control program through an inter-process communication protocol, so that the intelligent driving function control program controls the activation or deactivation of the target auxiliary function and the auxiliary function corresponding to each associated control command according to the target control command and each associated control command.
[0009] Optionally, based on the priority of the target control command and the target auxiliary function, it is determined whether the target auxiliary function corresponds to an associated auxiliary function, including:
[0010] If the target control command indicates that the target assistance function is enabled and the priority of the target assistance function is the lowest priority, or if the target control command indicates that the target assistance function is disabled and the priority of the target assistance function is the highest priority, then it is determined that the target assistance function does not correspond to an associated assistance function; otherwise, it is determined that the target assistance function corresponds to an associated assistance function.
[0011] Optionally, based on the target control command and the current state of each associated auxiliary function, it is determined whether each associated auxiliary function generates a corresponding associated control command, including:
[0012] When the target instruction indicates that the target auxiliary function is enabled, the corresponding associated control instruction is generated for the auxiliary function whose priority is lower than that of the target auxiliary function and whose current state is disabled.
[0013] When the target instruction indicates that the target auxiliary function is off, an auxiliary function with a higher priority than the target auxiliary function and currently in the on state is identified, and a corresponding associated control instruction is generated; wherein, the state of the associated auxiliary function indicated by the associated control instruction is the same as the state of the target auxiliary function indicated by the target control instruction.
[0014] Optionally, before receiving a target control command input by the user for the target assistive function, the method further includes:
[0015] The time interval between the currently input control command and the specified control command is determined as the candidate time interval; wherein, the specified control command is the control command that is adjacent to the currently input control command and is input before the currently input control command;
[0016] Obtain the current driving status of the vehicle;
[0017] If the candidate time interval is less than a preset time interval threshold and the current driving state of the vehicle is a preset non-bumpy state, the auxiliary function corresponding to the control command currently input by the user is determined as the target auxiliary function.
[0018] If the candidate time interval is greater than a preset time interval threshold, the auxiliary function corresponding to the control command currently input by the user is determined as the target auxiliary function.
[0019] Optionally, the preset time interval threshold is determined through the following steps:
[0020] Any historical time interval is determined as the first historical time interval, and the next adjacent historical time interval after the first historical time interval is determined as the second historical time interval; wherein, the historical time interval is the time interval between two adjacent input control commands within the historical time period;
[0021] If both the first historical time interval and the second historical time interval are less than or equal to the first preset duration, and both the preceding adjacent historical time interval of the first historical time interval and the following adjacent historical time interval of the second historical time interval are greater than the first preset duration, then the first historical time interval and the second historical time interval are determined as candidate historical time intervals.
[0022] Obtain any three adjacent historical time intervals and determine them as the third, fourth, and fifth historical time intervals in sequence.
[0023] If the three adjacent historical time intervals are all less than or equal to the first preset duration, the historical time interval preceding the third historical time interval is greater than the first preset duration, and the historical time interval following the fifth historical time interval is greater than the first preset duration but less than the second preset duration, then the third historical time interval, the fourth historical time interval, and the fifth historical time interval are determined as candidate historical time intervals.
[0024] The preset time interval threshold is determined based on all candidate historical time intervals.
[0025] Optionally, the preset time interval threshold is determined based on all candidate historical time intervals, including:
[0026] Obtain the largest candidate historical time interval from all candidate historical time intervals and determine it as the target historical time interval;
[0027] The target historical time interval is determined as the preset time interval threshold.
[0028] Optionally, the preset time interval threshold is determined based on all candidate historical time intervals, including:
[0029] The maximum number of candidate historical time intervals among all candidate historical time intervals is determined as the intermediate historical time interval.
[0030] The average historical time interval corresponding to all intermediate historical operation time intervals is determined as the preset time interval threshold.
[0031] According to another aspect of this application, a processing device for driver assistance function control commands is also provided, applied to a vehicle's cockpit processing chip, the device comprising:
[0032] The target control command response module is used to receive target control commands input by the user for a target auxiliary function; wherein, the target auxiliary function is any one of all auxiliary functions corresponding to the vehicle.
[0033] The associated auxiliary function determination module is used to determine whether the target auxiliary function corresponds to an associated auxiliary function based on the target control command and the priority of the target auxiliary function; the associated auxiliary function is any auxiliary function other than the target auxiliary function among all auxiliary functions.
[0034] The associated control instruction generation module is used to determine whether each associated auxiliary function should generate a corresponding associated control instruction based on the target control instruction and the current state of each associated auxiliary function when the target auxiliary function corresponds to an associated auxiliary function.
[0035] The control command sending module is used to send the target control command and all associated control commands to the intelligent driving function control program via an inter-process communication protocol when any associated auxiliary function generates a corresponding associated control command, so that the intelligent driving function control program controls the target auxiliary function and the auxiliary function corresponding to each associated control command to be turned on or off according to the target control command and each associated control command.
[0036] According to another aspect of this application, a non-transitory computer-readable storage medium is also provided, wherein at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or at least one program is loaded and executed by a processor to implement the processing method of the above-mentioned assisted driving function control instructions.
[0037] According to another aspect of this application, an electronic device is also provided, including a processor and the aforementioned non-transitory computer-readable storage medium.
[0038] The present invention has at least the following beneficial effects:
[0039] The method for processing control commands for assisted driving functions of the present invention receives a target control command input by a user for a target assisted function; determines whether the target assisted function corresponds to an associated assisted function based on the priority of the target control command and the target assisted function; determines whether each associated assisted function generates a corresponding associated control command based on the target control command and the current state of each associated assisted function; and sends the target control command and all associated control commands to the intelligent driving function control program via an inter-process communication protocol, so that the intelligent driving function control program controls the target assisted function and the assisted function corresponding to each associated control command to be turned on or off according to the target control command and each associated control command. Since the target control command and all associated control commands are sent to the intelligent driving function control program at once via the inter-process communication protocol, the control command setting program and the intelligent driving function control program only need to perform one data interaction to complete the control of the target assisted function and each associated assisted function, thereby improving the efficiency of turning on or off the target assisted function.
[0040] Furthermore, the control command setting program and the intelligent driving function control program are located in the same cockpit processing chip, enabling them to communicate with each other via inter-process communication. This communication method has low latency, thereby further improving the efficiency of enabling or disabling target assistance functions. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 A flowchart illustrating the method for processing control commands for assisted driving functions provided in an embodiment of the present invention;
[0043] Figure 2 A framework diagram of an intelligent driving system provided in an embodiment of the present invention;
[0044] Figure 3 This is a schematic diagram of inter-process communication provided in an embodiment of the present invention;
[0045] Figure 4This is an application scenario diagram of the method for processing control commands for assisted driving functions provided in an embodiment of the present invention;
[0046] Figure 5 This is a structural diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0047] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0048] It should be noted that various aspects of embodiments within the scope of the appended claims are described below. It will be apparent that the aspects described herein can be embodied in a wide variety of forms, and any particular structure and / or function described herein is merely illustrative. Based on this disclosure, those skilled in the art will understand that one aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects set forth herein can be used to implement the device and / or practice the method. Additionally, this device and / or method can be implemented using structures and / or functionalities other than one or more of the aspects set forth herein.
[0049] In related technologies, the central control screen of the intelligent cockpit system contains a settings app, namely the control command setting program in this application. Users can use the settings app to set functions such as turning on / off and adjusting parameters of intelligent driving functions. When users input commands in the settings app on the central control screen, the intelligent driving function, namely the intelligent driving function control program in this application, executes the commands and feeds back the execution results to the settings app. The entire time chain takes about 500ms, which is a high delay. This results in low efficiency in turning on or off the assisted driving function and affects the user's operating experience.
[0050] To address the aforementioned technical problems, this embodiment provides a method for processing control commands for assisted driving functions to solve these problems; the following will refer to... Figure 1 The flowchart of the method for processing the control commands of the assisted driving function describes a method for processing control commands of the assisted driving function.
[0051] The method for processing the control commands of the assisted driving function is applied to the control command setting program set in the corresponding cockpit processing chip of the vehicle. The cockpit processing chip also contains an intelligent driving function control program, and the control command setting program and the intelligent driving function control program are connected in communication.
[0052] In this application, see Figure 2 The cockpit-driver integration ECU is equipped with a cockpit-driver processing chip, which is a high-performance SOC that integrates the intelligent cockpit control domain and the intelligent driving control domain. The control command setting program and the intelligent driving function control program are deployed on the same chip, enabling features such as... Figure 3 The inter-process communication shown significantly shortens the control closed-loop link duration, thereby improving the efficiency of enabling or disabling auxiliary functions; at the same time, it can reduce the lag experienced by users when setting up programs using control commands; the inter-process communication cycle can be 10ms-50ms.
[0053] The method for processing the driver assistance function control command may include the following steps:
[0054] S100 receives a target control command input by the user for a target auxiliary function; wherein the target auxiliary function is any one of all auxiliary functions corresponding to the vehicle.
[0055] In this embodiment, when a user activates any auxiliary function, the user sets the corresponding control command in the preset control command setting program on the central control screen; for example, if the user needs to activate the Navigate on Autopilot (NOA) function, the user clicks the corresponding NOA activation button.
[0056] Furthermore, the target assistance function can be determined through the following steps:
[0057] S110, the time interval between the currently input control command and the specified control command is determined as a candidate time interval; wherein, the specified control command is the control command that is adjacent to the currently input control command and is input before the currently input control command.
[0058] The time interval between the currently input control command and the specified control command is determined as the candidate time interval ΔT.
[0059] S120, Obtain the current driving status of the vehicle.
[0060] The current driving state ZT of the vehicle is obtained; wherein, ZT can be obtained by detecting bump data by a preset bump sensor on the vehicle; it should be noted that those skilled in the art can use existing bump detection methods to determine whether the vehicle is currently in a bumpy state according to actual needs, which will not be elaborated here.
[0061] S130, if the candidate time interval is less than a preset time interval threshold and the current driving state of the vehicle is a preset non-bumpy state, the auxiliary function corresponding to the control command currently input by the user is determined as the target auxiliary function.
[0062] In this embodiment, if ΔT < TH and ZT is in a non-bumpy state, then the auxiliary function corresponding to the currently input control command is determined as the target auxiliary function. It can be understood that when the vehicle is in a non-bumpy state, if the user accidentally clicks the button corresponding to the auxiliary function, under normal circumstances, the user will immediately click the button again to set the wrong auxiliary function back. Therefore, when the vehicle is in a non-bumpy state, even if ΔT < TH, the current click operation is determined as a normal operation, and the auxiliary function corresponding to the current click operation is determined as the target auxiliary function, thereby avoiding filtering out the user's correct operation.
[0063] Furthermore, if the candidate time interval is less than a preset time interval threshold and the vehicle's current driving state is a preset bumpy state, the current operation is determined to be an invalid operation, that is, the user's current input control command is not responded to.
[0064] S140, if the candidate time interval is greater than a preset time interval threshold, the auxiliary function corresponding to the control command currently input by the user is determined as the target auxiliary function.
[0065] If ΔT≥TH, regardless of whether the vehicle is in a bumpy state, the user's current click operation will be determined as the user's normal operation, and the auxiliary function corresponding to the current click operation will be determined as the target auxiliary function.
[0066] Furthermore, the preset time interval threshold can be determined through the following steps:
[0067] S131, any historical time interval is determined as the first historical time interval, and the adjacent historical time interval after the first historical time interval is determined as the second historical time interval; wherein, the historical time interval is the time interval between two adjacent input control commands within the historical time period.
[0068] Obtain the first historical time interval JG1, the second historical time interval JG2, the historical time interval HG1 that precedes the first historical time interval, and the historical time interval HG2 that follows the second historical time interval.
[0069] In this embodiment, each user's click on the central control screen is sequential, and it is possible to obtain each historical operation of the user within a historical time period. The historical time interval can be the duration corresponding to the time interval between two adjacent historical operations.
[0070] S132, if both the first historical time interval and the second historical time interval are less than or equal to the first preset duration, and both the preceding adjacent historical time interval of the first historical time interval and the following adjacent historical time interval of the second historical time interval are greater than the first preset duration, then the first historical time interval and the second historical time interval are determined as candidate historical time intervals.
[0071] If JG1≤YT1, JG2≤YT1, HG1>YT1 and HG2>YT1, then the first historical time interval and the second historical time interval are determined as candidate historical time intervals; YT1 is the first preset duration.
[0072] In this embodiment, YT1 can be an empirical value, which can be obtained by counting the interval between two adjacent operations when the user is operating the central control screen normally; for example, YT1 is 1 second.
[0073] S133, obtain any three adjacent historical time intervals, and determine them as the third historical time interval, the fourth historical time interval, and the fifth historical time interval in sequence.
[0074] Obtain any three adjacent historical time intervals, and determine them sequentially as the third historical time interval JG3, the fourth historical time interval JG4, and the fifth historical time interval JG5, as well as the historical time interval HG3 preceding the third historical time interval and the historical time interval HG5 following the fifth historical time interval.
[0075] S134, if the three adjacent historical time intervals are all less than or equal to the first preset duration, the historical time interval preceding the third historical time interval is greater than the first preset duration, and the historical time interval following the fifth historical time interval is greater than the first preset duration but less than the second preset duration, then the third historical time interval, the fourth historical time interval, and the fifth historical time interval are determined as candidate historical time intervals.
[0076] If JG3≤YT1, JG4≤YT1, JG5≤YT1, HG3>YT1 and YT1<HG5<YT2, then JG3, JG4, and JG5 are determined as candidate historical time intervals.
[0077] In this embodiment, there are two possible scenarios for user error: one is three consecutive operations, in which case the user will immediately try again after discovering the error on the second operation to correct it; the other is four consecutive operations, in which case the system may not respond after the second operation, the user will immediately try a third operation, and after discovering the error, will try again. After the fourth operation, subsequent operations will be spaced out for a longer period of time. Based on this, the above steps can determine the candidate historical operation time intervals corresponding to these two scenarios of error.
[0078] S135, determine the preset time interval threshold based on all candidate historical time intervals.
[0079] Obtain each candidate historical time interval to obtain a candidate historical time interval list A = (A1, A2, ..., A...). i A n ), i=1, 2,...,n; where, A i The i-th candidate historical time interval is determined, and n is the number of candidate historical time intervals determined.
[0080] Furthermore, determining the preset time interval threshold based on all candidate historical time intervals may include the following steps:
[0081] S11, obtain the largest candidate historical time interval among all candidate historical time intervals, and determine it as the target historical time interval.
[0082] Get the target historical time interval ZD = MAX(A); where MAX() is a preset function to find the maximum value.
[0083] S12, the target historical time interval is determined as the preset time interval threshold.
[0084] ZD is determined as the preset time interval threshold.
[0085] Furthermore, determining the preset time interval threshold based on all candidate historical time intervals may include the following steps:
[0086] S21, determine the largest candidate historical time interval among all candidate historical time intervals (preset number) as the intermediate historical time interval.
[0087] Sort all candidate historical time intervals in A to obtain a sorted list of candidate historical time intervals B = (B1, B2, ..., B...). i B n ); where B i Let B be the i-th candidate historical time interval obtained by sorting all candidate historical time intervals in A; r >B r+1 r = 1, 2, ..., n-1;
[0088] The first m candidate historical time intervals in B are determined as intermediate historical time intervals to obtain a list of intermediate historical time intervals C = (C1, C2, ..., C...). j C m ), j = 1, 2, ..., m; where, C jThe j-th intermediate historical time interval is determined, and m is the number of intermediate historical time intervals determined.
[0089] S22, the average historical time interval corresponding to all intermediate historical operation time intervals is determined as the preset time interval threshold.
[0090] Based on B, the preset time interval threshold YZ = 1 / m × ∑ m j=1 C j .
[0091] In this embodiment, the average value of the first m largest candidate historical time intervals in B is determined as the preset time interval threshold, which can avoid the situation where the determined preset time interval threshold is unreasonable due to the inaccuracy of a certain candidate historical time interval.
[0092] S200, based on the target control command and the priority of the target auxiliary function, determine whether the target auxiliary function corresponds to an associated auxiliary function; the associated auxiliary function is any other auxiliary function other than the target auxiliary function among all auxiliary functions.
[0093] In this embodiment, the accessibility functions are related and prioritized. For example, when NOA is enabled, Lane Centroid Control (LCC) and Indicated Lane Change (ILC) must be enabled simultaneously. When NOA is disabled, only NOA is disabled while LCC and ILC remain enabled. When LCC is disabled, both LCC and NOA are disabled while ILC remains enabled. NOA has a higher priority than ILC, and ILC has a higher priority than LCC.
[0094] It should be noted that the target assistance function may have associated assistance functions, and the priority of the associated assistance functions needs to be determined based on the target control command input by the user and the priority of the target assistance function.
[0095] Furthermore, determining whether a target auxiliary function corresponds to an associated auxiliary function based on the priority of the target control command and the target auxiliary function may include the following steps:
[0096] S210, if the target control instruction indicates that the target auxiliary function is enabled and the priority of the target auxiliary function is the lowest priority, or if the target control instruction indicates that the target auxiliary function is disabled and the priority of the target auxiliary function is the highest priority, then it is determined that the target auxiliary function does not correspond to an associated auxiliary function; otherwise, it is determined that the target auxiliary function corresponds to an associated auxiliary function.
[0097] In this embodiment, when the target control command indicates that the target auxiliary function is enabled and the target auxiliary function has the lowest priority (e.g., the target control command is the first preset parameter ON, and the target auxiliary function is LCC), the target auxiliary function has the lowest priority and therefore does not correspond to any associated auxiliary function. Conversely, when the target control command indicates that the target auxiliary function is disabled and the target auxiliary function has the highest priority (e.g., the target control command is the second preset parameter OFF, and the target auxiliary function is NOA), the target auxiliary function has the highest priority and therefore does not correspond to any associated auxiliary function.
[0098] S300, when the target auxiliary function corresponds to an associated auxiliary function, determine whether each associated auxiliary function generates a corresponding associated control instruction based on the target control instruction and the current state of each associated auxiliary function.
[0099] In this embodiment, it can be understood that in the current state, the state of each auxiliary function is either on or off. If the current state of an auxiliary function is on, and the control logic corresponding to the target control instruction needs to enable it, then the auxiliary function does not need to generate the corresponding associated control instruction.
[0100] Furthermore, if the target assistance function does not correspond to an associated assistance function, then it is only necessary to send the target control command to the intelligent driving function control program through the inter-process communication protocol.
[0101] Furthermore, determining whether each associated auxiliary function generates a corresponding associated control instruction based on the target control instruction and the current state of each associated auxiliary function may include the following steps:
[0102] S310, when the target instruction indicates that the target auxiliary function is enabled, the auxiliary function with a lower priority than the target auxiliary function and whose current state is disabled is determined, and a corresponding associated control instruction is generated.
[0103] S320, when the target instruction indicates that the target auxiliary function is off, an auxiliary function with a higher priority than the target auxiliary function and whose current state is on is determined, and a corresponding associated control instruction is generated; wherein, the state of the associated auxiliary function indicated by the associated control instruction is the same as the state of the target auxiliary function indicated by the target control instruction.
[0104] In this embodiment, when the target instruction indicates that the target auxiliary function is enabled, the status of each auxiliary function with a priority lower than that of the target auxiliary function can be obtained first, and the corresponding associated control instruction can be generated for the auxiliary function with the status of being disabled. For example, an associated control instruction for enabling the auxiliary function can be generated.
[0105] When the target instruction indicates that the target auxiliary function is turned off, the status of each auxiliary function with a priority higher than that of the target auxiliary function can be obtained first. For auxiliary functions that are in the on state, corresponding associated control instructions can be generated. For example, an associated control instruction for turning off the auxiliary function can be generated. This enables selective generation of associated control instructions, reduces the number of interactions of subsequent control instructions, and improves the efficiency of turning on the target auxiliary function.
[0106] S400, when any associated auxiliary function generates a corresponding associated control instruction, the target control instruction and all associated control instructions are sent to the intelligent driving function control program through an inter-process communication protocol, so that the intelligent driving function control program controls the opening or closing of the target auxiliary function and the auxiliary function corresponding to each associated control instruction according to the target control instruction and each associated control instruction.
[0107] In this embodiment, sending the target control command and all associated control commands to the intelligent driving function control program via an inter-process communication protocol may include the following steps:
[0108] S410, Obtain the initial control command sequence CL = (CL1, CL2, ..., CL...) p , ..., CL q ), p = 1, 2, ..., q; where CL p q represents the initial control command corresponding to the p-th auxiliary function in the initial control command sequence, where q is the number of auxiliary functions corresponding to the vehicle; the initial control command is empty.
[0109] S420, set the initial control instruction corresponding to the target auxiliary function in CL to the target control instruction, and set the initial control instruction corresponding to each associated auxiliary function to the corresponding associated control instruction, so as to obtain the target control instruction sequence CL'.
[0110] S430, CL' is sent to the intelligent driving function control program via inter-process communication protocol.
[0111] In this embodiment, after receiving the target control instruction sequence CL', the intelligent driving control program can parse the control instructions of each auxiliary function contained in the target control instruction sequence CL', and can control the opening or closing of each auxiliary function contained in the target control instruction sequence CL' at one time, thereby reducing the number of data transfers and improving the efficiency of opening or closing the target auxiliary functions.
[0112] Furthermore, if the target auxiliary function is faulty, the corresponding target auxiliary function fault needs to be reported back to the control command setting program, and the setting item switch should be grayed out to not respond to user operations; if the user forces operation, the fault status should be displayed.
[0113] If the communication interruption time between the control command setting program and the intelligent driving function control program is less than or equal to 1 second, the setting item corresponding to the target assistance function will continue to display the on / off status of the previous moment; if the communication interruption time between the control command setting program and the intelligent driving function control program is greater than 1 second, the setting item corresponding to the target assistance function will be displayed as off and grayed out; the driver can observe the feedback of the setting item through the central control screen to perform subsequent operations.
[0114] The method for processing assisted driving function control commands in this embodiment receives a target control command input by the user for a target assisted function. Based on the priority of the target control command and the target assisted function, it determines whether the target assisted function corresponds to an associated assisted function. Based on the target control command and the current state of each associated assisted function, it determines whether each associated assisted function generates a corresponding associated control command. The target control command and all associated control commands are sent to the intelligent driving function control program via an inter-process communication protocol. This allows the intelligent driving function control program to control the target assisted function and the assisted function corresponding to each associated control command to be enabled or disabled according to the target control command and each associated control command. Because the target control command and all associated control commands are sent to the intelligent driving function control program at once via the inter-process communication protocol, the control command setting program and the intelligent driving function control program only need to perform one data interaction to complete the control of the target assisted function and each associated assisted function, thereby improving the efficiency of enabling or disabling the target assisted function.
[0115] Furthermore, the control command setting program and the intelligent driving function control program are located in the same cockpit processing chip, enabling them to communicate with each other via inter-process communication. This communication method has low latency, thereby further improving the efficiency of enabling or disabling target assistance functions.
[0116] In one embodiment, a processing device for driver assistance function control commands is provided. This device is applied to a vehicle's cockpit processing chip and includes:
[0117] The target control command response module is used to receive target control commands input by the user for a target auxiliary function; wherein, the target auxiliary function is one of all auxiliary functions corresponding to the vehicle.
[0118] The associated auxiliary function determination module is used to determine whether the target auxiliary function corresponds to an associated auxiliary function based on the target control command and the priority of the target auxiliary function; the associated auxiliary function is any auxiliary function other than the target auxiliary function among all auxiliary functions.
[0119] The associated control instruction generation module is used to determine whether each associated auxiliary function should generate a corresponding associated control instruction based on the target control instruction and the current state of each associated auxiliary function when the target auxiliary function corresponds to an associated auxiliary function.
[0120] The control command sending module is used to send the target control command and all associated control commands to the intelligent driving function control program via an inter-process communication protocol when any associated auxiliary function generates a corresponding associated control command, so that the intelligent driving function control program controls the target auxiliary function and the auxiliary function corresponding to each associated control command to be turned on or off according to the target control command and each associated control command.
[0121] In this embodiment, the above-mentioned method and apparatus are implemented based on the high-performance computing (HPC) architecture of intelligent vehicles. In the field of intelligent vehicles, HPC technology is constantly developing. HPC can integrate multiple driving control domains of a vehicle to achieve more efficient and high-performance integration. These different control domains can be integrated through a high-performance chip, which significantly improves the vehicle's computing power and performance. In this embodiment, the intelligent cockpit control domain and the intelligent driving control domain are integrated through a high-performance system-on-a-chip (SOC), and high-speed, low-latency zero-copy technology is used for data transmission in the fused cockpit-driving system, thereby improving scene rendering effects and real-time performance. For example, in this embodiment, the SOC is a cockpit-driving processing chip.
[0122] Furthermore, although the steps of the method in this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple steps.
[0123] Embodiments of the present invention also provide a non-transitory computer-readable storage medium that can be disposed in an electronic device to store at least one instruction or at least one program related to implementing a method in the method embodiments, wherein the at least one instruction or the at least one program is loaded and executed by the processor to implement the method provided in the above embodiments.
[0124] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0125] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.
[0126] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0127] Program code for performing the operations of this application can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. See also Figure 4 The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing devices can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or they can be connected to external computing devices (e.g., via the Internet using an Internet service provider).
[0128] See Figure 5 Embodiments of the present invention also provide an electronic device, including a processor and the aforementioned non-transitory computer-readable storage medium.
[0129] The electronic device described in this embodiment of the present application is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present application.
[0130] Electronic devices are manifested in the form of general-purpose computing devices; the components of electronic devices may include, but are not limited to: at least one processor, at least one memory, and a bus connecting different system components (including memory and processor).
[0131] The storage device stores program code that can be executed by the processor to perform the steps described in the "Exemplary Methods" section above, according to various exemplary embodiments of this application.
[0132] The storage may include readable media in the form of volatile storage, such as random access memory (RAM) and / or cache memory, and may further include read-only memory (ROM).
[0133] The storage may also include programs / utilities having a set (at least one) of program modules, including but not limited to: an operating system, one or more applications, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0134] A bus can represent one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus that uses any of the various bus architectures.
[0135] The electronic device can also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device, and / or any device that enables the electronic device to communicate with one or more other computing devices (e.g., routers, modems, etc.). This communication can be performed via input / output (I / O) interfaces. Furthermore, the electronic device can communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter. The network adapter communicates with other modules of the electronic device via a bus. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RA identification systems, tape drives, and data backup storage systems.
[0136] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.
[0137] Embodiments of the present invention also provide a computer program product including program code, which, when the program product is run on an electronic device, causes the electronic device to perform the steps of the methods described above in various exemplary embodiments of the present invention.
[0138] While specific embodiments of the invention have been described in detail by way of example, those skilled in the art should understand that the above examples are for illustrative purposes only and are not intended to limit the scope of the invention. Those skilled in the art should also understand that various modifications can be made to the embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.
Claims
1. A method for processing control commands for assisted driving functions, characterized in that, The method is applied to a control command setting program set in a vehicle-specific cockpit processing chip. The cockpit processing chip also contains an intelligent driving function control program. The control command setting program and the intelligent driving function control program are communicatively connected. The method includes: Receive user input of a target control command for a target auxiliary function; wherein, the target auxiliary function is any one of all the auxiliary functions corresponding to the vehicle; Based on the target control command and the priority of the target auxiliary function, it is determined whether the target auxiliary function corresponds to an associated auxiliary function; the associated auxiliary function is any other auxiliary function other than the target auxiliary function among all auxiliary functions. When a target auxiliary function corresponds to an associated auxiliary function, it is determined whether each associated auxiliary function generates a corresponding associated control instruction based on the target control instruction and the current state of each associated auxiliary function. When any associated auxiliary function generates a corresponding associated control instruction, the target control instruction and all associated control instructions are sent to the intelligent driving function control program through an inter-process communication protocol, so that the intelligent driving function control program controls the opening or closing of the target auxiliary function and the auxiliary function corresponding to each associated control instruction according to the target control instruction and each associated control instruction. Based on the target control command and the current state of each associated auxiliary function, determine whether each associated auxiliary function generates a corresponding associated control command, including: When the target control command indicates that the target auxiliary function is enabled, the auxiliary function with a lower priority than the target auxiliary function and whose current state is disabled is determined to generate the corresponding associated control command. When the target control instruction indicates that the target auxiliary function is off, an auxiliary function with a higher priority than the target auxiliary function and currently in the on state is identified, and a corresponding associated control instruction is generated; wherein, the state of the associated auxiliary function indicated by the associated control instruction is the same as the state of the target auxiliary function indicated by the target control instruction.
2. The method for processing driver assistance function control commands according to claim 1, characterized in that, Based on the priority of the target control command and the target auxiliary function, determine whether the target auxiliary function corresponds to an associated auxiliary function, including: If the target control command indicates that the target assistance function is enabled and the priority of the target assistance function is the lowest priority, or if the target control command indicates that the target assistance function is disabled and the priority of the target assistance function is the highest priority, then it is determined that the target assistance function does not correspond to an associated assistance function; otherwise, it is determined that the target assistance function corresponds to an associated assistance function.
3. The method for processing driver assistance function control commands according to claim 1, characterized in that, Before receiving a target control command from the user for a target assistive function, the method further includes: The time interval between the currently input control command and the specified control command is determined as the candidate time interval; wherein, the specified control command is the control command that is adjacent to the currently input control command and is input before the currently input control command; Obtain the current driving status of the vehicle; If the candidate time interval is less than a preset time interval threshold and the current driving state of the vehicle is a preset non-bumpy state, the auxiliary function corresponding to the control command currently input by the user is determined as the target auxiliary function. If the candidate time interval is greater than a preset time interval threshold, the auxiliary function corresponding to the control command currently input by the user is determined as the target auxiliary function.
4. The method for processing driver assistance function control commands according to claim 3, characterized in that, The preset time interval threshold is determined through the following steps: Any historical time interval is determined as the first historical time interval, and the next adjacent historical time interval after the first historical time interval is determined as the second historical time interval; wherein, the historical time interval is the time interval between two adjacent input control commands within the historical time period; If both the first historical time interval and the second historical time interval are less than or equal to the first preset duration, and both the preceding adjacent historical time interval of the first historical time interval and the following adjacent historical time interval of the second historical time interval are greater than the first preset duration, then the first historical time interval and the second historical time interval are determined as candidate historical time intervals. Obtain any three adjacent historical time intervals and determine them as the third, fourth, and fifth historical time intervals in sequence. If the three adjacent historical time intervals are all less than or equal to the first preset duration, the historical time interval preceding the third historical time interval is greater than the first preset duration, and the historical time interval following the fifth historical time interval is greater than the first preset duration but less than the second preset duration, then the third historical time interval, the fourth historical time interval, and the fifth historical time interval are determined as candidate historical time intervals. The preset time interval threshold is determined based on all candidate historical time intervals.
5. The method for processing driver assistance function control commands according to claim 4, characterized in that, Based on all candidate historical time intervals, the preset time interval threshold is determined, including: Obtain the largest candidate historical time interval from all candidate historical time intervals and determine it as the target historical time interval; The target historical time interval is determined as the preset time interval threshold.
6. The method for processing control commands for assisted driving functions according to claim 4, characterized in that, Based on all candidate historical time intervals, the preset time interval threshold is determined, including: The maximum number of candidate historical time intervals among all candidate historical time intervals is determined as the intermediate historical time interval. The average historical time interval corresponding to all intermediate historical operation time intervals is determined as the preset time interval threshold.
7. A processing device for control commands of assisted driving functions, characterized in that, A vehicle cabin-driving processing chip, wherein the cabin-driving processing chip also contains an intelligent driving function control program, the device comprising: The target control command response module is used to receive target control commands input by the user for a target auxiliary function; wherein, the target auxiliary function is one of all the auxiliary functions corresponding to the vehicle. The associated auxiliary function determination module is used to determine whether the target auxiliary function corresponds to an associated auxiliary function based on the target control command and the priority of the target auxiliary function; the associated auxiliary function is any auxiliary function other than the target auxiliary function among all auxiliary functions. The associated control instruction generation module is used to determine whether each associated auxiliary function should generate a corresponding associated control instruction based on the target control instruction and the current state of each associated auxiliary function when the target auxiliary function corresponds to an associated auxiliary function. Based on the target control command and the current state of each associated auxiliary function, determine whether each associated auxiliary function generates a corresponding associated control command, including: When the target control command indicates that the target auxiliary function is enabled, the auxiliary function with a lower priority than the target auxiliary function and whose current state is disabled is determined to generate the corresponding associated control command. When the target control command indicates that the target auxiliary function is off, an auxiliary function with a higher priority than the target auxiliary function and currently in the on state is identified, and a corresponding associated control command is generated; wherein, the state of the associated auxiliary function indicated by the associated control command is the same as the state of the target auxiliary function indicated by the target control command. The control command sending module is used to send the target control command and all associated control commands to the intelligent driving function control program via an inter-process communication protocol when any associated auxiliary function generates a corresponding associated control command, so that the intelligent driving function control program controls the target auxiliary function and the auxiliary function corresponding to each associated control command to be turned on or off according to the target control command and each associated control command.
8. A non-transitory computer-readable storage medium storing at least one instruction or at least one program segment, characterized in that, The at least one instruction or the at least one program segment is loaded and executed by the processor to implement the method for processing driver assistance function control instructions as described in any one of claims 1-6.
9. An electronic device, characterized in that, Includes a processor and the non-transitory computer-readable storage medium as described in claim 8.
Citation Information
Patent Citations
Cabin driving scene fusion method and device, storage medium and electronic device
CN116653997A
Control module activation of vehicles in a key-off state to determine driving routes
US20180306598A1