A vehicle automatic diagnosis method and system based on MES system
Automated vehicle diagnosis through the MES system solves the problems of low vehicle diagnosis efficiency and difficult data maintenance, achieves efficient and accurate vehicle information diagnosis and result storage, and improves production efficiency.
Patent Information
- Application Number
- CN202310308140.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2043-03-28
AI Technical Summary
In existing technologies, vehicle diagnosis efficiency is low and data maintenance is difficult. Especially when diagnosing multiple models and a large number of vehicles, there is a high risk of errors in human management, resulting in reduced production efficiency.
The automatic vehicle diagnosis method based on the MES system is adopted. The client messages are monitored in real time by the server, the vehicle information is obtained and sent to the client for diagnosis. The client displays the diagnosis results and stores them on the server, and the vehicle information in the MES system is used for automatic diagnosis.
It improves the efficiency of vehicle diagnosis, reduces the diagnostic burden on production personnel, ensures the accuracy and storage precision of diagnostic data, and simplifies the diagnostic management of multiple models.
Smart Images

Figure CN116224968B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile technology, and in particular to a whole vehicle automatic diagnosis method and system based on an MES system. Background Art
[0002] With the development of the automobile industry, the functional configuration of the whole vehicle is constantly upgraded. Before the whole vehicle rolls off the production line, it needs to go through the whole vehicle diagnosis process to determine whether the configuration information and functions of the whole vehicle are normal and meet the standards for offline sales.
[0003] In the existing technology, due to the large number of vehicles that need to be diagnosed and the different diagnostic specifications for different models, the traditional method relies on a large amount of manpower to manage and maintain each diagnostic data for different vehicle platforms. The problem with this method is that the risk of error is high. With the increasing number of vehicles to be tested and the functions to be tested, the pressure on the vehicle production line will continue to increase, resulting in reduced production efficiency and increased difficulty in maintaining the accuracy of diagnostic data. Summary of the Invention
[0004] In view of this, an embodiment of the present invention provides a whole vehicle automatic diagnosis method and system based on the MES system to automatically complete the detection of the whole vehicle diagnostic function, so as to solve the problems in the existing technology of low diagnostic efficiency and difficulty in data maintenance due to the large amount of diagnostic tasks.
[0005] A first aspect of an embodiment of the present invention provides a vehicle automatic diagnosis method based on an MES system, comprising:
[0006] Determine whether a wake-up instruction sent by the client is monitored every first preset time, and if the wake-up instruction is received, receive a message sent by the client within a second preset time and determine whether the message type is a running message;
[0007] If the message type is an operation message, the server retrieves the vehicle information from the MES system and sends the vehicle information to the client, so that the client enters the diagnostic mode to diagnose the vehicle information;
[0008] A data packet sent by the client is received every third preset time, the data packet including vehicle information and detection information, and the data packet is sent to the display end so that the display end displays the detection information in the data packet.
[0009] In summary, according to the above-mentioned method for automatic diagnosis of a whole vehicle based on the MES system, the server monitors the operation message of the client in real time, obtains the vehicle information and sends it to the client, the client performs diagnosis and sends the diagnosis result to the server, the server stores the diagnosis result and sends it to the display end, ensuring the accuracy of the storage of the diagnosis result, and the display end parses the diagnosis result and displays it so that the diagnosis result can be displayed to the production personnel. Specifically, it is determined whether the wake-up command sent by the client is monitored every first preset time. If the wake-up command is received, the message sent by the client is received within the second preset time, and it is determined whether the message type is an operation message; if the message type is an operation message, the vehicle information in the MES system is retrieved on the server end, and the vehicle information is sent to the client so that the client enters the diagnostic mode to diagnose the vehicle information; every third preset time, a data packet sent by the client is received, the data packet includes vehicle information and detection information, and the data packet is sent to the display end so that the display end displays the detection information in the data packet. The present invention greatly improves the diagnostic efficiency by automatically diagnosing the whole vehicle, helps production personnel reduce the burden of diagnostic work, and improves the accuracy of diagnostic data storage through automatic storage.
[0010] Furthermore, if the message type is an operation message, the step of retrieving vehicle information from the MES system on the server side and sending the vehicle information to the client side so that the client side enters a diagnostic mode to diagnose the vehicle information includes:
[0011] The client diagnoses the vehicle information according to the diagnostic specifications. The vehicle information includes vehicle model information, VIN code, communication parameters, function list, data stream, data stream standard data and flash file. After the diagnosis is completed, the vehicle information is compared with the standard value in the diagnostic specification. If the comparison is consistent, it means that the detection is successful. The detection result is encapsulated into a data packet and sent to the server.
[0012] From the above technical solutions, it can be seen that a comprehensive diagnosis is required before the entire vehicle rolls off the production line. Therefore, the diagnostic content includes all information about the vehicle's software and hardware. By diagnosing the vehicle's software and hardware according to the diagnostic specifications, it can be ensured that all functions of the vehicle meet the production line requirements.
[0013] Furthermore, the step of receiving a data packet sent by the client at every third preset time, the data packet including vehicle information and detection information, and sending the data packet to the display end so that the display end displays the detection information in the data packet includes:
[0014] The client determines whether the data packet is successfully sent to the server. If the data packet is successfully sent to the server, the client exits the diagnostic mode. The server determines whether the data packet is successfully sent to the display end. If the data packet is successfully sent to the display end, the server stores the data packet.
[0015] After receiving the data packet, the display end parses it to determine whether the vehicle information in the data packet is an existing vehicle. If it is an existing vehicle, the detection information in the data packet is added to the child node of the vehicle. If it is not an existing vehicle, a parent node is created for the vehicle, and the detection information in the data packet is added as a child node under the parent node, and the diagnostic results are displayed.
[0016] Furthermore, the method further includes: determining whether a wake-up instruction sent by the client is monitored every first preset time; if the wake-up instruction is received, receiving a message sent by the client within a second preset time, and determining whether the message type is a running message;
[0017] It is determined whether the display program of the display end and the diagnostic program of the client are started. If both the display program of the display end and the diagnostic program of the client are started, the display end and the client are respectively connected to the server.
[0018] Furthermore, the method further includes: determining whether a wake-up instruction sent by the client is monitored every first preset time; if the wake-up instruction is received, receiving a message sent by the client within a second preset time, and determining whether the message type is a running message;
[0019] If the information is display information, the information is sent to the display end, and the display end parses the information to determine whether the vehicle information in the data packet is an existing vehicle. If it is an existing vehicle, the detection information in the data packet is added to the child node of the vehicle. If it is not an existing vehicle, a parent node is created for the vehicle, and the detection information in the data packet is added as a child node under the parent node, and the diagnostic result is displayed.
[0020] From the above technical solution, it can be seen that since the diagnostic content of a car includes multiple aspects, each car contains multiple diagnostic data. For example, the communication parameter diagnosis of vehicle A is successful, the data flow diagnosis of vehicle A is successful, and the flash file diagnosis of vehicle A is successful. In order to facilitate the staff to observe all the diagnostic data of vehicle A, vehicle A can be used as the parent node of the tree or the first-level list item of the list, and multiple diagnostic information can be used as child nodes under the parent node or child list items under the first-level list item. This can improve the work efficiency of the staff and reduce the time spent on reading diagnostic information.
[0021] A second aspect of an embodiment of the present invention provides a vehicle automatic diagnosis system based on an MES system, comprising:
[0022] a data receiving module, configured to determine whether a wake-up instruction sent by the client is monitored at intervals of a first preset time; if the wake-up instruction is received, receive a message sent by the client within a second preset time, and determine whether the message type is a running message;
[0023] A diagnostic module is used to retrieve vehicle information from the MES system on the server side if the message type is an operation message, and send the vehicle information to the client side so that the client side enters a diagnostic mode to diagnose the vehicle information;
[0024] The result display module is used to receive a data packet sent by the client every third preset time, wherein the data packet includes vehicle information and detection information, and send the data packet to the display end so that the display end displays the detection information in the data packet.
[0025] Furthermore, the diagnostic module is further configured to:
[0026] The client diagnoses the vehicle information according to the diagnostic specifications. The vehicle information includes vehicle model information, VIN code, communication parameters, function list, data stream, data stream standard data and flash file. After the diagnosis is completed, the vehicle information is compared with the standard value in the diagnostic specification. If the comparison is consistent, it means that the detection is successful. The detection result is encapsulated into a data packet and sent to the server.
[0027] From the above technical solutions, it can be seen that a comprehensive diagnosis is required before the entire vehicle rolls off the production line. Therefore, the diagnostic content includes all information about the vehicle's software and hardware. By diagnosing the vehicle's software and hardware according to the diagnostic specifications, it can be ensured that all functions of the vehicle meet the production line requirements.
[0028] Furthermore, the result display module is also used to:
[0029] The client determines whether the data packet is successfully sent to the server. If the data packet is successfully sent to the server, the client exits the diagnostic mode. The server determines whether the data packet is successfully sent to the display end. If the data packet is successfully sent to the display end, the server stores the data packet.
[0030] After receiving the data packet, the display end parses it to determine whether the vehicle information in the data packet is an existing vehicle. If it is an existing vehicle, the detection information in the data packet is added to the child node of the vehicle. If it is not an existing vehicle, a parent node is created for the vehicle, and the detection information in the data packet is added as a child node under the parent node, and the diagnostic results are displayed.
[0031] Furthermore, the data receiving module is further configured to:
[0032] It is determined whether the display program of the display end and the diagnostic program of the client are started. If both the display program of the display end and the diagnostic program of the client are started, the display end and the client are respectively connected to the server.
[0033] Furthermore, the data receiving module is further configured to:
[0034] If the information is display information, the information is sent to the display end, and the display end parses the information to determine whether the vehicle information in the data packet is an existing vehicle. If it is an existing vehicle, the detection information in the data packet is added to the child node of the vehicle. If it is not an existing vehicle, a parent node is created for the vehicle, and the detection information in the data packet is added as a child node under the parent node, and the diagnostic result is displayed.
[0035] From the above technical solution, it can be seen that since the diagnostic content of a car includes multiple aspects, each car contains multiple diagnostic data. For example, the communication parameter diagnosis of vehicle A is successful, the data flow diagnosis of vehicle A is successful, and the flash file diagnosis of vehicle A is successful. In order to facilitate the staff to observe all the diagnostic data of vehicle A, vehicle A can be used as the parent node of the tree or the first-level list item of the list, and multiple diagnostic information can be used as child nodes under the parent node or child list items under the first-level list item. This can improve the work efficiency of the staff and reduce the time spent on reading diagnostic information. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0037] Figure 1 This is a flowchart of an implementation method of an automatic vehicle diagnosis method based on an MES system provided by an embodiment of the present invention;
[0038] Figure 2 This is a structural block diagram of a vehicle automatic diagnosis system based on an MES system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] The embodiments of the present invention are described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0040] In the specification, claims, and accompanying drawings of this application, the terms "first," "second," "third," and the like are used to distinguish different objects and are not used to describe a particular order. Furthermore, the terms "including," "comprising," "having," and any variations thereof are intended to cover non-exclusive inclusions. For example, a list of steps or elements may be included, or alternatively, steps or elements not listed may be included, or other steps or elements may be included that are inherent to the process, method, product, or apparatus.
[0041] See also Figure 1 , Figure 1 The figure shows a flow chart of an implementation of a vehicle automatic diagnosis method based on an MES system provided by an embodiment of the present invention.
[0042] Step S10: determining whether a wake-up instruction sent by the client is monitored every first preset time; if the wake-up instruction is received, receiving a message sent by the client within a second preset time, and determining whether the message type is a running message.
[0043] It is understandable that the server needs to monitor the client in real time to determine whether it has received the wake-up command sent by the client. Therefore, the first preset time must be set to an extremely short time to achieve the purpose of real-time monitoring. In this embodiment, the time is not specifically described. The manufacturer can set it according to actual conditions. After the server receives the wake-up command, it needs to continuously monitor the messages sent by the client. Since the sending time of the message is related to the size of the message and the network status of the client, the second preset time must be set longer to enable the server to fully receive the client's message. For example, it can be set to 10s-15s.
[0044] It should be noted that before determining whether the wake-up command sent by the client is detected every first preset time, it is necessary to determine whether the display program of the display end and the diagnostic program of the client are started. If both the display program of the display end and the diagnostic program of the client are started, the display end and the client will establish contact with the server end respectively.
[0045] It is understandable that in the automatic diagnosis of the entire vehicle, the hardware involved in the diagnosis process must be turned on before the diagnosis process can be carried out. In this embodiment, the server, client, and display sides are involved. Therefore, before the server-side monitoring work, it is necessary to determine whether the display program of the display side and the diagnostic program of the client are started. If not, they need to be started first, and then the server side starts working.
[0046] It should be noted that, after determining whether the message type is an operating message, it also includes: if the information is display information, the information is sent to the display end, the display end parses the information, and determines whether the vehicle information in the data packet is an existing vehicle. If it is an existing vehicle, the detection information in the data packet is added to the child node of the vehicle. If it is not an existing vehicle, a parent node is created for the vehicle, and the detection information in the data packet is added as a child node under the parent node, and the diagnostic results are displayed.
[0047] It is understandable that the data packet contains all the vehicle information and diagnostic information, but production personnel only need to see part of the vehicle information, such as the vehicle model, VIN number, diagnostic content, and diagnostic results. Therefore, after the display end receives the data packet, it is necessary to parse the data packet and selectively display the content in the data packet. In addition, since a vehicle has multiple diagnostic information, the vehicle information must be judged during the parsing process to determine whether the vehicle is an existing vehicle. If it is an existing vehicle, the diagnostic information is added to the diagnostic information tree of the vehicle. Each vehicle has a diagnostic tree of all the diagnostic information of the vehicle to facilitate production personnel to view all the diagnostic information of the vehicle.
[0048] In step S20, if the message type is an operation message, the server retrieves the vehicle information in the MES system and sends the vehicle information to the client, so that the client enters a diagnostic mode to diagnose the vehicle information.
[0049] Specifically, the client diagnoses the vehicle information according to the diagnostic specifications. The vehicle information includes vehicle model information, VIN code, communication parameters, function list, data stream, data stream standard data and flash file. After the diagnosis is completed, the vehicle information is compared with the standard value in the diagnostic specification. If the comparison is consistent, it means that the detection is successful, and the detection result is encapsulated into a data packet and sent to the server.
[0050] It should be noted that the MES system is the factory's production management system, which contains all the information of the vehicle, and the MES system is stored in the server. Therefore, when the server needs to send it to the client, it is directly retrieved from the server. In addition, there is a complete set of diagnostic specifications in the diagnosis process. In this embodiment, the vehicle is diagnosed according to the diagnostic specifications, and the success or failure of the diagnosis can be judged according to the diagnostic specifications. Since the diagnostic specifications of different models are different, the diagnostic specifications of each manufacturer are also defined differently, so the diagnostic specifications are not specifically described in this embodiment.
[0051] Step S30: receiving a data packet sent by the client at every third preset time, wherein the data packet includes vehicle information and detection information, and sending the data packet to the display terminal so that the display terminal displays the detection information in the data packet.
[0052] It should be noted that after the server is turned on, it will always be in a listening state and receive data packets sent by the client in real time. Therefore, the interval of the third preset time is set very short to reflect the effect of real-time reception.
[0053] Specifically, the client determines whether the data packet is successfully sent to the server. If the data packet is successfully sent to the server, the client exits the diagnostic mode. The server determines whether the data packet is successfully sent to the display end. If the data packet is successfully sent to the display end, the server stores the data packet.
[0054] After receiving the data packet, the display end parses it to determine whether the vehicle information in the data packet is an existing vehicle. If it is an existing vehicle, the detection information in the data packet is added to the child node of the vehicle. If it is not an existing vehicle, a parent node is created for the vehicle, and the detection information in the data packet is added as a child node under the parent node, and the diagnostic results are displayed.
[0055] See also Figure 2 , Figure 2 This is a structural block diagram of a vehicle automatic diagnosis system based on an MES system provided by an embodiment of the present invention. In this embodiment, the vehicle automatic diagnosis system includes various modules for executing Figure 1 Each step in the corresponding embodiment. Please refer to Figure 1 as well as Figure 1 For the convenience of explanation, only the parts related to this embodiment are shown. Figure 2 The vehicle automatic diagnosis system includes: a data receiving module 10, a diagnosis module 11, and a result display module 12, wherein:
[0056] The data receiving module is used to determine whether the wake-up instruction sent by the client is monitored every first preset time. If the wake-up instruction is received, the module receives the message sent by the client within a second preset time and determines whether the message type is a running message.
[0057] It is understandable that the server needs to monitor the client in real time to determine whether it has received the wake-up command sent by the client. Therefore, the first preset time must be set to an extremely short time to achieve the purpose of real-time monitoring. In this embodiment, the time is not specifically described. The manufacturer can set it according to actual conditions. After the server receives the wake-up command, it needs to continuously monitor the messages sent by the client. Since the sending time of the message is related to the size of the message and the network status of the client, the second preset time must be set longer to enable the server to fully receive the client's message. For example, it can be set to 10s-15s.
[0058] It should be noted that before determining whether the wake-up command sent by the client is detected every first preset time, it is necessary to determine whether the display program of the display end and the diagnostic program of the client are started. If both the display program of the display end and the diagnostic program of the client are started, the display end and the client will establish contact with the server end respectively.
[0059] It is understandable that in the automatic diagnosis of the entire vehicle, the hardware involved in the diagnosis process must be turned on before the diagnosis process can be carried out. In this embodiment, the server, client, and display sides are involved. Therefore, before the server-side monitoring work, it is necessary to determine whether the display program of the display side and the diagnostic program of the client are started. If not, they need to be started first, and then the server side starts working.
[0060] It should be noted that, after determining whether the message type is an operating message, it also includes: if the information is display information, the information is sent to the display end, the display end parses the information, and determines whether the vehicle information in the data packet is an existing vehicle. If it is an existing vehicle, the detection information in the data packet is added to the child node of the vehicle. If it is not an existing vehicle, a parent node is created for the vehicle, and the detection information in the data packet is added as a child node under the parent node, and the diagnostic results are displayed.
[0061] It is understandable that the data packet contains all the vehicle information and diagnostic information, but production personnel only need to see part of the vehicle information, such as the vehicle model, VIN number, diagnostic content, and diagnostic results. Therefore, after the display end receives the data packet, it is necessary to parse the data packet and selectively display the content in the data packet. In addition, since a vehicle has multiple diagnostic information, the vehicle information must be judged during the parsing process to determine whether the vehicle is an existing vehicle. If it is an existing vehicle, the diagnostic information is added to the diagnostic information tree of the vehicle. Each vehicle has a diagnostic tree of all the diagnostic information of the vehicle to facilitate production personnel to view all the diagnostic information of the vehicle.
[0062] The diagnosis module is used to retrieve the vehicle information in the MES system on the server side if the message type is an operation message, and send the vehicle information to the client side, so that the client side enters the diagnosis mode to diagnose the vehicle information.
[0063] Specifically, the client diagnoses the vehicle information according to the diagnostic specifications. The vehicle information includes vehicle model information, VIN code, communication parameters, function list, data stream, data stream standard data and flash file. After the diagnosis is completed, the vehicle information is compared with the standard value in the diagnostic specification. If the comparison is consistent, it means that the detection is successful, and the detection result is encapsulated into a data packet and sent to the server.
[0064] It should be noted that the MES system is the factory's production management system, which contains all the information of the vehicle, and the MES system is stored in the server. Therefore, when the server needs to send it to the client, it is directly retrieved from the server. In addition, there is a complete set of diagnostic specifications in the diagnosis process. In this embodiment, the vehicle is diagnosed according to the diagnostic specifications, and the success or failure of the diagnosis can be judged according to the diagnostic specifications. Since the diagnostic specifications of different models are different, the diagnostic specifications of each manufacturer are also defined differently, so the diagnostic specifications are not specifically described in this embodiment.
[0065] The result display module is used to receive a data packet sent by the client every third preset time, wherein the data packet includes vehicle information and detection information, and send the data packet to the display end so that the display end displays the detection information in the data packet.
[0066] It should be noted that after the server is turned on, it will always be in a listening state and receive data packets sent by the client in real time. Therefore, the interval of the third preset time is set very short to reflect the effect of real-time reception.
[0067] Specifically, the client determines whether the data packet is successfully sent to the server. If the data packet is successfully sent to the server, the client exits the diagnostic mode. The server determines whether the data packet is successfully sent to the display end. If the data packet is successfully sent to the display end, the server stores the data packet.
[0068] After receiving the data packet, the display end parses it to determine whether the vehicle information in the data packet is an existing vehicle. If it is an existing vehicle, the detection information in the data packet is added to the child node of the vehicle. If it is not an existing vehicle, a parent node is created for the vehicle, and the detection information in the data packet is added as a child node under the parent node, and the diagnostic results are displayed.
[0069] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "example," "specific example," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example.
[0070] Obviously, the described embodiments are only some of the embodiments of the present application, rather than all of the embodiments. Mentioning "embodiments" in this article means that the specific features, structures or characteristics described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various locations in the specification does not necessarily mean the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It can be understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without making creative work are within the scope of protection of this application.
[0071] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the claims and their equivalents.
Claims
1. A vehicle automatic diagnosis method based on MES system, characterized in that: Applied to the server side, the method includes: Determine whether a wake-up instruction sent by the client is monitored every first preset time, and if the wake-up instruction is received, receive a message sent by the client within a second preset time and determine whether the message type is a running message; If the message type is an operation message, the server retrieves the vehicle information from the MES system and sends the vehicle information to the client, so that the client enters the diagnostic mode to diagnose the vehicle information; A data packet sent by the client is received every third preset time, the data packet including vehicle information and detection information, and the data packet is sent to the display end so that the display end displays the detection information in the data packet, specifically including: the client diagnoses the vehicle information according to the diagnostic specification, the vehicle information including vehicle model information, VIN code, communication parameters, function list, data stream, data stream standard data and flash file, after the diagnosis is completed, the vehicle information is compared with the standard value in the diagnostic specification, if the comparison is consistent, it means that the detection is successful, and the detection result is encapsulated into a data packet and sent to the server.
2. The vehicle automatic diagnosis method based on the MES system according to claim 1 is characterized in that: The step of receiving a data packet sent by the client at every third preset time, the data packet including vehicle information and detection information, and sending the data packet to the display end so that the display end displays the detection information in the data packet comprises: The client determines whether the data packet is successfully sent to the server. If the data packet is successfully sent to the server, the client exits the diagnostic mode. The server determines whether the data packet is successfully sent to the display end. If the data packet is successfully sent to the display end, the server stores the data packet. After receiving the data packet, the display end parses it to determine whether the vehicle information in the data packet is an existing vehicle. If it is an existing vehicle, the detection information in the data packet is added to the child node of the vehicle. If it is not an existing vehicle, a parent node is created for the vehicle, and the detection information in the data packet is added as a child node under the parent node, and the diagnostic results are displayed.
3. The vehicle automatic diagnosis method based on the MES system according to claim 1 is characterized in that: The method further includes: determining whether a wake-up instruction sent by the client is monitored every first preset time, and if the wake-up instruction is received, receiving a message sent by the client within a second preset time, and determining whether the message type is a running message. It is determined whether the display program of the display end and the diagnostic program of the client are started. If both the display program of the display end and the diagnostic program of the client are started, the display end and the client are respectively connected to the server.
4. The vehicle automatic diagnosis method based on the MES system according to claim 3 is characterized in that: After determining whether a wake-up instruction sent by the client is monitored every first preset time, and if the wake-up instruction is received, receiving a message sent by the client within a second preset time, and determining whether the message type is a running message, the method further includes: If the information is display information, the information is sent to the display end, and the display end parses the information to determine whether the vehicle information in the data packet is an existing vehicle. If it is an existing vehicle, the detection information in the data packet is added to the child node of the vehicle. If it is not an existing vehicle, a parent node is created for the vehicle, and the detection information in the data packet is added as a child node under the parent node, and the diagnostic result is displayed.
5. A vehicle automatic diagnosis system based on MES system, characterized by: The system comprises: a data receiving module, configured to determine whether a wake-up instruction sent by the client is monitored at intervals of a first preset time; if the wake-up instruction is received, receive a message sent by the client within a second preset time, and determine whether the message type is a running message; A diagnostic module is used to retrieve vehicle information from the MES system on the server side if the message type is an operation message, and send the vehicle information to the client side so that the client side enters a diagnostic mode to diagnose the vehicle information; The result display module is used to receive a data packet sent by the client every third preset time, the data packet including vehicle information and detection information, and send the data packet to the display end so that the display end displays the detection information in the data packet, specifically including: the client diagnoses the vehicle information according to the diagnosis specification, the vehicle information including vehicle model information, VIN code, communication parameters, function list, data stream, data stream standard data and flash file; after the diagnosis is completed, the vehicle information is compared with the standard value in the diagnosis specification; if the comparison is consistent, it means that the detection is successful, and the detection result is encapsulated into a data packet and sent to the server.
6. The vehicle automatic diagnosis system based on the MES system according to claim 5 is characterized in that: The diagnostic module is further configured to: The client diagnoses the vehicle information according to the diagnostic specifications. The vehicle information includes vehicle model information, VIN code, communication parameters, function list, data stream, data stream standard data and flash file. After the diagnosis is completed, the vehicle information is compared with the standard value in the diagnostic specification. If the comparison is consistent, it means that the detection is successful. The detection result is encapsulated into a data packet and sent to the server.
7. The vehicle automatic diagnosis system based on the MES system according to claim 6 is characterized in that: The result display module is also used for: The client determines whether the data packet is successfully sent to the server. If the data packet is successfully sent to the server, the client exits the diagnostic mode. The server determines whether the data packet is successfully sent to the display end. If the data packet is successfully sent to the display end, the server stores the data packet. After receiving the data packet, the display end parses it to determine whether the vehicle information in the data packet is an existing vehicle. If it is an existing vehicle, the detection information in the data packet is added to the child node of the vehicle. If it is not an existing vehicle, a parent node is created for the vehicle, and the detection information in the data packet is added as a child node under the parent node, and the diagnostic results are displayed.
8. The vehicle automatic diagnosis system based on the MES system according to claim 6 is characterized in that: The data receiving module is further used for: It is determined whether the display program of the display end and the diagnostic program of the client are started. If both the display program of the display end and the diagnostic program of the client are started, the display end and the client are respectively connected to the server.
9. The vehicle automatic diagnosis system based on the MES system according to claim 8 is characterized in that: The data receiving module is further used for: If the information is display information, the information is sent to the display end, and the display end parses the information to determine whether the vehicle information in the data packet is an existing vehicle. If it is an existing vehicle, the detection information in the data packet is added to the child node of the vehicle. If it is not an existing vehicle, a parent node is created for the vehicle, and the detection information in the data packet is added as a child node under the parent node, and the diagnostic result is displayed.
Citation Information
Patent Citations
EPS (electric power steering) controller test system device
CN106774263A
EOL diagnosis method, EOL diagnosis controller and EOL diagnosis system
CN112034816A