Vehicle control method, apparatus, device, storage medium, and program product
By analyzing the message status information before the communication interruption, the electric oil pump can be controlled to continue working when the vehicle communication fails, thus solving the problems of thermal runaway and energy loss caused by the communication interruption and improving driving safety and energy efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHERY AUTOMOBILE CO LTD
- Filing Date
- 2026-03-30
- Publication Date
- 2026-06-30
AI Technical Summary
If the electric oil pump stops working due to communication interruption during vehicle operation, it may cause the powertrain to thermal runaway risk, or continuous operation may lead to energy loss.
By obtaining the last frame of the message before the communication interruption, the vehicle status information is parsed, and it is determined that the vehicle is powered on. Then, the electric oil pump is controlled to continue working at the target speed command value for a period of time to avoid interruption of coolant circulation.
It effectively avoids the risk of powertrain overheating due to interruption of coolant circulation, ensures driving safety, provides basic mobility in the event of a malfunction, and optimizes energy utilization.
Smart Images

Figure CN122304988A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle intelligent control technology, and in particular to a vehicle control method, device, equipment, storage medium, and program product. Background Technology
[0002] With the rapid development of new energy vehicle technology, the electric oil pump, as the core actuator of the thermal management system, is directly related to the thermal safety performance of the entire vehicle powertrain.
[0003] In related technologies, when a communication interruption is detected, the electric fuel pump controller assumes the vehicle has lost power and stops the electric fuel pump from operating. However, in other solutions, to avoid the risk of thermal runaway due to misjudgment after a communication interruption, the electric fuel pump is kept running.
[0004] However, if a momentary communication interruption occurs during vehicle operation due to electromagnetic interference, loose connectors, or other reasons, and the electric oil pump stops working, coolant circulation will be interrupted, and heat buildup may lead to thermal runaway. If the electric oil pump is kept running, it will cause unnecessary energy loss when the vehicle is normally powered off, and may even lead to battery depletion. Summary of the Invention
[0005] This application provides a vehicle control method, device, equipment, storage medium, and program product, which can solve the risk of powertrain thermal runaway that may occur when the electric oil pump stops immediately due to a sudden communication interruption during driving. The technical solution is as follows: On the one hand, a vehicle control method is provided, the method comprising: If it is determined that the vehicle communication is interrupted, the target message is obtained, which is the last frame message received before the vehicle communication was interrupted; The vehicle's status information is determined based on the target message. If the vehicle is determined to be powered on based on the status information, a vehicle communication failure is determined. Based on the target message, a target speed command value for the electric oil pump is determined, and within a first specified time period, the electric oil pump is controlled to operate based on the target speed command value.
[0006] In one possible implementation, the process of determining the vehicle communication interruption includes: If no message is received from the vehicle within the second specified time period, it is determined that the vehicle communication is interrupted; or, If a message from the vehicle is received within a second specified time period, and the message does not meet the specified valid conditions, it is determined that the vehicle communication is interrupted.
[0007] In another possible implementation, the process of determining that the message does not meet the specified validity conditions includes: A cyclic redundancy check is performed on the message; if the check fails, the message is determined not to meet the specified valid conditions; and / or, Determine the source address of the message; if the source address does not match the pre-stored address, then determine that the message does not meet the specified valid conditions; and / or, A first speed command value is determined based on the message. If the first speed command value is not within the specified range, the message is determined not to meet the specified valid conditions.
[0008] In another possible implementation, the status information includes a status indication value of the vehicle's controller area network bus; the process of determining that the vehicle is in a power-on state based on the status information includes: In response to the status indication value of the controller area network bus being a first preset value, it is determined that the vehicle is in a powered-on state.
[0009] In another possible implementation, after determining the vehicle communication failure, the method further includes controlling the vehicle to enter limp mode.
[0010] In another possible implementation, controlling the electric oil pump based on the target speed command value includes: The target speed value is determined based on the target speed command value, and the electric oil pump is controlled to work based on the target speed value. The target speed value is positively correlated with the target speed command value.
[0011] On the other hand, a vehicle control device is provided, the device comprising: An acquisition module is configured to acquire a target message, which is the last frame message received before the vehicle communication was interrupted, in the event that the vehicle communication is determined to be interrupted. The determination module is configured to determine the vehicle's status information based on the target message, and to determine the vehicle's communication failure when the vehicle is determined to be in a powered-on state based on the status information. The control module is configured to determine a target speed command value for the electric oil pump based on the target message, and control the electric oil pump to operate based on the target speed command value within a first specified time period.
[0012] In one possible implementation, the acquisition module is used for: If no message is received from the vehicle within the second specified time period, it is determined that the vehicle communication is interrupted; or, If a message from the vehicle is received within a second specified time period, and the message does not meet the specified valid conditions, it is determined that the vehicle communication is interrupted.
[0013] In another possible implementation, the module is used for: A cyclic redundancy check is performed on the message; if the check fails, the message is determined not to meet the specified valid conditions; and / or, Determine the source address of the message; if the source address does not match the pre-stored address, then determine that the message does not meet the specified valid conditions; and / or, A first speed command value is determined based on the message. If the first speed command value is not within the specified range, the message is determined not to meet the specified valid conditions.
[0014] In another possible implementation, the status information includes a status indication value of the vehicle's controller area network bus; the determination module is configured to: In response to the status indication value of the controller area network bus being a first preset value, it is determined that the vehicle is in a powered-on state.
[0015] In another possible implementation, the control module is used to: control the vehicle to enter limp mode.
[0016] In another possible implementation, the control module is used for: The target speed value is determined based on the target speed command value, and the electric oil pump is controlled to work based on the target speed value. The target speed value is positively correlated with the target speed command value.
[0017] On the other hand, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the program to implement the method described in any of the above.
[0018] On the other hand, a non-transitory computer-readable storage medium is provided, the non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method described in any of the preceding claims.
[0019] On the other hand, a computer program product is provided, including computer program instructions that, when run on a computer, cause the computer to perform the method described in any of the preceding claims.
[0020] The beneficial effects of the technical solution provided in this application are as follows: when communication is interrupted, the last valid message frame before the interruption is parsed, and the status information in the message is used to distinguish between normal vehicle power-down and unexpected communication loss scenarios. When an unexpected communication loss is determined, the electric oil pump is controlled to continue running for a first specified duration according to the last target speed command value in the message, providing a buffer for the momentary communication failure, avoiding the risk of powertrain overheating caused by a sudden interruption of coolant circulation, and ensuring driving safety. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a schematic diagram of an implementation environment provided in an embodiment of this application; Figure 2 This is a flowchart of the vehicle control method provided in the embodiments of this application; Figure 3 This is a schematic diagram of the vehicle control device structure provided in the embodiments of this application; Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0024] This application provides a vehicle control method applied to a vehicle. The vehicle typically includes a vehicle controller, specifically an electric oil pump controller. The vehicle controller is used to execute the vehicle control method provided in this application, such as... Figure 1 As shown, in some embodiments, the vehicle controller includes a processor 110, a memory 120, and a communication component 130, etc. The following describes each component separately: The processor 110 may be a central processing unit (CPU), which can be used to execute the vehicle control method described above.
[0025] The memory 120 can be various volatile or non-volatile memory, such as solid-state disk (SSD), dynamic random access memory (DRAM), etc. The memory can be used to store pre-stored data, intermediate data, and result data during the vehicle control processing.
[0026] The communication component 130 can be a wired network connector, a wireless fidelity (WiFi) module, a Bluetooth module, a cellular communication module, etc. The communication component can be used to transmit control commands to control other devices.
[0027] In some embodiments, such as Figure 2 As shown, the vehicle control method includes: S201. If it is determined that the vehicle communication is interrupted, obtain the target message, which is the last frame message received before the vehicle communication was interrupted.
[0028] Specifically, when the vehicle's electric oil pump controller determines that the controller area network bus communication link with the main controller (e.g., the drive motor controller) has been interrupted, it will acquire the target message. The target message refers to the last message frame successfully received and verified by the electric oil pump controller before the communication interruption event is confirmed.
[0029] The acquisition process relies on the continuous caching and updating mechanism of the electric oil pump controller for received messages. During normal operation, the electric oil pump controller receives and parses messages from the controller area network bus in real time. Upon receiving a new message frame, the electric oil pump controller first verifies its validity, including but not limited to cyclic redundancy check, source address verification, and data validity check. Only when the message passes all preset validity checks is it adopted as the latest valid instruction, and the content of the last valid message frame stored in the internal buffer is updated simultaneously. The last valid message frame constitutes the target message to be acquired in subsequent steps.
[0030] S202. Determine the vehicle's status information based on the target message. If the vehicle is determined to be powered on based on the status information, determine that the vehicle has a communication fault.
[0031] After acquiring the target message, the electric oil pump controller needs to parse the message content to extract key information for determining the overall vehicle operating status, i.e., status information. This status information is manifested as a specific signal carried in the target message, such as a Controller Area Network (CAN) bus status signal. This signal is periodically emitted by the vehicle's main controller (such as the drive motor controller) during communication, clearly indicating the current desired operating mode of the vehicle controller and core systems.
[0032] The microprocessor of the electric oil pump controller unpacks the cached target message and reads the data bits of the predefined controller area network bus status signal, i.e., the status indication value. This status indication value is usually in the form of a Boolean value (0 or 1) or a predefined enumerated value. Subsequently, the read status indication value is compared with a judgment threshold pre-stored inside the controller.
[0033] When the parsed status indicator value of the controller area network bus is a first preset value (e.g., logic "1"), the vehicle is determined to be in a powered-on state. This indicates that just before the communication interruption occurred, the main controller was still actively declaring the system to be in normal operating mode and had not initiated an orderly power-down process. Therefore, the current communication interruption is not an expected normal shutdown event, but a vehicle communication failure caused by unexpected reasons such as physical interruption of the communication link, controller failure, or strong electromagnetic interference.
[0034] S203. Determine the target speed command value for the electric oil pump based on the target message, and control the electric oil pump to work based on the target speed command value within a first specified time period.
[0035] First, the electric oil pump controller parses the instruction parameters specifically for controlling the operation of the electric oil pump from the target message, namely the target speed instruction value. The target speed instruction value is the desired speed value calculated based on the current thermal management requirements and issued by the main controller at the last moment before the communication interruption. It is carried in a specific data segment of the message in the form of a digital signal.
[0036] After determining the target speed command value, the electric oil pump controller will use this value as the reference for control during a fault. The microprocessor inside the electric oil pump controller converts the target speed command value into a corresponding control signal, driving the power circuit to make the electric oil pump motor run at the speed corresponding to the command value. At the same time, the vehicle is controlled to enter limp mode.
[0037] The first specified duration is a pre-set time threshold, such as 30 seconds, stored in the non-volatile memory of the electric fuel pump controller. During this entire first specified duration, the electric fuel pump will continuously operate based on the target speed command value to handle transient communication interference that may occur during vehicle operation (e.g., caused by electromagnetic pulses or momentary loosening of connectors). If communication is restored within this duration, a seamless switch back to normal controlled mode can be achieved. If communication has not been restored by the end of the first specified duration, it indicates that the communication failure was not transient. A preset safety shutdown procedure will be executed, controlling the electric fuel pump to stop operating and enter a sleep state to prevent continuous battery power consumption in cases where the vehicle may have been actually powered off or the main controller has failed.
[0038] In this embodiment, when an unexpected communication interruption occurs during vehicle operation, decisions are made based on the status and speed commands carried in the last valid message frame before the interruption. When an unexpected communication loss is determined, the electric oil pump continues to operate for a preset period based on the last valid speed command. This provides a buffer period for potential momentary communication failures (such as electromagnetic interference or loose connectors). If communication is restored during this period, normal control can be seamlessly resumed, thus completely avoiding the risk of sudden interruption of coolant circulation and potential powertrain overheating and thermal runaway caused by momentary communication loss, significantly improving driving safety. Simultaneously, controlling the vehicle to enter limp mode ensures that the vehicle has the basic mobility to leave the main road or reach a safe area while ensuring core heat dissipation functions, providing safety redundancy under fault conditions. Furthermore, by accurately analyzing the status information in the messages (such as controller area network bus status signals), it is possible to reliably distinguish between "unexpected communication loss" and "normal power-down" scenarios. During the normal power-down process, the main controller issues a status indication in advance. Upon recognition, the electric fuel pump enters sleep mode sequentially, avoiding the risk of unnecessary battery power consumption or even depletion caused by the electric fuel pump continuing to operate erroneously after the vehicle is turned off. This achieves energy efficiency optimization. It comprehensively improves the functional safety level of the thermal management system, the vehicle's fault tolerance, and energy utilization efficiency.
[0039] In some embodiments, the process of determining the vehicle communication interruption includes: If no message from the vehicle is received within a second specified time period, it is determined that the vehicle communication is interrupted; or, if a message from the vehicle is received within a second specified time period, and the message does not meet the specified valid conditions, it is determined that the vehicle communication is interrupted.
[0040] In practice, the electric oil pump controller has an independent communication monitoring unit that maintains a timer with a timing period of a second specified duration. This second specified duration is a pre-calibrated time threshold, such as 500 milliseconds, based on the real-time requirements of the vehicle's communication system. During normal vehicle communication, the main controller sends messages containing heartbeat signals or control commands to the controller area network bus at fixed intervals (e.g., 10 milliseconds). Each time the electric oil pump controller successfully receives a message frame, regardless of its specific command content, it resets the timer and restarts the timing process. If, within the second specified duration, the communication monitoring unit does not detect any physically received messages, it determines that the communication link is completely interrupted, thus confirming a vehicle communication interruption.
[0041] Within the second specified time period, the electric oil pump controller may receive one or more message frames, and each received message frame is verified. Only messages that pass all verifications are considered valid and used to reset the monitoring timer and update control commands. Cyclic redundancy check (CRC) calculations can be performed on the message data field, and the calculation result is compared with the checksum attached to the message. If they do not match, the verification fails, indicating that a bit error may have occurred during transmission due to interference. The message identifier or the source address information it contains is checked to confirm that it matches a pre-stored, legitimate sending controller address, preventing the reception and incorrect response to irrelevant or malicious messages from other network nodes. The reasonableness of key control data carried in the message, such as the speed command value for the electric oil pump, is assessed. The value is checked to see if it is within a preset reasonable physical range (e.g., between the minimum stable speed and the maximum allowable speed of the electric oil pump). If the command value exceeds this range, the data is deemed unreasonable.
[0042] If any received message fails any check within the second specified time period, the message is considered invalid. In this case, the communication monitoring unit will not reset its timer due to the reception of the invalid message. If no fully valid message is received within the specified time window, the timer expires, and the vehicle communication is determined to be interrupted.
[0043] In this embodiment, a second specified time period is set and the system monitors whether any messages are received within that time period. This allows for direct and rapid response to severe faults such as complete communication link interruption, including bus disconnection or controller crash, ensuring the system can promptly detect communication loss. Simultaneously, the received messages undergo validity checks, including cyclic redundancy check, source address matching, and data rationality checks. This effectively identifies and filters erroneous frames caused by electromagnetic interference, irrelevant frames sent by other network nodes, or malicious attack frames. It prevents invalid messages from being mistakenly identified as valid communication and resetting the monitoring timer, avoiding misjudging normal communication in scenarios where communication quality deteriorates but is not completely interrupted. This significantly enhances fault tolerance and anti-interference capabilities in complex electromagnetic environments and network anomalies, fundamentally reducing false triggers caused by momentary interference or invalid data, ensuring the stable execution of the electric oil pump control strategy and the functional safety of the entire vehicle.
[0044] In some embodiments, the process of determining that the message does not meet a specified validity condition includes: A cyclic redundancy check is performed on the message. If the check fails, the message is determined not to meet the specified valid conditions.
[0045] Specifically, the microprocessor of the electric oil pump controller reads the message and recalculates the Cyclic Redundancy Check (CRC) code using a preset generator polynomial. Then, it compares the calculated CRC code bit-by-bit with the Frame Check Sequence (FCS) field embedded in the message frame. If they match perfectly, the CRC check passes, indicating that no bit errors occurred during transmission and data integrity is guaranteed. If the comparison results are inconsistent, the check fails, indicating that the message may have experienced data distortion during transmission due to bus electromagnetic interference or physical link failure, and the message is determined not to meet the specified validity conditions.
[0046] The source address of the message is determined. If the source address does not match the pre-stored address, the message is determined not to meet the specified valid conditions.
[0047] In practice, the microprocessor of the electric oil pump controller parses the identifier (ID) field of the message, or parses a specific source address information segment in the message data field. The parsed address information is then matched against a list of legitimate source addresses pre-stored in the controller's non-volatile memory. These pre-stored addresses typically correspond to legitimate master controllers authorized to send control commands to the electric oil pump, such as drive motor controllers. If the parsed source address matches any of the pre-stored addresses, the source address verification is successful, indicating that the message source is trustworthy. If there is no match, it indicates that the message may have originated from another network node or is an incorrectly sent message, and the message is determined not to meet the specified validity conditions.
[0048] A first speed command value is determined based on the message. If the first speed command value is not within the specified range, the message is determined not to meet the specified valid conditions.
[0049] In specific implementation, the microprocessor of the electric oil pump controller extracts the value identified as a speed control command, i.e., the first speed command value, from the initially parsed message data field. This first speed command value is compared with a predefined specified range. The specified range is set based on the physical characteristics and safety specifications of the electric oil pump motor; its lower limit is typically the lowest speed at which the motor can operate stably, and its upper limit is the motor's highest safe speed or rated maximum speed. If the first speed command value is within this specified range, a data validity check indicates that the command is physically executable. If the first speed command value is not within this specified range (i.e., below the lower limit or above the upper limit), the data is deemed unreasonable, and the message is determined not to meet the specified validity conditions.
[0050] In this embodiment, cyclic redundancy check (CRC) effectively detects bit errors caused by electromagnetic interference or link failures during message transmission on the controller area network bus, ensuring the integrity of received data and avoiding the risk of making control decisions based on erroneous data. Determining the source address of the message and performing matching verification ensures the legitimacy and authority of the control command from the communication source, preventing the electric oil pump from erroneously responding to messages from other nodes or illegal devices within the network, thus enhancing the system's anti-interference and anti-false triggering capabilities. Furthermore, determining the first speed command value based on the message and checking whether it is within the specified range provides a rationality check at the physical execution level, preventing the electric oil pump motor from overspeeding, stalling, or providing insufficient flow to meet heat dissipation requirements due to abnormal command values (such as too high or too low), thereby protecting the hardware and ensuring the effectiveness of the thermal management function. This significantly reduces system misjudgments caused by transient interference or data errors, fundamentally improving the robustness of the control strategy, the functional safety level of the entire vehicle, and the overall reliability of the thermal management system.
[0051] In some embodiments, controlling the operation of the electric oil pump based on the target speed command value includes: The target speed value is determined based on the target speed command value, and the electric oil pump is controlled to work based on the target speed value. The target speed value is positively correlated with the target speed command value.
[0052] Specifically, the target speed command value is the speed control command issued by the main controller before the communication interruption, parsed from the target message. The target speed value is the execution setpoint used by the electric oil pump controller to drive its internal power circuit, thereby actually controlling the motor speed. The target speed value can be directly equal to the target speed command value, i.e., a one-to-one conversion. To ensure heat dissipation safety redundancy in fault conditions, the target speed value can be determined by adding a fixed safety offset to the target speed command value, or by amplifying it according to a specified amplification factor (greater than 1, e.g., 1.2) (the product of the target speed command value and the amplification factor is used as the target speed value). The target speed value increases as the target speed command value increases, or decreases as it decreases. After determining the target speed value, the controller immediately generates a corresponding duty cycle signal or voltage vector based on this value, driving the electric oil pump motor to operate at the target speed value, thereby maintaining the necessary flow rate of the cooling system during communication failures.
[0053] In this embodiment, a fixed safety offset is added to the target speed command value, or the target speed value is determined by multiplying it by an amplification factor greater than 1. This provides thermal safety redundancy. By appropriately increasing the coolant flow rate in an emergency, it can more effectively cope with the additional heat load or potential decrease in heat dissipation efficiency that may not be detected during communication interruption, thereby enhancing the safety boundary and reliability under fault conditions.
[0054] In some embodiments, determining the target speed value based on the target speed command value includes: In response to the target speed command value being greater than a specified threshold (the specified threshold can be set to 60% of the rated maximum speed of the electric oil pump), the relative difference between the target speed command value and the specified threshold is determined, where relative difference = (target speed command value - specified threshold) / specified threshold. An adjustment coefficient is then determined based on this relative difference, and the adjustment coefficient is greater than 1. The relative difference is positively correlated with the adjustment coefficient. The product of the first specified duration and the adjustment coefficient is used as the adjusted first specified duration. The formula for calculating the adjustment coefficient is as follows: ; Where Z represents the adjustment coefficient, X represents the relative difference, and e represents the natural constant.
[0055] In this embodiment, when the target speed command value is high, it indicates that the powertrain is under high heat load before the communication interruption, and there is a more urgent and longer need for the continuous operation of the cooling system. At this time, an adjustment coefficient greater than 1 is calculated by the formula, and the first specified duration is extended accordingly. This provides a more sufficient heat dissipation guarantee time window under fault conditions, significantly reducing the risk of heat accumulation and thermal runaway caused by premature cooling cessation, and improving safety redundancy under high load conditions. Conversely, when the target speed command value is low, the relative difference is small, the adjustment coefficient approaches 1, and the first specified duration basically remains at the original setting value, avoiding energy waste caused by unnecessary excessively long delays in operation under low heat load conditions.
[0056] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.
[0057] Based on the same inventive concept, and corresponding to the vehicle control method provided in the embodiments of this application, this application also provides a vehicle control device.
[0058] refer to Figure 3 The vehicle control device includes: The acquisition module 301 is configured to acquire a target message when it is determined that the vehicle communication is interrupted, the target message being the last frame message received before the vehicle communication was interrupted. The determination module 302 is configured to determine the status information of the vehicle based on the target message, and to determine the vehicle communication failure when the status information determines that the vehicle is in a power-on state. The control module 303 is configured to determine a target speed command value for the electric oil pump based on the target message, and control the electric oil pump to operate based on the target speed command value within a first specified time period.
[0059] In one possible implementation, module 301 is used for: If no message is received from the vehicle within the second specified time period, it is determined that the vehicle communication is interrupted; or, If a message from the vehicle is received within a second specified time period, and the message does not meet the specified valid conditions, it is determined that the vehicle communication is interrupted.
[0060] In another possible implementation, module 301 is used for: A cyclic redundancy check is performed on the message; if the check fails, the message is determined not to meet the specified valid conditions; and / or, Determine the source address of the message; if the source address does not match the pre-stored address, then determine that the message does not meet the specified valid conditions; and / or, A first speed command value is determined based on the message. If the first speed command value is not within the specified range, the message is determined not to meet the specified valid conditions.
[0061] In another possible implementation, the status information includes a status indication value of the vehicle's controller area network bus; the determination module 302 is configured to: In response to the status indication value of the controller area network bus being a first preset value, it is determined that the vehicle is in a powered-on state.
[0062] In another possible implementation, the control module 303 is used to: control the vehicle to enter limp mode.
[0063] In another possible implementation, the control module 303 is used for: The target speed value is determined based on the target speed command value, and the electric oil pump is controlled to work based on the target speed value. The target speed value is positively correlated with the target speed command value.
[0064] It should be noted that the vehicle control device provided in the above embodiments is only illustrated by the division of the above functional modules when controlling a vehicle. In actual applications, the above 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. In addition, the vehicle control device and the vehicle control method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0065] Based on the same inventive concept, corresponding to the vehicle control method provided in the embodiments of this application, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the vehicle control method described in the above embodiments.
[0066] Figure 4 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.
[0067] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0068] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0069] The input / output interface 1030 is used to connect input / output modules to realize information input and output. The input / output modules can be configured as components in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touch screens, microphones, various sensors, etc., and output devices may include displays, speakers, vibrators, indicator lights, etc.
[0070] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0071] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.
[0072] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.
[0073] The electronic devices described above are used to implement the corresponding vehicle control methods in the foregoing embodiments and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0074] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including instructions that can be executed by a processor in a terminal to perform the vehicle control method described above. This computer-readable storage medium may be non-transitory. For example, the computer-readable storage medium may be ROM (Read-Only Memory), RAM (Random Access Memory), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk, and optical data storage devices, etc.
[0075] In an exemplary embodiment, a computer program product is also provided, including computer program instructions that, when executed on a computer, cause the computer to perform the vehicle control method described above.
[0076] It should be noted that the information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data used for analysis, data stored, data displayed, etc.) and signals (including but not limited to signals transmitted between user terminals and other devices, etc.) involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0077] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0078] It should be understood that "multiple" as used herein refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Furthermore, the step numbers described herein are merely illustrative of one possible execution order. In some other embodiments, the steps may not be executed in numerical order, such as two steps with different numbers being executed simultaneously, or two steps with different numbers being executed in the reverse order of the illustration. This application does not limit this.
[0079] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A vehicle control method, characterized in that, include: If it is determined that the vehicle communication is interrupted, the target message is obtained, which is the last frame message received before the vehicle communication was interrupted; The vehicle's status information is determined based on the target message. If the vehicle is determined to be powered on based on the status information, a vehicle communication failure is determined. Based on the target message, a target speed command value for the electric oil pump is determined, and within a first specified time period, the electric oil pump is controlled to operate based on the target speed command value.
2. The vehicle control method according to claim 1, characterized in that, The process of determining the vehicle communication interruption includes: If no message is received from the vehicle within the second specified time period, it is determined that the vehicle communication is interrupted; or, If a message from the vehicle is received within a second specified time period, and the message does not meet the specified valid conditions, it is determined that the vehicle communication is interrupted.
3. The vehicle control method according to claim 2, characterized in that, The process of determining that the message does not meet the specified validity conditions includes: A cyclic redundancy check is performed on the message; if the check fails, the message is determined not to meet the specified valid conditions; and / or, Determine the source address of the message; if the source address does not match the pre-stored address, then determine that the message does not meet the specified valid conditions; and / or, A first speed command value is determined based on the message. If the first speed command value is not within the specified range, the message is determined not to meet the specified valid conditions.
4. The vehicle control method according to claim 1, characterized in that, The status information includes the status indication value of the vehicle's controller area network bus; The process of determining that the vehicle is powered on based on the status information includes: In response to the status indication value of the controller area network bus being a first preset value, it is determined that the vehicle is in a powered-on state.
5. The vehicle control method according to claim 1, characterized in that, After determining the vehicle communication failure, the method also includes: controlling the vehicle to enter limp mode.
6. The vehicle control method according to claim 1, characterized in that, The control of the electric oil pump based on the target speed command value includes: The target speed value is determined based on the target speed command value, and the electric oil pump is controlled to work based on the target speed value. The target speed value is positively correlated with the target speed command value.
7. A vehicle control device, characterized in that, include: An acquisition module is configured to acquire a target message, which is the last frame message received before the vehicle communication was interrupted, in the event that the vehicle communication is determined to be interrupted. The determination module is configured to determine the vehicle's status information based on the target message, and to determine the vehicle's communication failure when the vehicle is determined to be in a powered-on state based on the status information. The control module is configured to determine a target speed command value for the electric oil pump based on the target message, and control the electric oil pump to operate based on the target speed command value within a first specified time period.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method described in any one of claims 1 to 6.
10. A computer program product comprising computer program instructions, characterized in that, When the computer program instructions are executed on a computer, the computer causes the computer to perform the method as described in any one of claims 1 to 6.