Vehicle detection method and device, electronic equipment and computer readable storage medium

By setting local configuration files in the vehicle, the problem of vehicle detection failure caused by network problems is solved, and a method of stably performing vehicle detection when the network environment is poor is realized.

CN119052316APending Publication Date: 2024-11-29CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410991984.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

During the vehicle production process, due to network problems when the vehicle is offline for inspection, the vehicle cannot obtain the detection configuration file, resulting in the inability to perform vehicle detection.

Method used

A vehicle detection method is proposed. If a vehicle detection is triggered, a configuration file is requested from the server. If it is not obtained, a local configuration file is obtained. The target configuration file is generated based on the local configuration file to perform vehicle detection, which removes dependence on the network environment. .

Benefits of technology

Even in the event of network errors, vehicle detection can still be performed through local configuration files, ensuring the stability and reliability of vehicle detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119052316A_ABST
    Figure CN119052316A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle detection method and device, electronic equipment and a computer readable storage medium, and the method comprises the steps: requesting a detection configuration file from a server if vehicle detection is triggered; whether the detection configuration file is obtained or not is judged, and if the detection configuration file is not obtained, a local configuration file is obtained; generating a target configuration file according to the local configuration file; and executing a vehicle detection operation according to the target configuration file. By setting the local configuration file, the vehicle detection can still be executed through the local configuration file even if the network goes wrong and the detection configuration file cannot be obtained, so that the dependence on the network environment is relieved, and the stable execution of the vehicle detection is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle production, and in particular to a vehicle detection method, device, electronic equipment and computer-readable storage medium. Background Art

[0002] Vehicle off-line testing is an important part of the vehicle production process. It specifically refers to the verification of the quality and safety of the vehicle by testing all the components of the vehicle after the vehicle production is completed.

[0003] Generally, when conducting off-line vehicle inspection, the vehicle first requests a detection template from the server, and then performs vehicle inspection based on the detection module; however, this method relies on network conditions. When problems occur in the vehicle itself or the surrounding network environment, the vehicle cannot obtain the detection module from the server and thus cannot perform vehicle inspection. Summary of the invention

[0004] The main purpose of the present invention is to provide a vehicle detection method, device, electronic device and computer-readable storage medium, aiming to solve the problem in the prior art that vehicle detection cannot be performed when network problems occur.

[0005] To achieve the above object, the present invention provides a vehicle detection method, the method comprising the steps of:

[0006] If vehicle detection is triggered, a detection configuration file is requested from the server;

[0007] Determine whether the detection configuration file is obtained, and if the detection configuration file is not obtained, obtain the local configuration file;

[0008] Generate a target configuration file according to the local configuration file;

[0009] A vehicle detection operation is performed according to the target profile.

[0010] Optionally, generating a target configuration file according to the local configuration file includes:

[0011] Acquire function information of the current vehicle and determine the self-check rules in the local configuration file;

[0012] For each of the self-check rules, generating a self-check item corresponding to the functional information according to the self-check rule;

[0013] The target configuration file is obtained by integrating the self-check items.

[0014] Optionally, generating a self-check item corresponding to the function information according to the self-check rule includes:

[0015] Determining whether the current vehicle includes a component corresponding to the self-check rule according to the function information;

[0016] If the current vehicle does not include the component corresponding to the self-check rule, the self-check item corresponding to the self-check rule is not generated.

[0017] Optionally, generating a self-check item corresponding to the function information according to the self-check rule includes:

[0018] Determining a target component corresponding to the functional information;

[0019] matching a target state corresponding to the target component according to the self-checking rule;

[0020] The self-check item is generated according to the target component and the target state.

[0021] Optionally, performing a vehicle detection operation according to the target configuration file includes:

[0022] Obtaining a self-test item in the target configuration file, and determining a target component of the self-test item;

[0023] Obtaining a component status corresponding to the target component;

[0024] Obtaining a target state corresponding to the self-check item, and determining whether the component state is consistent with the target state;

[0025] If the component state is consistent with the target state, the self-check item is detected to be passed.

[0026] Optionally, acquiring the component status corresponding to the target component includes:

[0027] Determining whether the self-check item is a functional self-check item;

[0028] If the self-check item is a functional self-check item, determining a functional component and a control signal corresponding to the functional self-check item;

[0029] sending the control signal to the functional component so that the functional component performs a functional operation corresponding to the control signal, wherein the functional operation is associated with the target component;

[0030] Obtain the component status corresponding to the target component.

[0031] Optionally, performing a vehicle detection operation according to the target configuration file includes:

[0032] Performing a vehicle detection operation according to the target configuration file to obtain a detection report;

[0033] Determining whether to establish a connection with the server;

[0034] If the connection with the server is not established, the detection report is stored, and after the connection with the server is established, the detection report is sent to the server.

[0035] To achieve the above object, the present invention further provides a vehicle detection device, the vehicle detection device comprising:

[0036] A first request module, configured to request a detection configuration file from a server if vehicle detection is triggered;

[0037] A first judgment module is used to judge whether the detection configuration file is obtained, and if the detection configuration file is not obtained, obtain a local configuration file;

[0038] A first generating module, used to generate a target configuration file according to the local configuration file;

[0039] The first execution module is used to execute a vehicle detection operation according to the target configuration file.

[0040] Optionally, the first generating module includes:

[0041] A first acquisition unit, configured to acquire function information of the current vehicle and determine a self-check rule in the local configuration file;

[0042] A first generating unit, configured to generate, for each of the self-check rules, a self-check item corresponding to the function information according to the self-check rule;

[0043] The first integration unit is used to integrate the self-check items to obtain the target configuration file.

[0044] Optionally, the first generating unit includes:

[0045] A first judgment subunit, configured to judge whether the current vehicle includes a component corresponding to the self-check rule according to the function information;

[0046] The first execution subunit is configured to not generate the self-check item corresponding to the self-check rule if the current vehicle does not include a component corresponding to the self-check rule.

[0047] Optionally, the first generating unit includes:

[0048] A first determining subunit, used to determine a target component corresponding to the function information;

[0049] A first matching subunit, configured to match a target state corresponding to the target component according to the self-checking rule;

[0050] The first generating subunit is used to generate the self-check item according to the target component and the target state.

[0051] Optionally, the first execution module includes:

[0052] A second acquisition unit, configured to acquire a self-test item in the target configuration file and determine a target component of the self-test item;

[0053] A third acquisition unit, used to acquire a component state corresponding to the target component;

[0054] a fourth acquisition unit, configured to acquire a target state corresponding to the self-check item, and determine whether the component state is consistent with the target state;

[0055] The first execution unit is configured to, if the component state is consistent with the target state, determine that the self-check item has passed.

[0056] Optionally, the third acquiring unit includes:

[0057] A second judging subunit is used to judge whether the self-check item is a functional self-check item;

[0058] A second determining subunit is used to determine a functional component and a control signal corresponding to the functional self-test item if the self-test item is a functional self-test item;

[0059] a first sending subunit, configured to send the control signal to the functional component, so that the functional component performs a functional operation corresponding to the control signal, wherein the functional operation is associated with the target component;

[0060] The first acquisition subunit is used to acquire the component status corresponding to the target component.

[0061] Optionally, the first execution module includes:

[0062] A second execution unit, configured to execute a vehicle detection operation according to the target configuration file to obtain a detection report;

[0063] A first determining unit, used to determine whether to establish a connection with the server;

[0064] The first sending unit is configured to store the detection report if a connection with the server is not established, and to send the detection report to the server after a connection with the server is established.

[0065] To achieve the above objectives, the present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the vehicle detection method described above when executed by the processor.

[0066] To achieve the above object, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the vehicle detection method described above are implemented.

[0067] The present invention proposes a vehicle detection method, device, electronic device and computer-readable storage medium. If vehicle detection is triggered, a detection configuration file is requested from a server; it is determined whether the detection configuration file is obtained. If the detection configuration file is not obtained, a local configuration file is obtained; a target configuration file is generated according to the local configuration file; and a vehicle detection operation is performed according to the target configuration file. By setting a local configuration file, even if a network error occurs and the detection configuration file cannot be obtained, vehicle detection can still be performed through the local configuration file, eliminating the dependence on the network environment and ensuring the stable execution of vehicle detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0069] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0070] Figure 1 A schematic diagram of a flow chart of a first embodiment of a vehicle detection method of the present invention;

[0071] Figure 2 A schematic diagram of a system module of a vehicle detection method of the present invention;

[0072] Figure 3 It is a functional schematic diagram of the self-checking main control module in the vehicle detection method of the present invention;

[0073] Figure 4 It is a schematic diagram of the overall process of the vehicle detection method of the present invention;

[0074] Figure 5 It is a schematic diagram of the module structure of the electronic device of the present invention. DETAILED DESCRIPTION

[0075] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In order to enable those skilled in the art to better understand the present application, the technical solutions 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 only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present application.

[0076] The present invention provides a vehicle detection method, referring to Figure 1 , Figure 1 This is a flow chart of a first embodiment of a vehicle detection method of the present invention, wherein the method comprises the following steps:

[0077] Step S10, if vehicle detection is triggered, request a detection configuration file from the server;

[0078] Vehicle inspection refers to the off-line inspection of the entire vehicle. The triggering method of vehicle inspection can be set based on actual needs, such as the server sending inspection instructions to the vehicle to trigger, the inspector interactively triggering through the screen on the vehicle, and the workshop control program automatically triggering after the vehicle is offline.

[0079] The detection configuration file is a related file set on the server side to implement vehicle detection; it can be understood that the server can be oriented to different types of vehicles, that is, detection configuration files corresponding to different types of vehicles can be set in the server; when the vehicle detection is triggered, a request containing the vehicle information of the current vehicle is sent to the server. After receiving the request, the server matches the corresponding detection configuration file according to the vehicle information in the request, and returns the detection configuration file to the vehicle; the specific type of vehicle information can be set based on actual needs, such as vehicle model, vehicle unique identification, etc.

[0080] Step S20, determining whether the detection configuration file is obtained, and if the detection configuration file is not obtained, obtaining a local configuration file;

[0081] When the network environment is good, the vehicle can establish a connection with the server. At this time, the vehicle requests the detection configuration file from the server and can successfully obtain the detection configuration file.

[0082] When a problem occurs in the network environment, the vehicle cannot establish a connection with the server. Therefore, the vehicle cannot request a detection configuration file from the server, and the server cannot return the detection configuration file to the vehicle. At this time, the vehicle cannot perform vehicle detection operations based on the detection configuration file. It is understandable that in order to obtain the detection configuration file, the vehicle may be unable to send a request to the server, or the server may be unable to return the detection configuration file to the vehicle.

[0083] In this implementation, a local configuration file is stored in advance in the storage device of the vehicle; the local configuration file is a locally set related file for implementing vehicle detection; it can be understood that since the local configuration file is stored locally in the vehicle, obtaining the local configuration file does not need to rely on the network, and even if there is a problem with the network environment, the local configuration file can still be obtained, thereby implementing vehicle detection of the current vehicle.

[0084] Step S30, generating a target configuration file according to the local configuration file;

[0085] It is understandable that the local configuration file and the detection configuration file are essentially the same file, but because the server side can be updated in real time, the detection configuration file on the server side is newer than the local configuration file; therefore, when performing vehicle detection, the detection configuration file is obtained first, and after obtaining the detection configuration file, the target configuration file is generated based on the detection configuration file; only when the detection configuration file cannot be obtained, the local configuration file is obtained, and the target configuration file is generated based on the local configuration file.

[0086] The target configuration file is a configuration file used to specifically perform vehicle detection operations.

[0087] Step S40: performing a vehicle detection operation according to the target configuration file.

[0088] After obtaining the target configuration file, a vehicle detection operation can be performed on the current vehicle according to the target configuration file.

[0089] The vehicle detection operation is used to detect the status and functions of the current vehicle. The specific detection operation design items can be set based on the actual vehicle model and test requirements.

[0090] The overall implementation process of this embodiment is described below:

[0091] 1. The server sends a detection command to trigger vehicle detection, or the inspector selects a relevant option on the vehicle screen to trigger vehicle detection;

[0092] 2. Obtain vehicle information of the vehicle and send the vehicle information to the server. After receiving the vehicle information, the server matches the detection configuration file corresponding to the vehicle information and returns the detection configuration file to the vehicle;

[0093] 3. If the vehicle receives the detection configuration file returned by the server, it generates a target configuration file based on the detection configuration file;

[0094] 4. If the vehicle does not receive the detection configuration file returned by the server, it obtains the local configuration file and generates the target configuration file based on the local configuration file;

[0095] 5. Perform vehicle detection operations on the vehicle according to the target configuration file.

[0096] This embodiment sets a local configuration file so that even if a network error occurs and the detection configuration file cannot be obtained, vehicle detection can still be performed through the local configuration file, eliminating the dependence on the network environment and ensuring stable execution of vehicle detection.

[0097] Further, in the second embodiment of the vehicle detection method of the present invention proposed based on the first embodiment of the present invention, the step S30 includes the steps of:

[0098] Step S31, obtaining function information of the current vehicle and determining the self-check rules in the local configuration file;

[0099] Step S32, for each of the self-check rules, generating a self-check item corresponding to the function information according to the self-check rule;

[0100] Step S33, obtaining the target configuration file by integrating the self-check items.

[0101] Functional information is used to indicate the specific configuration of components in the vehicle and the functions that can be achieved.

[0102] The local configuration file contains multiple self-check rules, each of which corresponds to a component or function in the vehicle.

[0103] Self-test rules are rules used to evaluate whether components or functions are normal during vehicle inspection. It should be noted that the self-test rules indicate the evaluation rules for a certain component or function, and the same component or function may have a variety of settings. For vehicles of specific models or configurations, it is necessary to evaluate them based on the specific settings of the vehicle configuration. Therefore, it is necessary to match the rules corresponding to the specific settings in the self-test rules based on the functional information, so as to obtain the self-test items corresponding to the device or function.

[0104] The self-check items are detection rules specifically set for vehicle components or functions.

[0105] After all self-check items are determined, all self-check items are integrated to obtain a target configuration file containing all self-check items; from the above description, it can be seen that the target configuration file is a configuration file obtained for the specific settings of the vehicle, so the target configuration file can realize the detection of the vehicle.

[0106] Furthermore, the step S32 includes the steps of:

[0107] Step S321, judging whether the current vehicle includes a component corresponding to the self-check rule according to the function information;

[0108] Step S322: If the current vehicle does not include the component corresponding to the self-check rule, the self-check item corresponding to the self-check rule is not generated.

[0109] If the current vehicle includes a component corresponding to the self-check rule, the self-check item corresponding to the self-check rule is generated.

[0110] It is understandable that the components and functions of vehicles of different models are not exactly the same, the components and functions of vehicles of the same model but different batches may also be different, and the components and functions of vehicles of the same model but with different options are not exactly the same; therefore, after obtaining the local configuration file, it is necessary to determine whether specific self-test rules need to be applied based on the specific functional information of the vehicle; for example, if the self-test rule is to test the seat heating function of the vehicle, but the current vehicle is not equipped with the seat heating function, the seat heating function does not need to be tested, and at this time, the self-test item corresponding to the self-test rule is not generated; and if the current vehicle is equipped with the seat heating function, the seat heating function needs to be tested, and at this time, the self-test item corresponding to the self-test rule is generated.

[0111] Furthermore, the step S32 includes the steps of:

[0112] Step S321, determining the target component corresponding to the function information;

[0113] Step S322, matching a target state corresponding to the target component according to the self-check rule;

[0114] Step S323: generating the self-check item according to the target component and the target state.

[0115] The target component is a specific component in the function information or a component involved in a certain function.

[0116] It is understandable that the specific settings of devices or functions corresponding to different types of vehicles are different; for example, higher-end series models will use components with better performance, while lower-end series models will use components with relatively poorer performance; if the target component is a seat, specifically for the seat heating function, the temperature control method of higher-end models may be set to a specific temperature, while the temperature control method of lower-end models may be set to three optional gears. Therefore, matching self-test items need to be set for the specific settings of the same device or function.

[0117] The self-check rules are equipped with corresponding target states for different settings of the same device or function; for example, for the seat heating function of a specific temperature, the self-check rules are equipped with target states for specific temperature values. For example, when the seat temperature is set to 26 degrees Celsius, the corresponding target state is that the seat temperature is 26 degrees Celsius; and for the seat heating function of the gear position, the self-check rules are equipped with target states for the gear position. For example, when the gear position is set to high temperature, the corresponding target state is that the seat temperature is 30 degrees Celsius. The target state is used to indicate the state of the component itself or the state of the component when the function is executed.

[0118] It can be understood that the functional information includes multiple target components, and different target components can generate self-inspection items corresponding to the self-inspection rules respectively. A target component may have multiple corresponding self-inspection rules based on different detection items, functions, etc. Therefore, it is necessary to generate corresponding self-inspection items for the corresponding self-inspection rules respectively; for example, for seats, self-inspection items can be generated based on the self-inspection rules corresponding to the seat heating function, and self-inspection items can also be generated based on the self-inspection rules corresponding to the seat angle adjustment function.

[0119] It is understandable that the method of generating the target configuration file from the detection configuration file can be performed in a similar manner to the method of generating the target configuration file from the local configuration file, which will not be described in detail.

[0120] Further, in a third embodiment of the vehicle detection method of the present invention proposed based on the first embodiment of the present invention, step S40 includes the steps of:

[0121] Step S41, obtaining a self-test item in the target configuration file, and determining a target component of the self-test item;

[0122] Step S42, obtaining the component status corresponding to the target component;

[0123] Step S43, obtaining the target state corresponding to the self-check item, and determining whether the component state is consistent with the target state;

[0124] Step S44: If the component state is consistent with the target state, the self-check item detection is passed.

[0125] The self-check items correspond to the target components. After the self-check items are determined, the target components corresponding to the self-check items can be determined.

[0126] The component status is the real-time status of the target component; it is understandable that the detection of the vehicle is mainly to detect the status of each component of the vehicle and the normality of its functions. Therefore, it is necessary to obtain the component status of the target component to realize the detection of the vehicle.

[0127] The target state is the expected state of the target component in the self-test item, which is used to reflect the state of the target component under normal circumstances. Therefore, by comparing the target state with the component state, it is possible to determine whether the current state of the target component meets the detection requirements. If the component state is consistent with the target state, it is considered that the current state of the target component meets the detection requirements and the self-test item passes. If the component state is inconsistent with the target state, it is considered that the current state of the target component does not meet the detection requirements and the self-test item test fails.

[0128] It can be understood that when comparing the component status with the target status, the specific comparison method is different for different self-test items; the target status can indicate a specific numerical value, numerical range, return information identifier, component status type; for example, when the self-test item corresponds to the seat heating function, the target status can indicate a specific target temperature, or a target temperature range. When the seat temperature corresponding to the component status is the target temperature, or is within the target temperature range, the self-test item is considered to have passed the test; for example, when the self-test item corresponds to the radar function, the target status indicates that the radar function is turned on when the vehicle is started. If the radar function corresponding to the component status is turned on, the self-test item is considered to have passed the test. If the radar function corresponding to the component status is turned off, the self-test item is considered to have failed the test.

[0129] Furthermore, the step S42 includes the steps of:

[0130] Step S421, determining whether the self-check item is a functional self-check item;

[0131] Step S422, if the self-check item is a functional self-check item, determining the functional component and control signal corresponding to the functional self-check item;

[0132] Step S423, sending the control signal to the functional component, so that the functional component performs a functional operation corresponding to the control signal, wherein the functional operation is associated with the target component;

[0133] Step S424, obtaining the component status corresponding to the target component.

[0134] It can be understood that when testing a vehicle, some items can be tested by direct acquisition, such as the switch status of components when the vehicle is running. In this embodiment, these items are used as status self-test items; while other items require the vehicle to trigger a function before testing. In this embodiment, these items are used as function self-test items.

[0135] For the status self-checking items, after the self-checking items are determined, the component status of the target component corresponding to the self-checking items can be directly obtained for detection.

[0136] For the functional self-test items, it is necessary to first determine the functional components corresponding to the functional self-test items, and trigger the functional components to perform the corresponding functions through control signals; for example, for seat heating, the corresponding functional components are the heating devices on the seat, and the corresponding target components are the temperature sensors on the seat; that is, first send a control signal of the corresponding temperature to the heating device, and after the heating time reaches the preset time, obtain the seat temperature detected by the temperature sensor of the corresponding seat, and the seat temperature is the component status of the target component.

[0137] In the prior art, only the status of components in the vehicle can be analyzed and judged. In this embodiment, by distinguishing between status self-check items and function self-check items, it is possible to simultaneously detect the status and function, thereby improving the scenario and efficiency of vehicle detection.

[0138] Further, in a fourth embodiment of the vehicle detection method of the present invention proposed based on the first embodiment of the present invention, step S40 includes the steps of:

[0139] Step S45, performing a vehicle detection operation according to the target configuration file to obtain a detection report;

[0140] Step S46, determining whether to establish a connection with the server;

[0141] Step S47, if the connection with the server is not established, the detection report is stored, and after the connection with the server is established, the detection report is sent to the server.

[0142] If a connection is established with the server, the detection report is sent to the server.

[0143] The inspection report includes but is not limited to whether the vehicle inspection passed, failed self-inspection items, failure type, failed components, vehicle information of the current vehicle, and timestamp.

[0144] It can be understood that the vehicle detection operation is performed separately based on the self-check items in the target configuration file; when all self-check items are detected and passed, the vehicle detection operation is considered to have passed, and when there is a self-check item failure, the vehicle detection operation is considered to have failed.

[0145] When generating a test report, the failure type can also be determined based on the specific failed self-test items. For example, importance levels can be set in advance for different self-test items. When a self-test item with a higher importance level fails, the severity of the corresponding failure type increases; when a self-test item with a lower importance level fails, the severity of the corresponding failure type decreases. Ultimately, the failure type in the test report is determined based on all failed self-test items.

[0146] After the test report is generated, it needs to be sent to the server for statistical analysis. However, when the vehicle is not connected to the server, the test report cannot be sent to the server. Therefore, the test report is first stored locally, and then sent to the server after the vehicle is connected to the server.

[0147] After the inspection report is generated, the inspection report can be displayed on the screen of the vehicle first, and the screen can also display relevant information during the vehicle inspection process.

[0148] In this embodiment, the test report is first stored without establishing a connection with the server, and then the server connection is waited for. After the connection with the server is established, the test report is uploaded. This allows the test report to be retained when a problem occurs in the network environment, thereby ensuring the upload of subsequent test reports.

[0149] The following is based on Figure 2 The overall implementation of this application is described as follows:

[0150] At the system level, a self-check main control module, a networking module, a UI (User Interface) display module, an information collection module and a vehicle control module are set;

[0151] Self-test main control module: the core of vehicle testing, which calls the other four modules through internal logic to implement various functions of vehicle testing and generate a test report;

[0152] Networking module: responsible for connecting the self-checking main control module with the server so that the self-checking main control module and the server can transfer various data to each other;

[0153] UI display module: displays the operation buttons and various information of vehicle detection on the screen, which is used by detection personnel to trigger vehicle detection and view various information of vehicle detection;

[0154] Information collection module: Under the control of the self-check main control module, it actively or passively collects various information in the vehicle, such as component status, and transmits various information to the self-check main control module.

[0155] Vehicle control module: under the control of the self-checking main control module, triggers various functions of the vehicle or controls the vehicle to change its own state;

[0156] The five functional modules can be deployed in one controller of the vehicle or in multiple controllers, as long as the corresponding controller can meet the requirements of the modules; at the same time, except for the self-test main control module, one or more other modules can be set.

[0157] The following is based on Figure 3 The functions of the self-check main control module are described as follows:

[0158] The main functions of the self-checking control module include self-checking task creation, self-checking task reception, self-checking task preprocessing, function self-checking execution and self-checking report generation.

[0159] Self-inspection task creation: cooperates with the UI display module to allow inspectors to trigger vehicle inspection locally;

[0160] Self-test task reception: cooperates with the networking module to receive the test instructions sent from the server to trigger vehicle testing, and receives the test configuration file from the server;

[0161] Self-check task preprocessing: Based on the parameters in the "local configuration file" or "detection configuration file", determine whether the self-check rules can be run on the current vehicle, or set the parameters in the self-check rules according to the rules in the configuration file to match the situation of the vehicle, and then determine the self-check items that can actually be executed in this self-check task;

[0162] Local configuration file: a table of relationships between vehicle status and self-check items, which is used as the basis for preprocessing the self-check task. This file is built into the self-check program and cannot be modified.

[0163] Detection configuration file: It has the same function as the "local configuration file" and serves as the basis for preprocessing the self-test task. However, this file is downloaded from the server by the self-test main control module through the networking module and will be downloaded again for each self-test. Generally speaking, the data in this file is more updated than the "local configuration file", so it is more accurate.

[0164] Functional self-check execution: according to the pre-processed target configuration file, cooperate with the information collection module and the vehicle control module to perform self-check on the vehicle function;

[0165] Self-test report generation: Generate a test report based on the test results and save it locally. At the same time, cooperate with the networking module to upload the test report to the server.

[0166] The following is based on Figure 4 The overall process of this application is described as follows:

[0167] 1. The inspector triggers vehicle inspection locally through the vehicle self-inspection task creation module in the UI display module, or the inspector creates a self-inspection task in the server. The server sends the inspection instruction to the corresponding vehicle to trigger vehicle inspection at an appropriate time according to the set self-inspection task delivery conditions;

[0168] 2. After receiving the self-test task, the self-test program on the vehicle side pre-processes the self-test task in combination with the test configuration file or the local configuration file, so that the self-test items can adapt to the current vehicle; the self-test program will give priority to the "test configuration file" during pre-processing, and will only use the "local configuration file" when the "test configuration file" does not exist or cannot be used;

[0169] 3. After the self-checking program completes the pre-processing of the self-checking task, it obtains the target configuration file, and performs vehicle detection on the current vehicle based on the target configuration file;

[0170] 4. After the vehicle inspection is completed, the self-inspection program generates an inspection report, which is displayed on the UI page and saved locally;

[0171] 5. The self-test program will upload the generated test report to the server; if the test report fails to be uploaded due to network reasons, the self-test program will try to upload the test report again after the network is restored.

[0172] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0173] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0174] The present application also provides a vehicle detection device for implementing the above vehicle detection method, the vehicle detection device comprising:

[0175] A first request module, configured to request a detection configuration file from a server if vehicle detection is triggered;

[0176] A first judgment module is used to judge whether the detection configuration file is obtained, and if the detection configuration file is not obtained, obtain a local configuration file;

[0177] A first generating module, used to generate a target configuration file according to the local configuration file;

[0178] The first execution module is used to execute a vehicle detection operation according to the target configuration file.

[0179] The vehicle detection device sets a local configuration file so that even if a network error occurs and the detection configuration file cannot be obtained, the vehicle detection can still be performed through the local configuration file, eliminating the dependence on the network environment and ensuring the stable execution of the vehicle detection.

[0180] It should be noted that the first request module in this embodiment can be used to execute step S10 in the embodiment of the present application, the first judgment module in this embodiment can be used to execute step S20 in the embodiment of the present application, the first generation module in this embodiment can be used to execute step S30 in the embodiment of the present application, and the first execution module in this embodiment can be used to execute step S40 in the embodiment of the present application.

[0181] Furthermore, the first generating module includes:

[0182] A first acquisition unit, configured to acquire function information of the current vehicle and determine a self-check rule in the local configuration file;

[0183] A first generating unit, configured to generate, for each of the self-check rules, a self-check item corresponding to the function information according to the self-check rule;

[0184] The first integration unit is used to integrate the self-check items to obtain the target configuration file.

[0185] Furthermore, the first generating unit includes:

[0186] A first judgment subunit, configured to judge whether the current vehicle includes a component corresponding to the self-check rule according to the function information;

[0187] The first execution subunit is configured to not generate the self-check item corresponding to the self-check rule if the current vehicle does not include a component corresponding to the self-check rule.

[0188] Furthermore, the first generating unit includes:

[0189] A first determining subunit, used to determine a target component corresponding to the function information;

[0190] A first matching subunit, configured to match a target state corresponding to the target component according to the self-checking rule;

[0191] The first generating subunit is used to generate the self-check item according to the target component and the target state.

[0192] Furthermore, the first execution module includes:

[0193] A second acquisition unit, configured to acquire a self-test item in the target configuration file and determine a target component of the self-test item;

[0194] A third acquisition unit, used to acquire a component state corresponding to the target component;

[0195] a fourth acquisition unit, configured to acquire a target state corresponding to the self-check item, and determine whether the component state is consistent with the target state;

[0196] The first execution unit is configured to, if the component state is consistent with the target state, determine that the self-check item has passed.

[0197] Further, the third acquisition unit includes:

[0198] A second judging subunit is used to judge whether the self-check item is a functional self-check item;

[0199] A second determining subunit is used to determine a functional component and a control signal corresponding to the functional self-test item if the self-test item is a functional self-test item;

[0200] a first sending subunit, configured to send the control signal to the functional component, so that the functional component performs a functional operation corresponding to the control signal, wherein the functional operation is associated with the target component;

[0201] The first acquisition subunit is used to acquire the component status corresponding to the target component.

[0202] Furthermore, the first execution module includes:

[0203] A second execution unit, configured to execute a vehicle detection operation according to the target configuration file to obtain a detection report;

[0204] A first determining unit, used to determine whether to establish a connection with the server;

[0205] The first sending unit is configured to store the detection report if a connection with the server is not established, and to send the detection report to the server after a connection with the server is established.

[0206] Reference Figure 5 In terms of hardware structure, the electronic device may include components such as a communication module 10, a memory 20, and a processor 30. In the electronic device, the processor 30 is connected to the memory 20 and the communication module 10 respectively, and a computer program is stored in the memory 20. The computer program is executed by the processor 30 at the same time, and the steps of the above method embodiment are implemented when the computer program is executed.

[0207] The communication module 10 can be connected to an external communication device through a network. The communication module 10 can receive requests from an external communication device, and can also send requests, instructions and information to the external communication device, which can be other electronic devices, servers or Internet of Things devices, such as televisions, etc.

[0208] The memory 20 can be used to store software programs and various data. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as requesting a detection configuration file from a server), etc.; the data storage area can include a database, and the data storage area can store data or information created according to the use of the system, etc. In addition, the memory 20 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0209] The processor 30 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 20, and calling data stored in the memory 20, so as to monitor the electronic device as a whole. The processor 30 may include one or more processing units; optionally, the processor 30 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 30.

[0210] although Figure 5 Although not shown, the electronic device may further include a circuit control module, which is used to connect to a power source to ensure the normal operation of other components. Figure 5 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0211] The present invention also provides a computer-readable storage medium on which a computer program is stored. The computer-readable storage medium may be Figure 5 The memory 20 in the electronic device may also be at least one of a ROM (Read-Only Memory) / RAM (Random Access Memory), a magnetic disk, and an optical disk. The computer-readable storage medium includes a number of instructions for enabling a terminal device with a processor (which may be a television, a car, a mobile phone, a computer, a server, a terminal, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0212] In the present invention, the terms "first", "second", "third", "fourth" and "fifth" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0213] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0214] Although the embodiments of the present invention have been shown and described above, the scope of protection of the present invention is not limited thereto. It is understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art can change, modify and replace the above embodiments within the scope of the present invention, and these changes, modifications and replacements should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.

Claims

1. A vehicle detection method, characterized in that: The vehicle detection method comprises: If vehicle detection is triggered, a detection configuration file is requested from the server; Determine whether the detection configuration file is obtained, and if the detection configuration file is not obtained, obtain the local configuration file; Generate a target configuration file according to the local configuration file; A vehicle detection operation is performed according to the target profile.

2. The vehicle detection method according to claim 1, characterized in that: Generating a target configuration file according to the local configuration file comprises: Acquire function information of the current vehicle and determine the self-check rules in the local configuration file; For each of the self-check rules, generating a self-check item corresponding to the functional information according to the self-check rule; The target configuration file is obtained by integrating the self-check items.

3. The vehicle detection method according to claim 2, characterized in that: Generating a self-check item corresponding to the function information according to the self-check rule includes: Determining whether the current vehicle includes a component corresponding to the self-check rule according to the function information; If the current vehicle does not include the component corresponding to the self-check rule, the self-check item corresponding to the self-check rule is not generated.

4. The vehicle detection method according to claim 2, characterized in that: Generating a self-check item corresponding to the function information according to the self-check rule includes: Determining a target component corresponding to the functional information; matching a target state corresponding to the target component according to the self-checking rule; The self-check item is generated according to the target component and the target state.

5. The vehicle detection method according to claim 1, characterized in that: The performing of the vehicle detection operation according to the target configuration file comprises: Obtaining a self-test item in the target configuration file, and determining a target component of the self-test item; Obtaining a component status corresponding to the target component; Obtaining a target state corresponding to the self-check item, and determining whether the component state is consistent with the target state; If the component state is consistent with the target state, the self-check item is detected to be passed.

6. The vehicle detection method according to claim 5, characterized in that: The obtaining of the component status corresponding to the target component comprises: Determining whether the self-check item is a functional self-check item; If the self-check item is a functional self-check item, determining a functional component and a control signal corresponding to the functional self-check item; sending the control signal to the functional component so that the functional component performs a functional operation corresponding to the control signal, wherein the functional operation is associated with the target component; Obtain the component status corresponding to the target component.

7. The vehicle detection method according to claim 1, characterized in that: The performing of the vehicle detection operation according to the target configuration file comprises: Performing a vehicle detection operation according to the target configuration file to obtain a detection report; Determining whether to establish a connection with the server; If the connection with the server is not established, the detection report is stored, and after the connection with the server is established, the detection report is sent to the server.

8. A vehicle detection device, characterized in that: The vehicle detection device comprises: A first request module, configured to request a detection configuration file from a server if vehicle detection is triggered; A first judgment module is used to judge whether the detection configuration file is obtained, and if the detection configuration file is not obtained, obtain a local configuration file; A first generating module, used to generate a target configuration file according to the local configuration file; The first execution module is used to execute a vehicle detection operation according to the target configuration file.

9. An electronic device, characterized in that: The electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the vehicle detection method according to any one of claims 1 to 7 when executed by the processor.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle detection method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Vehicle detection method and device, computer equipment, storage medium and program product

    CN119779693A