CN-121995895-A - Fault record storage device, upper computer and fault record inquiry system
Abstract
The application discloses a fault record storage device, an upper computer and a fault record query system, wherein the device comprises a plurality of first communication interfaces with different communication protocols, a data processing unit, a second communication interface and a data processing unit, wherein the first communication interfaces are used for accessing a target monitoring device to acquire a plurality of fault records of the target monitoring device based on the corresponding communication protocols, the data processing unit is connected with the first communication interfaces and is used for storing the plurality of fault records, and the plurality of fault records are circularly covered based on the storage sequence of the plurality of fault records under the condition that the residual storage space of the data processing unit is smaller than a preset threshold value, and the second communication interface is connected with the data processing unit and is used for accessing the upper computer to send data messages corresponding to the plurality of fault records to the upper computer for user query.
Inventors
- LI BAODONG
Assignees
- 北京合康新能变频技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241101
Claims (12)
- 1. A fault log storage device comprising: The system comprises a plurality of first communication interfaces with different communication protocols, a plurality of second communication interfaces and a plurality of first communication interfaces, wherein the first communication interfaces are used for accessing the target monitoring equipment so as to acquire a plurality of fault records of the target monitoring equipment based on the corresponding communication protocols; The data processing unit is connected with the plurality of first communication interfaces and is used for storing the plurality of fault records and circularly covering the plurality of fault records based on the storage sequence of the plurality of fault records under the condition that the residual storage space of the data processing unit is smaller than a preset threshold value; And the second communication interface is connected with the data processing unit and is used for accessing the upper computer so as to send the data messages corresponding to the fault records to the upper computer for inquiry of a user.
- 2. The fault record storage device according to claim 1, wherein the data processing unit is further configured to, when a new fault record is obtained through the first communication interface and a remaining storage space after storing the plurality of fault records is smaller than a preset threshold, obtain a storage order of the plurality of fault records, and select a fault record stored first from the plurality of fault records based on the storage order to delete, so as to store the new fault record.
- 3. The fault record storage device according to claim 1, wherein the data processing unit is further configured to store the plurality of fault records as a plurality of record files according to the acquisition time corresponding to each fault record, and send a data packet to the upper computer through the second communication interface when the second communication interface receives the instruction signal sent by the upper computer, where the data packet carries file information of the plurality of record files.
- 4. The fault record storage device of claim 3, wherein the data processing unit is further configured to, When a first instruction signal sent by the upper computer is received, a first data message is sent to the upper computer through the second communication interface, the first data message carries file characteristic information of the plurality of recorded files for a user to preview, and the file characteristic information comprises file date, file size and file name.
- 5. The fault record storage device of claim 4, wherein the data processing unit is further configured to, When a second instruction signal sent by the upper computer is received, a corresponding target record file is determined according to file characteristic information carried in the second instruction signal, a second data message is sent to the upper computer through the second communication interface, and the second data message carries file content information of the target record file for a user to check.
- 6. The fault record storage device of claim 1, further comprising an extended data interface, the extended data interface being connected to the data processing unit, the data processing unit further configured to store the plurality of fault records to the external storage device based on a preset file storage format when it is detected that the extended data interface has access to the external storage device.
- 7. The upper computer is characterized by being used for connecting the second communication interface in the fault record storage device according to any one of claims 1 to 6 so as to acquire data messages corresponding to the fault records for a user to query.
- 8. The upper computer of claim 7, wherein the upper computer comprises a communication module, the communication module is configured to send a first instruction signal to the fault record storage device to obtain a first data packet sent by the fault record storage device, the first data packet carries file characteristic information of the plurality of record files, and the file characteristic information includes a file date, a file size and a file name.
- 9. The upper computer of claim 8, further comprising a man-machine interaction module, wherein the man-machine interaction module is connected with the communication module, and the man-machine interaction module is configured to form a visual interface according to the file characteristic information, so as to allow a user to preview.
- 10. The upper computer of claim 9, wherein the communication module is further configured to send a second command signal to the fault record storage device in response to the user input signal obtained by the man-machine interaction module, so as to obtain a second data packet sent by the fault record storage device, where the second command signal carries file characteristic information of a target record file corresponding to the user input signal, and the second data packet carries file content information of the target record file.
- 11. The upper computer of claim 10, further comprising an parsing module, wherein the parsing module is connected to the communication module and the man-machine interaction module, and the parsing module is configured to parse the second data packet based on a preset packet format, so as to display the file content information on the visual interface for viewing by a user.
- 12. A fault record querying system, comprising a fault record storage device according to any one of claims 1 to 6, and an upper computer according to any one of claims 7 to 11.
Description
Fault record storage device, upper computer and fault record inquiry system Technical Field The invention relates to the technical field of industrial manufacturing, in particular to a fault record storage device, an upper computer and a fault record query system. Background In the field of modern industrial manufacturing, when an intelligent industrial product is actually tested, the fault of the product needs to be tracked and recorded for a long time, the running state of equipment is monitored and recorded so as to be diagnosed and maintained rapidly when the equipment fails, however, the traditional fault recording scheme has the following problems that the traditional fault recording scheme is generally developed for a single product and has poor applicability, in the development and test stage of the intelligent industrial product, in order to ensure that fault information can be recorded for a long time and comprehensively, a large-capacity external memory is generally used, after the development and test stage is finished, new risks are possibly introduced in replacing the small-capacity memory due to the consideration of software stability, so that the replacement is generally inconvenient, unnecessary hardware cost is increased, and if software development is carried out, functions such as coverage, inquiry and the like are realized for the fault recording, the stability still needs to be tested for a large amount of a long time, and the time cost and the labor cost are increased. In summary, the current fault recording scheme has the technical problems of high recording cost and poor applicability, and is inconvenient for users to store and inquire fault records aiming at different monitoring devices. Disclosure of Invention The invention aims to at least solve one of the technical problems in the prior art, and provides a fault record storage device, an upper computer and a fault record query system, which can realize effective storage of fault records only through a single device, further can reduce the cost of fault records, and improve the applicability of the fault record storage device, so that a user can store and query the fault records for different monitoring devices. The application provides a fault record storage device which comprises a plurality of first communication interfaces with different communication protocols, a data processing unit, a second communication interface and a host computer, wherein the first communication interfaces are used for accessing a target monitoring device to acquire a plurality of fault records of the target monitoring device based on the corresponding communication protocols, the data processing unit is connected with the first communication interfaces and used for storing the plurality of fault records, and the fault records are circularly covered based on the storage sequence of the plurality of fault records under the condition that the residual storage space of the data processing unit is smaller than a preset threshold value, and the second communication interface is connected with the data processing unit and used for accessing the host computer to send data messages corresponding to the plurality of fault records to the host computer for user inquiry. The fault record storage device provided by the embodiment of the application has the advantages that the device can be connected with various types of target monitoring equipment by arranging the plurality of first communication interfaces with different communication protocols so as to expand the application range of the device, the device can be flexibly used in different application scenes by supporting the plurality of communication protocols, the adaptability is high, a special fault record device is not required to be developed for each equipment, further, a data processing unit is used for executing a circulating coverage strategy, when the residual storage space of the data processing unit is smaller than a preset threshold value, the circulating coverage is carried out based on the storage sequence of the fault record, the reservation of important fault records is ensured, the loss of important data caused by the insufficient storage space is avoided, the utilization rate of the storage space can be effectively improved, the storage efficiency is improved, the unnecessary hardware cost is reduced, and further, a data message corresponding to the fault record can be sent to an upper computer for inquiring and analyzing by connecting the second communication interface with the upper computer, so that a user can conveniently check and manage the fault record through the upper computer software, and the fault record checking and the fault diagnosis efficiency is improved. In summary, it can be understood that the device provided by the application adopts a modularized design, and can realize effective storage of fault records through a single device, thereby reducing the cost of fault recor