Method and system for collecting and processing fault data for analysis of unmanned mine car
Through the continuity division and time range analysis of unmanned mine car fault data, the problem of low fault processing accuracy in the existing technology is solved, higher fault data analysis accuracy and availability are achieved, and the recurrence of faults can be more effectively prevented. .
Patent Information
- Application Number
- CN202410701231.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-31
AI Technical Summary
Existing unmanned mine car fault handling methods have low analysis accuracy and usability, and cannot effectively prevent recurrence of faults.
By collecting fault data and dividing it into continuous fault data and single-point fault data, the time range of fault occurrence is determined based on the start and end time of fault data, and Redis and MySQL databases are used for storage and processing to improve the analysis accuracy and availability of fault data.
Improved analysis accuracy and usability of fault data, enabling a clearer understanding of the cause of the fault and the development of a comprehensive fault handling plan, such as discovering engine slowdown caused by weather factors through time range analysis, optimizing the moisture resistance of sensor materials to reduce A fault occurs.
Smart Images

Figure CN118609236A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data collection, and in particular to a method and system for collecting and processing fault data for analysis of an unmanned mining vehicle. Background Art
[0002] Mine cars are indispensable key equipment in mining operations. Their function is to transport ore, materials and personnel.
[0003] Mining vehicles can be divided into the following categories according to their uses and structural characteristics:
[0004] Self-propelled mine car: This type of mine car has an independent drive system and can travel on the mine road by itself. According to the size of the carrying capacity, self-propelled mine cars can be divided into small, medium and large types.
[0005] Trailer mine car: Trailer mine car consists of a tractor and a trailer, and the trailer can be replaced at any time according to needs.
[0006] Mine vehicles have the following characteristics in mining operations:
[0007] Strong adaptability: Mining vehicles can be modified and adjusted according to different mining environments and operating requirements to meet various transportation needs.
[0008] Large carrying capacity: Mining haulers usually have a large carrying capacity and can meet the large-scale transportation needs of mining operations.
[0009] High reliability: Mining vehicles usually use advanced technologies and materials during the design and manufacturing process to ensure their high reliability and service life.
[0010] Easy maintenance: The maintenance and care of mining vehicles is relatively simple. You only need to perform regular inspections and maintenance according to the instructions.
[0011] Mining trucks are widely used in the following scenarios:
[0012] Ore transportation: In mining operations, ore is usually transported by mining carts. Depending on the type of ore and the transportation distance, you can choose different types and capacities of mining carts.
[0013] Material transportation: In mine construction, mining trucks can be used to transport various construction materials, such as cement, steel bars, wood, etc.
[0014] Personnel transportation: When the mine is large, mining carts can also be used to transport mine workers to improve work efficiency and safety.
[0015] At present, the troubleshooting method for unmanned mine cars is generally as follows: monitor the parameter information of the unmanned mine car (such as travel speed, tire pressure, power consumption, etc.). When the parameters of the unmanned mine car are found to be abnormal, the position of the unmanned mine car is determined in the path map through the positioning signal of the unmanned mine car. If the unmanned mine car is found to be not moving or moving slowly, arrange operators to check the situation of the unmanned mine car and perform repairs. If the unmanned mine car can move within the acceptable range, the unmanned mine car will continue to work; after the unmanned mine car is finished working, corresponding processing will be performed according to the current status of the unmanned mine car, such as repair and / or performance adjustment.
[0016] However, the unmanned mining trucks that have been processed in the above manner are likely to have the same fault. After analyzing this situation, it is found that the reason for this is that the processing method is based on the current fault information (i.e., "single point" fault data), and single point fault data is often caused by multiple different reasons. Therefore, if it is necessary to fine-tune the fault processing and strive to prevent it from recurring after the fault processing, single point fault data with low analysis accuracy and availability cannot be used. Summary of the invention
[0017] In view of the defects existing in the prior art, the technical problem solved by the present invention is: how to improve the analysis accuracy and availability of the fault data of the unmanned mining vehicle.
[0018] To achieve the above objectives, in a first aspect, an embodiment of the present application provides a method for collecting and processing fault data for analysis of an unmanned mining vehicle, comprising the following steps: collecting fault data of the unmanned mining vehicle according to a pre-set fault identifier; dividing the fault data into continuous fault data and single-point fault data other than the continuous fault data, the continuous fault data comprising a number of fault data of the same type received repeatedly within a specified period; determining the start and end time of the fault corresponding to the continuous fault data according to the time of the first and last fault data received in the continuous fault data; determining the start and end time of the fault corresponding to the single-point fault data according to the time when the single-point fault data is received; and determining the time range of the corresponding fault occurrence according to the start and end time of each piece of fault data.
[0019] In combination with the first aspect, in an implementation manner, the fault identifier includes a unique fault identifier corresponding to each type of fault, and the process of determining the start and end time of the fault corresponding to the continuous fault data according to the time of the first and last received fault data in the continuous fault data; and determining the start and end time of the fault corresponding to the single point fault data according to the time of receiving the single point fault data includes:
[0020] When fault data is collected and the unique fault identifier in the fault data does not exist, the current fault data is stored, the start time of the corresponding fault is determined according to the collection time of the current fault data, and the storage time of the current fault data is determined according to the start time;
[0021] When the storage time reaches the above-specified period and fault data with the same unique fault identifier as the current fault data is collected, the current fault data is taken as continuous fault data; the end time of the fault corresponding to the continuous fault data is determined according to the collection time of the last collected continuous fault data;
[0022] When the storage time reaches the specified period and no fault data with the same unique fault identifier as the current fault data is collected, the current fault data is used as single point fault data, and the end time of the corresponding fault is determined according to the collection time of the single point fault data.
[0023] In combination with the first aspect, in an implementation manner, the process of determining the start and end time of the fault corresponding to the continuous fault data according to the time of the first and last received fault data in the continuous fault data; and determining the start and end time of the fault corresponding to the single point fault data according to the time of receiving the single point fault data specifically includes: after the fault data is collected, if there is no fault unique identifier of the current fault data in the cache database, the current fault data is stored in the cache database and the local database respectively, and the collection time of the current fault data is used as the fault start time, and the storage time of the current fault is recorded in the cache database; when the storage time reaches the above-mentioned specified period, it is determined whether the fault data with the same unique fault identifier as the current fault data is collected:
[0024] If yes, the current fault data is used as continuous fault data. When the fault data with the same unique fault identifier as the current fault data is not collected after the specified period, the collection time of the last collected current fault data is used as the fault end time of the current continuous fault data and updated to the local database;
[0025] Otherwise, the current fault data is used as the single point fault data, and the fault start time of the current fault data is used as the fault end time of the single point fault data and updated to the local database.
[0026] In combination with the first aspect, in one implementation, the method further includes the following steps: deleting fault data that has not received the same unique fault identifier within a specified time period.
[0027] In combination with the first aspect, in one implementation, the cache database is a Redis database, and the local database is a MySQL database.
[0028] In combination with the first aspect, in one implementation, the process of collecting fault data of the unmanned mine car according to a pre-set fault identifier includes: setting a field value corresponding to each unique fault identifier in a Java object, converting the operating data of the unmanned mine car into a JSON object, and when the JSON object can be converted into the Java object, determining that the Java object is fault data.
[0029] In combination with the first aspect, in one implementation, the fields of the unique fault identifier include: faultAddr, spn, and fmi.
[0030] In combination with the first aspect, in one implementation, the method further includes the following steps: marking a corresponding fault level for the fault corresponding to each fault data.
[0031] In a second aspect, an embodiment of the present application provides a system for collecting and processing fault data for analysis of an unmanned mining vehicle, including a client and a server;
[0032] The client is used to: upload fault data to the server;
[0033] The server is used to process the fault data according to the method provided by the first invention.
[0034] In combination with the second aspect, in one implementation, the system further includes an unmanned mining vehicle, and the client is disposed on the unmanned mining vehicle.
[0035] The specific workflow of the server includes: collecting fault data of the unmanned mining vehicle according to the pre-set fault identification; dividing the fault data into continuous fault data and single-point fault data other than continuous fault data, and the continuous fault data includes several fault data of the same type received repeatedly within a specified period; determining the start and end time of the fault corresponding to the continuous fault data according to the time of the first and last fault data received in the continuous fault data; determining the start and end time of the fault corresponding to the single-point fault data according to the time when the single-point fault data is received; and determining the time range of the corresponding fault according to the start and end time of each fault data.
[0036] The fault identifier includes a unique fault identifier corresponding to each type of fault. The process of determining the start and end time of the fault corresponding to the continuous fault data according to the time of the first and last received fault data in the continuous fault data; and determining the start and end time of the fault corresponding to the single point fault data according to the time of receiving the single point fault data includes:
[0037] When fault data is collected and the unique fault identifier in the fault data does not exist, the current fault data is stored, the start time of the corresponding fault is determined according to the collection time of the current fault data, and the storage time of the current fault data is determined according to the start time;
[0038] When the storage time reaches the above-specified period and fault data with the same unique fault identifier as the current fault data is collected, the current fault data is taken as continuous fault data; the end time of the fault corresponding to the continuous fault data is determined according to the collection time of the last collected continuous fault data;
[0039] When the storage time reaches the specified period and no fault data with the same unique fault identifier as the current fault data is collected, the current fault data is used as single point fault data, and the end time of the corresponding fault is determined according to the collection time of the single point fault data.
[0040] The process of determining the start and end time of the fault corresponding to the continuous fault data according to the time of the first and last received fault data in the continuous fault data; and determining the start and end time of the fault corresponding to the single-point fault data according to the time of receiving the single-point fault data specifically includes: after the fault data is collected, if there is no fault unique identifier of the current fault data in the cache database, the current fault data is stored in the cache database and the local database respectively, and the collection time of the current fault data is used as the fault start time, and the storage time of the current fault is recorded in the cache database; when the storage time reaches the above-mentioned specified period, it is determined whether the fault data with the same unique fault identifier as the current fault data is collected:
[0041] If yes, the current fault data is used as continuous fault data. When the fault data with the same unique fault identifier as the current fault data is not collected after the specified period, the collection time of the last collected current fault data is used as the fault end time of the current continuous fault data and updated to the local database;
[0042] Otherwise, the current fault data is used as the single point fault data, and the fault start time of the current fault data is used as the fault end time of the single point fault data and updated to the local database.
[0043] The method also includes the following steps: deleting fault data that has not received the same unique fault identifier within a specified time period.
[0044] The cache database is a Redis database, and the local database is a MySQL database.
[0045] The process of collecting the fault data of the unmanned mine car according to the preset fault identifier includes: setting the field value corresponding to each unique fault identifier in the Java object, converting the operation data of the unmanned mine car into a JSON object, and when the JSON object can be converted into the Java object, determining that the Java object is fault data.
[0046] The fields of the unique fault identifier include: faultAddr, spn and fmi.
[0047] The method further comprises the following steps: marking a corresponding fault level for each fault data corresponding fault.
[0048] Compared with the prior art, the advantages of the present invention are:
[0049] Compared with the prior art that processes unmanned mining vehicles based on single-point fault data, the present invention divides fault data according to the continuity of occurrence during collection, and records the start and end time of the fault, so that the time range of the corresponding fault can be determined according to the start and end time of each fault data. And the user can better understand the automatic driving status of the unmanned mining truck based on the time range of the fault and the specific fault data information, and then analyze the cause of the fault from multiple aspects and obtain a more comprehensive fault handling solution; for example, there are vehicles in the fault data that reduce the speed for no reason many times within a specific time range every day, and the relevant time period is queried. Combined with the local weather at that time, it is found that the heavy humidity at night causes the engine to slow down and the sensor occasionally fails, and then it is decided to optimize the moisture resistance of the sensor material to reduce the probability of the fault. Therefore, the analysis accuracy and availability of the data collected and processed by the present invention are relatively high. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of 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 creative work.
[0051] Figure 1 The present invention is a flowchart of a method for collecting and processing fault data for analysis of an unmanned mining vehicle in an embodiment of the present invention. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0053] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0054] The method for collecting and processing fault data for analysis of an unmanned mining vehicle in an embodiment of the present invention comprises the following steps: collecting fault data of the unmanned mining vehicle according to a pre-set fault identifier. The fault data is divided into continuous fault data and single-point fault data other than continuous fault data, and the continuous fault data includes a number of fault data of the same type received repeatedly within a specified period; according to the time of the first and last fault data received in the continuous fault data, the start and end time (start time and end time) of the fault corresponding to the continuous fault data is determined; according to the time when the single-point fault data is received, the start and end time of the fault corresponding to the single-point fault data is determined. The time range of the corresponding fault occurrence is determined according to the start and end time of each fault data (i.e., including continuous fault data and single-point fault data).
[0055] It can be seen that compared with the processing of unmanned mining vehicles based on single-point fault data in the prior art, the present invention divides the fault data according to the continuity of occurrence during collection, and records the start and end time of the fault, so that the time range of the corresponding fault can be determined according to the start and end time of each fault data. And the user can better understand the automatic driving status of the unmanned mining truck based on the time range of the fault and the specific fault data information, and then analyze the cause of the fault from multiple aspects and obtain a more comprehensive fault handling solution; for example, there are vehicles in the fault data that reduce the speed for no reason many times within a specific time range every day, and the relevant time period is queried. Combined with the local weather at that time, it is found that the heavy humidity at night causes the engine to slow down and the sensor occasionally fails, and then it is decided to optimize the moisture resistance of the sensor material to reduce the probability of the fault. Therefore, the analysis accuracy and availability of the data collected and processed by the present invention are both high.
[0056] Preferably, the fault identifier includes a unique fault identifier corresponding to each type of fault. In the above method, the start and end times of the fault corresponding to the continuous fault data are determined according to the time of the first and last received fault data in the continuous fault data; the start and end times of the fault corresponding to the single point fault data are determined according to the time of receiving the single point fault data. The process specifically includes:
[0057] (1) When fault data is collected and the unique fault identifier in the fault data does not exist, the current fault data is stored, the start time of the corresponding fault is determined according to the collection time of the current fault data (i.e., the data reception time), and the storage duration of the current fault data is determined according to the start time.
[0058] (2) When the storage time reaches the above-specified period and fault data with the same unique fault identifier as the current fault data is collected, the current fault data is taken as continuous fault data, and the start time of the fault corresponding to the continuous fault data is the start time in item (1); the end time of the fault corresponding to the continuous fault data is determined based on the collection time of the last continuous fault data collected.
[0059] (3) When the storage time reaches the above-specified period and no fault data with the same unique fault identifier as the current fault data is collected, the current fault data is taken as the single point fault data, and the end time of the corresponding fault is determined according to the collection time of the single point fault data, that is, the start time and end time of the current single point fault data are both the start time in item (1).
[0060] Preferably, in the above method, the start and end time of the fault corresponding to the continuous fault data is determined according to the time of the first and last received fault data in the continuous fault data; and the start and end time of the fault corresponding to the single point fault data is determined according to the time of receiving the single point fault data, and the process specifically includes:
[0061] Step A: After the fault data is collected, determine whether the fault unique identifier of the current fault data exists in the cache database. If so, it means that the fault is still occurring and will not be processed for the time being; otherwise, it means that a new fault has occurred, and go to step B.
[0062] Step B: store the current fault data in the cache database and the local database respectively, and use the acquisition time of the current fault data as the fault start time, record the storage time of the current fault in the cache database, and go to step C.
[0063] Step C. When the storage time reaches the above-specified period, determine whether fault data with the same unique fault identifier as the current fault data is collected. If so, treat the current fault data as continuous fault data and go to step D. Otherwise, treat the current fault data as single-point fault data, and use the collection time in step B as the fault end time corresponding to the single-point fault data and update it to the local database.
[0064] Step D: When no fault data with the same unique fault identifier as the current fault data is collected after a specified period, the collection time of the current fault data collected last time is used as the fault end time of the current continuous fault data and updated to the local database.
[0065] From this, it can be seen that the present invention stores "full" data through a local database, and processes data in real time through a cache database (for example, marking the start and end time and storage duration of specified data, adding data identifiers, etc.). The existence of a cache database can greatly improve data processing efficiency.
[0066] Preferably, the above method further includes the following process: deleting fault data that has not received the same unique fault identifier within a specified time period to release cache resources.
[0067] Furthermore, the cache database is a Redis (Remote Dictionary Server) database, which searches for data through hash values and has high working efficiency. The local database uses a MySQL (relational database management system) database.
[0068] Preferably, the fault identifier in the above method includes a unique fault identifier corresponding to each fault respectively. The process of collecting the fault data of the unmanned mine car according to the pre-set unique fault identifier corresponding to each fault in the above method includes: setting the field value corresponding to each unique fault identifier in the java object, converting the operation data (binary stream) of the unmanned mine car into a json object, and when the json object can be converted into the java object, determining that the java object is fault data.
[0069] On this basis, the fields of the unique fault identifier include: faultAddr, spn and fmi.
[0070] Preferably, the method further comprises the following steps: assigning a fault level corresponding to the fault mark corresponding to each type of fault data, so as to facilitate subsequent analysis of the fault data according to the fault level, and determine the order of the fault handling solutions according to the fault level.
[0071] See below Figure 1 As shown, the method of the present invention is described through a specific embodiment.
[0072] S1: Set a unique fault identifier (faultAddr, spn, fmi) and associate it with a java object. The spn field value in the java object is 518101 and the fmi value is 6. Set the corresponding fault level for each fault. The fault levels include:
[0073] Minor: Fault code such as SPN3487, FMI11, system category is engine, description is urea pump air solenoid valve section open circuit;
[0074] General: Fault code such as SPN518101, FMI6, system category is BCM / body controller, description is high beam relay short circuit. At fixed time intervals, the binary data of the fault codes within this period are summarized and packaged for delivery.
[0075] S2: Upload the binary data of the fault code of the unmanned mining vehicle (binary stream data packet) at fixed time intervals, parse the fault data packet according to the pre-defined parsing protocol to obtain the binary data stream and convert it into a json object, convert the json object into a corresponding java object with various attributes, and one java object represents one piece of fault data.
[0076] S3: Get a piece of untraversed fault data, and determine whether the unique fault identifier of the current fault data exists in the Redis database. If so, it means that the fault is still occurring and will not be processed for the time being. After marking the current fault data as untraversed fault data, go to S3; otherwise, it means that it is a new fault data, and go to S4.
[0077] S4: Store the current fault data in the Redis database and the MySQL database respectively, use the collection time of the current fault data as the fault start time, record the storage time of the current fault in the Redis database, and go to S5.
[0078] S5: When the storage time reaches the above-mentioned specified period (the specified period in this embodiment is the same as the fixed time interval in S2), determine whether fault data with the same unique fault identifier as the current fault data is collected. If so, take the current fault data as continuous fault data and go to S6; otherwise, take the current data as single-point fault data, take the collection time in S4 as the fault end time of the single-point fault data and update it to the MySQL database, and go to S7.
[0079] S6: When no fault data with the same unique fault identifier as the current fault data is collected after the specified period, the collection time of the current fault data collected last time is used as the fault end time of the current continuous fault data and updated to the MySQL database, and then go to S7.
[0080] S7: After all the fault data in the current fault data packet are traversed, the fault data that exists in the Redis database and does not have a unique fault identifier in the current fault data packet is deleted.
[0081] After processing the received fault data packets in sequence according to the above process, a fault data set will be formed in the MySQL database. On this basis, users can analyze the fault data set regularly. For example, if the data is processed once a week, the time period of each fault in a week will be summarized on a chart. The y-axis represents the day, and the x-axis represents the 24 hours of a day, showing the time periods in which the fault occurs every day. Users can use this chart to analyze whether the fault occurs periodically:
[0082] If it is periodic, the distributed system can further compare the vehicle data such as longitude, latitude, humidity, etc. during the fault period and the normal period, and calculate the comparison results of each numerical indicator. For example, the normal vehicle speed is 50, and the speed during the fault is 60. The normal speed is 1, and the abnormal speed is 1.2. The differences in all indicators are obtained, and the cause of the fault is then investigated.
[0083] If it is not periodic, expand the time range, such as the time period within a month when the fault occurs, compare the vehicle data when it occurs with the vehicle data when it is normal, and then optimize the vehicle's autonomous driving strategy. For example, in the fault data, there are vehicles that reduce their speed for no reason many times within a specific time range every day. Query the relevant time period, combined with the local weather at the time, it is found that the heavy humidity at night causes the engine to slow down and the sensor occasionally fails, and then decide to optimize the moisture resistance of the sensor material to reduce the probability of the fault. For example, if a vehicle hits a wall for no reason many times in a specific area, query the current data, and combine the latitude and longitude information of the uploaded data, it is found that the network signal at the vehicle's location is not good, resulting in the failure to upload data, and the vehicle loses control in a short period of time, resulting in hitting the wall, which requires timely resolution of network problems.
[0084] At the same time, users can also query fault code data according to the time range, such as vehicle number, fault source address, system category, system name and model, Chinese description, fmi, fault level, fault type, fault unit and other information.
[0085] The embodiment of the present invention further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above method is implemented. It should be noted that the storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), a magnetic disk or an optical disk.
[0086] An embodiment of the present invention further provides a system for collecting and processing fault data for analysis of an unmanned mining vehicle, comprising a client and a server.
[0087] The client is used to upload fault data to the server.
[0088] The server is used to process the fault data according to the above method.
[0089] Furthermore, the system for collecting and processing fault data for analysis of an unmanned mining vehicle in an embodiment of the present invention also includes an unmanned mining vehicle, and the above-mentioned client is arranged on the unmanned mining vehicle.
[0090] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable storage medium, which may include a computer-readable storage medium (or a non-transitory medium) and a communication medium (or a temporary medium).
[0091] As is known to those of ordinary skill in the art, the term computer-readable storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.
[0092] Exemplarily, the computer-readable storage medium may be an internal storage unit of the electronic device of the aforementioned embodiment, such as a hard disk or memory of the electronic device. The computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device.
[0093] The above are only specific implementations of the embodiments of the present invention, but the protection scope of the embodiments of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the embodiments of the present invention, and these modifications or replacements should be included in the protection scope of the embodiments of the present invention. Therefore, the protection scope of the embodiments of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for collecting and processing fault data for analysis of unmanned mining vehicles, It is characterized in that The method comprises the following steps: collecting fault data of an unmanned mining vehicle according to a preset fault identifier; dividing the fault data into continuous fault data and single-point fault data other than the continuous fault data, wherein the continuous fault data comprises a plurality of fault data of the same type received repeatedly within a specified period; determining the start and end time of the fault corresponding to the continuous fault data according to the time of the first and last received fault data in the continuous fault data; determining the start and end time of the occurrence of the fault corresponding to the single-point fault data according to the time of receiving the single-point fault data; and determining the time range of the occurrence of the corresponding fault according to the start and end time of each piece of fault data.
2. The method for collecting and processing fault data for analysis of an unmanned mining vehicle according to claim 1, Features: The fault identifier includes a unique fault identifier corresponding to each type of fault, and the start and end time of the fault corresponding to the continuous fault data is determined according to the time of the first and last received fault data in the continuous fault data; The process of determining the start and end time of the fault corresponding to the single point fault data according to the time when the single point fault data is received includes: When fault data is collected and the unique fault identifier in the fault data does not exist, the current fault data is stored, the start time of the corresponding fault is determined according to the collection time of the current fault data, and the storage time of the current fault data is determined according to the start time; When the storage time reaches the above-specified period and fault data with the same unique fault identifier as the current fault data is collected, the current fault data is taken as continuous fault data; the end time of the fault corresponding to the continuous fault data is determined according to the collection time of the last collected continuous fault data; When the storage time reaches the specified period and no fault data with the same unique fault identifier as the current fault data is collected, the current fault data is used as single point fault data, and the end time of the corresponding fault is determined according to the collection time of the single point fault data.
3. The method for collecting and processing fault data for analysis of an unmanned mining vehicle according to claim 2, Features: Determining the start and end time of the fault corresponding to the continuous fault data according to the time of the first and last received fault data in the continuous fault data; The process of determining the start and end time of the fault corresponding to the single point fault data according to the time when the single point fault data is received specifically includes: after the fault data is collected, if there is no fault unique identifier of the current fault data in the cache database, the current fault data is stored in the cache database and the local database respectively, and the collection time of the current fault data is used as the fault start time, and the storage time of the current fault is recorded in the cache database; when the storage time reaches the above-mentioned specified period, it is determined whether the fault data with the same unique fault identifier as the current fault data is collected: If yes, the current fault data is used as continuous fault data. When the fault data with the same unique fault identifier as the current fault data is not collected after the specified period, the collection time of the last collected current fault data is used as the fault end time of the current continuous fault data and updated to the local database; Otherwise, the current fault data is used as the single point fault data, and the fault start time of the current fault data is used as the fault end time of the single point fault data and updated to the local database.
4. The method for collecting and processing fault data for analysis of an unmanned mining vehicle according to claim 3, It is characterized in that The method also includes the following steps: deleting fault data that has not received the same unique fault identifier within a specified time period.
5. The method for collecting and processing fault data for analysis of an unmanned mining vehicle according to claim 3, Features: The cache database is a Redis database, and the local database is a MySQL database.
6. The method for collecting and processing fault data for analysis of an unmanned mining vehicle according to any one of claims 2 to 5, Features: The process of collecting the fault data of the unmanned mine car according to the preset fault identifier includes: setting the field value corresponding to each unique fault identifier in the Java object, converting the operation data of the unmanned mine car into a JSON object, and when the JSON object can be converted into the Java object, determining that the Java object is fault data.
7. The method for collecting and processing fault data for analysis of an unmanned mining vehicle as claimed in claim 6, Features: The fields of the unique fault identifier include: faultAddr, spn and fmi.
8. The method for collecting and processing fault data for analysis of an unmanned mining vehicle according to any one of claims 2 to 5, Features: The method further comprises the following steps: marking a corresponding fault level for each fault data corresponding fault.
9. A system for collecting and processing fault data for analysis of an unmanned mining vehicle, comprising a client and a server; The client is used to: upload fault data to the server; The server is used to process fault data according to the method described in any one of claims 1 to 8.
10. The system for collecting and processing fault data for analysis of an unmanned mining vehicle according to claim 9, Features: The system also includes an unmanned mining vehicle, and the client is arranged on the unmanned mining vehicle.
Citation Information
Patent Citations
Unattended safety early warning system for underground coal mine drainage system
CN111608733A
Fault data storage method and device, vehicle and computer readable storage medium
CN114913627A
Remote takeover safety guarantee method and system, computer equipment and storage medium
CN115220436A
Vehicle data uploading method and device, electronic equipment and readable storage medium
CN116758650A
Single-point fault identification method and device, terminal equipment and storage medium
CN117667493A
Cited By
Method and system for recording complete life cycle data of vehicle fault code
CN122593247A
