State prediction method, vehicle, server and storage medium
By obtaining the status parameters of the electronic control unit and generating status codes, and using the server to perform status prediction, the problem of inability to predict vehicle faults in advance in the existing technology is solved, enabling early detection and repair of faults, and improving vehicle safety.
Patent Information
- Application Number
- CN202310161098.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2024-08-23
AI Technical Summary
The existing technology cannot predict the vehicle status in advance, resulting in fault repair only after the fault occurs, which increases the workload of the staff and cannot improve the safety of vehicle use.
By obtaining the status parameters of the electronic control unit, generating a status code and sending it to the server, the status prediction is performed based on historical data, a prediction report is generated, and faults are detected and repaired in advance.
It realizes early detection and repair of vehicle faults, improves the safety of vehicle use, and reduces the workload of staff.
Smart Images

Figure CN118529076A
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and more specifically, to a state prediction method, a vehicle, a server and a storage medium. Background Art
[0002] In the related art, when a vehicle breaks down or has a problem, the fault is mainly recorded by recording the fault situation, such as by recording the fault code, to determine the node where the fault occurs, and then the various functions of the faulty node are verified through diagnostic equipment to determine the problem with the vehicle.
[0003] However, this method increases the workload of relevant staff, and repairs are only performed after the fault occurs, making it impossible to predict the status of the vehicle in advance. Summary of the invention
[0004] In view of the above problems, the present application proposes a state prediction method, a vehicle, a server and a storage medium to improve the technical problem of being unable to predict the vehicle state in advance.
[0005] In a first aspect, an embodiment of the present application provides a state prediction method, which is applied to a vehicle, wherein the vehicle includes at least one electronic control unit, and the method includes: obtaining state parameters; wherein the state parameters are used to reflect the health warning level of the electronic control unit; when the state parameters meet the state threshold conditions, triggering the generation of a state code; wherein each electronic control unit includes multiple state levels, and each state code corresponds to one of the state levels of the electronic control unit; sending the state code to a server, so that the server predicts the state of the electronic control unit according to the state code and generates a state prediction report; the state prediction report at least includes the predicted time for the electronic control unit to reach the next state level; receiving the state prediction report sent by the server.
[0006] In a second aspect, an embodiment of the present application further provides another state prediction method, which is applied to a server, and the method includes: receiving a status code sent by a vehicle; wherein the status code is triggered when a state parameter meets a state threshold condition, and the state parameter is used to reflect the health warning level of the electronic control unit; obtaining historical state data of the electronic control unit corresponding to the status code; determining state prediction data of the electronic control unit based on the historical state data, and the predicted running time is used to reflect the running time required for the electronic control unit to reach the state level from the initial level; wherein the state prediction data includes the predicted running time of each state level of the electronic control unit; determining the state prediction of the electronic control unit based on the state prediction data and the state code, and generating a state prediction report; the state prediction report includes the predicted time for the electronic control unit to reach the next state level; and sending the state prediction report to the vehicle.
[0007] In a third aspect, an embodiment of the present application provides a state prediction system, the system comprising: a vehicle, for obtaining state parameters; wherein the state parameters are used to reflect the health warning degree of the electronic control unit; when the state parameters meet the state threshold conditions, triggering the generation of a state code; wherein each electronic control unit includes multiple state levels, and each state code corresponds to one of the state levels of the electronic control unit; sending the state code to a server; a server, for receiving the state code sent by the vehicle; wherein the state code is triggered to be generated when the state parameters meet the state threshold conditions, and the state parameters are used to reflect the health warning degree of the electronic control unit; obtaining historical state data of the electronic control unit corresponding to the state code; determining state prediction data of the electronic control unit based on the historical state data; wherein the state prediction data includes the predicted operating time of each state level of the electronic control unit, and the predicted operating time is used to reflect the operating time required for the electronic control unit to reach the state level from the initial level; determining the state prediction of the electronic control unit based on the state prediction data and the state code, and generating a state prediction report; the state prediction report includes the predicted time for the electronic control unit to reach the next state level; sending the state prediction report to the vehicle; the vehicle is also used to receive the state prediction report sent by the server.
[0008] In a fourth aspect, an embodiment of the present application further provides another state prediction method, the method comprising: the vehicle obtains state parameters; wherein the state parameters are used to reflect the health warning level of the electronic control unit; when the state parameters of the vehicle meet the state threshold conditions, the vehicle triggers the generation of a state code; wherein each electronic control unit includes multiple state levels, and each state code corresponds to one of the state levels of the electronic control unit; the server receives the state code sent by the vehicle; the server obtains the historical state data of the electronic control unit corresponding to the state code; the server determines the state prediction data of the electronic control unit based on the historical state data; wherein the state prediction data includes the predicted operating time of each state level of the electronic control unit; the server determines the state prediction of the electronic control unit based on the state prediction data and the state code, and generates a state prediction report; the state prediction report includes the predicted time for the electronic control unit to reach the next state level; the server sends the state prediction report to the vehicle.
[0009] In a fifth aspect, an embodiment of the present application further provides a vehicle, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the state prediction method as in the first aspect.
[0010] In the sixth aspect, an embodiment of the present application also provides a server, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the state prediction method as in the second aspect.
[0011] In the seventh aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions can be called by a processor to execute the state prediction method of the first aspect and the second aspect.
[0012] The present application provides a state prediction method, a vehicle, a server and a storage medium. The method is applied to a vehicle, and the vehicle includes at least one electronic control unit, including: obtaining state parameters; wherein the state parameters are used to reflect the health warning level of the electronic control unit; when the state parameters meet the state threshold conditions, triggering the generation of a state code; wherein each electronic control unit includes multiple state levels, and each state code corresponds to one of the state levels of the electronic control unit; sending the state code to the server so that the server predicts the state of the electronic control unit according to the state code and generates a state prediction report; the state prediction report at least includes the predicted time for the electronic control unit to reach the next state level; receiving the state prediction report sent by the server. The present application can predict the time when the vehicle reaches the next state level by sending the state code to the server when the state parameter reaches the threshold, so as to detect the fault in advance and repair the fault in time before the vehicle fails, thereby improving the safety of vehicle use. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, not all embodiments. Based on the embodiments of the present application, all other embodiments and drawings obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0014] Figure 1 It is a flow chart of a state prediction method provided in an embodiment of the present application.
[0015] Figure 2 It is a flowchart of another state prediction method provided in an embodiment of the present application.
[0016] Figure 3 It is a schematic diagram of the state prediction curve provided in the embodiment of the present application.
[0017] Figure 4It is a schematic diagram of another state prediction curve provided in an embodiment of the present application.
[0018] Figure 5 It is a structural diagram of a state prediction system provided in an embodiment of the present application.
[0019] Figure 6 It is a flow chart of another state prediction method provided in an embodiment of the present application.
[0020] Figure 7 It is a flow chart of another state prediction method provided in an embodiment of the present application.
[0021] Figure 8 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0022] Fig. 9 It is a structural diagram of a server provided in an embodiment of the present application.
[0023] Fig.10 It is a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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 are within the scope of protection of the present invention.
[0025] In the related technology, when a vehicle breaks down or has a problem, the fault situation is mainly recorded, such as by recording fault codes, freeze frames and other diagnostic parameters or recording some fault status parameters through the bus to determine the node where the fault occurs. Then the relevant parameters are read through the diagnostic equipment for analysis or uploaded to the cloud server. The engineer verifies the various functions of the faulty node based on the fault data read to determine the problem of the vehicle.
[0026] However, this method increases the workload of relevant staff, and repairs are only performed after the fault occurs, making it impossible to predict the status of the vehicle in advance.
[0027] In order to improve the above problems, the present application proposes a state prediction method, a vehicle, a server and a storage medium. The method is applied to a vehicle, and the vehicle includes at least one electronic control unit, including: obtaining state parameters; wherein the state parameters are used to reflect the health warning level of the electronic control unit; when the state parameters meet the state threshold conditions, triggering the generation of a state code; sending the state code to the server so that the server predicts the state of the electronic control unit according to the state code and generates a state prediction report; the state prediction report at least includes the predicted time for the electronic control unit to reach the next state level; receiving the state prediction report sent by the server. The present application can predict the time when the vehicle reaches the next state level by sending the state code to the server when the state parameters meet the state threshold conditions, so as to detect faults in advance and repair the faults in time before the vehicle fails, thereby improving the safety of vehicle use.
[0028] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0029] See also Figure 1 , Figure 1 is a flow chart of a state prediction method provided in an embodiment of the present application. Figure 1 As shown, the method includes: step 110 to step 140.
[0030] Step 110: Acquire status parameters; wherein the status parameters are used to reflect the health warning level of the electronic control unit.
[0031] In some implementations, the state parameters may be determined through the accumulation of development experience, and the state parameters may be continuously optimized and iterated through the vehicle's cloud big data to determine more accurate state parameters that can reflect the vehicle status.
[0032] In some embodiments, the status parameters included in the vehicle are defined in development documents such as the vehicle's performance indicator list, function list, communication matrix, diagnostic parameter list, etc., but it is understandable that this application does not limit the method of obtaining the status parameters.
[0033] In some embodiments, the state parameter may include at least one of a hardware parameter of the vehicle and a software parameter of the vehicle.
[0034] The hardware parameters include the internal parameters of the Electronic Control Unit (ECU), the voltage, current, temperature and other electrical parameters of the actuator / sensor harness and the actuator / sensor internal circuit.
[0035] Among them, software parameters include control strategy logic, app heartbeat, operating status of each component, output signal of watchdog (monitoring chip), etc.
[0036] For example, for the cooling function of an air conditioner, the temperature (T) of the external temperature sensor and the temperature difference (△T) within a certain period of time can be used as state parameters corresponding to the cooling function of the air conditioner; for a sensor or actuator, the current or voltage of the internal circuit of the sensor or actuator can be used as the state parameter corresponding to its hardware state.
[0037] Step 120: When the state parameter meets the state threshold condition, trigger the generation of a state code; wherein each of the electronic control units includes multiple state levels, and each of the state codes corresponds to one of the state levels of the electronic control unit.
[0038] In some implementations, the status code may be composed of one or more of numbers, letters, symbols, etc. For example, the status code is H153697. However, it is understandable that the present application does not limit the specific composition of the status code.
[0039] In some embodiments, the state threshold condition includes a fault threshold condition, and step 120 includes:
[0040] (1) When the state parameter meets the fault threshold condition, a state code is generated, and corresponding protection measures are executed according to the state code.
[0041] In some implementations, the status code includes a health warning code and a fault code, the status threshold condition includes a health warning threshold condition and a fault threshold condition, and step 120 includes the following steps.
[0042] (1) When the status parameter meets the health warning threshold condition, the health warning code is triggered to be generated.
[0043] (2) When the state parameter satisfies the fault threshold condition, the fault code is generated and corresponding protection measures are executed according to the fault code.
[0044] In some implementations, the status level includes a health warning level and a fault level. The status level corresponding to the health warning code is defined as the health warning level, and the status level corresponding to the fault code is defined as the fault level.
[0045] In some embodiments, when the regional controller of the vehicle receives the status parameter, it determines whether the status parameter satisfies the set health warning threshold condition and fault threshold condition.
[0046] In some embodiments, if the status parameter does not meet the set health warning threshold condition, the zone controller records that the electronic control unit is in a healthy state.
[0047] In some implementations, the health warning level and the fault level are divided according to the severity of the electronic control unit fault, wherein the fault level corresponds to the most severe fault degree of the electronic control unit.
[0048] Optionally, there is a progressive relationship between the health warning level and the fault level. When the state parameter satisfies the state threshold condition of a certain state level, the state parameter will satisfy the state threshold conditions of all state levels before this state level. Exemplarily, when the health warning level includes health warning level 1 and health warning level 2, the state change process of the electronic control unit is health warning level 1→health warning level 2→fault level. When the state parameter satisfies the state threshold condition of the fault level, the state parameter will satisfy the state threshold conditions of health warning level 1 and health warning level 2.
[0049] Further, if the electronic status unit includes multiple health states, the number of health warning threshold conditions is multiple, and the health states correspond to the health warning threshold conditions one by one.
[0050] Furthermore, if the status parameter meets the health warning threshold condition or the fault threshold condition, the regional controller triggers the generation of a health warning code or a fault code, and uploads it to the vehicle domain controller, which then sends it to the server.
[0051] Optionally, if the status parameters meet the health warning threshold conditions, the regional controller can generate a health report after triggering the generation of a health warning code, and upload the health report to the vehicle domain controller, which is sent to the server by the vehicle domain controller; wherein the health report includes not only the health warning code, but also the status level corresponding to the health warning code, the status parameter that triggers the generation of the health warning code, the health warning threshold conditions, the difference between the value of the health parameter and the value of the health warning threshold conditions, and the triggering duration for generating the health warning code.
[0052] Optionally, if the status parameter meets the fault threshold condition, after the regional controller triggers the generation of a fault code, a fault report can be generated and uploaded to the vehicle domain controller, which is then sent to the server; wherein the fault report includes not only the fault code, but also the fault level corresponding to the fault code, the status parameter that triggers the generation of the fault code, the fault threshold condition, the difference between the value of the fault parameter and the value of the fault threshold condition, the triggering time for generating the fault code, and whether one or more of the protection measures corresponding to the fault code have been successfully executed.
[0053] In some embodiments, when the status code is a fault code, corresponding protection measures may be executed according to the fault code, and the protection measures may be downgrading or directly shutting down the functions affected by the fault, etc. Step 130: Send the status code to the server, so that the server predicts the state of the electronic control unit according to the status code and generates a state prediction report; the state prediction report at least includes the predicted time for the electronic control unit to reach the next state level.
[0054] In some embodiments, when the vehicle is powered on, the ECU in the vehicle works normally, and the components in various domains of the vehicle, such as ECU, sensors, actuators, etc., upload the status parameters to the vehicle's regional controller, and the regional controller transmits the status parameters to the vehicle domain controller. The vehicle domain controller transmits the status parameters to the cloud server through big data collection methods such as logs, buses, SOA, etc.
[0055] Optionally, the vehicle domain controller will upload the initial working time to the cloud server when the vehicle is powered on. At this time, the trigger duration of a certain status code is equal to the trigger duration point minus the initial working time. For example, the trigger duration point is 2022.03.16, 15:00, and the initial working time is 2022.03.16, 17:00, then the trigger duration is 2 hours, which means that the electronic control unit reaches the state level corresponding to the state code after running for 2 hours. In some embodiments, the predicted time for the electronic control unit to reach the next state level can be a specific time point. For example, it will reach the next state level at 14:30; it can also be the length of time to reach the next state level, for example, it will reach the next state level after 30 minutes. It is understandable that this application is not limited to this.
[0056] The remaining steps will be introduced in the rest of the manual and will not be repeated here.
[0057] In some implementations, the step of sending the status code to a server comprises the following steps.
[0058] (1) sending the status code and at least one of the status level corresponding to the status code, the status parameter triggering the generation of the status code, and the triggering duration of the status code to a server; wherein the triggering duration of the status code includes the running duration of the electronic control unit corresponding to the status code when the generation of the status code is triggered.
[0059] Optionally, in some implementations, the step of sending the status code to a server comprises the following steps.
[0060] (1) Send health reports or fault reports to the server.
[0061] In the above manner, the status of the vehicle can be fed back to the server through the status code, so that the server can predict the predicted time for the vehicle to reach the next status level based on the status code, and make advance predictions on the status of the vehicle to repair the fault in advance.
[0062] Please refer to Figure 2 , Figure 2 FIG. 1 is a flow chart of another state prediction method provided in an embodiment of the present application. Figure 2 As shown, the state prediction method 200 includes: steps 210 to 240.
[0063] Step 210: Receive a status code sent by the vehicle; wherein the status code is triggered when a status parameter meets a status threshold condition, and the status parameter is used to reflect the health warning level of the electronic control unit;.
[0064] Step 220: Obtain historical status data of the electronic control unit corresponding to the status code.
[0065] In some implementations, the server may obtain historical status data of the vehicle itself, or may obtain historical status data of multiple vehicles that trigger the same status code, to perform status prediction.
[0066] Step 230: Determine the state prediction data of the electronic control unit based on the historical state data; wherein the state prediction data includes the predicted operating time of each state level of the electronic control unit, and the predicted operating time is used to reflect the operating time required for the electronic control unit to reach the state level from the initial level.
[0067] In some embodiments, please refer to Figure 3 , Figure 3 Schematic diagram of a state prediction curve provided in an embodiment of the present application. Figure 3 As shown, the server can generate the following according to the historical status data: Figure 3 The state prediction curve shown, in which the electronic control unit reaches the state level H1 at time t1, reaches the state level H2 at time t2, and reaches the state level H3 at time t3.
[0068] Optionally, the predicted running time of the state level H1 is t2-t1, and the predicted running time of the state level H2 is t3-t2.
[0069] In some embodiments, Figure 3 The status level H3 shown is a fault state, which is defined as the last status level that the electronic control unit can reach. After the electronic control unit reaches the fault state, the status level no longer changes.
[0070] In some embodiments, see Figure 4 , Figure 4 is a schematic diagram of another state prediction curve provided in an embodiment of the present application. Figure 4 As shown, Figure 4 The vertical axis is the voltage, and the horizontal axis is the operating time of the electronic control unit.
[0071] According to the state prediction curve, it can be predicted that at time T0, the initial voltage is 5V; at time T1, the voltage will reach the voltage threshold corresponding to the health warning level 1, that is, the health warning threshold condition corresponding to the health warning level 1 is met, and the electronic control unit will be in the health warning level 1; at time T2, the voltage will reach the voltage threshold corresponding to the health warning level 2, that is, the health warning threshold condition corresponding to the health warning level 2 is met, and the electronic control unit will be in the health warning level 2; at time T3, the voltage will reach the voltage threshold corresponding to the fault level, that is, the fault threshold condition corresponding to the fault level is met, that is, the electronic control unit will be in a fault.
[0072] In some embodiments, if Figure 4 The health warning level 1, health warning level 2 and fault level of the electronic control unit in the example include only one status code, and the status parameters corresponding to each status code include only voltage. Then the predicted time for the electronic control unit to reach the first health warning level 1 from the initial state is equal to T1-T0, the predicted time for the electronic control unit to reach the first health warning level 2 from the first health warning level 1 is equal to T2-T1, and the predicted time for the electronic control unit to reach the fault level from the second health warning level 2 is equal to T3-T2.
[0073] Step 240: Determine the state prediction of the electronic control unit according to the state prediction data and the state code, and generate a state prediction report; the state prediction report includes the predicted time for the electronic control unit to reach the next state level.
[0074] Step 250: Send the status prediction report to the vehicle.
[0075] In some embodiments, step 220 includes the following steps.
[0076] (1) The electronic control unit corresponding to the status code is used as the target electronic control unit.
[0077] (2) Obtaining all historical status codes corresponding to the target electronic control unit, the historical trigger duration and the historical trigger count corresponding to each of the historical status codes, and the total historical trigger counts of all historical status codes corresponding to each status level; wherein each of the historical status codes corresponds to one of the status levels of the electronic control unit, and each status level corresponds to at least one of the historical status codes; the trigger duration of the historical status code represents the running duration of the electronic control unit corresponding to the historical status code when the historical status code is triggered to be generated.
[0078] In some embodiments, the status code corresponds to a status level of the electronic control unit, and the status level includes a health warning level and a fault level. When the electronic control unit is at the fault level, it means that the electronic control unit fails, affecting the normal use of the vehicle.
[0079] In some implementations, the historical status code may be a status code triggered by the vehicle itself, or may be a status code triggered by other vehicles and received by the server.
[0080] Based on the detailed steps of the above step 220, step 230 includes the following steps.
[0081] (3) Determine the trigger probability corresponding to each of the historical status codes according to the number of historical triggers corresponding to each of the historical status codes and the total number of historical triggers corresponding to the status level of each of the historical status codes.
[0082] (4) Determine the predicted operating time of each state level of the electronic control unit according to the triggering duration and triggering probability of all historical state codes corresponding to each state level of the electronic control unit.
[0083] In some implementations, the triggering probability of the status code is the probability that the electronic control unit triggers the generation of the status code.
[0084] In some embodiments, the predicted operating time is used to reflect the operating time required for the electronic control unit to reach the state level from the initial level; wherein the state level when the electronic control unit starts working is defined as the initial level, and exemplarily, the state level of the electronic control unit after the vehicle is powered on is defined as the initial level, or the state level of the electronic control unit when it is powered on for the first time is defined as the initial level.
[0085] Exemplarily, the first historical status code triggered by the electronic control unit is defined as H123, the second historical status code is defined as H124, and the status codes corresponding to the status level H1 of the electronic control unit only include H123 and H124, wherein the historical triggering times of H123 are 10 times, and the historical triggering times of H124 are 30 times, then the total historical triggering times corresponding to the status level H1 is 40 times, the triggering probability of the historical status code H123 is 0.25, and the triggering probability of the historical status code H124 is 0.75.
[0086] In some implementations, the triggering duration of the historical status code includes the running time of the electronic control unit corresponding to the historical status code when the vehicle triggers the generation of the historical status code.
[0087] Optionally, when the same historical status code is triggered multiple times, an average value may be calculated, that is, the average operating time of the electronic control unit corresponding to the historical status code when the vehicle triggers the generation of the historical status code. It is understandable that the average operating time may also be calculated by other means, such as calculating the root mean square, etc., and the present application does not limit the specific means for calculating the average operating time.
[0088] In some implementations, because one status level corresponds to multiple historical status codes, the predicted operating time of each status level of the electronic control unit is determined by the triggering duration and triggering probability of the historical status codes.
[0089] In some implementations, a certain status level is defined to include n status codes, and the trigger probability corresponding to each status code is p n , the trigger duration corresponding to each status code is t n , then define the weight p corresponding to each state code n *t n , then the predicted running time can be the sum of the weights of all state codes; or the root sum of the squares of the weights of all state codes.
[0090] Exemplarily, the first historical state code is defined as H123, the second historical state code is defined as H124, and the predicted running time is the square root of the sum of the weights of all state codes.
[0091] The status codes corresponding to status level H1 only include H123 and H124. The trigger probability of historical status code H123 is 0.25, the trigger probability of historical status code H124 is 0.75, the trigger duration corresponding to historical status code H123 is 30h, and the trigger duration corresponding to historical status code H124 is 40h.
[0092]
[0093] Based on the above steps, step 240 includes the following steps.
[0094] (5) Predicting the time it takes for the electronic control unit to reach the next state level based on the predicted operating time of the electronic control unit at each state level.
[0095] In some embodiments, the predicted time for the electronic control unit to reach the next state level from the current state level is equal to the predicted operating time of the next state level minus the predicted operating time of the current state level.
[0096] Exemplarily, the electronic control unit is defined to include state levels H1, H2 and H3. If the state level corresponding to the state code is H1, the predicted time for the electronic control unit to reach the next state level H2 is equal to the predicted operating time of state level H2 minus the predicted operating time of state level H1.
[0097] In some embodiments, if the next state level of the state level corresponding to the state code lacks historical state data, the next state level of the state level corresponding to the state code will be the last state level, and the predicted time for the state level corresponding to the state code to reach the next state level is equal to the expected factory life minus the predicted operating time of the current state level.
[0098] Exemplarily, the status levels of the electronic control unit are defined to include a first status level, a second status level, a third status level, and a fourth status level. If there is no historical status data for the third status level and the fourth status level, then when the status level corresponding to the status code is the second status level, the next status level is the fourth status level, and the predicted time from the second status level to the next status level is equal to the expected factory life minus the predicted operating time of the second status level.
[0099] In some implementations, if a certain state level lacks historical state data, all state levels after this state level also lack historical state data.
[0100] In some embodiments, step 240 includes the following steps.
[0101] (1) Determine the predicted remaining life of the electronic control unit according to the predicted operating time corresponding to the last state level corresponding to the electronic control unit.
[0102] (2) generating the status prediction report according to the predicted remaining life and the predicted time for the electronic control unit to reach the next status level.
[0103] In some embodiments, the predicted remaining life is equal to the predicted operating time corresponding to the last status level corresponding to the electronic control unit minus the triggering duration of the status code; or, the predicted remaining life is equal to the predicted operating time corresponding to the last status level corresponding to the electronic control unit minus the predicted operating time corresponding to the status level corresponding to the status code.
[0104] In some embodiments, if the historical status data saved by the server does not include the status code corresponding to the last status level of the electronic control unit, that is, no vehicle triggers the generation of the status code corresponding to the last status level and sends it to the server, then the predicted operating time corresponding to the last status level of the electronic control unit is unknown. At this time, the factory expected life of the electronic control unit can be used as the predicted operating time corresponding to the last status level.
[0105] At this time, the predicted remaining life is equal to the factory expected life of the electronic control unit minus the triggering duration of the status code; or, the predicted remaining life is equal to the factory expected life of the electronic control unit minus the predicted operating time corresponding to the status level of the status code.
[0106] In the above manner, the predicted remaining life of the electronic control unit can be predicted, and the predicted remaining life of the electronic control unit can be checked through the status prediction report, so that replacement, repair and other operations can be carried out in time before the electronic control unit fails.
[0107] In some implementations, the state prediction method 200 provided in the embodiment of the present application further includes the following steps.
[0108] (1) Determine a status parameter that can trigger the status code; wherein the number of the status parameter is at least one.
[0109] (2) Determine the triggering probability of each state parameter triggering the state code, and the parameter threshold corresponding to each state parameter triggering the state code.
[0110] At this time, the step of generating the status prediction report according to the predicted remaining life and the predicted time for the electronic control unit to reach the next status level includes the following steps.
[0111] (3) Generate a state prediction report based on the predicted remaining life, the parameter probability of each state parameter triggering the current state code, the parameter threshold corresponding to each state parameter triggering the current state code, and the predicted time for the electronic control unit to reach the next state level.
[0112] In some implementations, the same status code may be triggered by different status parameters. The number of times a certain status parameter triggers the status code may be counted through historical status data in the server, and then divided by the total number of times the status code is triggered to obtain the triggering probability of each status parameter.
[0113] For example, it is defined that the electronic control unit of the vehicle air conditioner can trigger the status code H127654, and the health parameters that can trigger the status code include: water pump temperature, PTC temperature, ECP temperature, servo motor temperature. Then the triggering probability of the health parameter water pump temperature is equal to the number of times the water pump temperature triggers the status code 127654 divided by the total number of times the status code 127654 is triggered.
[0114] In the above manner, the status prediction report includes the trigger probability of the status parameters that can trigger the status code, which can help engineers, maintenance personnel, etc. quickly locate the fault and improve the efficiency of fault repair.
[0115] In some implementations, the state prediction method 200 provided in the embodiment of the present application further includes the following steps.
[0116] (1) Obtaining the status level of the status code, the status parameter that triggers the generation of the status code, and the triggering duration of the status code.
[0117] (2) updating historical status data of the electronic control unit corresponding to the status code according to the status level of the status code, the status parameter that triggers the generation of the status code, the triggering duration of the status code, and the status code.
[0118] In some implementations, the status prediction report includes multiple types, and different status prediction reports can be generated according to different permissions.
[0119] Exemplarily, when the authority is the first authority, the first authority may correspond to engineers, maintenance personnel and other professionals, and the status prediction report may include status code, status level, status parameters, status threshold conditions corresponding to the status parameters, the difference between the status parameters and the status threshold conditions, the predicted remaining life of the target electronic control unit corresponding to the status code, the next health warning level of the target electronic control unit, the predicted time for the target electronic control unit to reach the next health warning level, the ranking of the triggering probabilities of all status parameters that can trigger the status code, driving operation suggestions and maintenance suggestions, etc.; wherein, when the status code is a fault code, the status prediction report may also include the handling measures corresponding to the fault code, fault repair suggestions, etc.
[0120] Exemplarily, when the authority is the second authority, the second authority can be used by ordinary personnel such as users, and the status prediction report may include status code, status level, status parameters, predicted remaining life of the target electronic control unit corresponding to the status code, the next health warning level of the target electronic control unit, the predicted time for the target electronic control unit to reach the next health warning level, driving operation suggestions and maintenance suggestions, etc.
[0121] In some implementations, when new status data is acquired, the historical status data may be updated.
[0122] Optionally, the predicted operating time of each status level of the electronic control unit may be recalculated after the historical status data is updated.
[0123] Through the above methods, the state prediction model can be continuously optimized and iterated to improve the accuracy of the state prediction report.
[0124] In some implementations, the state prediction method 200 provided in the embodiment of the present application further includes the following steps.
[0125] (1) When the status code is a fault code, the status prediction report is sent to a feedback server to feedback the fault problem.
[0126] In some implementations, the feedback server comprises a supplier server.
[0127] Through the above method, the status prediction report is sent to the feedback server so that the supplier can modify the software in time, or upgrade the software through OTA, or modify the problems and optimize the logic in time to improve the user experience.
[0128] Please refer to Figure 5 , Figure 5 Schematic diagram of a state prediction system provided in an embodiment of the present application. Figure 5 As shown, the state prediction system 300 includes: a vehicle 310 and a server 320 .
[0129] Vehicle 310 is used to obtain status parameters; wherein, the status parameters are used to reflect the health warning level of the electronic control unit; when the status parameters meet the status threshold conditions, the status code is triggered to generate; wherein, each of the electronic control units includes multiple status levels, and each of the status codes corresponds to one of the status levels of the electronic control unit.
[0130] The server 320 is used to receive the status code sent by the vehicle 310; obtain the historical status data of the electronic control unit corresponding to the status code; determine the state prediction data of the electronic control unit according to the historical status data; wherein the state prediction data includes the predicted operating time of each state level of the electronic control unit; determine the state prediction of the electronic control unit according to the state prediction data and the status code, and generate a state prediction report; the state prediction report includes the predicted time for the electronic control unit to reach the next state level; and send the state prediction report to the vehicle 310.
[0131] The vehicle 310 is also used to receive the status prediction report sent by the server 320.
[0132] The remaining details have been introduced in the above part of the specification and will not be repeated here.
[0133] Please refer to Figure 6 , Figure 6 This is another state prediction method provided by the embodiment of the present application. The state prediction method 300 includes: steps 310 to 370.
[0134] Step 310: The vehicle obtains state parameters; wherein the state parameters are used to reflect the state of the electronic control unit.
[0135] Step 320: When the state parameter of the vehicle meets the state threshold condition, the state code is triggered to be generated; wherein each of the electronic control units includes multiple state levels, and each of the state codes corresponds to one of the state levels of the electronic control unit.
[0136] Step 330: The server receives the status code sent by the vehicle.
[0137] Step 340: The server obtains historical status data of the electronic control unit corresponding to the status code.
[0138] Step 350: The server determines the state prediction data of the electronic control unit according to the historical state data; wherein the state prediction data includes the predicted operating time of each state level of the electronic control unit.
[0139] Step 360: The server determines the state prediction of the electronic control unit according to the state prediction data and the state code, and generates a state prediction report; the state prediction report includes the predicted time for the electronic control unit to reach the next state level.
[0140] Step 370: The server sends the status prediction report to the vehicle.
[0141] The remaining details have been introduced in the above part of the specification and will not be repeated here.
[0142] Please refer to Figure 7 , Figure 7 This is another state prediction method provided by the embodiment of the present application. The state prediction method 400 includes: steps 401 to 418.
[0143] Step 401: Define state parameters.
[0144] Step 402: The vehicle uploads the state parameters to the regional controller, and the vehicle domain controller uploads the initial working time to the cloud server.
[0145] In some implementations, the vehicle uploads the status parameters to the regional controller, the regional controller uploads the status parameters to the vehicle domain controller, and the vehicle domain controller uploads the status parameters to the server.
[0146] Step 403: Whether the health warning threshold condition or the fault threshold condition is met.
[0147] In some implementations, when the health warning threshold condition and the failure threshold condition are not met, step 404 is performed.
[0148] In some implementations, step 405 is performed when the health warning threshold condition is met and the failure threshold condition is not met.
[0149] In some implementations, step 406 is performed when the health warning threshold condition is not met and the failure threshold condition is met.
[0150] Step 404: Continuously monitor the health parameters and record the ECU status as a healthy state.
[0151] Step 405: Record the health warning code and upload the health report to the server.
[0152] In some embodiments, the state of the electronic control unit is divided into multiple state levels according to the severity of the fault, and the last state level is defined as the fault level, the remaining state levels are defined as health warning levels, and the state code corresponding to the health state is defined as the health warning code.
[0153] Step 406: Record the fault code, upload the fault report to the server, and execute corresponding protection measures.
[0154] In some embodiments, the state of the electronic control unit is divided into multiple state levels according to the severity of the fault, and the last state level, that is, the state level of the electronic control unit when the fault is the most serious, is defined as the fault level, and the remaining state levels are defined as health warning levels, and the state code corresponding to the fault state is defined as the fault code.
[0155] Step 407: The server determines the state prediction data of the electronic control unit according to the historical state data.
[0156] Step 408: Whether the ECU corresponding to the status code has triggered a health warning code and a fault code.
[0157] In some implementations, when the ECU corresponding to the status code has not triggered a health warning code or a fault code, step 409 is executed.
[0158] In some implementations, when the ECU corresponding to the status code has triggered a health warning code but has not triggered a fault code, step 410 is executed.
[0159] In some implementations, when the ECU corresponding to the status code triggers a health warning code and a fault code, step 411 is executed.
[0160] Step 409: The next state level is healthy state; the remaining life is equal to the factory expected life minus the triggering time.
[0161] Step 410: The next health warning level is a fault state; the remaining life is equal to the factory expected life minus the triggering time.
[0162] Step 411: Calculate the triggering probability of each status code, and calculate the running time of each status level of the ECU corresponding to the status code.
[0163] Step 412: The remaining life is equal to the operating time of the fault level minus the triggering time.
[0164] Step 413: Predict the next state level of the ECU and the predicted time to reach the next state level.
[0165] Step 414: The server combines the fault repair suggestions in the after-sales maintenance manual and generates status prediction reports for different vehicles according to the permissions, and saves and sends them in the cloud.
[0166] In some implementations, the server stores an after-sales maintenance manual, and fault repair suggestions can be found in the after-sales maintenance manual based on the status code.
[0167] In some implementations, the status prediction report includes fault repair suggestions so that engineers can quickly repair the faults.
[0168] Step 415: First authority: For example, an engineer account; a complete status prediction report can be viewed from the cloud and the vehicle.
[0169] Step 416: Second authority: such as customer account; a simplified status prediction report can be viewed from the vehicle's cockpit domain (Human Machine Interface, HMI).
[0170] Step 417: The status prediction report is synchronously sent to the feedback server to provide feedback of design defects to the supplier.
[0171] Step 418: The supplier modifies or optimizes the software according to the status prediction report, and sends update data through the feedback server to update the software.
[0172] In some implementations, after the supplier modifies or optimizes the software, the server may receive update data sent by the feedback server, and may send the update data to the vehicle to update the software.
[0173] In the above manner, the status prediction report includes a lot of information, so that the status prediction report can not only be consulted by engineers or users, but also be used as a reference for suppliers to optimize software.
[0174] The remaining details of step 401 to step 418 can be found in the introduction of the above part of the specification, and will not be repeated here.
[0175] The present application provides a state prediction method, a vehicle, a server and a storage medium, the method comprising: obtaining state parameters; wherein the state parameters are used to reflect the health warning level of the electronic control unit; when the state parameters meet the state threshold conditions, triggering the generation of a state code; sending the state code to the server so that the server predicts the state of the electronic control unit according to the state code and generates a state prediction report; the state prediction report at least includes the predicted time for the electronic control unit to reach the next state level; receiving the state prediction report sent by the server. The present application can predict the time when the vehicle reaches the next state level by sending the state code to the server when the state parameters meet the state threshold conditions, so as to detect faults in advance and repair the faults in time before the vehicle fails, thereby improving the safety of vehicle use.
[0176] Please refer to Figure 8 , Figure 8 Schematic diagram of a vehicle structure provided by an embodiment of the present application. Figure 8 As shown, the vehicle 500 includes: one or more processors 510 and a memory 520, Figure 7 A processor 510 is taken as an example.
[0177] The processor 510 and the memory 520 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.
[0178] Processor 510 is used to obtain status parameters; wherein the status parameters are used to reflect the health warning level of the electronic control unit; when the status parameters meet the status threshold conditions, trigger the generation of a status code; wherein each of the electronic control units includes multiple status levels, and each of the status codes corresponds to one of the status levels of the electronic control unit; send the status code to the server, so that the server predicts the status of the electronic control unit according to the status code and generates a status prediction report; the status prediction report at least includes the predicted time for the electronic control unit to reach the next status level; receive the status prediction report sent by the server.
[0179] The memory 520 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules of the state prediction method in the embodiment of the present application. The processor 510 executes various functional applications and data processing of the vehicle by running the non-volatile software programs, instructions and modules stored in the memory 520, that is, implements the state prediction method of the above method embodiment.
[0180] The memory 520 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function; the data storage area may store data created according to the use of the vehicle, etc. In addition, the memory 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 520 may optionally include a memory remotely arranged relative to the processor 510, and these remote memories may be connected to the controller 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.
[0181] One or more modules are stored in the memory 520, and when executed by one or more processors 510, execute the state prediction method in any of the above method embodiments, for example, execute the state prediction method described above. Figure 1 Method steps 110 to 140 in.
[0182] Please refer to Fig. 9 , Fig. 9 Schematic diagram of the structure of a server provided in an embodiment of the present application. Fig. 9 As shown, the server 600 includes: one or more processors 610 and a memory 620, Fig. 9 A processor 610 is taken as an example.
[0183] The processor 610 and the memory 620 may be connected via a bus or other means. Fig. 9 The example of connecting through bus is taken in the following.
[0184] Processor 610 is used to receive a status code sent by a vehicle; wherein the status code is triggered when a status parameter meets a status threshold condition, and the status parameter is used to reflect the health warning level of the electronic control unit; obtain historical status data of the electronic control unit corresponding to the status code; determine the status prediction data of the electronic control unit according to the historical status data; wherein the status prediction data includes the predicted operating time of each status level of the electronic control unit, and the predicted operating time is used to reflect the operating time required for the electronic control unit to reach the status level from the initial level; determine the status prediction of the electronic control unit according to the status prediction data and the status code, and generate a status prediction report; the status prediction report includes the predicted time for the electronic control unit to reach the next status level; and send the status prediction report to the vehicle.
[0185] The memory 620 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules of the state prediction method in the embodiment of the present application. The processor 610 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 620, that is, the state prediction method of the above method embodiment is implemented.
[0186] The memory 620 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created according to the use of the server, etc. In addition, the memory 620 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 620 may optionally include a memory remotely arranged relative to the processor 610, and these remote memories may be connected to the controller 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.
[0187] One or more modules are stored in the memory 620, and when executed by one or more processors 610, the state prediction method in any of the above method embodiments is executed, for example, the state prediction method described above is executed. Figure 4 Method steps 210 to 250 in.
[0188] Please refer to Fig.10 , Fig.10The computer-readable storage medium 700 stores a program code 710, which can be called by a processor to execute the state prediction method described in the above method embodiment.
[0189] The computer-readable storage medium 700 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium 700 has a storage space for program codes that execute any method steps in the above-mentioned state prediction method. These program codes can be read from or written to one or more computer program products. The program code can be compressed, for example, in an appropriate form.
[0190] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; under the idea of the present invention, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of the present invention as above, which are not provided in detail for the sake of simplicity; although the present invention is described in detail with reference to the above embodiments, ordinary technicians in this field should understand that it is still possible to modify the technical solutions recorded in the above embodiments, or to replace some of the technical features therein; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention. Through the description of the above embodiments, ordinary technicians in this field can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Ordinary technicians in this field can understand that all or part of the processes in the above embodiment method can be completed by computer programs to instruct related hardware. The program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above methods. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
Claims
1. A state prediction method, characterized in that: Applied to a vehicle, the vehicle comprising at least one electronic control unit, the method comprising: Acquiring a status parameter; wherein the status parameter is used to reflect the health warning level of the electronic control unit; When the state parameter meets the state threshold condition, a state code is generated; wherein each of the electronic control units includes multiple state levels, and each of the state codes corresponds to one of the state levels of the electronic control unit; Sending the status code to a server so that the server predicts the status of the electronic control unit according to the status code and generates a status prediction report; the status prediction report at least includes a predicted time for the electronic control unit to reach a next status level; Receive the status prediction report sent by the server.
2. The method according to claim 1, characterized in that The state threshold condition includes a fault threshold condition, and when the state parameter satisfies the state threshold condition, triggering the generation of a state code includes: When the state parameter meets the fault threshold condition, a state code is generated, and corresponding protection measures are executed according to the state code.
3. The method according to claim 1, characterized in that The sending the status code to the server comprises: The status level corresponding to the status code, the status parameter that triggers the generation of the status code, at least one of the triggering duration of the status code, and the status code are sent to a server; wherein the triggering duration of the status code includes the running duration of the electronic control unit corresponding to the status code when the generation of the status code is triggered.
4. The method according to any one of claims 1 to 3, characterized in that: The state parameter includes at least one of a hardware parameter of the vehicle and a software parameter of the vehicle.
5. A state prediction method, characterized in that: Applied to a server, the method comprises: Receiving a status code sent by the vehicle; wherein the status code is triggered when a status parameter meets a status threshold condition, and the status parameter is used to reflect the health warning degree of the electronic control unit; Acquire historical status data of the electronic control unit corresponding to the status code; Determine the state prediction data of the electronic control unit according to the historical state data; wherein the state prediction data includes the predicted operation time of each state level of the electronic control unit, and the predicted operation time is used to reflect the operation time required for the electronic control unit to reach the state level from the initial level; Determine the state prediction of the electronic control unit according to the state prediction data and the state code, and generate a state prediction report; the state prediction report includes the predicted time when the electronic control unit reaches the next state level; The status prediction report is sent to the vehicle.
6. The method according to claim 5, characterized in that The obtaining of historical status data of the electronic control unit corresponding to the status code includes: Using the electronic control unit corresponding to the status code as a target electronic control unit; Acquire all historical status codes corresponding to the target electronic control unit, the historical trigger duration and the historical trigger times corresponding to each of the historical status codes, and the total historical trigger times of all historical status codes corresponding to each status level; wherein each of the historical status codes corresponds to one of the status levels of the electronic control unit, and each status level corresponds to at least one of the historical status codes; the trigger duration of the historical status code represents the operation duration of the electronic control unit corresponding to the historical status code when the historical status code is triggered to be generated; The step of determining the state prediction data of the electronic control unit according to the historical state data comprises: Determine the trigger probability corresponding to each of the historical status codes according to the number of historical triggers corresponding to each of the historical status codes and the total number of historical triggers corresponding to the status level of each of the historical status codes; Determining the predicted operating time of each state level of the electronic control unit according to the triggering duration and triggering probability of all historical state codes corresponding to each state level of the electronic control unit; The step of determining the state prediction of the electronic control unit according to the state prediction data and the state code comprises: The predicted time for the electronic control unit to reach the next state level is predicted according to the predicted operation time of each state level of the electronic control unit.
7. The method according to claim 6, characterized in that The step of performing state prediction on the electronic control unit according to the state prediction data and the state code to generate a state prediction report includes: Determining a predicted remaining life of the electronic control unit according to a predicted operating time corresponding to a last state level corresponding to the electronic control unit; The state prediction report is generated according to the predicted remaining life and the predicted time for the electronic control unit to reach a next state level.
8. The method according to claim 7, characterized in that The method further comprises: Determine a status parameter that can trigger the status code; wherein the number of the status parameter is at least one; Determine the triggering probability of each state parameter triggering the state code, and the parameter threshold corresponding to each state parameter triggering the state code; The generating the state prediction report according to the predicted remaining life and the predicted time for the electronic control unit to reach the next state level includes: A state prediction report is generated according to the predicted remaining life, the parameter probability of each state parameter triggering the current state code, the parameter threshold corresponding to each state parameter triggering the current state code, and the predicted time for the electronic control unit to reach the next state level.
9. The method according to claim 5, characterized in that The method further comprises: Obtaining the status level of the status code, the status parameter that triggers the generation of the status code, and the triggering duration of the status code; The historical status data of the electronic control unit corresponding to the status code is updated according to the status level of the status code, the status parameter that triggers the generation of the status code, the triggering duration of the status code, and the status code.
10. A vehicle, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the state prediction method described in any one of claims 1-4.
11. A server, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the state prediction method described in any one of claims 5-9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions can be called by a processor to execute the state prediction method according to any one of claims 1 to 9.
