Vehicle flashing monitoring method, device and equipment and storage medium
By collecting and parsing vehicle write log files and matching target messages in the preset message library, efficient and accurate monitoring of vehicle writes is achieved, and inefficiency and inaccuracy problems caused by manual analysis in the prior art are solved.
Patent Information
- Application Number
- CN202510002777.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-04-29
AI Technical Summary
The prior art analyzes diagnostic messages by manually viewing relevant protocols, resulting in low monitoring efficiency and poor accuracy of vehicle flash writing.
Collect and write log files, parse the message information, match the preset message library to obtain the target message, and perform vehicle flash monitoring based on the message information and target message to obtain the monitoring results.
It improves the monitoring efficiency and accuracy of vehicle brushing, and overcomes the inefficiency and inaccuracy caused by manual analysis.
Smart Images

Figure CN119906700A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle monitoring technology, and in particular to a vehicle flash monitoring method, device, equipment and storage medium. Background Art
[0002] The flashing process of car flashing software is to transfer new or updated firmware (software) to the car electronic control unit (ECU). This process is essential for vehicle maintenance, upgrades and functional improvements. In the process of car flashing, parsing of diagnostic messages and flashing monitoring are key steps to ensure the correct flashing of firmware. However, existing technologies usually rely on manual review of relevant protocols to parse diagnostic messages, resulting in low efficiency and poor accuracy in vehicle flashing monitoring.
[0003] Therefore, how to improve the monitoring efficiency and accuracy of vehicle flashing is a problem that needs to be solved urgently.
[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 the present application is to provide a vehicle flash monitoring method, device, equipment and storage medium, aiming to solve the technical problem that the prior art parses diagnostic messages by manually checking relevant protocols, resulting in low efficiency and poor accuracy in vehicle flash monitoring.
[0006] To achieve the above purpose, the present application proposes a vehicle flash monitoring method, the method comprising:
[0007] Collecting a flash log file, wherein the flash log file is generated based on a vehicle diagnostic message;
[0008] Parsing the flash log file to obtain message information;
[0009] Matching a preset message library according to the message information to obtain a target message;
[0010] The vehicle flashing monitoring is performed according to the message information and the target message to obtain the monitoring result.
[0011] In one embodiment, parsing the flash log file to obtain message information includes:
[0012] Identifying a vehicle diagnostic request message and a vehicle diagnostic response message in the flash log file;
[0013] Respectively extracting the message identifier, message timestamp and message data byte of the vehicle diagnosis request message and the vehicle diagnosis response message;
[0014] The vehicle diagnosis request message, the vehicle diagnosis response message and the corresponding message identifier, message timestamp and message data bytes are used as message information.
[0015] In one embodiment, the vehicle flashing monitoring is performed according to the message information and the target message to obtain the monitoring result, including:
[0016] Performing message sequence verification and message content verification according to the message information and the target message to obtain a message sequence verification result and a message content verification result;
[0017] Vehicle flashing monitoring is performed according to the message sequence verification result and the message content verification result to obtain a monitoring result.
[0018] In one embodiment, performing message sequence verification and message content verification according to the message information and the target message to obtain a message sequence verification result and a message content verification result includes:
[0019] Determine the message content and the message timestamp according to the message information;
[0020] Determining message sequence information according to the message timestamp;
[0021] Determining a message sequence verification result according to the message sequence information and the target message;
[0022] A message content verification result is determined according to the message content and the target message.
[0023] In one embodiment, the step of matching a preset message library according to the message information to obtain a target message includes:
[0024] Matching the message identifier in the message information with the identifiers of each message in the preset message library to obtain a matching identifier;
[0025] The message corresponding to the matching identifier is used as the target message.
[0026] In one embodiment, before collecting and flashing the log file, the method further includes:
[0027] Real-time acquisition of request messages, response messages, and error messages sent and received during the vehicle flashing process;
[0028] A flash log file is generated according to the request message, the response message and the error information.
[0029] In one embodiment, the vehicle flashing monitoring is performed according to the message information and the target message, and after the monitoring result is obtained, the method further includes:
[0030] When the monitoring result is a flash interruption, comparing the message information with the target message to obtain a comparison result;
[0031] The interruption point is located and the interruption cause is analyzed according to the comparison result, and a flash report is generated.
[0032] In addition, to achieve the above purpose, the present application also proposes a vehicle flashing monitoring device, the vehicle flashing monitoring device comprising:
[0033] A collection module, used for collecting a flash log file, wherein the flash log file is generated based on a vehicle diagnostic message;
[0034] A parsing module, used for parsing the flash log file to obtain message information;
[0035] A matching module, used for matching a preset message library according to the message information to obtain a target message;
[0036] The monitoring module is used to perform vehicle flashing monitoring according to the message information and the target message to obtain the monitoring result.
[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle flash monitoring device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the vehicle flash monitoring method 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 flash monitoring 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 flash monitoring method described above are implemented.
[0040] The present application provides a vehicle flashing monitoring method, which first collects a flashing log file, wherein the flashing log file is generated based on a vehicle diagnostic message; parses the flashing log file to obtain message information; matches a preset message library according to the message information to obtain a target message; and performs vehicle flashing monitoring according to the message information and the target message to obtain a monitoring result, thereby effectively improving the monitoring efficiency and accuracy of the vehicle flashing.
[0041] In summary, this application can quickly and accurately obtain message information by collecting and parsing flash log files, and then accurately match the target message in the preset message library according to the message information, so as to perform vehicle flash monitoring in combination with the message information, and can quickly and accurately obtain monitoring results. It overcomes the technical defects of the prior art that the monitoring efficiency and accuracy of vehicle flash are low due to the manual viewing of relevant protocols to parse diagnostic messages, and can effectively improve the monitoring efficiency and accuracy of vehicle flash. 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 schematic diagram of a process flow provided for the first embodiment of the vehicle flash monitoring method of the present application;
[0045] Figure 2 A flow chart of the second embodiment of the vehicle flash monitoring method of the present application;
[0046] Figure 3 This is a schematic diagram of the module structure of the vehicle flash monitoring device according to an embodiment of the present application;
[0047] Figure 4 This is a schematic diagram of the device structure of the hardware operating environment involved in the vehicle flash monitoring method of the embodiment of the present application.
[0048] 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
[0049] 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.
[0050] 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.
[0051] The main solution of the embodiment of the present application is: collecting flash log files, wherein the flash log files are generated based on vehicle diagnostic messages; parsing the flash log files to obtain message information; matching a preset message library according to the message information to obtain a target message; performing vehicle flash monitoring according to the message information and the target message to obtain a monitoring result.
[0052] The flashing process of car flashing software is to transfer new or updated firmware (software) to the car electronic control unit (ECU). This process is crucial for vehicle maintenance, upgrades and functional improvements. In the process of car flashing, parsing of diagnostic messages and flashing monitoring are key steps to ensure the correct flashing of firmware. However, existing technologies usually rely on manual review of relevant protocols to parse diagnostic messages, resulting in low efficiency and poor accuracy in vehicle flashing monitoring. Therefore, how to improve the efficiency and accuracy of vehicle flashing monitoring is a problem that needs to be solved urgently.
[0053] This application can quickly and accurately obtain message information by collecting and parsing flash log files, and then accurately match the target message in the preset message library according to the message information, so as to perform vehicle flash monitoring in combination with the message information, and can quickly and accurately obtain monitoring results. It overcomes the technical defects of the prior art that the monitoring efficiency and accuracy of vehicle flash are low due to manual viewing of relevant protocols to parse diagnostic messages, and can effectively improve the monitoring efficiency and accuracy of vehicle flash.
[0054] 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 flash monitoring device, etc. The following takes the vehicle flash monitoring device as an example to illustrate this embodiment and the following embodiments.
[0055] Based on this, the embodiment of the present application provides a vehicle flash monitoring method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the vehicle flash monitoring method of the present application.
[0056] In this embodiment, the vehicle flash monitoring method includes steps S10 to S40:
[0057] Step S10, collecting a flash log file, wherein the flash log file is generated based on a vehicle diagnostic message.
[0058] It should be noted that the flash log file refers to a record file automatically generated by the vehicle's diagnostic system during the vehicle's diagnostic flash process. This file records all diagnostic messages during the flash process, including vehicle diagnostic request messages and vehicle diagnostic response messages. The flash log file usually contains information such as the message identifier, timestamp, and data bytes, which is not specifically limited in this embodiment.
[0059] In a feasible implementation manner, before step S10, it also includes: acquiring in real time the request message, response message and error information sent and received during the vehicle flashing process; and generating a flashing log file according to the request message, the response message and the error information.
[0060] It should be noted that the request message refers to the message sent by the vehicle to the diagnostic system to request diagnostic services, while the response message is the reply of the diagnostic system to the request message. Error information usually includes any abnormal conditions that occur during the flashing process, which is crucial for subsequent flashing monitoring. By obtaining this information in real time and generating a flashing log file, the real-time and accuracy of the monitoring process can be ensured.
[0061] Step S20, parsing the flash log file to obtain message information.
[0062] It should be noted that the collected flash log files can be in .asc or .csv format. Different parsing strategies can be used for flash log files of different formats. For example, for .asc files, you can read line by line and use a specific delimiter to split the data, while for .csv files, you can use commas as delimiters to extract data. The parsing algorithm needs to be able to handle various possible message formats and encoding methods to ensure that message information can be accurately extracted from different types of flash log files.
[0063] It is understandable that the message information includes key information such as the message identifier, timestamp, data bytes, etc., and this embodiment does not impose any specific limitation on this.
[0064] In a feasible implementation, the step S20 may include: identifying the vehicle diagnostic request message and the vehicle diagnostic response message in the flash log file; extracting the message identifier, message timestamp and message data bytes of the vehicle diagnostic request message and the vehicle diagnostic response message respectively; and using the vehicle diagnostic request message, the vehicle diagnostic response message and the corresponding message identifier, message timestamp and message data bytes as message information.
[0065] It should be noted that the flash log file usually contains a large number of diagnostic messages, such as vehicle diagnostic request messages and vehicle diagnostic response messages. The message identifier, or message ID, is a code that can uniquely identify each message. The message timestamp records the specific time when the message is sent or received. The message data bytes contain the specific content of the message. By extracting these key information, accurate data support can be provided for subsequent message matching and monitoring.
[0066] Step S30, matching a preset message library according to the message information to obtain a target message.
[0067] It should be noted that the preset message library, that is, the preset standard flashing process message library, refers to a database containing all possible messages in the standard flashing process. The message library is arranged in the order of the flashing process, and each message is associated with a specific flashing step, ensuring the correctness and integrity of the flashing process. The message information in the preset message library includes the message identification, timestamp, data bytes, etc. This information is matched with the message information in the flashing log file to verify whether the flashing process is carried out according to the established process. In this way, any deviations or errors in the flashing process can be effectively detected, thereby ensuring the quality and reliability of vehicle flashing.
[0068] In a feasible implementation, the step S30 may include: matching the message identifier in the message information with the identifiers of each message in the preset message library to obtain a matching identifier; and using the message corresponding to the matching identifier as the target message.
[0069] It should be noted that the matching process is achieved by comparing the message identifier in the message information with the message identifier stored in the preset message library. If a matching identifier is found, the message is considered to be the target message, which is used to verify whether the message corresponding to the message identifier in the message information complies with the expected flashing process. If a matching identifier is not found in the preset message library, it indicates that there may be anomalies in the flashing process, which requires further analysis and processing. In this way, it can be ensured that each message is strictly verified, thereby improving the accuracy and reliability of the flashing process.
[0070] Step S40, performing vehicle flash monitoring according to the message information and the target message to obtain a monitoring result.
[0071] It should be noted that the monitoring process includes but is not limited to checking whether the timestamp of the message conforms to the preset flashing time sequence, and whether the message data bytes are consistent with the data in the preset message library. If all messages conform to the expected flashing process, the monitoring results indicate that the flashing process is normal and the vehicle flashing is successful. Conversely, if the timestamp sequence is wrong or the data bytes do not match, the monitoring results will point out the problems in the flashing process, thereby providing maintenance personnel with clear fault diagnosis information. The monitoring results can be presented in a variety of forms, for example, displaying the real-time status of the flashing process through a graphical interface, or generating a detailed monitoring report for subsequent analysis. In addition, the monitoring system can also automatically perform some preset operations based on the monitoring results, such as automatically stopping the flashing process when an error is detected to prevent potential damage. Through such a monitoring mechanism, the efficiency and safety of vehicle flashing can be significantly improved.
[0072] In a feasible implementation manner, after step S40, it also includes: when the monitoring result is a flash interruption, comparing the message information with the target message to obtain a comparison result; locating the interruption point and analyzing the interruption cause according to the comparison result, and generating a flash report.
[0073] It should be noted that flash interruption refers to the failure of the flash operation to be completed due to various reasons during the vehicle flash process. This may be caused by hardware failure, software error, communication interruption or other unexpected events. When an interruption occurs, it is necessary to quickly locate the specific location of the interruption and analyze the cause of the interruption so as to take appropriate measures to repair it.
[0074] It is understandable that when any error message or abnormal behavior is identified in the flash log, the corresponding message is compared with the standard process of the target message to determine the possible problem point.
[0075] In the specific implementation, during the flashing process, real-time feedback on the progress of the flashing is provided, such as the number and total number of data blocks currently being transmitted; after the flashing is completed, a summary report is output, including whether the flashing is successful, firmware version information, flashing time, etc.; if there is an interruption or failure during the flashing process, the flashing log is analyzed to determine the interruption point and possible causes; the progress and results of the flashing process are displayed through charts or graphical interfaces, so that users can intuitively understand the flashing status; a detailed flashing report is generated, including detailed information on all key steps, screenshots of any errors or exceptions, and suggested solutions; based on the flashing results, suggestions for subsequent operations are provided, such as re-flashing, contacting technical support, or executing specific diagnostic procedures, which can significantly improve the automation and accuracy of flashing process monitoring, reduce manual intervention, reduce error rates, and quickly locate the causes of flashing interruptions.
[0076] The present embodiment provides a vehicle flashing monitoring method, which first collects a flashing log file, wherein the flashing log file is generated based on a vehicle diagnostic message; parses the flashing log file to obtain message information; matches a preset message library according to the message information to obtain a target message; and performs vehicle flashing monitoring according to the message information and the target message to obtain a monitoring result, thereby effectively improving the monitoring efficiency and accuracy of the vehicle flashing.
[0077] In summary, this embodiment can quickly and accurately obtain message information by collecting and parsing the flash log file, and then accurately match the target message in the preset message library according to the message information, so as to perform vehicle flash monitoring in combination with the message information, and quickly and accurately obtain the monitoring results. This overcomes the technical defects of the prior art that the monitoring efficiency and accuracy of vehicle flash are low due to the manual viewing of relevant protocols to parse the diagnostic message, and can effectively improve the monitoring efficiency and accuracy of vehicle flash.
[0078] 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 refer to the above introduction, and will not be repeated later. Figure 2 , the step S40 further includes steps S401-S402:
[0079] Step S401, performing message sequence verification and message content verification according to the message information and the target message, and obtaining a message sequence verification result and a message content verification result.
[0080] It should be noted that message sequence verification refers to checking whether the time sequence of messages during the flashing process is correct. Message sequence verification can be achieved by comparing the timestamps of the messages to obtain the message sequence verification result.
[0081] It can be understood that message content verification refers to verifying whether the message data bytes are consistent with the data in the preset message library to ensure the correctness of the message content.
[0082] In a feasible implementation, step S401 specifically includes: determining the message content and the message timestamp based on the message information; determining the message sequence information based on the message timestamp; determining the message sequence verification result based on the message sequence information and the target message; determining the message content verification result based on the message content and the target message.
[0083] It should be noted that in this embodiment, the message sequence verification is achieved by comparing the timestamps of the messages. The message sequence information can be determined according to the message timestamp sequence. If the message sequence information does not conform to the standard flashing process corresponding to the target message, it indicates that there may be a time deviation in the flashing process, which may be caused by network delay, message loss or other reasons. In this way, the time deviation problem in the flashing process can be discovered and corrected in time to ensure the smooth progress of the flashing.
[0084] It is understandable that message sequence information refers to the time sequence followed by the message during the data transmission process. In vehicle flash monitoring, message sequence information is crucial because it ensures the correctness and integrity of the flash operation. If the order in which the messages are sent is inconsistent with the preset flash process, it may cause flash failure or abnormal function of the vehicle system. Therefore, the monitoring system needs to be able to accurately verify the order of the messages to ensure that each message is processed in the correct order. In addition, the verification of message sequence information can also help identify and eliminate problems caused by network delays, message loss or repeated transmission.
[0085] It is worth noting that message content verification ensures the accuracy of the message content by comparing the message data bytes with the data of the target message in the preset message library. If the message content is inconsistent with the data of the target message, it means that the message may have been tampered with or damaged during transmission, and further inspection and processing are required. Through such a double verification mechanism, the integrity of the vehicle flashing process and the accuracy of the data can be ensured, thereby improving the reliability of the flashing process. This monitoring method can greatly reduce vehicle failures caused by flashing errors, improve vehicle maintenance efficiency and user experience.
[0086] Step S402, performing vehicle flash monitoring according to the message sequence verification result and the message content verification result to obtain a monitoring result.
[0087] It should be noted that if the message sequence verification results and the message content verification results indicate that both the message sequence and content meet the preset standards, the monitoring results will show that the flashing process is normal and the vehicle flashing is successful.
[0088] It is understandable that if there are inconsistencies, the monitoring results will show that the refresh is interrupted / failed, and the system will provide interruption point location and interruption cause analysis to help maintenance personnel quickly locate the problem and take corresponding measures. The monitoring system can also automatically perform preset operations based on the monitoring results, such as automatically stopping the flashing process when an error is detected to prevent potential damage. By providing real-time feedback on the progress of the flashing, such as the number and total number of data blocks currently being transmitted, and outputting a summary report after the flashing is completed, including whether the flashing is successful, firmware version information, flashing time, etc., the efficiency and safety of vehicle flashing can be significantly improved.
[0089] In this embodiment, by performing message sequence verification and message content verification based on the message information and the target message, a double verification mechanism can be used to ensure the integrity of the vehicle flashing process and the accuracy of the data. Then, the vehicle flashing monitoring is performed based on the message sequence verification results and the message content verification results to obtain the monitoring results, which can effectively improve the accuracy of the monitoring results.
[0090] 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 flash monitoring method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0091] This application also provides a vehicle flash monitoring device, please refer to Figure 3 , the vehicle flashing monitoring device comprises:
[0092] The collection module 10 is used to collect the flash log file, wherein the flash log file is generated based on the vehicle diagnosis message.
[0093] The parsing module 20 is used to parse the flash log file to obtain message information.
[0094] The matching module 30 is used to match the preset message library according to the message information to obtain the target message.
[0095] The monitoring module 40 is used to perform vehicle flashing monitoring according to the message information and the target message to obtain a monitoring result.
[0096] The present embodiment provides a vehicle flashing monitoring device, which collects a flashing log file, wherein the flashing log file is generated based on a vehicle diagnostic message; the flashing log file is parsed to obtain message information; a preset message library is matched according to the message information to obtain a target message; the vehicle flashing is monitored according to the message information and the target message to obtain a monitoring result, which can effectively improve the monitoring efficiency and accuracy of the vehicle flashing.
[0097] In summary, this embodiment can quickly and accurately obtain message information by collecting and parsing the flash log file, and then accurately match the target message in the preset message library according to the message information, so as to perform vehicle flash monitoring in combination with the message information, and quickly and accurately obtain the monitoring results. This overcomes the technical defects of the prior art that the monitoring efficiency and accuracy of vehicle flash are low due to the manual viewing of relevant protocols to parse the diagnostic message, and can effectively improve the monitoring efficiency and accuracy of vehicle flash.
[0098] Optionally, the parsing module 20 is also used to identify the vehicle diagnostic request message and the vehicle diagnostic response message in the flash log file; respectively extract the message identifier, message timestamp and message data bytes of the vehicle diagnostic request message and the vehicle diagnostic response message; and use the vehicle diagnostic request message, the vehicle diagnostic response message and the corresponding message identifier, message timestamp and message data bytes as message information.
[0099] Optionally, the monitoring module 40 is also used to perform message sequence verification and message content verification according to the message information and the target message to obtain message sequence verification results and message content verification results; perform vehicle flashing monitoring according to the message sequence verification results and the message content verification results to obtain monitoring results.
[0100] Optionally, the monitoring module 40 is also used to determine the message content and message timestamp based on the message information; determine the message sequence information based on the message timestamp; determine the message sequence verification result based on the message sequence information and the target message; determine the message content verification result based on the message content and the target message.
[0101] Optionally, the matching module 30 is further configured to match the message identifier in the message information with the identifier of each message in the preset message library to obtain a matching identifier; and use the message corresponding to the matching identifier as the target message.
[0102] Optionally, the vehicle flash monitoring device also includes a generation module, which is used to obtain in real time the request messages, response messages and error information sent and received during the vehicle flashing process; and generate a flash log file according to the request messages, the response messages and the error information.
[0103] Optionally, the vehicle flashing monitoring device also includes an analysis module, which is used to compare the message information with the target message to obtain a comparison result when the monitoring result is a flashing interruption; locate the interruption point and analyze the interruption cause according to the comparison result, and generate a flashing report.
[0104] The vehicle flash monitoring device provided by the present application adopts the vehicle flash monitoring method in the above embodiment, which can solve the technical problem that the prior art manually checks the relevant protocols to parse the diagnostic message, resulting in low efficiency and poor accuracy in vehicle flash monitoring. Compared with the prior art, the beneficial effects of the vehicle flash monitoring device provided by the present application are the same as the beneficial effects of the vehicle flash monitoring method provided by the above embodiment, and the other technical features of the vehicle flash monitoring device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0105] The present application provides a vehicle flash monitoring device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle flash monitoring method in the above-mentioned embodiment one.
[0106] Reference below Figure 4 , which shows a schematic diagram of the structure of a vehicle flash monitoring device suitable for implementing the embodiment of the present application. The vehicle flash monitoring 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 4 The vehicle flash monitoring 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.
[0107] like Figure 4As shown, the vehicle flash monitoring 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. In RAM1004, various programs and data required for the operation of the vehicle flash monitoring device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the vehicle flash monitoring device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a vehicle flash monitoring 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 can be implemented or have alternatively.
[0108] 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.
[0109] The vehicle flash monitoring device provided by the present application adopts the vehicle flash monitoring method in the above embodiment, which can solve the technical problem that the prior art manually checks the relevant protocols to parse the diagnostic message, resulting in low efficiency and poor accuracy in vehicle flash monitoring. Compared with the prior art, the beneficial effects of the vehicle flash monitoring device provided by the present application are the same as the beneficial effects of the vehicle flash monitoring method provided by the above embodiment, and the other technical features of the vehicle flash monitoring device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0110] 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.
[0111] 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.
[0112] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the vehicle flash monitoring method in the above-mentioned embodiment.
[0113] 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.
[0114] The computer-readable storage medium may be included in the vehicle flash monitoring device; or may exist independently without being assembled into the vehicle flash monitoring device.
[0115] 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 flash monitoring device, the vehicle flash monitoring device: collects a flash log file, wherein the flash log file is generated based on a vehicle diagnostic message; parses the flash log file to obtain message information; matches a preset message library according to the message information to obtain a target message; performs vehicle flash monitoring according to the message information and the target message to obtain a monitoring result.
[0116] 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).
[0117] 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.
[0118] 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.
[0119] 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 flash monitoring method, and can solve the technical problem that the prior art manually checks the relevant protocols to parse the diagnostic message, resulting in low efficiency and poor accuracy in vehicle flash monitoring. 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 flash monitoring method provided by the above-mentioned embodiment, and will not be repeated here.
[0120] The present application also provides a computer program product, including a computer program, which implements the steps of the vehicle flash monitoring method as described above when executed by a processor.
[0121] The computer program product provided by the present application can solve the technical problem that the existing technology parses the diagnostic message by manually checking the relevant protocols, resulting in low efficiency and poor accuracy in monitoring vehicle flashing. Compared with the existing technology, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the vehicle flashing monitoring method provided by the above embodiment, which will not be repeated here.
[0122] 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 flash monitoring method, characterized in that: The method comprises: Collecting a flash log file, wherein the flash log file is generated based on a vehicle diagnostic message; Parsing the flash log file to obtain message information; Matching a preset message library according to the message information to obtain a target message; The vehicle flashing monitoring is performed according to the message information and the target message to obtain the monitoring result.
2. The method according to claim 1, characterized in that The parsing of the flash log file to obtain message information includes: Identifying a vehicle diagnostic request message and a vehicle diagnostic response message in the flash log file; Respectively extracting the message identifier, message timestamp and message data byte of the vehicle diagnosis request message and the vehicle diagnosis response message; The vehicle diagnosis request message, the vehicle diagnosis response message and the corresponding message identifier, message timestamp and message data bytes are used as message information.
3. The method according to claim 1, characterized in that The vehicle flashing monitoring is performed according to the message information and the target message to obtain the monitoring result, including: Performing message sequence verification and message content verification according to the message information and the target message to obtain a message sequence verification result and a message content verification result; Vehicle flashing monitoring is performed according to the message sequence verification result and the message content verification result to obtain a monitoring result.
4. The method according to claim 3, characterized in that The performing message sequence verification and message content verification according to the message information and the target message to obtain a message sequence verification result and a message content verification result includes: Determine the message content and the message timestamp according to the message information; Determining message sequence information according to the message timestamp; Determining a message sequence verification result according to the message sequence information and the target message; A message content verification result is determined according to the message content and the target message.
5. The method according to claim 2, characterized in that The step of matching a preset message library according to the message information to obtain a target message includes: Matching the message identifier in the message information with the identifiers of each message in the preset message library to obtain a matching identifier; The message corresponding to the matching identifier is used as the target message.
6. The method according to any one of claims 1 to 5, characterized in that Before collecting and writing log files, the method further includes: Real-time acquisition of request messages, response messages, and error messages sent and received during the vehicle flashing process; A flash log file is generated according to the request message, the response message and the error information.
7. The method according to any one of claims 1 to 5, characterized in that After the vehicle flashing monitoring is performed according to the message information and the target message and the monitoring result is obtained, the method further includes: When the monitoring result is a flash interruption, comparing the message information with the target message to obtain a comparison result; The interruption point is located and the interruption cause is analyzed according to the comparison result, and a flash report is generated.
8. A vehicle flashing monitoring device, characterized in that: The vehicle flashing monitoring device comprises: A collection module, used for collecting a flash log file, wherein the flash log file is generated based on a vehicle diagnostic message; A parsing module, used for parsing the flash log file to obtain message information; A matching module, used for matching a preset message library according to the message information to obtain a target message; The monitoring module is used to perform vehicle flashing monitoring according to the message information and the target message to obtain the monitoring result.
9. A vehicle flash monitoring device, characterized in that: The vehicle flash monitoring device comprises: a memory, a processor, and a vehicle flash monitoring program stored in the memory and executable on the processor, wherein the vehicle flash monitoring program is configured to implement the vehicle flash monitoring method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a vehicle flash monitoring program, and when the vehicle flash monitoring program is executed by the processor, the vehicle flash monitoring method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method for automatically extracting flashing data information and lower computer applying method
CN114137938A
Brushing method and device for electronic control unit of vehicle and diagnostic equipment
CN114281065A
Method, device and equipment for verifying vehicle flashing process and storage medium
CN118113331A
Apparatus for monitoring of brushes, in particular slipring or commutator brushes, on electrical machines
US20090153089A1