Vehicle self-checking method, device and equipment and vehicle
By obtaining the identification information of the self-test object, self-test is allowed to be carried out at various times and methods, the problem of insufficient self-test diversity and flexibility in the existing technology is solved, and the flexibility of vehicle self-test is improved. Diversity avoids the problem of extended power-on time.
Patent Information
- Application Number
- CN202310721015.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-16
- Publication Date
- 2024-12-17
AI Technical Summary
The existing vehicle self-inspection schemes are not diverse and flexible during self-inspection, which is difficult to meet user needs, and conducting self-inspection uniformly when powered on may affect the vehicle's functions.
By obtaining the identification information of the self-test object, searching the information table to obtain the corresponding self-test rules. The self-test rules include a variety of self-test opportunities and methods, allowing self-tests to be performed at different times and stages, improving the diversity of self-tests and flexibility.
The diversity and flexibility of self-test is realized, avoiding the impact of power-on time due to the long self-test time, and meeting the self-test needs of different scenarios and needs.
Smart Images

Figure CN119142354A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle detection technology, and in particular to a vehicle self-detection method, device, equipment and vehicle. Background Art
[0002] With the improvement of living standards, the number of vehicles is increasing. For example, cars as a means of transportation can be seen everywhere and have become an indispensable part of people's lives. According to industry safety standards, some modules on the vehicle, such as the battery management controller and brake controller, need to be self-checked to ensure vehicle driving safety.
[0003] The currently adopted vehicle self-inspection scheme is uniformly carried out during the vehicle startup phase, that is, self-inspection is performed on each inspection object during the vehicle startup phase, and the diversity and flexibility of the self-inspection scheme are poor. Summary of the invention
[0004] The embodiments of the present application provide a vehicle self-inspection method, device, equipment and vehicle, which can improve the diversity and flexibility of vehicle self-inspection.
[0005] In a first aspect, an embodiment of the present application provides a vehicle self-checking method, comprising:
[0006] Get a first self-test object;
[0007] According to the identification information of the first self-inspection object, searching the first information table to obtain the first self-inspection rule corresponding to the first self-inspection object, the first information table is used to store the association relationship between the self-inspection object and the self-inspection rule, one self-inspection object corresponds to at least one self-inspection rule, and the self-inspection rule includes multiple self-inspection opportunities;
[0008] A self-inspection is performed on the first self-inspection object according to the first self-inspection rule to obtain a self-inspection result.
[0009] In a second aspect, an embodiment of the present application provides a vehicle self-checking device, comprising:
[0010] An acquisition module, used for acquiring a first self-inspection object;
[0011] A search module, used to search a first information table according to identification information of a first self-inspection object, and obtain a first self-inspection rule corresponding to the first self-inspection object, wherein the first information table is used to store an association relationship between self-inspection objects and self-inspection rules, wherein one self-inspection object corresponds to at least one self-inspection rule, and the self-inspection rule includes a plurality of self-inspection opportunities;
[0012] The self-inspection module is used to perform a self-inspection on a first self-inspection object according to a first self-inspection rule to obtain a self-inspection result.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the method described in the first aspect is implemented.
[0014] In a fourth aspect, an embodiment of the present application provides a storage medium having a program or instruction stored thereon, and when the program or instruction is executed by a processor, the method described in the first aspect is implemented.
[0015] In a fifth aspect, an embodiment of the present application provides a vehicle, the vehicle comprising the vehicle self-inspection device as described in the second aspect; or, the electronic device as described in the third aspect; or, the storage medium as described in the fourth aspect.
[0016] The vehicle self-inspection method, device, equipment and vehicle provided in the embodiments of the present application obtain a first self-inspection object, search a first information table according to the identification information of the first self-inspection object, obtain a first self-inspection rule corresponding to the first self-inspection object, and perform self-inspection on the first self-inspection object according to the first self-inspection rule to obtain a self-inspection result. Since the same self-inspection object can correspond to at least one self-inspection rule, a suitable self-inspection rule can be selected from the first self-inspection object according to the identification information of the first self-inspection object, so that the self-inspection of the first self-inspection object is no longer limited to a single self-inspection rule. At the same time, since the self-inspection rule includes multiple self-inspection opportunities, the self-inspection of the self-inspection object can also be placed at different self-inspection opportunities, that is, different self-inspection stages, thereby improving the diversity and flexibility of vehicle self-inspection. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A flow chart of a vehicle self-checking method provided in an embodiment of the present application;
[0018] Figure 2 A schematic diagram showing a self-checking mechanism provided in an embodiment of the present application;
[0019] Figure 3 A structural diagram of a vehicle self-checking device provided in an embodiment of the present application;
[0020] Figure 4 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0022] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present application, rather than all of the embodiments.
[0023] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0024] As mentioned above, with the improvement of living standards, the number of vehicles is increasing. According to industry safety standards, some modules on the vehicle, such as battery management controller, brake controller, etc., need to be self-checked to ensure vehicle driving safety. The current vehicle self-checking solution is single in form when self-checking the self-checking object, which is difficult to meet the needs of users.
[0025] To this end, the embodiments of the present application provide a vehicle self-inspection method, device, equipment and vehicle, which can improve the diversity and flexibility of vehicle self-inspection.
[0026] The vehicle self-checking method, device, equipment and vehicle provided in the embodiments of the present application are described below through specific embodiments. The vehicle self-checking method provided in the embodiments of the present application can be applied to vehicles with self-checking function.
[0027] Figure 1 A flow chart of a vehicle self-checking method provided in an embodiment of the present application is as follows: Figure 1 As shown, the vehicle self-checking method may include the following steps:
[0028] S110: Obtain a first self-inspection object.
[0029] S120: Search a first information table according to identification information of a first self-inspection object to obtain a first self-inspection rule corresponding to the first self-inspection object.
[0030] The first information table is used to store the association between the self-inspection objects and the self-inspection rules. One self-inspection object corresponds to at least one self-inspection rule, and the self-inspection rules include a plurality of self-inspection opportunities.
[0031] S130: Perform a self-inspection on a first self-inspection object according to a first self-inspection rule to obtain a self-inspection result.
[0032] The embodiment of the present application obtains the first self-inspection object, searches the first information table according to the identification information of the first self-inspection object, obtains the first self-inspection rule corresponding to the first self-inspection object, and performs self-inspection on the first self-inspection object according to the first self-inspection rule to obtain a self-inspection result. Since a self-inspection object can correspond to at least one self-inspection rule, a suitable self-inspection rule can be selected according to the identification information of the first self-inspection object, so that the self-inspection of the first self-inspection object is no longer limited to a single self-inspection rule. At the same time, since the self-inspection rule includes multiple self-inspection opportunities, the self-inspection of the self-inspection object can also be placed at different self-inspection opportunities, that is, different self-inspection stages, thereby improving the diversity and flexibility of vehicle self-inspection.
[0033] The above steps are described in detail below:
[0034] In S110, the first self-check object is an object on the vehicle that needs to be self-checked, such as a power module, a clock module, a controller and other hardware structures, and functions implemented by the hardware structures. For example, for an accelerator pedal, in addition to self-checking the hardware structure of the accelerator pedal, the vehicle acceleration function corresponding to the accelerator pedal can also be self-checked, which can improve the comprehensiveness of the self-check and ensure safe driving.
[0035] In S120, the identification information of the first self-inspection object is used to uniquely identify the first self-inspection object. Exemplarily, the identification information of the first self-inspection object can be set according to business requirements, and the same first self-inspection object can be set with different identification information based on different business requirements.
[0036] The self-check rule may be a rule for self-checking a self-check object, and one self-check object may correspond to at least one self-check rule. Exemplarily, the self-check rule may include multiple self-check opportunities.
[0037] The timing of the self-test is when to perform the self-test. For example, the timing of the self-test can be set according to business requirements, time characteristics, modules, and functional characteristics. The timing of the self-test in the embodiment of the present application may include at least two of power-on self-test, self-test during operation, and self-test after power-off, wherein the power-on self-test is to perform a self-test on the self-test object when the self-test object is powered on, the self-test during operation is to perform a self-test during the operation of the self-test object, and the power-off self-test is to perform a self-test when the self-test object is powered off. A self-test object can select a suitable self-test timing according to actual needs, thereby achieving flexibility in self-test.
[0038] Compared with the traditional solution of performing self-test uniformly at power-on, the embodiments of the present application can perform self-test not only when the self-test object is powered on, but also when the self-test object is running or powered off. This can increase the diversity of self-test and also avoid affecting the power-on time due to the long self-test time, thereby affecting the function of the vehicle.
[0039] In some embodiments, the self-checking rule may further include a self-checking mode, and the self-checking mode may include at least one of the following: a trigger mode and a periodic mode.
[0040] The self-checking mode can be set based on the self-checking timing, and different self-checking timings can be set for different self-checking modes. The embodiment of the present application takes the self-checking mode including trigger type and / or periodic type as an example, and of course other modes can also be included, which are not limited in the embodiment of the present application. In actual application, the self-checking rules can include other contents in addition to the above-mentioned self-checking timing and self-checking mode, which are not limited in the embodiment of the present application.
[0041] The self-check rules of the embodiments of the present application can obtain different contents based on different self-check timings and self-check methods, thereby achieving flexibility and diversity of self-check and meeting different scenarios and needs.
[0042] The first information table is used to store the association between self-test objects and self-test rules. A self-test object may contain one or more self-test rules. When a self-test object contains multiple self-test rules, for example, a suitable self-test rule can be selected for the self-test object according to the self-test timing corresponding to each self-test rule. For example, self-test object 1 corresponds to two self-test rules, namely self-test rule 1 and self-test rule 2. The self-test timing corresponding to self-test rule 1 is power-on self-test, and the self-test timing corresponding to self-test rule 2 is power-off self-test. In scenarios with high requirements for response speed, in order to save power-on time, the self-test object can be self-tested according to self-test rule 2.
[0043] Exemplarily, different priorities can also be set for different self-inspection rules. In actual application, appropriate self-inspection rules can be selected for the self-inspection object based on the priority. For example, the priority of self-inspection rule 1 is higher than that of self-inspection rule 2. In some scenarios, the self-inspection object can be self-inspected based on self-inspection rule 1.
[0044] Exemplarily, appropriate self-inspection rules may be selected for the self-inspection object according to factors such as the self-inspection mode corresponding to each inspection rule and the required self-inspection time.
[0045] Taking the self-check rule including the self-check timing and the self-check method as an example, illustratively, the content of the first information table can refer to Table 1.
[0046] Table 1 First information table
[0047]
[0048]
[0049] By searching the first information table according to the identification information of the first self-test object, the self-test module included in the first self-test object can be obtained. A self-test object can include one or more self-test modules. When the self-test object includes multiple self-test modules, appropriate self-test rules can be selected according to the specific self-test modules.
[0050] For example, for the power module V, it can be determined that the power module V includes three self-test modules. In practical applications, one or more power self-test modules can be selected as needed to perform self-test, thus achieving diversity and flexibility of self-test.
[0051] In S130, after the self-inspection rule is obtained based on the first information table, the first self-inspection object can be self-inspected based on the self-inspection rule to obtain a self-inspection result. The embodiment of the present application does not limit the specific process of the self-inspection.
[0052] The self-test result may be normal or abnormal. In some embodiments, after S130, the vehicle self-test method may further include the following steps:
[0053] When the self-inspection result shows that the first self-inspection object is abnormal, obtaining a first fault handling method corresponding to the abnormal self-inspection result;
[0054] Performing fault processing on the first self-check object according to the first fault processing method to obtain a fault processing result;
[0055] Send the self-test results and corresponding fault handling results to the target object.
[0056] The fault handling method can be set according to the self-check object, function and specific self-check rules. Different self-check modules can correspond to different fault handling methods. When the same self-check object contains multiple self-check modules, different self-check modules can also correspond to different fault handling methods.
[0057] For example, for the power module V in Table 1, which includes three power self-test modules, three corresponding fault handling methods can be used. For example, the fault handling method corresponding to the power self-test module_1 can be soft reset, the fault handling method corresponding to the power self-test module_2 can be hard reset, and the fault handling method corresponding to the power self-test module_3 can be fault recording.
[0058] The first fault handling method is a fault handling method corresponding to the first self-inspection object whose self-inspection result is abnormal. When the self-inspection result of the first self-inspection object is abnormal, the first fault handling method can be obtained, fault handling can be performed on the first self-inspection object to obtain the fault handling result, and the self-inspection result and the fault handling result can be sent to the target object.
[0059] The target object may be an object to which the user can receive the self-test results and the fault handling results, such as a mobile phone, a computer, etc. The user here may be a user registered in the vehicle, and the vehicle is bound to the user's mobile phone or computer, so that the vehicle can automatically send the self-test results and the corresponding fault handling results to the user's mobile phone or computer, so that the user can check the vehicle in time to ensure safety.
[0060] For example, the self-test results and fault handling results can be sent to the user's device via text messages, emails, etc., so that the user can promptly understand the faults and handling status of the self-test objects, thereby reducing unnecessary risks.
[0061] Taking the example that the first self-check object includes the first self-check module and the first self-check rule includes the priority of the first self-check module, illustratively, the above S130 may include the following steps:
[0062] In the case that the first self-test object includes a plurality of first self-test modules, a self-test is performed on each first self-test module according to the priority of each first self-test module from high to low to obtain a self-test result.
[0063] The priority of each first self-test module can be pre-set based on function and requirements. In the embodiment of the present application, when the first self-test object includes multiple first self-test modules, self-test can be performed in descending order of priority of each first self-test module, thereby ensuring that the first self-test module with a high priority is self-tested first.
[0064] For example, reference Figure 2 The power supply module 210 is connected to the main control module 220 and the peripheral module 230 respectively. The power supply self-test module includes a power supply self-test module_1 and a power supply self-test module_2. The power supply self-test module_1 includes: V_A, V_B, V_C and V_D, and the power supply self-test module_2 includes: V_E, V_F and V_G.
[0065] Since the main control module 220 is more important than the peripheral module 230, the priority of the power self-test module_1 is higher than that of the power self-test module_2. During self-test, the power self-test module_1 can be self-tested first, that is, V_A, V_B, V_C and V_D, and then the power self-test module_2, that is, V_E, V_F and V_G.
[0066] In actual application, for multiple self-test modules of the same priority, their self-test durations may also be different. Based on this, in some embodiments, the above “performing self-test on each first self-test module from high to low according to the priority of each first self-test module to obtain a self-test result” may include the following steps:
[0067] Arrange the first self-test modules according to their priorities;
[0068] In order of priority from high to low, for the first self-test modules with the same priority, and in order of self-test duration from low to high, self-test is performed on each first self-test module to obtain a self-test result.
[0069] Exemplarily, when self-checking each first self-check module in descending order of priority, if there are multiple first self-check modules with the same priority, they can be self-checked in order of low to high self-check duration. This ensures that the first self-check module with a high priority and a short self-check duration is self-checked first, thereby reducing the waiting time of these self-check modules.
[0070] For example, if the first self-test module A and the first self-test module B have the same priority and the self-test duration of the first self-test module A is shorter than that of the first self-test module B, the first self-test module A may be self-tested first, and then the first self-test module B may be self-tested.
[0071] Taking the example that the first self-inspection object includes the second self-inspection module, and the first self-inspection rule includes the object type associated with the second self-inspection module, illustratively, the above S130 may include the following steps:
[0072] Decomposing the second self-check module according to the object type associated with the second self-check module to obtain a plurality of sub-self-check modules;
[0073] According to whether there is a control relationship between the sub-self-test modules, it is judged whether the sub-self-test modules have a front-to-back logical relationship, the front-to-back logical relationship of the sub-self-test modules is obtained, and the self-test order of the sub-self-test modules is obtained;
[0074] According to the self-test sequence, each sub-self-test module is self-tested to obtain a self-test result.
[0075] The second self-test module is a self-test module included in the first self-test object. The second self-test module may include one or more modules. The second self-test module may be the same as or different from the first self-test module in the above embodiment.
[0076] The object type associated with the second self-check module may be the type of the object connected to the second self-check module, for example Figure 2In the figure, the objects connected to the power self-test module_1 are the main control module 220 and the kernel 2201 in the main control module 220. Therefore, the main control module 220 and the kernel 2201 in the main control module 220 can be determined as objects associated with the second self-test module, and the main control module 220 and the kernel 2201 can be determined as object types.
[0077] When a self-check module is associated with multiple object types, the self-check module may be decomposed based on the object types.
[0078] For example, in Figure 2 In the example, the power self-test module_1 (second self-test module) can be decomposed to obtain two sub-self-test modules, namely, sub-self-test module_1_1 (core): V_A and V_B, and sub-self-test module_1_2: V_C and V_D.
[0079] The front-to-back logical relationship of each sub-self-test module may include whether each sub-self-test module has a front-to-back logical relationship. According to whether each sub-self-test module has a front-to-back logical relationship, the self-test order of each sub-self-test module may be obtained.
[0080] Exemplarily, whether the sub-self-test modules have a front-and-back logical relationship can be judged based on whether there is a control relationship between the sub-self-test modules. For example, sub-self-test module 1 controls sub-self-test module 2 to implement a certain function, then it can be considered that sub-self-test module 1 and sub-self-test module 2 have a front-and-back logical relationship. During self-test, sub-self-test module 1 needs to be self-tested first, and then sub-self-test module 2. Therefore, the self-test order of sub-self-test module 1 and sub-self-test module 2 can be determined as: sub-self-test module 1 first, then sub-self-test module 2, so that the smooth execution of the self-test can be guaranteed.
[0081] For example, if the sub-self-test modules have no logical relationship, for example, the sub-self-test module 3 and the sub-self-test module 4 have no logical relationship, the sub-self-test module 3 can be self-tested first, and then the sub-self-test module 4; or the sub-self-test module 4 can be self-tested first, and then the sub-self-test module 3 can be self-tested. Specifically, the self-test order of the sub-self-test module 3 and the sub-self-test module 4 can be set according to actual needs. After the self-test order of each sub-self-test module is determined, the self-test can be performed in order.
[0082] The embodiment of the present application can decompose the second self-test module according to the object type associated with the second self-test module to obtain multiple sub-self-test modules, and determine the self-test order of each sub-self-test module based on the front-and-back logical relationship of each sub-self-test module, thereby ensuring the smooth execution of the self-test process.
[0083] In some embodiments, when there are multiple self-test opportunities, for example, the self-test opportunities include power-on self-test and self-test during operation, if the decomposed sub-self-test modules have a front-and-back logical relationship, for example, a part of the sub-self-test modules can be self-tested at power-on, and another part of the sub-self-test modules can be self-tested during operation. This can avoid the situation where each sub-self-test module self-tests at power-on, affecting the power-on time, and thus causing the function to be affected.
[0084] For example, if the sub-self-test modules have no logical relationship, the sub-self-test module with a shorter self-test time can be self-tested at power-on, and the sub-self-test module with a longer self-test time can be self-tested during operation. This can shorten the power-on time and meet the user's needs for quick response.
[0085] In actual applications, some modules are sensitive to power-on time. For example, for luxury vehicles, for functions that users can perceive immediately, such as the welcome function, the shorter the time required for power-on self-test, the better. Based on this, in some embodiments, taking the first self-test object including the third self-test module as an example, the above S130 may include the following steps:
[0086] In the case where the first self-test object includes multiple third self-test modules and the first self-test rule includes at least two self-test opportunities, according to the self-test duration of each third self-test module, a corresponding third self-test module is allocated to each self-test opportunity;
[0087] A self-test is performed on the corresponding third self-test module at a corresponding self-test opportunity to obtain a self-test result.
[0088] In the embodiment of the present application, when the first self-test object includes multiple third self-test modules and corresponds to multiple self-test opportunities, the corresponding third self-test modules can be allocated to each self-test opportunity based on the self-test duration required by each third self-test module. For example, the power module includes three self-test modules, namely, power self-test module_1, power self-test module_2 and power self-test module_3, and the self-test durations required by the three self-test modules increase in sequence. Assuming that the power module corresponds to three self-test opportunities, namely, power-on, running and power-off, the power self-test module_1 can be set to power-on self-test, the power self-test module_2 can be set to running self-test, and the power self-test module_3 can be set to power-off self-test.
[0089] The embodiment of the present application can meet the user's demand for quick response by giving priority to self-checking modules that consume less time. In addition, when there is a time limit for a certain self-checking opportunity, the self-checking opportunity of the self-checking module can be flexibly adjusted according to the self-checking duration of the self-checking module, so that the self-checking duration of each self-checking opportunity can be within a controllable range.
[0090] The embodiments of the present application set multiple self-inspection times and self-inspection methods so that different self-inspection objects can use different self-inspection rules to perform self-inspection. For the same self-inspection object, when it contains multiple self-inspection modules, it can also select the appropriate self-inspection time and self-inspection method for self-inspection as needed, so that it can flexibly adapt to various scenarios and needs.
[0091] Based on the same inventive concept, the present application embodiment also provides a vehicle self-checking device. Figure 3 The vehicle self-checking device provided in the embodiment of the present application is described in detail.
[0092] Figure 3 A structural diagram of a vehicle self-checking device provided in an embodiment of the present application, such as Figure 3 As shown, the vehicle self-checking device may include:
[0093] An acquisition module 310 is used to acquire a first self-inspection object;
[0094] A search module 320 is used to search a first information table according to the identification information of the first self-inspection object, and obtain a first self-inspection rule corresponding to the first self-inspection object, wherein the first information table is used to store the association between the self-inspection object and the self-inspection rule, wherein one self-inspection object corresponds to at least one self-inspection rule, and the self-inspection rule includes multiple self-inspection opportunities;
[0095] The self-inspection module 330 is used to perform a self-inspection on a first self-inspection object according to a first self-inspection rule to obtain a self-inspection result.
[0096] The embodiment of the present application obtains the first self-inspection object, searches the first information table according to the identification information of the first self-inspection object, obtains the first self-inspection rule corresponding to the first self-inspection object, performs self-inspection on the first self-inspection object according to the first self-inspection rule, and obtains the self-inspection result. Since a self-inspection object can correspond to at least one self-inspection rule, a suitable self-inspection rule can be selected from the first self-inspection object according to the identification information of the first self-inspection object, so that the self-inspection of the first self-inspection object is no longer limited to a single self-inspection rule. At the same time, since the self-inspection rule includes multiple self-inspection opportunities, the self-inspection of the self-inspection object can also be placed at different self-inspection opportunities, that is, different self-inspection stages. In this way, the duration of the power-on self-inspection can be reduced, and then the duration of the power-on startup can be shortened, thereby improving the diversity and flexibility of the vehicle self-inspection.
[0097] In some embodiments, the first self-check object includes a first self-check module, and the first self-check rule includes a priority of the first self-check module;
[0098] The self-check module 330 is specifically used for:
[0099] In the case that the first self-test object includes a plurality of first self-test modules, a self-test is performed on each first self-test module according to the priority of each first self-test module from high to low to obtain a self-test result.
[0100] In some embodiments, the self-check module 330 is specifically configured to:
[0101] Arrange the first self-test modules according to their priorities;
[0102] In order of priority from high to low, for the first self-test modules with the same priority, and in order of self-test duration from low to high, self-test is performed on each first self-test module to obtain a self-test result.
[0103] In some embodiments, the first self-check object includes a second self-check module, and the first self-check rule includes an object type associated with the second self-check module;
[0104] The self-check module 330 is specifically used for:
[0105] Decomposing the second self-check module according to the object type associated with the second self-check module to obtain a plurality of sub-self-check modules;
[0106] According to whether there is a control relationship between the sub-self-test modules, it is judged whether the sub-self-test modules have a front-to-back logical relationship, the front-to-back logical relationship of the sub-self-test modules is obtained, and the self-test order of the sub-self-test modules is obtained;
[0107] According to the self-test sequence, each sub-self-test module is self-tested to obtain a self-test result.
[0108] In some embodiments, the first self-test object includes a third self-test module;
[0109] The self-check module 330 is specifically used for:
[0110] In the case where the first self-test object includes multiple third self-test modules and the first self-test rule includes at least two self-test opportunities, according to the self-test duration of each third self-test module, a corresponding third self-test module is allocated to each self-test opportunity;
[0111] A self-test is performed on the corresponding third self-test module at a corresponding self-test opportunity to obtain a self-test result.
[0112] In some embodiments, the acquisition module 310 is further configured for the self-inspection module 330 to perform a self-inspection on the first self-inspection object according to the first self-inspection rule, and after obtaining the self-inspection result, if the self-inspection result shows that the first self-inspection object is abnormal, to obtain a first fault handling method corresponding to the abnormal self-inspection result;
[0113] The vehicle self-checking device may further include:
[0114] A processing module, used to perform fault processing on the first self-check object according to the first fault processing method to obtain a fault processing result;
[0115] The sending module is used to send the self-test result and the corresponding fault handling result to the target object.
[0116] In some embodiments, the self-test timing includes at least two of the following: power-on self-test, self-test during operation, and power-off self-test; the self-test rule also includes a self-test method, and the self-test method includes at least one of the following: triggered and periodic.
[0117] Figure 3 Each module in the device shown has the function of realizing Figure 1 The functions of each step in the process can achieve the corresponding technical effects, so for the sake of brevity, they will not be described in detail here.
[0118] Based on the same inventive concept, the present application embodiment also provides an electronic device. Figure 4 The electronic device provided in the embodiments of the present application is described in detail.
[0119] like Figure 4 As shown, the electronic device may include a processor 410 and a memory 420 for storing computer program instructions.
[0120] The processor 410 may include a central processing unit (CPU) or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0121] The memory 420 may include a large capacity memory for data or instructions. For example, but not limitation, the memory 420 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In one example, the memory 420 may include a removable or non-removable (or fixed) medium, or the memory 420 is a non-volatile solid-state memory. In one example, the memory 420 may be a read-only memory (ROM). In one example, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0122] The processor 410 reads and executes the computer program instructions stored in the memory 420 to implement Figure 1 The method in the embodiment shown in the figure is achieved Figure 1 The corresponding technical effects achieved by executing the method in the illustrated embodiment are not described in detail here for the sake of brevity.
[0123] In one example, the electronic device may further include a communication interface 430 and a bus 440. Figure 4 As shown, the processor 410, the memory 420, and the communication interface 430 are connected via a bus 440 and communicate with each other.
[0124] The communication interface 430 is mainly used to implement communication between various modules, devices and / or equipment in the embodiments of the present application.
[0125] Bus 440 includes hardware, software or both, and each component of electronic device is coupled to each other.For example, but not limitation, bus 440 may include accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, front side bus (Front Side Bus, FSB), hypertransmission (Hyper Transport, HT) interconnection, industry standard architecture (IndustryStandard Architecture, ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 440 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.
[0126] After acquiring the first self-check object, the electronic device can execute the vehicle self-check method in the embodiment of the present application, thereby realizing the combination Figure 1 The vehicle self-check method described and Figure 3 A vehicle self-checking device is described.
[0127] Based on the same inventive concept, an embodiment of the present application further provides a storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the vehicle self-inspection method as described in the above embodiment is implemented.
[0128] Based on the same inventive concept, an embodiment of the present application further provides a vehicle, the vehicle comprising a vehicle self-checking device as described in the above embodiment; or, an electronic device as described in the above embodiment; or, a storage medium as described in the above embodiment.
[0129] It should be understood that the above specific embodiments of the present application are only used to illustrate or explain the principles of the present application, and do not constitute a limitation to the present application. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present application should be included in the protection scope of the present application. In addition, the claims attached to the present application are intended to cover all changes and modifications that fall within the scope and boundaries of the attached claims, or the equivalent forms of such scope and boundaries.
[0130] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0131] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
[0132] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A vehicle self-checking method, characterized in that: include: Get a first self-test object; According to the identification information of the first self-inspection object, searching a first information table to obtain a first self-inspection rule corresponding to the first self-inspection object, wherein the first information table is used to store an association relationship between self-inspection objects and self-inspection rules, one self-inspection object corresponds to at least one self-inspection rule, and the self-inspection rule includes multiple self-inspection opportunities; Perform a self-inspection on the first self-inspection object according to the first self-inspection rule to obtain a self-inspection result.
2. The method according to claim 1, characterized in that The first self-check object includes a first self-check module, and the first self-check rule includes a priority of the first self-check module; The performing a self-inspection on the first self-inspection object according to the first self-inspection rule to obtain a self-inspection result includes: In the case that the first self-test object includes a plurality of the first self-test modules, a self-test is performed on each of the first self-test modules according to their priorities from high to low to obtain a self-test result.
3. The method according to claim 2, characterized in that The self-testing each of the first self-test modules is performed according to the priority of each of the first self-test modules from high to low to obtain a self-test result, including: Arrange the first self-test modules according to their priorities; In order of priority from high to low, for the first self-test modules with the same priority, self-test is performed on each of the first self-test modules in order of self-test duration from low to high to obtain a self-test result.
4. The method according to claim 1, characterized in that: The first self-check object includes a second self-check module, and the first self-check rule includes an object type associated with the second self-check module; The performing a self-inspection on the first self-inspection object according to the first self-inspection rule to obtain a self-inspection result includes: Decomposing the second self-check module according to the object type associated with the second self-check module to obtain a plurality of sub-self-check modules; According to whether there is a control relationship between the sub-self-test modules, it is judged whether the sub-self-test modules have a front-and-back logical relationship, and the self-test order of the sub-self-test modules is obtained; According to the self-test sequence, each of the sub-self-test modules is self-tested to obtain a self-test result.
5. The method according to claim 1, characterized in that: The first self-check object includes a third self-check module; The performing a self-inspection on the first self-inspection object according to the first self-inspection rule to obtain a self-inspection result includes: In the case where the first self-check object includes a plurality of the third self-check modules and the first self-check rule includes at least two self-check opportunities, assigning a corresponding third self-check module to each self-check opportunity according to the self-check duration of each third self-check module; A self-test is performed on the corresponding third self-test module at a corresponding self-test opportunity to obtain a self-test result.
6. The method according to any one of claims 1 to 5, characterized in that: After performing a self-inspection on the first self-inspection object according to the first self-inspection rule and obtaining a self-inspection result, the method further includes: When the self-inspection result shows that the first self-inspection object is abnormal, obtaining a first fault handling method corresponding to the abnormal self-inspection result; Performing fault handling on the first self-check object according to the first fault handling method to obtain a fault handling result; The self-test result and the corresponding fault handling result are sent to the target object.
7. The method according to any one of claims 1 to 5, characterized in that: The self-test timing includes at least two of the following: power-on self-test, running self-test and power-off self-test; The self-checking rule also includes a self-checking mode, and the self-checking mode includes at least one of the following: a trigger mode and a periodic mode.
8. A vehicle self-checking device, characterized in that: include: An acquisition module, used for acquiring a first self-inspection object; a search module, configured to search a first information table according to the identification information of the first self-inspection object, and obtain a first self-inspection rule corresponding to the first self-inspection object, wherein the first information table is used to store an association relationship between self-inspection objects and self-inspection rules, wherein one self-inspection object corresponds to at least one self-inspection rule, and the self-inspection rule includes multiple self-inspection opportunities; The self-inspection module is used to perform a self-inspection on the first self-inspection object according to the first self-inspection rule to obtain a self-inspection result.
9. An electronic device, characterized in that: include: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method according to any one of claims 1 to 7 is implemented.
10. A vehicle, characterized in that: The vehicle comprises the vehicle self-checking device as claimed in claim 8; or, the electronic device as claimed in claim 9.
