Vehicle control method, vehicle control device and vehicle

By performing gear icon verification twice in the vehicle and using gear signals directly from the transmission, the problem of inaccurate gear icon display in the prior art is solved, the accuracy of gear mode is improved, and the vehicle driving safety is ensured.

CN119705065APending Publication Date: 2025-03-28GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411712049.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In the prior art, due to problems such as signal transmission delay during vehicle driving, there is a difference between the display of gear icons on the instrument screen and the actual gear signal, which affects the safety of the vehicle.

Method used

The first verification is performed after receiving the gear signal and the target gear icon transmitted by the vehicle multimedia host. If the verification fails, the second gear signal is directly obtained from the transmission and a second check is performed to determine the target icon corresponding to the current gear mode of the vehicle.

Benefits of technology

The accuracy of the corresponding icons of the gear mode is improved, ensuring that the driver can accurately identify the vehicle's current gear mode, thereby ensuring the vehicle's driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119705065A_ABST
    Figure CN119705065A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle control method, a vehicle control device and a vehicle, and relates to the field of vehicles. The method comprises the steps that if a first gear signal and a target gear icon transmitted by a vehicle-mounted multimedia host of a vehicle are received, the target gear icon is verified based on a first preset icon corresponding to the first gear signal, and a first verification result is obtained; if the first verification result indicates that verification fails, a second gear signal directly coming from the transmission is obtained; verifying the target gear icon based on the second gear signal to obtain a second verification result; and determining a target icon corresponding to the current gear mode of the vehicle based on the second verification result. The method can improve the accuracy of the icon corresponding to the gear mode so as to ensure the driving safety of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a vehicle control method, a vehicle control device and a vehicle in the field of vehicles. Background Art

[0002] A vehicle functional safety status map is a visual tool used to display the status of a vehicle's systems and safety components. This map is usually presented in the form of a graphic or symbol so that drivers and passengers can quickly understand the safety status of the vehicle.

[0003] The transmission usually sends the gear signal to the host, and the host sends the processed gear signal and gear icon to the instrument screen for display. During this process, the gear icon will be verified. Due to the delay caused by many processing steps during signal transmission, there may be a difference between the gear signal received by the instrument screen and the original signal, which may cause the vehicle system to mis-map and affect the vehicle's driving safety.

[0004] Therefore, how to improve the accuracy of the gear mode corresponding icon to ensure vehicle driving safety is an urgent problem to be solved. Summary of the invention

[0005] The present application provides a vehicle control method, a vehicle control device and a vehicle, wherein the method can improve the accuracy of icons corresponding to gear modes to ensure vehicle driving safety.

[0006] In a first aspect, a vehicle control method is provided, the method comprising:

[0007] If a first gear signal and a target gear icon transmitted by the vehicle's onboard multimedia host are received, the target gear icon is verified based on a first preset icon corresponding to the first gear signal to obtain a first verification result;

[0008] If the first verification result indicates that the verification fails, obtaining a second gear position signal directly from the transmission;

[0009] Verifying the target gear position icon based on the second gear position signal to obtain a second verification result;

[0010] Based on the second verification result, a target icon corresponding to the current gear mode of the vehicle is determined.

[0011] In the above technical solution, when the first gear signal and the target gear icon sent by the vehicle's on-board multimedia host are received, the target gear icon is first verified according to the first preset icon corresponding to the first gear signal to obtain a first verification result. If the first verification result indicates that the verification fails, the second gear signal is directly obtained from the transmission, and the target gear icon is secondly verified according to the second gear signal to obtain a second verification result. Thereafter, according to the second verification result, the target icon corresponding to the current gear mode of the vehicle is determined. Compared with the prior art in which only the gear icon is verified for the first time, the present application verifies the gear icon twice, that is, when the first verification result indicates that the verification fails, the gear icon is verified for the second time, thereby improving the accuracy of the verification of the gear icon. On this basis, the corresponding target icon is determined according to the second verification result, which can further improve the accuracy of the target icon to be displayed, so that the driver can accurately identify the current gear mode of the vehicle to ensure the driving safety of the vehicle.

[0012] In combination with the first aspect, in some possible implementations, verifying the target gear icon based on the second gear signal to obtain a second verification result includes:

[0013] Based on the second gear signal, determining a second preset icon corresponding to the second gear signal;

[0014] The target gear position icon is verified based on the second preset icon to obtain a second verification result.

[0015] In the above technical solution, a second preset icon corresponding to the second gear signal is determined according to the second preset icon; the target gear icon is verified using the second preset icon to determine the second verification result. The preset icon is a pre-stored standard gear icon. Since the second gear signal directly obtained from the transmission has not been subjected to additional processing, it has higher accuracy than the first gear signal processed by the vehicle multimedia host. Then, by comparing the second preset icon corresponding to the second gear signal with the target gear icon, the accuracy of the gear icon verification can be improved, and the accuracy of the gear mode corresponding icon can be further improved.

[0016] In combination with the first aspect and the above implementation manner, in some possible implementation manners, verifying the target gear icon based on the second preset icon to obtain a second verification result includes:

[0017] Acquire first pixel information corresponding to the target gear icon and second pixel information corresponding to the second preset icon;

[0018] Based on the second pixel information, the first pixel information is verified to obtain a second verification result.

[0019] In the above technical solution, by obtaining the first pixel information corresponding to the target gear icon and the second pixel information corresponding to the second preset icon, the two are compared and verified to determine whether the verification is successful, and the second verification result is obtained. Pixels are the basic elements that constitute an image. In the process of verifying the target gear icon, the pixel information of the target gear icon is verified by the pixel information of the preset icon, and it can be determined whether there is a difference between the target gear icon and the second preset icon, which can improve the accuracy of the gear icon verification, and then when the icon is displayed according to the verification result, the accuracy of the gear icon display can be improved.

[0020] In combination with the first aspect and the foregoing implementation manner, in some possible implementation manners, verifying the first pixel information based on the second pixel information to obtain a second verification result includes:

[0021] Determining a target pixel point in the target gear icon based on the first pixel information and the second pixel information, wherein the target pixel point indicates a pixel point at which there is a difference between the target gear icon and the second preset icon;

[0022] Based on the target number of target pixels, a second verification result is determined.

[0023] In the above technical solution, based on the first pixel information of the target gear icon and the second pixel information of the second preset icon, the target pixel points with differences between the two icons are determined, and the second verification result is determined based on the target number of the target pixel points. The target number of target pixel points with differences can reflect the degree of difference between the two icons, and determining the second verification result based on the target number of the target pixel points can improve the accuracy of the second verification result.

[0024] In combination with the first aspect and the above implementation manner, in some possible implementation manners, determining a target pixel point from a target gear position icon based on the first pixel information and the second pixel information includes:

[0025] Based on the first pixel information and the second pixel information, determining a first color component value corresponding to each pixel point in the target gear icon and a second color component value corresponding to each pixel point in the second preset icon;

[0026] A target pixel point in the target gear position icon is determined based on the first color component value and the second color component value.

[0027] In the above technical solution, the color component value corresponding to each pixel is determined from the first pixel information of the target gear icon and the second pixel information of the second preset icon. By comparing the first color component value corresponding to the target gear icon and the second color component value corresponding to the second preset icon, it can be determined whether there is a difference between the pixels in the two icons. By comparing the color component values ​​of the target gear icon and the second preset icon, a difference comparison of the pixel dimension can be achieved, the accuracy of the target pixel can be improved, and the accuracy of the gear icon verification can be further improved.

[0028] In combination with the first aspect and the above implementation manner, in some possible implementation manners, determining a target pixel point in the target gear icon based on the first color component value and the second color component value includes:

[0029] Determine, based on the first color component value and the second color component value, the color component difference of each color channel corresponding to the pixel point at the same position in the target gear icon and the second preset icon;

[0030] If a first pixel point in the target gear position icon has at least one color component difference that is greater than or equal to a first preset threshold, the first pixel point is determined as a target pixel point.

[0031] In the above technical solution, the color component difference of the pixel points at the same position in each color channel is determined based on the first color component value corresponding to the target gear icon and the second color component value corresponding to the second preset icon. A first preset threshold is set, and the relationship between the color component difference and the first preset threshold is compared. If the color component difference of at least one color channel of the first pixel point in the target gear icon is greater than or equal to the first preset threshold, the first pixel point is determined as the target pixel point. By calculating the color component difference between the pixels at the same position in the two icons, the difference between the two pixels can be determined; by comparing the color component difference and the first preset threshold, the pixels with larger differences can be screened out, and the pixels with smaller differences that can be ignored can be filtered out, thereby improving the accuracy of the target pixels, and further improving the accuracy of the gear icon verification.

[0032] In combination with the first aspect and the above implementation manner, in some possible implementation manners, the method further includes:

[0033] Get the total number of pixels in the target gear icon;

[0034] Determining a second verification result based on the target number of target pixels includes:

[0035] Determine the target ratio based on the total number of pixels and the number of targets;

[0036] If the target proportion is greater than or equal to a second preset threshold, determining that the second verification result indicates a verification failure;

[0037] If the target proportion is less than the second preset threshold, it is determined that the second verification result indicates that the verification is successful.

[0038] In the above technical solution, the total number of pixels of the target gear icon is first obtained, and the second verification result is determined by calculating the target proportion of the target pixel points in the total pixels of the target gear icon. A second preset threshold is set, and when the target proportion is greater than or equal to the second preset threshold, it is determined that the second verification result indicates that the verification failed. When the target proportion is less than the second preset threshold, it is determined that the second verification result indicates that the verification is successful. By comparing the relationship between the target proportion and the second preset threshold, it is determined whether there is a large difference between the target gear icon and the second preset icon, thereby improving the accuracy of determining the second verification result. Furthermore, in the process of determining the target icon according to the second verification result, the accuracy of the icon corresponding to the gear mode can be improved.

[0039] In combination with the first aspect and the above implementation manner, in some possible implementation manners, determining the target icon corresponding to the current gear mode of the vehicle based on the second verification result includes:

[0040] If the second verification result indicates that the verification is successful, determining that the target icon is a target gear position icon;

[0041] If the second verification result indicates that the verification fails, the target icon is determined to be a preset icon.

[0042] In the above technical solution, when the second verification result indicates that the verification is successful, the target gear icon is determined as the target icon, so that the accurate gear icon can be displayed on the target screen, so that the driver can obtain accurate gear information and ensure the safety of vehicle driving. When the second verification result indicates that the verification fails, the preset icon is determined as the target icon to prompt the driver that the gear icon is abnormal, realize the functional safety verification process, and improve the accuracy of the icon corresponding to the gear mode to be displayed.

[0043] In a second aspect, a vehicle control device is provided, the vehicle control device comprising:

[0044] A first verification module is configured to verify the target gear icon based on a first preset icon corresponding to the first gear signal to obtain a first verification result if a first gear signal and a target gear icon transmitted by the vehicle-mounted multimedia host are received;

[0045] A first acquisition module, configured to acquire a second gear position signal directly from the transmission if the first verification result indicates that the verification has failed;

[0046] A second verification module, configured to verify the target gear position icon based on the second gear position signal to obtain a second verification result;

[0047] The determination module is used to determine the target icon corresponding to the current gear mode of the vehicle based on the second verification result.

[0048] In conjunction with the second aspect, in some possible implementations, in some possible implementations, the second verification module is further used to determine a second preset icon corresponding to the second gear signal based on the second gear signal;

[0049] The target gear position icon is verified based on the second preset icon to obtain a second verification result.

[0050] In combination with the second aspect and the above implementation, in some possible implementations, the second verification module is further used to obtain first pixel information corresponding to the target gear icon and second pixel information corresponding to the second preset icon;

[0051] Based on the second pixel information, the first pixel information is verified to obtain a second verification result.

[0052] In combination with the second aspect and the above implementation, in some possible implementations, the second verification module is further used to determine a target pixel point in the target gear icon based on the first pixel information and the second pixel information, wherein the target pixel point indicates a pixel point where there is a difference between the target gear icon and the second preset icon;

[0053] Based on the target number of target pixels, a second verification result is determined.

[0054] In combination with the second aspect and the above implementation, in some possible implementations, the second verification module is further used to determine, based on the first pixel information and the second pixel information, a first color component value corresponding to each pixel point in the target gear icon and a second color component value corresponding to each pixel point in the second preset icon;

[0055] A target pixel point in the target gear position icon is determined based on the first color component value and the second color component value.

[0056] In combination with the second aspect and the above implementation, in some possible implementations, the second verification module is further used to determine the color component difference of each color channel corresponding to the pixel point at the same position in the target gear icon and the second preset icon based on the first color component value and the second color component value;

[0057] If a first pixel point in the target gear position icon has at least one color component difference that is greater than or equal to a first preset threshold, the first pixel point is determined as a target pixel point.

[0058] In combination with the second aspect and the above implementations, in some possible implementations, the vehicle control device further includes:

[0059] A second acquisition module is used to acquire the total number of pixels in the target gear icon;

[0060] The second verification module is also used to determine the target ratio based on the total number of pixels and the number of targets;

[0061] If the target proportion is greater than or equal to a second preset threshold, determining that the second verification result indicates a verification failure;

[0062] If the target proportion is less than the second preset threshold, it is determined that the second verification result indicates that the verification is successful.

[0063] In combination with the second aspect and the above implementations, in some possible implementations, the determination module is further configured to determine that the target icon is a target gear icon if the second verification result indicates that the verification is successful;

[0064] If the second verification result indicates that the verification fails, the target icon is determined to be a preset icon.

[0065] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation of the first aspect.

[0066] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.

[0067] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 is a system architecture diagram of a vehicle control method provided in an embodiment of the present application;

[0069] Figure 2 is a display schematic diagram of a target screen provided in an embodiment of the present application;

[0070] Figure 3 is a schematic flow chart of a vehicle control method provided in an embodiment of the present application;

[0071] Figure 4is a system architecture diagram of another vehicle control method provided in an embodiment of the present application;

[0072] Figure 5 is a schematic flow chart of another vehicle control method provided in an embodiment of the present application;

[0073] Figure 6 is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application;

[0074] Figure 7 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0075] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0076] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0077] Vehicle functional safety stickers refer to a type of logo or graphic used on vehicles to illustrate information related to vehicle functional safety. The purpose of these stickers is to convey the status of vehicle system safety functions, operating instructions, warning information, etc. to vehicle users, maintenance personnel, etc. Among them, vehicle functional safety stickers can be used to verify the vehicle gear position icon.

[0078] Figure 1 It is a system architecture diagram of a vehicle control method provided in an embodiment of the present application.

[0079] like Figure 1 As shown, the vehicle-mounted devices involved in the vehicle functional safety map based on the gear position icon may include a transmission 101 , a vehicle-mounted multimedia host 102 , and a target screen 103 .

[0080] The transmission 101 is used to receive the gear information sent by the gear sensor, convert the gear information into a digital signal that complies with the CAN (Controller Area Network) bus communication protocol, that is, the gear CAN signal, and then send the gear CAN signal to the vehicle's CAN bus network so that other electronic control units (for example, the on-board multimedia host 102) can receive the gear CAN signal and perform corresponding processing.

[0081] The vehicle-mounted multimedia host 102 receives the gear CAN signal sent by the transmission 101 from the vehicle's CAN bus network through its built-in CAN controller. After verifying that the gear CAN signal is a valid signal, the CAN controller extracts and decodes the gear information contained in the gear CAN signal, and converts the decoded gear information into a format suitable for IIC (Inter-Integrated Circuit, integrated circuit bus) signal transmission. After obtaining the gear IIC signal, the vehicle-mounted multimedia host, as an IIC master device, sends the gear IIC signal to the slave device (for example, the target screen 103) through the IIC bus for processing. In addition, the vehicle-mounted multimedia host 102 will also determine the corresponding gear icon based on the decoded gear information and send it to the vehicle-mounted display screen (for example, the target screen 103) so that the vehicle-mounted display screen can display the gear icon.

[0082] The target screen 103 may be a vehicle instrument, which is used to display various operating status information of the vehicle to the driver. After receiving the gear icon sent by the vehicle-mounted multimedia host 102, the gear icon is displayed.

[0083] Optionally, the target screen 103 can be a traditional mechanical instrument panel, an electronic analog instrument, a fully digital instrument, etc., which can realize the display of vehicle functional safety maps and gear icons. The embodiment of the present application does not limit the device type of the target screen 103.

[0084] Based on the above-mentioned vehicle-mounted device, the process of functional safety mapping may include: the transmission 101 sends the gear CAN signal to the vehicle-mounted multimedia host 102. The vehicle-mounted multimedia host 102 processes the gear CAN signal sent by the transmission 101, converts the gear CAN signal into a gear IIC signal that can be processed by the instrument screen 103, and determines the gear icon corresponding to the gear CAN signal, and sends the gear icon to the instrument screen 103. After receiving the gear IIC signal and the gear icon, the deserializer of the instrument screen 103 sends the gear IIC signal to the MCU (Microcontroller Unit). The MCU notifies the target chip to perform gear icon verification through the SPI (Serial Peripheral Interface) command. The target chip verifies the gear icon according to the gear IIC signal to determine whether the gear icon is consistent with the pre-stored icon, and then determines whether the gear icon needs to be mapped. If the gear icon is consistent with the pre-stored icon, it indicates that the verification is successful, and the gear icon can be displayed normally. There is no need to set the gear icon to a functional safety state, that is, there is no need to perform a pasting operation; if the gear icon is inconsistent with the pre-stored icon, it indicates that the verification has failed, and the gear icon is set to a functional safety state, that is, a pasting operation is required.

[0085] Figure 2 103 is a display diagram of a target screen provided in an embodiment of the present application. The display content in the target screen 103 may include basic information such as temperature and time, gear icons, steering icons, warning icons, power / fuel values, instantaneous fuel consumption, oil parameters, and vehicle speed. After the target screen 103 receives the gear icon and the gear IIC signal, the gear icon is verified. If the verification is successful, the gear icon corresponding to the current gear information of the vehicle is displayed in area 200, for example, the icon corresponding to the D gear (such as Figure 2 If the check fails, a gear mapping operation is performed in area 200, for example, a black rectangular mapping (such as Figure 2 , as shown in (b) in the figure).

[0086] It should be noted that the mapping style corresponding to the gear mapping operation can be as follows Figure 2 The black rectangle shown in the figure may also be other styles, such as a red circular map, a yellow triangle map, etc. The embodiment of the present application does not limit the gear map style.

[0087] In the existing gear mapping process, the gear icon is verified by receiving the gear IIC signal sent by the vehicle multimedia host. Since the vehicle multimedia host integrates a variety of multimedia devices, including audio playback, video playback, navigation, vehicle information display and other aspects, during the use of the vehicle, the vehicle multimedia host may process multiple tasks at the same time, or there are abnormalities in the hardware connection or software processing, which may cause errors in the processing of the gear CAN signal. For example, the vehicle multimedia host receives the gear CAN signal sent by the transmission to indicate that the vehicle is currently in the P gear (Parking), but after being processed by the vehicle multimedia host, the obtained gear IIC signal indicates that the vehicle is in the R gear (Reverse). In this case, the vehicle multimedia host sends the P gear icon determined according to the P gear signal and the gear IIC signal indicating the R gear to the target screen. In the process of gear icon verification, the P gear icon is verified using the gear IIC signal indicating the R gear, which will cause the verification to fail, and then the gear mapping operation is performed. At this time, the driver may panic because of the change of the gear icon, which will affect the driving safety of the vehicle.

[0088] However, in the above process, the gear signal output by the transmission is not an abnormal signal, but the gear mapping operation is triggered due to an abnormality in the transmission process. It can be seen that the accuracy of the existing gear verification process is low, and the probability of mis-mapping in the gear mapping operation is high, resulting in low accuracy of the displayed gear icon, and even worse, it may affect the driver's gear judgment and endanger the safety of vehicle driving.

[0089] In view of the problems existing in the above-mentioned prior art, the embodiments of the present application provide a vehicle control method, a vehicle control device and a vehicle. After receiving the first gear signal and the target gear icon transmitted by the vehicle's on-board multimedia host, the target gear icon is verified according to the first preset icon corresponding to the first gear signal to obtain a first verification result. If the first verification result indicates that the verification between the first preset icon and the target gear icon fails, the mapping operation is not directly performed at this time. The second gear signal is further obtained from the transmission, the target gear icon is verified again according to the second gear signal, and according to the second verification result, the target icon for indicating the gear mode of the vehicle is displayed on the target screen. Through this vehicle control method, the accuracy of the icon corresponding to the gear mode can be improved to ensure the safety of vehicle driving.

[0090] Combine the following Figures 3 to 5 The vehicle control method provided in the embodiment of the present application is described in detail.

[0091] Figure 3is a schematic flow chart of a vehicle control method provided by an embodiment of the present application. It should be understood that the method can be applied to a vehicle; or, applied to a processor in a vehicle; or, applied to a chip in a processor mounted in a vehicle.

[0092] For example, Figure 3 As shown, the method 300 includes steps S301 to S304.

[0093] S301, if a first gear signal and a target gear icon transmitted by an onboard multimedia host of a vehicle are received, the target gear icon is verified based on a first preset icon corresponding to the first gear signal to obtain a first verification result.

[0094] For example, when the vehicle's electronic control unit (ECU) receives a vehicle power-on signal or detects a driver's gear shifting operation, it is necessary to display or update the vehicle's current gear mode on the vehicle display screen (e.g., target screen, etc.) for the driver to view. At this time, the vehicle's transmission will send the vehicle's current gear CAN signal to the vehicle multimedia host through the vehicle CAN bus, and the vehicle multimedia host processes the gear CAN signal to obtain the first gear signal and target gear icon in the IIC signal format. When the MCU receives the first gear signal and target gear icon transmitted by the vehicle multimedia host, it uses the target chip to verify the target gear icon.

[0095] Specifically, the target chip stores preset icons corresponding to each gear signal. After obtaining the first gear signal, the corresponding first preset icon that meets the safety standards can be determined according to the first gear signal. By comparing the first preset icon with the target gear icon, the target gear icon can be verified to obtain a first verification result.

[0096] Optionally, the target chip may be a ROHM chip or other types of chips with a gear icon verification function. The embodiment of the present application does not specifically limit the type of chip that performs the gear icon verification function.

[0097] In one implementation, during the gear icon verification process, if the target gear icon is completely consistent with the first preset icon, or the pixel difference between the target gear icon and the first preset icon is less than a preset threshold, indicating that the target gear icon to be displayed is within a reasonable error range of the first preset icon, then it can be determined that the first verification result indicates that the verification is successful. If the pixel difference between the target gear icon and the first preset icon is greater than or equal to the preset threshold, then it can be determined that the first verification result indicates that the verification failed.

[0098] Exemplarily, if the MCU receives a first gear signal sent by the vehicle multimedia host indicating that the current gear of the vehicle is P gear, and the target gear icon is the P gear icon, it can be determined that the corresponding first preset icon is the P gear preset icon based on the first gear signal. Compare the pixel difference between the P gear icon and the P gear preset icon. Set a preset threshold, such as 20%. If the pixel difference between the P gear icon and the P gear preset icon is less than 20%, it is determined that the first verification result indicates that the verification is successful. If the pixel difference between the P gear icon and the P gear preset icon is greater than or equal to 20%, it is determined that the first verification result indicates that the verification failed.

[0099] It should be understood that the numerical setting of the above-mentioned preset threshold is only for example. In actual application, the preset threshold can be set by oneself in combination with vehicle manufacturing standards or vehicle manufacturer requirements. The embodiment of the present application does not specifically limit the value of the preset threshold.

[0100] For example, if the first gear signal sent by the vehicle multimedia host indicates that the current gear of the vehicle is P gear, and the target gear icon is R gear icon, the first preset icon can be determined to be P gear preset icon according to the first gear signal. By comparing the R gear icon with the P gear preset icon, if the gears indicated by the two are different, it can be determined that the first verification result indicates verification failure.

[0101] Optionally, after receiving the gear signal, it is determined whether the gear signal is a constantly on signal or a flashing signal; if the gear signal is a constantly on signal, indicating that the gear icon needs to be displayed normally, the gear icon needs to be verified; if the gear signal is a flashing signal, indicating that the gear signal may be abnormal and cannot be displayed normally, there is no need to verify the gear icon.

[0102] For example, taking the hexadecimal representation of the gear signal of an automatic gear vehicle as an example, the gear signal may include 0x0A indicating that the P gear is always on, 0x0B indicating that the R gear is always on, 0x0C indicating that the N gear is always on, 0x0D indicating that the D gear is always on, 0x32 indicating that the P gear flashes, 0x33 indicating that the R gear flashes, 0x34 indicating that the N gear flashes, 0x35 indicating that the D gear flashes, etc.

[0103] S302: If the first verification result indicates that the verification fails, obtain a second gear signal directly from the transmission.

[0104] Exemplarily, after the target gear position icon is first verified using the target chip according to the first preset icon corresponding to the first gear position signal, if the first verification result indicates that the verification fails, the second gear position signal directly from the transmission is obtained.

[0105] Among them, obtaining the second gear signal directly from the transmission is used to indicate that there is no other equipment between the transmission and the target screen. After the transmission generates the second gear signal, the target screen directly obtains the second gear signal from the transmission.

[0106] It should be noted that the first gear signal is generated by the transmission and transmitted to the target screen through the vehicle multimedia host, which can be understood as the target screen obtaining the first gear signal indirectly from the transmission. The second gear signal is generated by the transmission and sent directly to the target screen, which can be understood as the target screen obtaining the second gear signal directly from the transmission. Optionally, when the first verification result indicates that the verification is successful, the target gear icon is directly displayed on the target screen. The display effect of the gear icon can be seen in Figure 2 , the embodiments of the present application will not be described in detail here.

[0107] Figure 4 It is a system architecture diagram of another vehicle control method provided in an embodiment of the present application.

[0108] like Figure 4 As shown, the transmission 101 sends the gear CAN signal to the vehicle multimedia host 102. The vehicle multimedia host 102 processes the gear CAN signal, obtains the target gear icon and the first gear signal, and sends them to the target screen 103. When the target gear icon and the first gear signal sent by the vehicle multimedia host 102 are received, the first preset icon is determined according to the first gear signal. Afterwards, the target gear icon is verified using the first preset icon. If the verification is successful, the target gear icon can be displayed on the target screen 103. If the verification fails, the second gear signal is directly obtained from the transmission 101. The link formed by "transmission 101-vehicle multimedia host 102-target screen 103" can be called a main link, etc., and the link formed by "transmission 101-target screen 103" can be called a slave link or an auxiliary link, etc.

[0109] S303, verifying the target gear position icon based on the second gear position signal to obtain a second verification result.

[0110] Exemplarily, after the second gear signal is acquired through the transmission, the target gear signal is verified according to the second gear signal to obtain a second verification result, and the second verification result may indicate a verification success or a verification failure.

[0111] In one implementation, the process of verifying the target gear icon based on the second gear signal to obtain the second verification result may include:

[0112] Based on the second gear signal, determining a second preset icon corresponding to the second gear signal;

[0113] The target gear position icon is verified based on the second preset icon to obtain a second verification result.

[0114] Exemplarily, after acquiring the second gear signal, the MCU of the target screen determines the second preset icon corresponding to the second gear signal from the icons pre-stored in the target chip. For example, if the second gear signal indicates that the current gear of the vehicle is R gear, then the second preset icon can be determined to be the preset icon corresponding to R gear. The target gear icon transmitted by the vehicle multimedia host is verified by the second preset icon to determine the second verification result.

[0115] In the embodiment of the present application, a second preset icon corresponding to the second gear signal is determined according to the second preset icon; the target gear icon is verified using the second preset icon to determine the second verification result. The preset icon is a pre-stored standard gear icon. Since the second gear signal directly obtained from the transmission has not undergone additional processing, it has higher accuracy than the first gear signal processed by the vehicle multimedia host. By comparing the second preset icon corresponding to the second gear signal with the target gear icon, the accuracy of the gear icon verification can be improved, and the accuracy of the gear mode corresponding icon can be further improved.

[0116] The gear icon is usually a pixel image containing multiple pixels. In order to determine whether there is a difference between the icons, the pixel information corresponding to each icon can be obtained, and the pixel information of the two icons can be judged to determine whether there is a large difference between the pixel information. In one implementation, the target gear icon is verified based on the second preset icon, and the process of obtaining the second verification result may include:

[0117] Acquire first pixel information corresponding to the target gear icon and second pixel information corresponding to the second preset icon;

[0118] Based on the second pixel information, the first pixel information is verified to obtain a second verification result.

[0119] The pixel information may indicate the position coordinates of each colored pixel in the gear icon, the shape of the pixel composition, the color value of the pixel in each color channel, the size and resolution of the gear icon, and the like.

[0120] Exemplarily, after determining the target gear icon and the second preset icon, the target chip obtains first pixel information corresponding to the target gear icon and second pixel information corresponding to the second preset icon, and verifies the first pixel information according to the second pixel information to determine a second verification result.

[0121] In the embodiment of the present application, by obtaining the first pixel information corresponding to the target gear icon and the second pixel information corresponding to the second preset icon, the two are compared and verified to determine whether the verification is successful, and a second verification result is obtained. Pixels are the basic elements that constitute an image. In the process of verifying the target gear icon, the pixel information of the target gear icon is verified by the pixel information of the preset icon, and it can be determined whether there is a difference between the target gear icon and the second preset icon, which can improve the accuracy of the gear icon verification, and then when the icon is displayed according to the verification result, the accuracy of the gear icon display can be improved.

[0122] The gear icons are composed of multiple pixels. During the gear icon verification process, the number of pixels that differ between the icons can be determined to determine whether the target gear icon meets the standard preset icon. In one implementation, the first pixel information is verified based on the second pixel information, and the process of obtaining the second verification result may include:

[0123] Determining a target pixel point in the target gear icon based on the first pixel information and the second pixel information, wherein the target pixel point indicates a pixel point at which there is a difference between the target gear icon and the second preset icon;

[0124] Based on the target number of target pixels, a second verification result is determined.

[0125] Exemplarily, after obtaining the first pixel information corresponding to the target gear icon and the second pixel information corresponding to the second preset icon, the target pixel points that are different from the second preset icon are determined in the target gear icon based on the first pixel information and the second pixel information, and the second verification result is determined based on the target number of target pixel points.

[0126] In the embodiment of the present application, the target pixel points with differences between the two icons are determined based on the first pixel information of the target gear icon and the second pixel information of the second preset icon, and the second verification result is determined based on the target number of the target pixel points. The target number of target pixel points with differences can reflect the degree of difference between the two icons. Determining the second verification result based on the target number of target pixel points can improve the accuracy of the second verification result.

[0127] The color of the gear icon can be used to distinguish different gear modes, so that the driver can quickly identify the current gear mode and ensure the safety of the vehicle. When there is a large difference between the hue, saturation and brightness of the gear icon and the standard color, it may affect the driver's judgment. Therefore, in the process of determining the target pixel points with differences in the icon, it can be determined whether there is a difference in color by comparing the color component value of each pixel point. In one implementation, based on the first pixel information and the second pixel information, the process of determining the target pixel point from the target gear icon may include:

[0128] Based on the first pixel information and the second pixel information, determining a first color component value corresponding to each pixel point in the target gear icon and a second color component value corresponding to each pixel point in the second preset icon;

[0129] A target pixel point in the target gear position icon is determined based on the first color component value and the second color component value.

[0130] Exemplarily, after obtaining the first pixel information of the target gear icon and the second pixel information of the second preset icon, the first color component value corresponding to each pixel point in the target gear icon and the second color component value corresponding to each pixel point in the second preset icon are determined. Then, the target pixel point in the target gear icon is determined according to the first color component value and the second color component value.

[0131] The color components of the pixels in the gear icon image can be represented by a variety of color models, including RGB (red-green-blue) color model, CMYK (cyan-magenta-yellow-black) color model and HSV (hue-saturation-value) color model.

[0132] In the RGB color model, a color is composed of three color components: red (R), green (G), and blue (B). The value of each color component is usually represented by an integer between 0 and 255. For example, (0, 0, 0) represents black because there is no color component; (255, 255, 255) represents white, that is, the red, green, and blue color components all reach their maximum values ​​and are mixed to form white.

[0133] The CMYK color model consists of four color components: cyan (C), magenta (M), yellow (Y), and black (K). Unlike RGB, CMYK is a subtractive color mixing model, and its color component values ​​are usually expressed as percentages between 0% and 100%. For example, (0%, 0%, 0%, 0%) represents white, and (100%, 100%, 100%, 100%) represents black. In theory, the darkest color is obtained by mixing the three colors and then adding black.

[0134] The HSV color model includes three components: hue (H), saturation (S) and value (V). Hue is usually expressed as an angle value between 0-360 degrees, which is used to determine the type of color, such as 0° or 360° for red, 120° for green, 240° for blue, etc. Saturation refers to the purity of the color, expressed as a percentage between 0%-100%, 100% for fully saturated color, and 0% for gray. Value is also expressed as a percentage between 0%-100%, 0% for black, and 100% for white.

[0135] It should be understood that in order to implement icon verification between the target gear icon and the second preset icon, it is necessary to ensure that the first color component value and the second color component value are obtained by the same color model. For example, the first color component value and the second color component value are both represented by the RGB model; or the first color component value and the second color component value are both represented by the CMYK color model; or the first color component value and the second color component value are both represented by the HSV color model.

[0136] In the embodiment of the present application, the color component value corresponding to each pixel is determined from the first pixel information of the target gear icon and the second pixel information of the second preset icon. By comparing the first color component value corresponding to the target gear icon and the second color component value corresponding to the second preset icon, it can be determined whether there is a difference between the pixels in the two icons. By comparing the color component values ​​of the target gear icon and the second preset icon, a difference comparison of the pixel dimension can be achieved, the accuracy of the target pixel can be improved, and the accuracy of the gear icon verification can be further improved.

[0137] The same color model contains multiple color channels. When comparing the first color component value and the second color component value, the color components of each color channel need to be compared accordingly to determine whether there is a difference in the icon. In one implementation, determining the target pixel point in the target gear icon based on the first color component value and the second color component value includes:

[0138] Determine, based on the first color component value and the second color component value, the color component difference of each color channel corresponding to the pixel point at the same position in the target gear icon and the second preset icon;

[0139] If a first pixel point in the target gear position icon has at least one color component difference that is greater than or equal to a first preset threshold, the first pixel point is determined as a target pixel point.

[0140] For example, for gear icons of the same resolution and size, in the process of pixel comparison, the color sub-component values ​​in each color channel corresponding to the pixel at the same position in the target gear icon and the second preset icon can be determined based on the first color component value and the second color component value; the color component difference can be calculated based on the color sub-component values ​​of the two pixels. A first preset threshold is set, and the relationship between the color component difference between each pair of pixels and the first preset threshold is compared. If there is a pair of pixels whose color component difference in at least one color channel is greater than or equal to the first preset threshold, the pixel in the target gear icon is determined as the target pixel.

[0141] Taking the RGB model to represent color components as an example, if the color component values ​​of the pixel points at the same position in the target gear position icon and the second preset icon are obtained as (255, 237, 0) and (255, 255, 0) respectively, the color component difference of the R channel is calculated to be 0, the color component difference of the G channel is 18, and the color component difference of the B channel is 0. If the first preset threshold is 20, and the color component differences between the above pixel pairs are all less than the first preset threshold, they will not be determined as target pixels. If the color component values ​​of the pixel points at the same position in the target gear position icon and the second preset icon are obtained as (220, 237, 0) and (255, 255, 0) respectively, the color component difference of the R channel is calculated to be 35, the color component difference of the G channel is 18, and the color component difference of the B channel is 0. If the first preset threshold is 20, and the color component difference of the R channel is greater than the first preset threshold 20, the pixel point in the pixel pair belonging to the target gear position icon is determined as the target pixel point.

[0142] In the embodiment of the present application, the color component difference corresponding to the pixel points at the same position in each color channel is determined based on the first color component value corresponding to the target gear icon and the second color component value corresponding to the second preset icon. A first preset threshold is set, and the relationship between the color component difference and the first preset threshold is compared. If the color component difference of at least one color channel of the first pixel point in the target gear icon is greater than or equal to the first preset threshold, the above-mentioned first pixel point is determined as the target pixel point. By calculating the color component difference between the pixels at the same position in the two icons, the difference between the two pixels can be determined; by comparing the color component difference and the first preset threshold, the pixels with larger differences can be screened out, and the pixels with smaller differences that can be ignored can be filtered out, thereby improving the accuracy of the target pixel points, and further improving the accuracy of the gear icon verification.

[0143] In the process of checking the gear icon, an error range is generally set. When the error between the target gear icon and the second preset icon is less than a preset threshold, it can be assumed that there is no error between the two; when the error between the target gear icon and the second preset icon is greater than or equal to the preset threshold, it is determined that the target gear icon does not meet the standard of the second preset icon. In one implementation, the total number of pixels in the target gear icon is obtained; based on the target number of target pixels, the second verification result is determined, including:

[0144] Determine the target ratio based on the total number of pixels and the number of targets;

[0145] If the target proportion is greater than or equal to a second preset threshold, determining that the second verification result indicates a verification failure;

[0146] If the target proportion is less than the second preset threshold, it is determined that the second verification result indicates that the verification is successful.

[0147] Exemplarily, the target chip obtains the total number of pixels in the target gear position icon, and calculates the target proportion of target pixels with large differences in the total number of pixels based on the total number of pixels and the target number of target pixels. A second preset threshold is set, and if the target proportion is greater than or equal to the second preset threshold, indicating that there are a large number of pixels with differences, it is determined that the second verification result indicates that the verification failed. If the target proportion is less than the second preset threshold, indicating that the difference between the target gear position icon and the second preset icon is small and can be ignored, it can be determined that the second verification result indicates that the verification is successful.

[0148] Exemplarily, take the second preset threshold of 10% as an example. The target chip obtains a total number of pixels of the target gear icon of 2500. By comparing the pixel information of the target gear icon and the second preset icon, if it is determined that the target number of target pixels with large differences is 200, the target proportion is calculated to be 8% (=200 / 2500*100%), and the target proportion is less than the second preset threshold of 10%, then it is determined that the second verification result indicates that the verification is successful. If it is determined that the target number of target pixels with large differences is 500, the target proportion is calculated to be 20% (=500 / 2500*100%), and the target proportion is greater than the second preset threshold of 10%, then it is determined that the second verification result indicates that the verification failed.

[0149] In an embodiment of the present application, the total number of pixels of the target gear icon is first obtained, and the second verification result is determined by calculating the target proportion of the target pixel points in the total pixels of the target gear icon. A second preset threshold is set, and when the target proportion is greater than or equal to the second preset threshold, it is determined that the second verification result indicates that the verification failed. When the target proportion is less than the second preset threshold, it is determined that the second verification result indicates that the verification is successful. By comparing the relationship between the target proportion and the second preset threshold, it is determined whether there is a large difference between the target gear icon and the second preset icon, thereby improving the accuracy of determining the second verification result. Furthermore, in the process of determining the target icon according to the second verification result, the accuracy of the icon corresponding to the gear mode can be improved.

[0150] S304: Determine a target icon corresponding to the current gear mode of the vehicle based on the second verification result.

[0151] Exemplarily, after verifying the target gear icon according to the second gear signal and obtaining a second verification result, the MCU of the target screen determines a target icon that matches the current gear mode of the vehicle according to the second verification result; and displays the target icon on the target screen of the vehicle.

[0152] Among them, the target screen may include vehicle instruments, central control screen, entertainment screen, etc.

[0153] If the verification fails, it indicates that the gear information indicated by the target gear icon does not match the actual gear information, or the target gear icon does not meet the standard of the preset icon, and a corresponding prompt operation is required; if the verification fails, it indicates that there is no abnormality in the target gear icon, and it can be displayed. In one implementation, based on the second verification result, determining the target icon corresponding to the current gear mode of the vehicle includes:

[0154] If the second verification result indicates that the verification is successful, determining that the target icon is a target gear position icon;

[0155] If the second verification result indicates that the verification fails, the target icon is determined to be a preset icon.

[0156] Exemplarily, after obtaining the second verification result, the MCU determines the target icon to be displayed according to the second verification result. If the second verification result indicates that the verification is successful, the target gear icon is determined as the target icon, and the target gear icon is displayed at a preset position on the target screen. On the contrary, if the second verification result indicates that the verification fails, the preset icon is determined as the target icon, and the preset icon is displayed at a preset position on the target screen.

[0157] Optionally, the preset icon may be a black rectangular icon, a red circular icon, a yellow triangular icon, etc. The embodiment of the present application does not specifically limit the style, color, and other parameters of the preset icon.

[0158] In the embodiment of the present application, when the second verification result indicates that the verification is successful, the target gear icon is determined as the target icon, so that the accurate gear icon can be displayed on the target screen, so that the driver can obtain accurate gear information and ensure the safety of vehicle driving. When the second verification result indicates that the verification fails, the preset icon is determined as the target icon to prompt the driver that the gear icon is abnormal, realize the functional safety verification process, and improve the accuracy of the icon corresponding to the gear mode to be displayed.

[0159] In summary, in an embodiment of the present application, when a first gear signal and a target gear icon are received from the vehicle's onboard multimedia host, the target gear icon is first verified according to the first preset icon corresponding to the first gear signal to obtain a first verification result. If the first verification result indicates that the verification has failed, the second gear signal is directly obtained from the transmission, and the target gear icon is secondly verified according to the second gear signal to obtain a second verification result. Thereafter, according to the second verification result, the target icon corresponding to the current gear mode of the vehicle is determined. Compared with the prior art in which only the gear icon is verified for the first time, the present application verifies the gear icon twice, that is, when the first verification result indicates that the verification has failed, the gear icon is verified for the second time, thereby improving the accuracy of the verification of the gear icon. On this basis, according to the second verification result, the corresponding target icon is determined, which can further improve the accuracy of the target icon to be displayed, so that the driver can accurately identify the current gear mode of the vehicle to ensure the driving safety of the vehicle.

[0160] Figure 5 is a schematic flow chart of another vehicle control method provided by an embodiment of the present application. It should be understood that the method can be applied to a vehicle; or, applied to a processor in a vehicle; or, applied to a chip in a processor mounted in a vehicle.

[0161] For example, Figure 5 As shown, the method 400 includes steps S401 to S413.

[0162] S401: If a first gear signal and a target gear icon transmitted by an onboard multimedia host of a vehicle are received, the target gear icon is verified based on a first preset icon corresponding to the first gear signal to obtain a first verification result.

[0163] Exemplarily, the transmission sends the gear CAN signal to the on-board multimedia host, and the on-board multimedia host processes the gear CAN signal to obtain a first gear signal in the form of a processed IIC signal and a target gear icon corresponding to the gear CAN signal; after receiving the first gear signal and the target gear icon transmitted by the on-board multimedia host, the target gear icon is verified according to the first preset icon corresponding to the first gear signal to determine whether the target gear icon is consistent with the first preset icon, and a first verification result is obtained.

[0164] Optionally, the implementation of S401 can refer to Figure 3 The relevant description of S301 in the present application embodiment is not repeated here.

[0165] S402: If the first verification result indicates that the verification is successful, determine that the target icon is a target gear position icon.

[0166] Exemplarily, when the first verification result obtained through the first verification indicates that the verification is successful, indicating that the target gear icon meets the standard of the preset icon, the target gear icon can be determined as the target icon for displaying the target gear icon on the target screen.

[0167] Optionally, the implementation of S402 can refer to Figure 3 The relevant description of S302 in the present application embodiment will not be repeated here.

[0168] S403: If the first verification result indicates that the verification fails, a second gear signal directly from the transmission is obtained.

[0169] Exemplarily, when the first verification result obtained by the first verification indicates that the verification fails, Figure 4 The slave link shown in derives the second gear signal directly from the transmission.

[0170] Optionally, the implementation of S403 can refer to Figure 3 The relevant description of S302 in the present application embodiment will not be repeated here.

[0171] S404: Determine a second preset icon corresponding to the second gear signal based on the second gear signal.

[0172] Exemplarily, preset icons that comply with functional safety standards and correspond to various gear modes are stored in the vehicle computer; after the second gear signal is directly obtained from the transmission, a second preset icon corresponding to the second gear signal can be determined from the preset icons.

[0173] For example, if the second gear signal indicates that the current gear of the vehicle is P gear, the corresponding P gear preset icon can be determined.

[0174] Optionally, the implementation of S404 can refer to Figure 3 The relevant description of S303 in the present application embodiment will not be repeated here.

[0175] S405, obtaining first pixel information corresponding to the target gear icon and second pixel information corresponding to the second preset icon.

[0176] Exemplarily, after determining the second preset icon corresponding to the second gear signal, the target gear icon needs to be verified according to the second preset icon. The gear icons are composed of a large number of pixels, each pixel has corresponding pixel information, and in the gear icon verification process, the pixel information corresponding to the target gear icon and the second pixel information corresponding to the second preset icon are first obtained.

[0177] Optionally, the implementation of S405 can refer to Figure 3 The relevant description of S303 in the present application embodiment will not be repeated here.

[0178] S406: Determine, based on the first pixel information and the second pixel information, a first color component value corresponding to each pixel point in the target gear icon and a second color component value corresponding to each pixel point in the second preset icon.

[0179] Exemplarily, based on the first pixel information corresponding to the target gear icon and the second pixel information corresponding to the second preset icon, the first color component value of each pixel in the target gear icon and the second color component value of each pixel summarized by the second preset icon can be determined.

[0180] Optionally, the color component values ​​may be represented by a variety of color models, such as an RGB model, a CMYK color model, and an HSV model.

[0181] Optionally, the implementation of S406 can refer to Figure 3 The relevant description of S303 in the present application embodiment will not be repeated here.

[0182] S407, determining color component differences of respective color channels corresponding to pixels at the same position in the target gear icon and the second preset icon based on the first color component value and the second color component value.

[0183] Exemplarily, the first color component value and the second color component value include color sub-component values ​​of multiple color channels. In the process of comparing the target gear icon and the second preset icon, the color sub-component values ​​of the pixels at the same position in each color channel can be determined, and the color component difference of each color channel can be determined based on the color sub-component values.

[0184] Optionally, the implementation of S407 can refer to Figure 3The relevant description of S303 in the present application embodiment will not be repeated here.

[0185] S408: If a first pixel in the target gear position icon has at least one color component difference greater than or equal to a first preset threshold, determine the first pixel as a target pixel.

[0186] The target pixel point indicates a pixel point at which there is a difference between the target gear position icon and the second preset icon.

[0187] Exemplarily, a first preset threshold corresponding to the color component difference is set, such as 20, 25, 30, etc. When it is detected that the first pixel point in the target gear icon has at least one color component difference greater than or equal to the first preset threshold, it indicates that the color component difference between the first pixel point and the standard pixel point in the second preset icon is large, and the first pixel point is determined as the target pixel point.

[0188] Optionally, the implementation of S408 can refer to Figure 3 The relevant description of S303 in the present application embodiment will not be repeated here.

[0189] S409: Obtain the total number of pixels in the target gear icon.

[0190] Exemplarily, after the target pixel points in the target gear position icon are determined, the target number of the target pixel points is counted, and the total number of pixels of the target gear position icon is obtained.

[0191] Optionally, the implementation of S409 can refer to Figure 3 The relevant description of S303 in the present application embodiment will not be repeated here.

[0192] S410, determining a target proportion based on the total number of pixels and the target number of target pixels.

[0193] Exemplarily, based on the target number of target pixels and the total number of pixels of the target gear icon, a ratio of the two can be calculated, that is, the target proportion of target pixels that are more different from the second preset icon in the total number of pixels of the target gear icon.

[0194] Optionally, the implementation of S410 can refer to Figure 3 The relevant description of S303 in the present application embodiment will not be repeated here.

[0195] S411: If the target proportion is greater than or equal to a second preset threshold, determining that the second verification result indicates a verification failure, and determining that the target icon is a preset icon.

[0196] Exemplarily, a second preset threshold is set, such as 5%, 10%, etc. When it is detected that the target proportion is greater than or equal to the second preset threshold, it indicates that the difference between the target gear icon and the second preset icon is large, and it can be determined that the second verification result indicates a verification failure, and the preset icon is determined as the target icon.

[0197] Optionally, the preset icon may be set to have icon parameters such as different colors and different styles, for example, the preset icon may be a black rectangular icon, etc. The present embodiment of the application does not specifically limit the icon parameters of the preset icon.

[0198] Optionally, the implementation of S411 can refer to Figure 3 The relevant description of S303 and S304 in the embodiment of the present application is not repeated here.

[0199] S412: If the target proportion is less than the second preset threshold, determine that the second verification result indicates that the verification is successful, and determine that the target icon is a target gear position icon.

[0200] Exemplarily, when it is detected that the target proportion is less than the second preset threshold, indicating that the difference between the target gear icon and the second preset icon is small, it can be determined that the second verification result indicates that the verification is successful, and the target gear icon is determined as the target icon.

[0201] Optionally, the implementation of S412 can refer to Figure 3 The relevant description of S303 and S304 in the embodiment of the present application is not repeated here.

[0202] S413, displaying a target icon on a target screen of the vehicle.

[0203] Exemplarily, after determining the target icon to be displayed, the target icon is displayed on the target screen of the vehicle to indicate the current gear mode or gear state of the vehicle.

[0204] Optionally, the implementation of S413 can refer to Figure 3 The relevant description of S304 in the present application embodiment is not repeated here.

[0205] In summary, in the embodiment of the present application, after obtaining the first gear signal and the target gear icon sent by the vehicle-mounted multimedia host, the first gear signal is used to perform a first check on the target gear icon. When the first check result indicates that the check fails, the second gear signal is directly obtained from the transmission, and the second preset icon corresponding to the second gear signal is used to perform a second check on the target gear icon. The second check on the target gear icon is performed in combination with the color component value of the pixel point in the icon, which can ensure the accuracy of the check on the gear icon and avoid abnormal gear signals caused by signal processing delays, which cause the gear icon check to fail, output erroneous results, and affect the normal driving of the vehicle. Through two checks, the accuracy of the icon corresponding to the gear mode is improved, and the target icon corresponding to the check result is displayed to ensure the accuracy of the target icon so that the driver can obtain accurate gear information.

[0206] Combination of the above Figures 1 to 5 The vehicle control method provided by the embodiment of the present application is described in detail; Figure 6 and Figure 7 The device embodiments of the present application are described in detail. It should be understood that the device in the embodiments of the present application can execute the various methods of the aforementioned embodiments of the present application, that is, the specific working processes of the following various products can refer to the corresponding processes in the aforementioned method embodiments.

[0207] Figure 6 It is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application.

[0208] For example, Figure 6 As shown, the vehicle control device 500 includes:

[0209] The first verification module 501 is used for, upon receiving a first gear signal and a target gear icon transmitted by the vehicle-mounted multimedia host, verifying the target gear icon based on a first preset icon corresponding to the first gear signal to obtain a first verification result;

[0210] A first acquisition module 502, configured to acquire a second gear position signal directly from the transmission if the first verification result indicates that the verification fails;

[0211] A second verification module 503, configured to verify the target gear position icon based on the second gear position signal to obtain a second verification result;

[0212] The determination module 504 is used to determine the target icon corresponding to the current gear mode of the vehicle based on the second verification result.

[0213] In a possible implementation, the second verification module 503 is further configured to determine a second preset icon corresponding to the second gear signal based on the second gear signal;

[0214] The target gear position icon is verified based on the second preset icon to obtain a second verification result.

[0215] In a possible implementation, the second verification module 503 is further used to obtain first pixel information corresponding to the target gear icon and second pixel information corresponding to the second preset icon;

[0216] Based on the second pixel information, the first pixel information is verified to obtain a second verification result.

[0217] In a possible implementation, the second verification module 503 is further used to determine a target pixel point in the target gear icon based on the first pixel information and the second pixel information, wherein the target pixel point indicates a pixel point that is different between the target gear icon and the second preset icon;

[0218] Based on the target number of target pixels, a second verification result is determined.

[0219] In a possible implementation, the second verification module 503 is further used to determine the first color component value corresponding to each pixel point in the target gear icon and the second color component value corresponding to each pixel point in the second preset icon based on the first pixel information and the second pixel information;

[0220] A target pixel point in the target gear position icon is determined based on the first color component value and the second color component value.

[0221] In a possible implementation, the second verification module 503 is further used to determine the color component difference of each color channel corresponding to the pixel point at the same position in the target gear icon and the second preset icon based on the first color component value and the second color component value;

[0222] If a first pixel point in the target gear position icon has at least one color component difference that is greater than or equal to a first preset threshold, the first pixel point is determined as a target pixel point.

[0223] In a possible implementation, the vehicle control device 500 further includes:

[0224] A second acquisition module is used to acquire the total number of pixels in the target gear icon;

[0225] The second verification module 503 is also used to determine the target proportion based on the total number of pixels and the number of targets;

[0226] If the target proportion is greater than or equal to a second preset threshold, determining that the second verification result indicates a verification failure;

[0227] If the target proportion is less than the second preset threshold, it is determined that the second verification result indicates that the verification is successful.

[0228] In a possible implementation, the determination module 504 is further configured to determine that the target icon is a target gear position icon if the second verification result indicates that the verification is successful;

[0229] If the second verification result indicates that the verification fails, the target icon is determined to be a preset icon.

[0230] It should be noted that the above vehicle control device is embodied in the form of a functional unit. The term "module" here can be implemented in the form of software and / or hardware, and is not specifically limited to this.

[0231] For example, a "module" may be a software program, a hardware circuit, or a combination of the two that implements the above functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.

[0232] Therefore, the units of each example described in the embodiments of the present application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0233] Figure 7 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0234] For example, Figure 7 As shown, the vehicle 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores an executable program code 603, and the processor 602 is used to call and execute the executable program code 603 to perform a vehicle control method.

[0235] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a vehicle control method provided by an embodiment of the present application.

[0236] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0237] In the case of dividing each functional module according to each function, the device may further include a first verification module, a first acquisition module, a second verification module, a determination module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0238] It should be understood that the device provided in this embodiment is used to execute the above-mentioned vehicle control method, and thus can achieve the same effect as the above-mentioned implementation method.

[0239] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing mutual program codes, etc.

[0240] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0241] In addition, the device provided in the embodiments of the present application may specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle control method provided in the above embodiments.

[0242] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a vehicle control method provided by the above-mentioned embodiment.

[0243] Among them, computer-readable storage media may include but are not limited to any type of disk, including floppy disks, optical disks, digital versatile disks (Digital Video Disc, DVD), compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), microdrives and magneto-optical disks, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable programmable read only memory (Electrically Erasable Programmable read only memory, EEPROM), dynamic random access memory (Dynamic Random Access Memory, DRAM), video random access memory (Video Random Access Memory, VRAM), flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.

[0244] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a vehicle control method provided by the above-mentioned embodiment.

[0245] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0246] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0247] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0248] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A vehicle control method, characterized in that: The method comprises: If a first gear signal and a target gear icon transmitted by the vehicle's onboard multimedia host are received, the target gear icon is verified based on a first preset icon corresponding to the first gear signal to obtain a first verification result; If the first verification result indicates that the verification fails, obtaining a second gear position signal directly from the transmission; Verifying the target gear position icon based on the second gear position signal to obtain a second verification result; Based on the second verification result, a target icon corresponding to the current gear mode of the vehicle is determined.

2. The method according to claim 1, characterized in that: The verifying the target gear position icon based on the second gear position signal to obtain a second verification result includes: Based on the second gear signal, determining a second preset icon corresponding to the second gear signal; The target gear icon is verified based on the second preset icon to obtain the second verification result.

3. The method according to claim 2, characterized in that The verifying the target gear icon based on the second preset icon to obtain the second verification result includes: Acquire first pixel information corresponding to the target gear icon and second pixel information corresponding to the second preset icon; Based on the second pixel information, the first pixel information is verified to obtain the second verification result.

4. The method according to claim 3, characterized in that The verifying the first pixel information based on the second pixel information to obtain the second verification result includes: Determining a target pixel point in the target gear position icon based on the first pixel information and the second pixel information, wherein the target pixel point indicates a pixel point at which a difference exists between the target gear position icon and the second preset icon; Based on the target number of the target pixels, the second verification result is determined.

5. The method according to claim 4, characterized in that The determining a target pixel point from the target gear position icon based on the first pixel information and the second pixel information includes: Based on the first pixel information and the second pixel information, determining a first color component value corresponding to each pixel point in the target gear position icon and a second color component value corresponding to each pixel point in the second preset icon; The target pixel point in the target gear position icon is determined based on the first color component value and the second color component value.

6. The method according to claim 5, characterized in that The determining the target pixel point in the target gear position icon based on the first color component value and the second color component value includes: Determining, based on the first color component value and the second color component value, color component differences of respective color channels corresponding to pixels at the same position in the target gear position icon and the second preset icon; If there is at least one color component difference of a first pixel in the target gear position icon that is greater than or equal to a first preset threshold, the first pixel is determined as the target pixel.

7. The method according to any one of claims 1 to 6, characterized in that: Also includes: Obtaining the total number of pixels in the target gear icon; The determining the second verification result based on the target number of the target pixels includes: Determining a target ratio based on the total number of pixels and the number of targets; If the target proportion is greater than or equal to a second preset threshold, determining that the second verification result indicates a verification failure; If the target proportion is less than the second preset threshold, it is determined that the second verification result indicates that the verification is successful.

8. The method according to any one of claims 1 to 6, characterized in that: The determining, based on the second verification result, a target icon corresponding to the current gear mode of the vehicle includes: If the second verification result indicates that the verification is successful, determining that the target icon is the target gear position icon; If the second verification result indicates that the verification fails, it is determined that the target icon is a preset icon.

9. A vehicle control device, characterized in that: The device comprises: A first verification module is configured to, upon receiving a first gear signal and a target gear icon transmitted by an onboard multimedia host of a vehicle, verify the target gear icon based on a first preset icon corresponding to the first gear signal to obtain a first verification result; A first acquisition module, configured to acquire a second gear position signal directly from a transmission if the first verification result indicates a verification failure; A second verification module, configured to verify the target gear position icon based on the second gear position signal to obtain a second verification result; A determination module is used to display a target icon on a target screen of the vehicle based on the second verification result, wherein the target icon is used to indicate a current gear mode of the vehicle.

10. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 8.