Vehicle pre-programming condition analysis method and device, equipment and storage medium

By obtaining and analyzing vehicle message information, determining the pre-programming condition check results, and directly feedback the root cause of the failure to meet the pre-programming conditions of the vehicle, solving the problem of the inability to confirm the cause in the prior art, and improving the efficiency of vehicle software flashing.

CN119270826APending Publication Date: 2025-01-07VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411402697.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The existing technology cannot directly confirm the root cause of the failure of vehicle pre-programming conditions, which leads to software flashing and failures, causing problems to be investigated.

Method used

By obtaining vehicle message information, determining the message flag bit information, pre-programming condition checks based on the flag bit information, analyzing the inspection results to analyze the error, and directly feedback the root cause of the problem.

Benefits of technology

It realizes direct analysis and feedback on the root causes of pre-programming conditions in the form of messages, simplifies the diagnosis process and improves the work efficiency of software flashing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119270826A_ABST
    Figure CN119270826A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle pre-programming condition analysis method and device, equipment and a storage medium, and relates to the technical field of vehicles, and the method comprises the steps: obtaining vehicle message information; determining message flag bit information according to the vehicle message information; pre-programming condition checking is carried out according to the message flag bit information, and a checking result is determined; vehicle message error analysis is carried out according to the checking result, direct analysis is carried out, and the root cause of the problem is fed back in a message mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, equipment and storage medium for analyzing vehicle pre-programmed conditions. Background Art

[0002] When using a diagnostic instrument to flash the software of a real vehicle ECU through the diagnostic CAN, it is often encountered that the software fails due to failure to pass the pre-programming condition check. The reason is that the ECU receives one or more pre-programming conditions that do not meet the requirements.

[0003] The current diagnostic service that performs pre-programmed condition checks cannot directly locate the root cause of non-compliance of pre-programmed conditions through the diagnostic message replied by the ECU. Further measures need to be taken to analyze and confirm, which makes it very difficult to troubleshoot the problem.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of this application is to provide a vehicle pre-programming condition analysis method, device, equipment and storage medium, aiming to solve the technical problem that it is currently impossible to directly confirm the root cause of the failure to meet the pre-programming conditions.

[0006] To achieve the above purpose, the present application proposes a vehicle pre-programming condition analysis method, the vehicle pre-programming condition analysis method comprising:

[0007] Get vehicle message information;

[0008] Determine message flag information according to the vehicle message information;

[0009] Perform a pre-programmed condition check according to the message flag information and determine the check result;

[0010] Carry out vehicle message error analysis based on the inspection result.

[0011] In one embodiment, after the step of determining the message flag information according to the vehicle message information, the method further includes:

[0012] Determining a pre-programmed condition check data byte according to the vehicle message, wherein the pre-programmed condition check data byte includes 8 bits;

[0013] The result bit of the pre-programmed condition check and the message flag information are stored through each bit of the pre-programmed condition check data byte, wherein the message flag information includes a vehicle speed flag, a gear flag, a parking position flag, a charging status flag and a high voltage status flag.

[0014] In one embodiment, the step of performing a pre-programmed condition check according to the message flag information and determining a check result includes:

[0015] Setting a signal parsing rule according to the message flag information;

[0016] Perform a pre-programmed condition check on the message flag information according to the signal analysis rule to obtain a check result;

[0017] When all the message flag information satisfies the preset conditions, determining that the inspection result is a pre-programmed condition inspection pass;

[0018] When the message flag bit information does not all meet the preset conditions, it is determined that the inspection result is that the pre-programmed condition inspection fails.

[0019] In one embodiment, the step of performing a pre-programmed condition check on the message flag information according to the signal parsing rule to obtain a check result includes:

[0020] Determine the vehicle speed, gear position, parking position, charging status and high voltage status corresponding to the message flag information according to the real-time data of the vehicle;

[0021] When the message flag information satisfies the corresponding pre-programmed conditions of the parsing rules, the bits corresponding to the pre-programmed condition check data bytes are set to 0;

[0022] If not, the bit corresponding to the pre-programmed condition check data byte is set to 1;

[0023] The vehicle message information is updated based on the processed pre-programmed condition check data bytes to obtain a check result.

[0024] In one embodiment, the step of updating the vehicle message information based on the processed pre-programmed condition check data bytes to obtain the check result further includes:

[0025] After all bytes corresponding to the message flag information of the pre-programmed condition check data byte are set, the result bit of the pre-programmed condition check data byte is set to obtain the target pre-programmed condition check data byte;

[0026] The vehicle message information is updated based on the target data byte structure to obtain an inspection result.

[0027] In one embodiment, the step of determining the message flag information according to the vehicle message information includes:

[0028] Get vehicle history data;

[0029] The real-time vehicle data and the historical vehicle data are analyzed, and the type of the message flag information is dynamically adjusted based on the analysis result.

[0030] In one embodiment, after the step of performing vehicle message error analysis according to the inspection result, the method further includes:

[0031] The inspection result is displayed through a user interface, and the conclusion after vehicle message error analysis of the inspection result is displayed to show the satisfaction of all pre-programmed conditions.

[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle pre-programming condition analysis device, the device comprising:

[0033] An information acquisition module, used to acquire vehicle message information;

[0034] An information processing module, used to determine message flag information according to the vehicle message information;

[0035] A checking module, used to perform a pre-programmed condition check according to the message flag information and determine the check result;

[0036] An analysis module is used to perform vehicle message error analysis based on the inspection result.

[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle pre-programming condition analysis device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the vehicle pre-programming condition analysis method as described above.

[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the vehicle pre-programming condition analysis method described above are implemented.

[0039] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the vehicle pre-programming condition analysis method described above are implemented.

[0040] One or more technical solutions proposed in this application have at least the following technical effects:

[0041] Obtain vehicle message information; determine message flag information based on the vehicle message information; perform pre-programmed condition checks based on the message flag information and determine the check results; perform vehicle message error analysis based on the check results, directly parse and feedback the root cause of the problem in the form of a message. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0043] In order to more clearly illustrate the embodiments of the present application 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.

[0044] Figure 1 A flow chart of the first embodiment of the vehicle pre-programming condition analysis method provided in the present application;

[0045] Figure 2 A flow chart of the second embodiment of the vehicle pre-programming condition analysis method provided in the present application;

[0046] Figure 3 A flowchart diagram of the third embodiment of the vehicle pre-programming condition analysis method of the present application is provided;

[0047] Figure 4 A flowchart of the ECU application software parsing pre-programming conditions provided in the third embodiment of the vehicle pre-programming condition parsing method of the present application;

[0048] Figure 5 This is a schematic diagram of the module structure of the vehicle pre-programming condition analysis device according to an embodiment of the present application;

[0049] Figure 6 Schematic diagram of the device structure of the hardware operating environment involved in the vehicle pre-programming condition analysis method in the embodiment of the present application.

[0050] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0051] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0052] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0053] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a vehicle pre-programming condition analysis device, etc. The following takes the vehicle pre-programming condition analysis device as an example to illustrate this embodiment and the following embodiments.

[0054] Based on this, the embodiment of the present application provides a vehicle pre-programming condition analysis method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the vehicle pre-programming condition analysis method of the present application.

[0055] In this embodiment, the vehicle pre-programming condition analysis method includes steps S10 to S40:

[0056] Step S10, obtaining vehicle message information;

[0057] It should be noted that the vehicle message information is used to transmit data between the vehicle's electronic control unit (ECU) and the diagnostic tool.

[0058] Step S20, determining message flag information according to vehicle message information;

[0059] It should be noted that the message flag information at least includes vehicle speed, gear position, parking position, charging status and high voltage status.

[0060] It should be understood that the flag bit in the vehicle diagnostic message is a bit used to indicate a specific state or attribute. In CAN (Controller Area Network) communication, a standard data frame contains multiple flag bits, each of which has a different meaning.

[0061] Understandably, these flags are extremely important to diagnostic tools and repair personnel, providing detailed information about the vehicle's status and potential problems. By analyzing these flags, the problem with the vehicle can be more accurately determined.

[0062] Further, obtaining vehicle history data;

[0063] Analyze the real-time vehicle data and the historical vehicle data, and dynamically adjust the type of message flag information based on the analysis results.

[0064] It should be noted that the collection of historical data of the vehicle may include previous diagnostic records, maintenance records, fault codes (DTC), etc.

[0065] In a specific implementation, statistical analysis, machine learning, or deep learning algorithms can be used to identify patterns or anomalies in the data, and then analyze vehicle behavior to identify patterns of normal operation and potential failures. Based on the analysis results, it is determined whether the type of message flag information needs to be adjusted.

[0066] For example, if a specific failure mode is discovered, it may be necessary to add a new flag bit to indicate this failure condition.

[0067] It should be noted that the type of pre-programmed conditional signal is not fixed. The purpose of analyzing the real-time vehicle data and the vehicle historical data and adjusting the pre-programmed conditional signal is to find the problem more accurately.

[0068] It should be understood that after determining the new message flag information, the vehicle's diagnostic system is updated in real time so that it can send a message containing the new flag.

[0069] Step S30, performing a pre-programmed condition check according to the message flag information and determining the check result;

[0070] In the specific implementation, the pre-programmed conditional check compares the flag bit to be read with the preset conditions to evaluate whether the vehicle meets these conditions. If a flag bit is out of the normal range, the corresponding message flag bit is set, and the comparison result is used to determine whether the check passes. If all preset conditions are met, the check result is "passed".

[0071] If any of the conditions are not met, the check result is "FAIL" and further diagnosis or repair is required.

[0072] Step S40: Perform vehicle message error analysis based on the inspection result.

[0073] In the specific implementation, the root cause of the problem is fed back in the form of a diagnostic message.

[0074] It should be noted that the inspection result is the updated vehicle message, and the possible scenarios are as follows:

[0075] Value(B) 0000 0011 0000 0101 0000 1001 0001 0001 0010 0001 Value (Hex) 0x03 0x05 0x09 0x11 0x21 Result interpretation Speed ​​is not satisfactory The gear is not satisfied Parking is not satisfactory Charging status is not satisfactory High pressure state is not satisfied

[0076] The above table only lists the scenarios where a single pre-programmed condition signal is not met. If multiple conditions are not met, they are judged according to the "&&" relationship.

[0077] It should be understood that the above table can be used to intuitively understand whether the corresponding message flag bit has passed the check, so as to directly locate the root cause of the failure to meet the pre-programmed conditions through the diagnostic message replied by the ECU.

[0078] Furthermore, after step S40, the method further includes:

[0079] The inspection results are displayed through the user interface, and the conclusions of the vehicle message error analysis are displayed to show the satisfaction of all pre-programmed conditions.

[0080] It should be noted that by displaying the inspection results through the user interface, the root cause of the failure to meet the pre-programmed conditions can be clearly and intuitively seen, so that the user or maintenance technician can quickly understand the status of the vehicle.

[0081] The present embodiment provides a vehicle pre-programming condition parsing method, which obtains vehicle message information; determines message flag information based on the vehicle message information; performs a pre-programming condition check based on the message flag information to determine the check result; performs a vehicle message error analysis based on the check result, directly analyzes and feeds back the root cause of the problem in the form of a message.

[0082] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 , step S20, the vehicle pre-programming condition analysis method further includes steps S201-S202:

[0083] Step S201, determining a pre-programmed condition check data byte according to a vehicle message, wherein the pre-programmed condition check data byte includes 8 bits;

[0084] In a specific implementation, data of 1 byte size is defined in the vehicle message, and the result and reason of failure of the pre-programmed inspection are fed back according to the content.

[0085] It should be noted that in vehicle diagnostic communication, when the ECU (Electronic Control Unit) receives a diagnostic request message, it will generate a response message based on the content of the request and the current state of the vehicle. Usually, if the requested service or data cannot be executed or provided, the ECU will reply with a negative response (Negative Response), which contains a negative response code (NRC)

[0086] Therefore, in this strategy, even if the pre-programming check fails, the ECU is required to reply with an affirmative response instead of replying to NRC22 "The requested service or data is not supported". The diagnostic message is defined as: Response: 0x71 0x01 0x02 0x03 0xXX.

[0087] Among them, 0x71 is the starting byte of the response message, which is usually a fixed value used to identify that this is a response message.

[0088] 0x01 is the service identifier (SID), which indicates the request service corresponding to the response message.

[0089] 0x02 is the sub-function or parameter byte, the specific meaning depends on the definition of the service.

[0090] 0x03 is the data length code (DLC), which indicates the length of the subsequent data field.

[0091] 0xXX is the data field, its content depends on the requested service and the current state of the ECU. In this case, the ECU will send a positive response instead of NRC even if the pre-programmed check does not pass.

[0092] If 0xXX is 0x00, the pre-programming condition check passes; if it is not 0x00, the pre-programming condition check fails.

[0093] Using a single byte to represent multiple possible error conditions gives the ECU the flexibility to indicate which specific pre-programmed condition was not met, allowing diagnostic tools to quickly locate the problem.

[0094] Step S202, storing the result bit of the pre-programmed condition check and the message flag information through each bit of the pre-programmed condition check data byte, wherein the message flag information includes a vehicle speed flag, a gear flag, a parking position flag, a charging status flag and a high voltage status flag.

[0095] It should be noted that the pre-programmed condition signal includes at least vehicle speed, gear position, parking position, charging status and high voltage status.

[0096] In the specific implementation, 0xXX bytes are used to define each pre-programmed condition signal to occupy 1 bit, and they are arranged in sequence. The vehicle speed, gear position, parking position, charging status and high voltage status correspond to bit1 to bit5 respectively, namely bit1: vehicle speed; bit2: gear position; bit3: parking position; bit4: charging status; bit5: high voltage status.

[0097] It should be noted that bit 6 and bit 7 are reserved for subsequent extended pre-programming condition signals.

[0098] As shown in the following table:

[0099]

[0100] It should be understood that in actual applications, the ECU's diagnostic software needs to set these bits according to the actual state of the vehicle. For example, if the vehicle speed exceeds a preset threshold, then bit 1 will be set to 1; if the vehicle speed is below the threshold, bit 1 will be set to 0. The same method applies to other conditional signals.

[0101] This bit mapping method provides a compact way to represent multiple status information in a single byte, making diagnostic communication more efficient. However, it also requires the diagnostic tool to correctly interpret the meaning of these bits and ensure that all diagnostic participants follow the same bit definition standards.

[0102] This embodiment provides a vehicle pre-programming condition parsing method. By defining a byte (0xXX) to represent the result and cause of the pre-programming check, the ECU can provide clear and detailed feedback information to the diagnostic tool. Even if the pre-programming check fails, the ECU can reply with an affirmative response instead of an error code (such as NRC22), which simplifies the diagnostic process and improves the efficiency of communication. The ECU can flexibly perform pre-programming condition checks and clearly feedback the inspection results and causes through diagnostic response messages, while retaining the possibility of expansion.

[0103] Based on the first and second embodiments of the present application, in the third embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be described in detail later. Figure 3 , step S30, including steps S301 to S304:

[0104] Step S301, setting a signal analysis rule according to the message flag information;

[0105] It should be noted that the signal parsing rules define how to extract and interpret the status of each signal from the message.

[0106] In the specific implementation, when the vehicle speed (VehSpeed), gear position (AcGear), parking position (EPBSts), charging status (ChargeSts), and high voltage status (HvSts) all meet the corresponding conditions (pre-programmed check passed).

[0107] Pre-programmed condition check failed:

[0108] When any of the vehicle speed (VehSpeed), gear position (AcGear), parking position (EPBSts), charging status (ChargeSts), and high voltage status (HvSts) does not meet the corresponding conditions (pre-programmed check fails).

[0109] Step S302, performing a pre-programmed condition check on the message flag information according to the signal analysis rule to obtain a check result;

[0110] It should be noted that the inspection result is the vehicle diagnostic message after the vehicle message is updated by the pre-programmed condition inspection data bytes.

[0111] Furthermore, the step S302 includes:

[0112] Determine the vehicle speed, gear position, parking position, charging status and high voltage status corresponding to the message flag information according to the real-time data of the vehicle;

[0113] When the message flag information satisfies the corresponding pre-programmed conditions of the parsing rules, the bits corresponding to the pre-programmed condition check data bytes are set to 0;

[0114] If not, the bit corresponding to the pre-programmed condition check data byte is set to 1;

[0115] The vehicle message information is updated based on the processed pre-programmed condition check data bytes to obtain the check result.

[0116] It should be understood that the vehicle real-time data is acquired in a targeted manner based on the pre-programmed conditions in the ECU diagnosis, including at least the vehicle speed (VehSpeed), gear position (AcGear), parking position (EPBSts), charging status (ChargeSts), and high voltage status (HvSts).

[0117] It should be noted that 0xXX bytes are used to define each pre-programmed condition signal as one bit, and they are arranged in sequence corresponding to bit1 to bit5. The ECU application software checks the pre-programmed condition signals respectively. If the conditions are met, the corresponding position is set to 0, otherwise it is set to 1. Bit 0 is the result bit of the pre-programmed condition check, and is set based on the setting results of bit1 to bit5.

[0118] In a specific implementation, the transmission control system is checked to determine the current gear position. If the gear position is in a specific gear position, such as the P gear, the pre-programmed condition signal position corresponding to the gear position is set to 0.

[0119] Use the parking sensor or switch to detect whether the vehicle is in the parked state. If the vehicle is parked, the pre-programmed condition signal position of the parking position is set to 0.

[0120] Check the battery management system to determine whether the vehicle is in a charging state and whether the charging state meets the requirements, such as not charging. If the conditions are met, set the pre-programmed condition signal position of the charging state to 0.

[0121] Monitor the status of the high-voltage electrical system to ensure that it is within a safe range and meets specific conditions, such as the high-voltage system is shut down. If the high-voltage status meets the pre-programmed conditions, set the pre-programmed condition signal position of the high-voltage status to 0.

[0122] Furthermore, the step of updating the vehicle message information based on the processed pre-programmed condition check data bytes to obtain the check result further includes:

[0123] After all bytes corresponding to the message flag information of the pre-programmed condition check data byte are set, the result bit of the pre-programmed condition check data byte is set to obtain the target pre-programmed condition check data byte;

[0124] The vehicle message information is updated based on the target data byte structure to obtain the inspection result.

[0125] It should be noted that if Figure 4 As shown, Figure 4 The pre-programmed condition flow chart is parsed for the ECU application software. Based on the judgment of five pre-programmed condition signals, the output of bit0 is obtained.

[0126] Step S303, when all the message flag information meets the preset conditions, determining that the check result is passed for the pre-programmed condition check;

[0127] In a specific implementation, when bit1==1 and bit2=1 and bit3==1 and bit4==1 and bit5==1 are satisfied, bit0 is set to 0, and it is determined that the pre-programming check has passed.

[0128] Step S304: when the message flag information does not all meet the preset conditions, it is determined that the check result is that the pre-programmed condition check fails.

[0129] In a specific implementation, when bit1==1 or bit2=1 or bit3==1 or bit4==1 or bit5==1 is satisfied, bit0 is set to 1, and it is determined that the pre-programming check fails.

[0130] It should be noted that when the check passes or fails, log information is recorded to facilitate problem tracking and system monitoring. If the system does not respond within a certain period of time during the pre-programmed condition check, a timeout will be triggered; define error codes for different error conditions and provide more detailed error information. Provide user interface feedback or warning information when the pre-programmed condition check fails; give the system or user a chance to retry when the pre-programmed condition check fails; pre-programmed condition checks may depend on other system states or variables, ensure that these dependencies are also within the scope of the check; add security-related checks to pre-programmed condition checks, such as permission verification, data encryption, etc.; monitor system performance during the check to ensure that the check operation does not have a negative impact on system performance; allow the check rules to be adjusted through configuration files or parameters to adapt to different application scenarios.

[0131] This embodiment provides a vehicle pre-programming condition analysis method, which directly analyzes and feedbacks the root cause of non-satisfaction of pre-programming conditions through ECU application software, greatly simplifies the process of data collection and problem analysis, and improves the efficiency of real vehicle ECU flashing.

[0132] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the vehicle pre-programming condition analysis method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0133] This application also provides a vehicle pre-programmed condition analysis device, please refer to Figure 5 , the vehicle pre-programming condition parsing device comprises:

[0134] The information acquisition module 10 is used to acquire vehicle message information;

[0135] The information processing module 20 is used to determine the message flag information according to the vehicle message information;

[0136] The checking module 30 is used to perform a pre-programmed condition check according to the message flag information and determine the check result;

[0137] The analysis module 40 is used to perform vehicle message error analysis based on the inspection results.

[0138] The vehicle preprogramming condition analysis device provided by the present application adopts the vehicle preprogramming condition analysis method in the above-mentioned embodiment, which can solve the technical problem that the root cause of the preprogramming condition not being satisfied cannot be directly confirmed at present. Compared with the prior art, the beneficial effects of the vehicle preprogramming condition analysis device provided by the present application are the same as the beneficial effects of the vehicle preprogramming condition analysis method provided by the above-mentioned embodiment, and the other technical features in the vehicle preprogramming condition analysis device are the same as the features disclosed in the above-mentioned embodiment method, which will not be repeated here.

[0139] In one embodiment, the information processing module 20 is further used to determine a pre-programmed condition check data byte according to the vehicle message, wherein the pre-programmed condition check data byte includes 8 bits;

[0140] Each bit of the pre-programmed condition check data byte stores the result bit of the pre-programmed condition check and the message flag information, wherein the message flag information includes a vehicle speed flag, a gear position flag, a parking position flag, a charging status flag and a high voltage status flag.

[0141] In one embodiment, the information processing module 20 is also used to obtain vehicle historical data;

[0142] Analyze the real-time vehicle data and the historical vehicle data, and dynamically adjust the type of message flag information based on the analysis results.

[0143] In one embodiment, the inspection module 30 is further used to set a signal analysis rule according to the message flag information;

[0144] Perform a pre-programmed condition check on the message flag information according to the signal analysis rules to obtain the check result;

[0145] When all the message flag information meets the preset conditions, the check result is determined to be the pre-programmed condition check passed;

[0146] When the message flag bit information does not all meet the preset conditions, the check result is determined to be a failure of the pre-programmed condition check.

[0147] In one embodiment, the inspection module 30 is further used to determine the vehicle speed, gear position, parking position, charging state and high voltage state corresponding to the message flag information according to the real-time data of the vehicle;

[0148] When the message flag information satisfies the corresponding pre-programmed conditions of the parsing rules, the bits corresponding to the pre-programmed condition check data bytes are set to 0;

[0149] If not, the bit corresponding to the pre-programmed condition check data byte is set to 1;

[0150] The vehicle message information is updated based on the processed pre-programmed condition check data bytes to obtain the check result.

[0151] In one embodiment, the checking module 30 is further used to set the result bit of the pre-programmed condition check data byte after all bytes corresponding to the message flag bit information of the pre-programmed condition check data byte are set, so as to obtain the target pre-programmed condition check data byte;

[0152] The vehicle message information is updated based on the target data byte structure to obtain the inspection result.

[0153] In one embodiment, the analysis module 40 is further used to display the inspection result through a user interface, and to display the conclusion after performing vehicle message error analysis on the inspection result, so as to show whether all pre-programmed conditions are met.

[0154] The present application provides a vehicle pre-programmed condition parsing device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle pre-programmed condition parsing method in the above-mentioned embodiment one.

[0155] Reference below Figure 6 , which shows a schematic diagram of the structure of a vehicle pre-programming condition parsing device suitable for implementing the embodiment of the present application. The vehicle pre-programming condition parsing device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The vehicle pre-programmed condition parsing device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0156] like Figure 6As shown, the vehicle pre-programmed condition parsing device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. Various programs and data required for the operation of the vehicle pre-programmed condition parsing device are also stored in RAM1004. The processing device 1001, ROM1002, and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 can allow the vehicle pre-programmed condition parsing device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a vehicle pre-programmed condition parsing device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.

[0157] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0158] The vehicle pre-programming condition analysis device provided by the present application adopts the vehicle pre-programming condition analysis method in the above embodiment, which can solve the technical problem that the root cause of the pre-programming condition failure cannot be directly confirmed. Compared with the prior art, the beneficial effects of the vehicle pre-programming condition analysis device provided by the present application are the same as the beneficial effects of the vehicle pre-programming condition analysis method provided by the above embodiment, and the other technical features in the vehicle pre-programming condition analysis device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0159] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0160] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0161] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, the computer-readable program instructions being used to execute the vehicle pre-programming condition parsing method in the above-mentioned embodiment.

[0162] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0163] The computer-readable storage medium may be included in the vehicle pre-programmed condition parsing device; or may exist independently without being assembled into the vehicle pre-programmed condition parsing device.

[0164] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the vehicle pre-programming condition parsing device, the vehicle pre-programming condition parsing device: obtains vehicle message information; determines message flag information based on the vehicle message information; performs pre-programming condition check based on the message flag information and determines the check result; and performs vehicle message error analysis based on the check result.

[0165] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0166] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0167] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0168] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle pre-programming condition parsing method, and can solve the technical problem that the root cause of the failure to directly confirm the pre-programming condition is not met. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the vehicle pre-programming condition parsing method provided by the above-mentioned embodiment, and will not be repeated here.

[0169] The present application also provides a computer program product, including a computer program, which implements the steps of the vehicle pre-programming condition analysis method as described above when executed by a processor.

[0170] The computer program product provided by the present application can solve the technical problem that it is currently impossible to directly confirm the root cause of the pre-programming condition not being met. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the vehicle pre-programming condition analysis method provided by the above embodiment, and will not be repeated here.

[0171] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A vehicle pre-programming condition analysis method, characterized in that: The vehicle pre-programming condition analysis method comprises: Get vehicle message information; Determine message flag information according to the vehicle message information; Perform a pre-programmed condition check according to the message flag information and determine the check result; Carry out vehicle message error analysis based on the inspection result.

2. The vehicle pre-programming condition analysis method according to claim 1, characterized in that: After the step of determining the message flag information according to the vehicle message information, the method further includes: Determining a pre-programmed condition check data byte according to the vehicle message, wherein the pre-programmed condition check data byte includes 8 bits; The result bit of the pre-programmed condition check and the message flag information are stored through each bit of the pre-programmed condition check data byte, wherein the message flag information includes a vehicle speed flag, a gear flag, a parking position flag, a charging status flag and a high voltage status flag.

3. The vehicle pre-programming condition analysis method according to claim 1, characterized in that: The step of performing a pre-programmed condition check according to the message flag information and determining the check result comprises: Setting a signal parsing rule according to the message flag information; Perform a pre-programmed condition check on the message flag information according to the signal analysis rule to obtain a check result; When all the message flag information satisfies the preset conditions, determining that the inspection result is a pre-programmed condition inspection pass; When the message flag bit information does not all meet the preset conditions, it is determined that the inspection result is that the pre-programmed condition inspection fails.

4. The vehicle pre-programming condition analysis method according to claim 3, characterized in that: The step of performing a pre-programmed condition check on the message flag information according to the signal parsing rule to obtain a check result comprises: Determine the vehicle speed, gear position, parking position, charging status and high voltage status corresponding to the message flag information according to the real-time data of the vehicle; When the message flag information satisfies the corresponding pre-programmed conditions of the parsing rules, the bits corresponding to the pre-programmed condition check data bytes are set to 0; If not, the bit corresponding to the pre-programmed condition check data byte is set to 1; The vehicle message information is updated based on the processed pre-programmed condition check data bytes to obtain a check result.

5. The vehicle pre-programming condition analysis method according to any one of claims 1 to 4, characterized in that: The step of updating the vehicle message information based on the processed pre-programmed condition check data byte to obtain the check result also includes: After all bytes corresponding to the message flag information of the pre-programmed condition check data byte are set, the result bit of the pre-programmed condition check data byte is set to obtain the target pre-programmed condition check data byte; The vehicle message information is updated based on the target data byte structure to obtain an inspection result.

6. The vehicle pre-programming condition analysis method according to claim 1, characterized in that: The step of determining the message flag information according to the vehicle message information comprises: Get vehicle history data; The real-time vehicle data and the historical vehicle data are analyzed, and the type of the message flag information is dynamically adjusted based on the analysis result.

7. The vehicle pre-programming condition analysis method as claimed in claim 1, characterized in that: After the step of performing vehicle message error analysis according to the inspection result, the method further includes: The inspection result is displayed through a user interface, and the conclusion after vehicle message error analysis of the inspection result is displayed to show the satisfaction of all pre-programmed conditions.

8. A vehicle pre-programming condition analysis device, characterized in that: The device comprises: An information acquisition module, used to acquire vehicle message information; An information processing module, used to determine message flag information according to the vehicle message information; A checking module, used to perform a pre-programmed condition check according to the message flag information and determine the check result; An analysis module is used to perform vehicle message error analysis based on the inspection result.

9. A vehicle pre-programmed condition analysis device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle pre-programming condition analysis method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle pre-programming condition analysis method as described in any one of claims 1 to 7 are implemented.