Fault handling method, device, storage medium, processor and electronic device
By obtaining and processing the fault information of electric vehicles and preset fault response information, and determining and executing the target fault response, the safety problems of electric vehicles in multiple fault situations are solved, and the normal driving and safety improvement of the vehicle in fault situations is achieved.
Patent Information
- Application Number
- CN202210641493.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-08
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2042-06-08
AI Technical Summary
In the prior art, electric vehicles lack reasonable fault handling methods when multiple failures occur, resulting in poor vehicle safety and may lead to vehicle loss of control and unable to drive normally.
By obtaining the fault information of the target vehicle and the preset fault response information, the target fault response of the target vehicle is determined and the corresponding fault processing operations are performed. The method includes processing methods such as merge, arbitration and screening to handle conflicts and priority relationships between multiple failures.
It realizes reasonable handling of multiple faults, ensuring that the vehicle can drive normally when a fault occurs, and improving the safety of the vehicle.
Smart Images

Figure CN114906077B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric vehicles, and in particular to a fault handling method, device, storage medium, processor and electronic device. Background Art
[0002] When a vehicle fails, the vehicle control unit (VCU) needs to handle the failure accordingly to ensure the safety of the vehicle and personnel. Since the structure of the electric vehicle system is relatively complex and there are many reasons for the failure, it is necessary to handle the failure under complex working conditions reasonably.
[0003] In the related art, when a vehicle has multiple faults, the VCU simply lists the multiple faults according to the built-in software logic, and then handles the faults in sequence according to the fault listing results, for example, executing requests such as limiting vehicle speed, limiting charging, and stopping the engine in sequence according to the fault listing results. However, this fault handling method does not make a comprehensive judgment on multiple faults occurring simultaneously under complex working conditions, for example, judging whether there are conflicts or duplications in the handling methods corresponding to multiple faults, thereby causing the vehicle to lose control and be unable to drive normally, seriously threatening the safety of the vehicle and the driver.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] Embodiments of the present invention provide a fault handling method, device, storage medium, processor and electronic device to at least solve the technical problem in the related art that the vehicle has poor safety due to the lack of a reasonable fault handling method when multiple faults occur in the vehicle.
[0006] According to one aspect of an embodiment of the present invention, a fault handling method is provided, including:
[0007] Obtain fault information and target preset information of a target vehicle, wherein the fault information is used to indicate a fault condition of the target vehicle during driving, and the target preset information is used to indicate a correspondence between the fault information and a preset fault response; determine a target fault response corresponding to the target vehicle using the fault information and the target preset information, wherein the target fault response is a processing method adopted when different faults occur in the target vehicle; and perform a fault processing operation on the target vehicle using the target fault response.
[0008] Optionally, the target preset information also includes: a merging relationship, a conflict relationship, and a priority relationship of preset fault responses.
[0009] Optionally, determining a target fault reaction using the fault information and the target preset information includes: in response to a merging relationship between preset fault reactions corresponding to the fault information, merging the preset fault reactions based on the merging relationship to obtain a target fault reaction.
[0010] Optionally, determining a target fault response using the fault information and the target preset information includes: in response to a conflict relationship between preset fault responses corresponding to the fault information, arbitrating the preset fault responses based on the conflict relationship to obtain a target fault response.
[0011] Optionally, determining a target fault response using the fault information and the target preset information includes: in response to a priority relationship between preset fault responses corresponding to the fault information, screening the preset fault responses based on the priority relationship to obtain the target fault response.
[0012] Optionally, the fault handling method further includes: generating target prompt information based on fault information corresponding to the target fault reaction, wherein the target prompt information is used to prompt the user of the fault condition of the target vehicle.
[0013] According to another aspect of an embodiment of the present invention, a fault handling device is provided, including:
[0014] An acquisition module is used to acquire fault information and target preset information of a target vehicle, wherein the fault information is used to indicate a fault condition of the target vehicle during driving, and the target preset information is used to indicate a corresponding relationship between the fault information and a preset fault response; a determination module is used to determine a target fault response corresponding to the target vehicle using the fault information and the target preset information, wherein the target fault response is a processing method adopted when different faults occur in the target vehicle; and an execution module is used to perform a fault processing operation on the target vehicle using the target fault response.
[0015] Optionally, the target preset information also includes: a merging relationship, a conflict relationship, and a priority relationship of preset fault responses.
[0016] Optionally, the determination module is further configured to combine the preset fault responses by utilizing the combination relationship between the fault information and the corresponding preset fault responses to obtain a combined target fault response.
[0017] Optionally, the determination module is further configured to perform arbitration processing on the preset fault response by utilizing the arbitration relationship between the fault information and the corresponding preset fault response to obtain a target fault response after arbitration.
[0018] Optionally, the determination module is further configured to filter the preset fault responses by utilizing the priority relationship between the fault information and the corresponding preset fault responses to obtain a filtered target fault response.
[0019] Optionally, the fault handling device also includes: a generation module, which is used to generate target prompt information based on fault information corresponding to the target fault reaction, and the target prompt information is used to prompt the user of the fault condition of the target vehicle.
[0020] According to one embodiment of the present invention, a non-volatile storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute any of the above fault handling methods when running.
[0021] According to one embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein the program is configured to execute any of the above-mentioned fault handling methods when running.
[0022] According to one embodiment of the present invention, there is further provided an electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute any of the above fault handling methods.
[0023] In an embodiment of the present invention, by acquiring the fault information and target preset information of the target vehicle, and then using the fault information and the target preset information to determine the target fault response corresponding to the target vehicle, and finally using the target fault response to perform a fault handling operation on the target vehicle, the purpose of performing reasonable fault handling on multiple faults is achieved, thereby achieving the technical effect of ensuring that the vehicle can drive normally when a fault occurs during driving, and thus solving the technical problem in the related technology that the vehicle lacks a reasonable fault handling method when a fault occurs, resulting in the vehicle losing control and being unable to drive normally. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0025] Figure 1 is a flowchart of a fault handling method according to one embodiment of the present invention;
[0026] Figure 2 is a schematic diagram of a fault handling method according to one embodiment of the present invention;
[0027] Figure 3 is a structural block diagram of a fault handling device according to one embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] According to an embodiment of the present invention, an embodiment of a fault handling method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0031] The method embodiment can be executed in an electronic device or a similar computing device that includes a memory and a processor in a vehicle. Taking the operation on the electronic device of the vehicle as an example, the electronic device of the vehicle may include one or more processors (the processor may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a programmable logic device (FPGA), a neural network processor (NPU), a tensor processor (TPU), an artificial intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the electronic device of the above-mentioned car may also include a transmission device, an input and output device, and a display device for communication functions. It can be understood by those of ordinary skill in the art that the above-mentioned structural description is only illustrative and does not limit the structure of the electronic device of the above-mentioned vehicle. For example, the electronic device of the vehicle may also include more or fewer components than the above-mentioned structural description, or have a configuration different from the above-mentioned structural description.
[0032] The memory can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the information processing method in the embodiment of the present invention. The processor executes various functional applications and data processing by running the computer program stored in the memory, that is, realizing the above-mentioned information processing method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0033] The transmission device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0034] The display device may be, for example, a touch screen type liquid crystal display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and a user may interact with the GUI by finger contact and / or gestures on a touch-sensitive surface, wherein the human-computer interaction functions here may optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music and / or web browsing, etc. The executable instructions for executing the above human-computer interaction functions are configured / stored in a computer program product or a readable storage medium executable by one or more processors.
[0035] Figure 1 is a flowchart of a fault handling method according to one embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0036] Step S12, acquiring fault information and target preset information of the target vehicle, wherein the fault information is used to indicate a fault condition of the target vehicle during driving, and the target preset information is used to indicate a corresponding relationship between the fault information and a preset fault response;
[0037] Step S14, determining a target fault response corresponding to the target vehicle using the fault information and the target preset information, wherein the target fault response is a processing method adopted when different faults occur in the target vehicle;
[0038] Step S16, performing a fault handling operation on the target vehicle using the target fault response.
[0039] The above target preset information is used to indicate the correspondence between fault information and preset fault response, wherein the target preset information can be explained by the fault and fault response correspondence table shown in Table 1. For example, when fault 1 occurs, the corresponding fault response is A, B, C; when fault 2 occurs, the corresponding fault response is D1, E, F; when fault 3 occurs, the corresponding fault response is D1, G, H; when fault 4 occurs, the corresponding fault response is D1, E, F, G, H, I; when fault 5 occurs, the corresponding fault response is J, K, L; when fault 6 occurs, the corresponding fault response is D, M, N; when fault 7 occurs, the corresponding fault response is O, P, Q.
[0040] Table 1 Fault and fault response correspondence table
[0041]
[0042] The above-mentioned target fault response is to determine the fault response that the target vehicle needs to set in the end by using fault information and target preset information when multiple different faults occur, which may include system fault flag, system serious fault flag, high-voltage system normal power-off request, high-voltage system emergency power-off request, engine start request, engine stop request, etc. The fault handling operation means the fault handling operation performed according to the target fault response after the VCU determines the target fault response, which may include lighting the warning light, starting the engine, stopping the engine, limiting the maximum speed, limiting charging, etc.
[0043] Based on the above steps S12 to S16, by acquiring the fault information of the target vehicle during driving and the target preset information used to represent the corresponding relationship between the fault information and the preset fault response, and then using the target preset information to determine the target fault response corresponding to different faults of the target vehicle, and finally using the target fault response to perform fault handling operations on the target vehicle, the purpose of performing reasonable fault handling on multiple faults is achieved, thereby achieving the technical effect of ensuring that the vehicle can drive normally when a fault occurs during driving, and thus solving the technical problem of poor vehicle safety caused by the lack of a reasonable fault handling method when multiple faults occur in the vehicle in the related technology.
[0044] Optionally, the target preset information also includes: a merging relationship, a conflict relationship, and a priority relationship of preset fault responses.
[0045] The merging relationship of preset fault reactions indicates whether the preset fault reactions corresponding to multiple faults can be merged when multiple faults occur at the same time. Taking Table 1 as an example, when fault 2 and fault 3 occur at the same time, since the fault reactions D1, E, F corresponding to fault 2 and the fault reactions D1, G, H corresponding to fault 3 can be merged, there is a merging relationship between the fault reactions corresponding to fault 2 and the fault reactions corresponding to fault 3.
[0046] The conflict relationship of the preset fault response indicates whether there is a conflict between the preset fault responses corresponding to multiple faults when multiple faults occur at the same time. Continuing with Table 1 as an example, when fault 2 and fault 5 occur at the same time, since the fault response D1 corresponding to fault 2 and the fault response J corresponding to fault 5 conflict with each other, there is a conflict relationship between the fault response corresponding to fault 2 and the fault response corresponding to fault 5.
[0047] The priority relationship of the preset fault response indicates whether there is a priority between the preset fault responses corresponding to the multiple faults when multiple faults occur at the same time. Continuing with Table 1 as an example, when fault 2 and fault 6 occur at the same time, since the priority of fault response D corresponding to fault 6 is higher than the fault response D1 corresponding to fault 2, there is a priority relationship between the fault response corresponding to fault 2 and the fault response corresponding to fault 6.
[0048] In addition, there is no merge relationship, conflict relationship, and priority relationship between fault reactions A, B, C, E, F, G, H, I, K, L, M, O, P, Q, and R.
[0049] Optionally, in step S14, determining a target fault response corresponding to the target vehicle using the fault information and the target preset information includes the following execution steps: in response to the existence of a merging relationship between preset fault responses corresponding to the fault information, merging the preset fault responses based on the merging relationship to obtain a target fault response.
[0050] Specifically, when a vehicle has multiple faults, it is determined whether the fault responses corresponding to the multiple faults can be merged. If they can be merged, the fault responses corresponding to the multiple faults are merged to obtain a target fault response. If they cannot be merged, it is determined whether there is a conflict between the fault responses corresponding to the multiple faults or whether there is a priority between the fault responses corresponding to the multiple faults. Continuing with Table 1 as an example, when faults 2 and 3 occur at the same time, it is determined that the fault responses D1, E, F corresponding to fault 2 and the fault responses D1, G, H corresponding to fault 3 can be merged, and then the fault responses D1, E, F, G, H, I corresponding to fault 4 are executed.
[0051] By combining the judgment and processing of multiple faults, repeated fault responses can be executed only once, thereby simplifying the processing operations for multiple faults.
[0052] Optionally, in step S14, determining a target fault response corresponding to the target vehicle using the fault information and the target preset information includes the following execution steps: in response to a conflict relationship between preset fault responses corresponding to the fault information, arbitrating the preset fault responses based on the conflict relationship to obtain a target fault response.
[0053] Specifically, when a vehicle has multiple faults, it is determined whether there is a conflict between the fault responses corresponding to the multiple faults. If there is a conflict, fault response arbitration is performed to determine the target fault response. If there is no conflict, it is determined whether the fault responses corresponding to the multiple faults can be merged or whether there is a priority between the fault responses corresponding to the multiple faults. Continuing with Table 1 as an example, when fault 2 and fault 5 occur at the same time, it is determined that the fault response D1 corresponding to fault 2 and the fault response J corresponding to fault 5 conflict with each other, so a new fault response R is executed, and fault response D1 and fault response J are shielded, that is, when fault 2 and fault 5 occur at the same time, fault responses E and F corresponding to fault 2 and fault responses K, L and fault response R corresponding to fault 5 are executed.
[0054] By judging and arbitrating whether there is a conflict between the fault responses corresponding to multiple faults, the conflicting fault responses can be shielded, thus avoiding the situation where the vehicle loses control due to the conflict of fault responses.
[0055] Optionally, in step S14, determining a target fault response corresponding to the target vehicle using the fault information and the target preset information includes the following execution steps: in response to a priority relationship between preset fault responses corresponding to the fault information, screening and processing the preset fault responses based on the priority relationship to obtain a target fault response.
[0056] Specifically, when a vehicle has multiple faults, it is determined whether there is a priority between the fault responses corresponding to the multiple faults. If there is a priority, the fault response with the higher priority is executed, and the fault response with the lower priority is shielded. If there is no priority, it is determined whether the fault responses corresponding to the multiple faults can be merged or whether there is a conflict between the fault responses corresponding to the multiple faults. If there is no priority between the multiple faults, and there is no conflict, and they cannot be merged, the processing operations are performed on the fault responses in sequence.
[0057] By judging and processing whether there is a priority among the fault responses corresponding to multiple faults, only the fault response with the highest priority can be executed, making the fault response clearer and more explicit, thereby simplifying the processing operations for multiple faults.
[0058] Optionally, the fault handling method in the embodiment of the present invention further includes:
[0059] Step S18, generating target prompt information based on the fault information corresponding to the target fault reaction, and prompting the user of the fault condition of the target vehicle.
[0060] The target prompt information may include lighting up the alarm indicator light, alarm voice reminder or flashing alarm text on the display screen, etc. The target prompt information is generated according to the fault information corresponding to the target fault reaction, and the fault condition of the target vehicle is prompted to the user, making the fault prompt clearer and more specific, thus avoiding confusion for the driver and passengers and ensuring the safety of the vehicle.
[0061] Figure 2 FIG. 1 is a schematic diagram of a fault handling method according to an optional embodiment of the present invention. Figure 2 As shown, the fault handling method mainly includes fault detection, fault merging, fault arbitration and fault screening.
[0062] The workflow of the above fault handling method is as follows: First, after the VCU is awakened, the diagnosis work is started to determine whether there is a fault in the current driving cycle. When there is no fault in the driving cycle, the current judgment is terminated, and the next round of fault detection is performed after a certain period of time; when there is a fault in the driving cycle, it is determined whether there is one fault or multiple faults in the current driving cycle. When a fault occurs in the driving cycle, the fault is directly reported and the fault handling operation is performed according to the fault response corresponding to the fault, such as lighting the warning light, limiting the maximum speed, etc.; when multiple faults occur in the driving cycle, it is determined whether the fault responses corresponding to the multiple faults can be merged. When multiple faults can be merged, the fault responses corresponding to the multiple faults are merged into a new fault response and executed, and the original fault and the fault response corresponding to the original fault are shielded; when multiple faults cannot be merged, it is determined whether there is a conflict between the fault responses corresponding to the multiple faults. When there is a conflict between the fault responses corresponding to multiple faults, the fault responses corresponding to the multiple faults are arbitrated, and the fault response with the conflict is not executed, and the new fault response is executed; when there is no conflict between the fault responses corresponding to the multiple faults, it is determined whether there is a priority between the fault responses corresponding to the multiple faults. When there is a priority between the fault responses corresponding to multiple faults, only the fault response with a higher priority is executed, and the fault response with a lower priority is not executed; when there is no priority between the fault responses corresponding to multiple faults, all fault responses are executed in sequence. After the fault diagnosis of the current cycle is completed, the next round of fault detection is performed after a certain period of time.
[0063] Specifically, taking Table 1 as an example, when only one fault 1 occurs, the fault reactions A, B, and C corresponding to fault 1 are directly executed. When faults 2 and 3 occur at the same time, it is determined that the fault reactions D1, E, and F corresponding to fault 2 and the fault reactions D1, G, and H corresponding to fault 3 can be merged, and the fault reactions D1, E, F, G, H, and I corresponding to fault 4 are executed. When faults 2 and 5 occur at the same time, it is determined that the fault reaction D1 corresponding to fault 2 and the fault reaction J corresponding to fault 5 conflict with each other, and the new fault reaction R is executed, while the fault reactions D1 and J are shielded, that is, when faults 2 and 5 occur at the same time, the fault reactions E, F, R, K, and L are executed. When faults 2 and 6 occur at the same time, it is determined that the priority of the fault reaction D corresponding to fault 6 is higher than the fault reaction D1 corresponding to fault 2, so only the fault reaction D with a higher priority is executed, and the fault reaction D1 with a lower priority is shielded, that is, when faults 2 and 6 occur at the same time, the fault reactions E, F, D, M, and N are executed. When fault 2 and fault 7 occur at the same time, it is determined that there is no merger, conflict or priority relationship between the fault reactions D1, E, F corresponding to fault 2 and the fault reactions O, P, Q corresponding to fault 7. Therefore, when fault 2 and fault 7 occur at the same time, the fault reactions D1, E, F corresponding to fault 2 and the fault reactions O, P, Q corresponding to fault 7 are executed in sequence.
[0064] In the above fault handling process, by performing operations such as fault detection, fault merging, fault arbitration and fault screening, the fault response that needs to be set is determined, and the purpose of reasonable fault handling of multiple faults is achieved, thereby achieving the technical effect of ensuring that the vehicle can drive normally when a fault occurs during driving, and further solving the technical problem of poor vehicle safety caused by the lack of reasonable fault handling method when multiple faults occur in the vehicle in the related technology.
[0065] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0066] In this embodiment, a fault handling device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0067] Figure 3 is a structural block diagram of a fault handling device according to one embodiment of the present invention. Figure 3 As shown, the device includes: an acquisition module 301, used to acquire fault information and target preset information of a target vehicle, wherein the fault information is used to indicate a fault condition of the target vehicle during driving, and the target preset information is used to indicate a corresponding relationship between the fault information and a preset fault response; a determination module 302, used to determine a target fault response corresponding to the target vehicle using the fault information and the target preset information, wherein the target fault response is a processing method adopted when different faults occur in the target vehicle; and an execution module 303, used to perform a fault processing operation on the target vehicle using the target fault response.
[0068] Optionally, the target preset information also includes: a merging relationship, a conflict relationship, and a priority relationship of preset fault responses.
[0069] Optionally, the determination module 302 is further configured to: utilize a merging relationship between the fault information and the corresponding preset fault response to merge the preset fault response to obtain a merged target fault response.
[0070] Optionally, the determination module 302 is further configured to: perform arbitration processing on the preset fault response by utilizing the arbitration relationship between the fault information and the corresponding preset fault response to obtain a target fault response after arbitration.
[0071] Optionally, the determination module 302 is further configured to: utilize the priority relationship between the fault information and the corresponding preset fault reactions to perform screening processing on the preset fault reactions to obtain a screened target fault reaction.
[0072] Optionally, the fault handling device further includes: a generating module 304, which is used to generate target prompt information based on the fault information corresponding to the target fault reaction, and the target prompt information is used to prompt the user of the fault condition of the target vehicle.
[0073] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0074] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0075] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0076] Step S1, acquiring fault information and target preset information of a target vehicle, wherein the fault information is used to indicate a fault condition of the target vehicle during driving, and the target preset information is used to indicate a corresponding relationship between the fault information and a preset fault response;
[0077] Step S2, determining a target fault response corresponding to the target vehicle using the fault information and the target preset information, wherein the target fault response is a processing method adopted when different faults occur in the target vehicle;
[0078] Step S3, performing a fault handling operation on the target vehicle using the target fault response.
[0079] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0080] An embodiment of the present invention further provides a processor, which is configured to run a computer program to execute the steps in any of the above method embodiments.
[0081] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0082] Step S1, acquiring fault information and target preset information of a target vehicle, wherein the fault information is used to indicate a fault condition of the target vehicle during driving, and the target preset information is used to indicate a corresponding relationship between the fault information and a preset fault response;
[0083] Step S2, determining a target fault response corresponding to the target vehicle using the fault information and the target preset information, wherein the target fault response is a processing method adopted when different faults occur in the target vehicle;
[0084] Step S3, performing a fault handling operation on the target vehicle using the target fault response.
[0085] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0086] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0087] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0088] Step S1, acquiring fault information and target preset information of a target vehicle, wherein the fault information is used to indicate a fault condition of the target vehicle during driving, and the target preset information is used to indicate a corresponding relationship between the fault information and a preset fault response;
[0089] Step S2, determining a target fault response corresponding to the target vehicle using the fault information and the target preset information, wherein the target fault response is a processing method adopted when different faults occur in the target vehicle;
[0090] Step S3, performing a fault handling operation on the target vehicle using the target fault response.
[0091] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0092] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0093] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0094] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, 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 units or modules, which can be electrical or other forms.
[0095] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0096] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0097] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0098] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A fault handling method, characterized in that: include: Acquire fault information and target preset information of a target vehicle, wherein the fault information is used to indicate a fault condition of the target vehicle during driving, the target preset information is used to indicate a corresponding relationship between the fault information and a preset fault response, and the target preset information further includes: a merging relationship, a conflict relationship, and a priority relationship of the preset fault responses; Determine a target fault response corresponding to the target vehicle by using the fault information and the target preset information, wherein the target fault response is a processing method adopted when different faults occur in the target vehicle; performing a fault handling operation on the target vehicle using the target fault response; The method specifically includes: after the VCU is awakened, determining whether a fault occurs in the current driving cycle; when there is no fault in the driving cycle, ending the current determination; when there is a fault in the driving cycle, determining whether there is one fault or multiple faults in the current driving cycle; when a fault occurs in the driving cycle, directly reporting the fault and performing a fault handling operation according to the fault response corresponding to the fault; when multiple faults occur in the driving cycle, determining whether the fault responses corresponding to the multiple faults can be merged, and if so, merging the fault responses corresponding to the multiple faults into a new fault response and executing it, and only executing the repeated preset fault response in the merged relationship once; when multiple faults cannot be merged, determining whether there is a conflict between the fault responses corresponding to the multiple faults, and if so, arbitrating the fault responses corresponding to the multiple faults, not executing the conflicting fault response, and executing the new fault response; when there is no conflict between the fault responses corresponding to the multiple faults, determining whether there is a priority between the fault responses corresponding to the multiple faults, and if so, only executing the fault response with a high priority, and not executing the fault response with a low priority; when there is no priority between the fault responses corresponding to the multiple faults, executing all the fault responses in sequence.
2. The fault handling method according to claim 1, characterized in that: Determining the target fault response by using the fault information and the target preset information includes: In response to the existence of the priority relationship between the preset fault reactions corresponding to the fault information, the preset fault reactions are screened based on the priority relationship to obtain the target fault reaction.
3. The fault handling method according to any one of claims 1 to 2, characterized in that: The method further comprises: Target prompt information is generated based on the fault information corresponding to the target fault reaction, and the target prompt information is used to prompt the user of the fault condition of the target vehicle.
4. A fault handling device, characterized in that: include: An acquisition module, used for acquiring fault information and target preset information of a target vehicle, wherein the fault information is used for indicating a fault condition of the target vehicle during driving, and the target preset information is used for indicating a corresponding relationship between the fault information and a preset fault response, and the target preset information further includes: a merging relationship, a conflict relationship, and a priority relationship of the preset fault response; A determination module, used to determine a target fault response corresponding to the target vehicle by using the fault information and the target preset information, wherein the target fault response is a processing method adopted when different faults occur to the target vehicle; An execution module, configured to execute a fault handling operation on the target vehicle using the target fault response; The fault handling device is used to achieve: after the VCU is awakened, determine whether a fault occurs in the current driving cycle; when there is no fault in the driving cycle, end the current judgment; when there is a fault in the driving cycle, determine whether there is one fault or multiple faults in the current driving cycle; when a fault occurs in the driving cycle, directly report the fault and perform a fault handling operation according to the fault reaction corresponding to the fault; when multiple faults occur in the driving cycle, determine whether the fault reactions corresponding to the multiple faults can be merged, if so, merge the fault reactions corresponding to the multiple faults into a new fault reaction and execute it, and only execute the repeated preset fault reactions in the merged relationship once; when multiple faults cannot be merged, determine whether there is a conflict between the fault reactions corresponding to the multiple faults, if so, arbitrate the fault reactions corresponding to the multiple faults, do not execute the fault reactions with conflicts, and execute the new fault reaction; when there is no conflict between the fault reactions corresponding to the multiple faults, determine whether there is a priority between the fault reactions corresponding to the multiple faults, if so, only execute the fault reaction with high priority, and do not execute the fault reaction with low priority; when there is no priority between the fault reactions corresponding to the multiple faults, execute all the fault reactions in sequence.
5. A non-volatile storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the fault handling method described in any one of claims 1 to 3 when running.
6. A processor, characterized in that: The processor is used to run a program, wherein the program is configured to execute the fault handling method described in any one of claims 1 to 3 when running.
7. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the fault handling method described in any one of claims 1 to 3.
Citation Information
Patent Citations
Analytical method for unavailable failure treatment strategy of main control room in digital pressurized water reactor nuclear power plant
CN108172314A
Hybrid electric vehicle fault handling and arbitration method
CN109318907A