Intelligent diagnosis method, system and storage medium based on equipment online data
By collecting data comparison and emergency destination address forwarding between terminals and data transfer equipment in the industrial Internet, rapid response and processing of abnormal data of industrial equipment is achieved, solving the problem of diagnostic delay in the existing technology, and improving equipment reliability. Security and responsiveness.
Patent Information
- Application Number
- CN202410572341.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-10
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-05-10
AI Technical Summary
Existing online data diagnosis methods fail to effectively detect abnormalities in industrial equipment, affecting the safety and response speed of the equipment.
When data is collected between the collection terminal and the data transfer device, the consistency of the data with the preset normal data is compared. If it is inconsistent, the destination address of the data packet header is written into the emergency destination address, and the data is forwarded to the data center with the highest priority. The center performs intelligent diagnosis and emergency processing to avoid delays in diagnosis of data transfer equipment.
It improves the rapid response and processing speed of abnormal data, improves the safety and diagnosis speed of industrial equipment, and reduces the delay of data processing.
Smart Images

Figure CN118174959B
Abstract
Description
Technical Field
[0001] The present invention relates to the Internet and data fields, and in particular to an intelligent diagnosis method, system and storage medium based on online data of equipment. Background Art
[0002] The Industrial Internet is a new type of infrastructure, application model and industrial ecology that is a deep integration of the new generation of information and communication technology and the industrial economy. By fully connecting people, machines, objects, systems, etc., it builds a new manufacturing and service system covering the entire industrial chain and the entire value chain, providing a way to achieve the digitalization, networking and intelligent development of industry and even industries.
[0003] Online data based on industrial equipment needs to be diagnosed whether it is abnormal. The existing online data only transmits the online data, and does not diagnose whether the data is abnormal, which affects the safety of industrial equipment. Summary of the invention
[0004] The embodiments of the present invention provide an intelligent diagnosis method, system and storage medium based on online data of equipment, which perform rapid abnormality diagnosis on industrial Internet data, improve the response speed to abnormal situations, and improve the safety of equipment in the same industry.
[0005] In a first aspect, an embodiment of the present invention provides an intelligent diagnosis method based on online data of a device, the method comprising the following steps:
[0006] The collection terminal collects first data within a first period, compares the first data with preset normal data before the first period to determine whether they are consistent, if they are consistent, writes the destination address of the first data packet header into the destination address of the communication transfer device to obtain a first packet, and sends the first packet to the data transfer device; if they are inconsistent, writes the destination address of the first data packet header into the emergency destination address to obtain a first packet, and sends the first packet to the data transfer device;
[0007] After receiving the first packet, if the data transfer device determines that the destination address of the first packet is an emergency destination address, the first packet is forwarded to the data center corresponding to the emergency destination address with the highest priority; if the destination address of the first packet is determined to be a local address, the normal data processing process is executed;
[0008] After receiving the first packet, the data center parses the first packet to obtain first data of the first packet, performs intelligent diagnosis on the first data to determine a first abnormal situation corresponding to the first data, and executes an emergency process corresponding to the first abnormal situation.
[0009] In a second aspect, an intelligent diagnosis method based on online data of equipment is provided, wherein the system comprises: a collection terminal, a data transfer device and a data center.
[0010] A collection terminal is used to collect first data in a first period, compare the first data with preset normal data before the first period to determine whether they are consistent, if they are consistent, write the destination address of the first data packet header into the destination address of the communication transfer device to obtain a first packet, and send the first packet to the data transfer device; if they are inconsistent, write the destination address of the first data packet header into the emergency destination address to obtain the first packet, and send the first packet to the data transfer device;
[0011] The data transfer device is used for, after receiving the first packet, if it is determined that the destination address of the first packet is an emergency destination address, forwarding the first packet to the data center corresponding to the emergency destination address with the highest priority, and if it is determined that the destination address of the first packet is a local address, executing a normal data processing process;
[0012] The data center is used to, after receiving the first packet, parse the first packet to obtain first data of the first packet, perform intelligent diagnosis on the first data to determine a first abnormal situation corresponding to the first data, and execute an emergency process corresponding to the first abnormal situation.
[0013] In a third aspect, a computer-readable storage medium is provided, which stores a program for electronic data exchange, wherein the program enables an intelligent diagnosis system based on online data of equipment to execute the method provided in the first aspect.
[0014] Implementing the embodiments of the present invention has the following beneficial effects: the technical solution provided by the present application collects the first data in the first cycle by the acquisition terminal, compares the first data with the zeroth data of the zeroth cycle before the first cycle to determine whether they are consistent; if they are consistent, writes the destination address of the first data packet header into the destination address of the communication transfer device to obtain the first packet, and sends the first packet to the data transfer device; if they are inconsistent, writes the destination address of the first data packet header into the emergency destination address to obtain the first packet, and sends the first packet to the data transfer device; after the data transfer device receives the first packet, if it is determined that the destination address of the first packet is the emergency destination address, forwards the first packet to the data center corresponding to the emergency destination address with the highest priority; if it is determined that the destination address of the first packet is the local address, executes the normal data processing process; after the data center receives the first packet, it parses the first packet to obtain the first data of the first packet, performs intelligent diagnosis on the first data to determine the abnormal situation corresponding to the first data, and executes the emergency process corresponding to the abnormal situation. In this way, for the collection terminal, the abnormal data can be quickly sent to the data center through the emergency destination address. After the data center processes and determines the abnormal situation, it executes the corresponding emergency process, which avoids the delay of diagnosis of the data transfer equipment. For the collection terminal, the data it processes will not have forwarded data, and only local collection data will be processed. Therefore, the data processing speed can be improved, the abnormal response speed can be improved, and the abnormal situation diagnosis speed can be improved, thereby improving the security of data. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0016] Figure 1 It is a structural diagram of the Industrial Internet;
[0017] Figure 2 It is a flow chart of an intelligent diagnosis method based on online data of equipment;
[0018] Figure 3 It is a structural diagram of an intelligent diagnosis system based on online data of equipment. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present invention and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0021] Reference to "embodiments" herein means that a particular feature, result, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0022] See also Figure 1 , Figure 1 A structural diagram of the industrial Internet is provided, specifically, Figure 1As shown, the industrial Internet may include: a data center 100, a communication transfer device 101, and a collection terminal 102, wherein the data center 100 is connected to the communication transfer device 101, and the collection terminal 102 is connected to the communication transfer device 101. The above connection methods may specifically be: limited method, wireless method, and other communication methods. This application does not limit the above communication methods.
[0023] The acquisition terminal 102 may be various sensors, including but not limited to: a temperature sensor, a pressure sensor, a position sensor, an image sensor, a smoke sensor, and the like.
[0024] The communication transfer device 101 can be a computer device, and of course it can also be a communication device with data transfer, such as an access point (AP). The data center can be composed of multiple computer devices. The computer device can be a computer device with an operating system such as IOS, Android, Hongmeng, etc., and of course it can also be a computer device of other systems. This application does not limit the specific operating system. The computer device can be connected to other devices wirelessly, and of course it can also be connected to other devices by wire. The computer device can specifically be: a personal computer, a server, a tablet computer, etc.
[0025] For the data of the Industrial Internet, the data collected are generally specific data, such as the temperature data collected by the temperature sensor, the pressure data collected by the pressure sensor, etc. For such data, especially the data of the Industrial Internet, the data have a certain degree of repeatability. For example, due to the repeatability of industrial manufacturing, the sampling frequency of the temperature sensor is consistent, so the temperature data collected by the temperature sensor has periodic repeatability. In addition, the data collected by the same type of sensors at different locations may also be the same. The existing Industrial Internet transmits all data, which increases the amount of data transmitted and the subsequent storage capacity.
[0026] See also Figure 2 , Figure 2 A flow chart of an intelligent diagnosis method based on online data of equipment provided in this application, the method comprises the following steps: Figure 1 Executed within the Industrial Internet, as shown Figure 2 As shown, the following steps are included:
[0027] Step S201, the collection terminal collects the first data in the first cycle, compares the first data with the preset normal data before the first cycle to determine whether they are consistent, if they are consistent, write the destination address of the first data packet header into the destination address of the communication transfer device to obtain the first packet, and send the first packet to the data transfer device; if they are inconsistent, write the destination address of the first data packet header into the emergency destination address to obtain the first packet, and send the first packet to the data transfer device;
[0028] By way of example, comparing the first data with the preset normal data before the first cycle to determine whether they are consistent may specifically include:
[0029] The acquisition terminal adds the numerical value of each bit of the first data to obtain a first sum, and compares the first sum with the sum threshold (the numerical sum of the preset normal data) to see if they are consistent. If they are consistent (the difference between the first sum and the sum threshold may be zero or the difference may be within the first range), it is determined that the first data is consistent with the preset normal data before the first cycle; if they are inconsistent (the opposite of consistency, which will not be repeated here), it is determined that the first data is inconsistent with the preset normal data before the first cycle.
[0030] This method can reduce the overhead of comparison and can improve the speed compared with the normal one-by-one comparison. For one-by-one comparison, both data (preset normal data and first data) need to be extracted. Taking 32 kilobits of data as an example, it needs to occupy 64 kilobits of memory, which requires a lot of memory for the acquisition terminal because the data processing capacity of the acquisition terminal is limited. However, for only the comparison of and, only the first data needs to be extracted, that is, only 32 kilobits of memory is needed. For the and threshold, generally only 32 bits are occupied, which is almost negligible. Therefore, the memory occupied by this method will be reduced. In addition, the principle of and comparison is explained. Since the data collected by the acquisition terminal in the industrial Internet is very regular, taking the temperature sensor as an example, when there is no abnormal temperature, the temperature values collected in one cycle should be consistent, and since it is the same sensor, the acquisition frequency is also the same. Therefore, under normal circumstances, there is almost no difference in the data collected in one cycle, so it is possible to pass the and abnormality check.
[0031] For example, the emergency destination address may be a preset destination address, which may be a MAC address or an IP address, such as a special unused address such as 11111111. The emergency destination address may specifically be a virtual destination address allocated by an emergency processing device in a data center.
[0032] Step S202: After receiving the first packet, if the data transfer device determines that the destination address of the first packet is an emergency destination address, the first packet is forwarded to the data center corresponding to the emergency destination address with the highest priority; if the destination address of the first packet is determined to be a local address, the normal data processing process is executed;
[0033] For example, the above normal data processing flow may specifically include:
[0034] The first data of the first packet is saved or the collection period corresponding to the first packet is saved. Of course, in practical applications, since the first data is the same as the preset normal data, only the collection period corresponding to the first packet needs to be saved. This can reduce the amount of data storage.
[0035] Step S203: After receiving the first packet, the data center parses the first packet to obtain first data of the first packet, performs intelligent diagnosis on the first data to determine a first abnormal situation corresponding to the first data, and executes an emergency process corresponding to the first abnormal situation.
[0036] The emergency process for executing the abnormal situation can be obtained through the preset emergency process. For example, if the abnormal situation is temperature control abnormality, the production of the corresponding industrial equipment can be suspended. The emergency process can be set by the user or determined according to the historical emergency process.
[0037] The technical solution provided by the present application is that the acquisition terminal acquires the first data within the first cycle, compares the first data with the zeroth data of the zeroth cycle before the first cycle to determine whether they are consistent; if they are consistent, write the destination address of the first data packet header into the destination address of the communication transfer device to obtain the first packet, and send the first packet to the data transfer device; if they are inconsistent, write the destination address of the first data packet header into the emergency destination address to obtain the first packet, and send the first packet to the data transfer device; after the data transfer device receives the first packet, if it is determined that the destination address of the first packet is the emergency destination address, forward the first packet to the data center corresponding to the emergency destination address with the highest priority; if it is determined that the destination address of the first packet is the local address, execute the normal data processing process; after the data center receives the first packet, parses the first packet to obtain the first data of the first packet, performs intelligent diagnosis on the first data to determine the abnormal situation corresponding to the first data, and executes the emergency process corresponding to the abnormal situation. In this way, for the collection terminal, the abnormal data can be quickly sent to the data center through the emergency destination address. After the data center processes and determines the abnormal situation, it executes the corresponding emergency process, which avoids the delay of diagnosis of the data transfer equipment. For the collection terminal, the data it processes will not have forwarded data, and only local collection data will be processed. Therefore, the data processing speed can be improved, the abnormal response speed can be improved, and the abnormal situation diagnosis speed can be improved, thereby improving the security of data.
[0038] By way of example, the above-mentioned performing intelligent diagnosis on the first data to determine the abnormal situation corresponding to the first data specifically includes:
[0039] The first data is compared with preset normal data to determine an abnormal area of the first data, the abnormal area is analyzed to obtain an abnormal value corresponding to the abnormal area, the difference between the abnormal value and the normal value is calculated to obtain a first difference, and the abnormal situation of the first data is determined according to the interval in which the first difference is located.
[0040] The above-mentioned determining the abnormality of the first data according to the interval in which the first difference value is located may specifically include:
[0041] A first interval corresponding to the first difference is determined, and a first abnormal situation corresponding to the first interval is queried from a mapping relationship between intervals and abnormal situations.
[0042] Taking temperature as an example, the abnormal area is analyzed to obtain the abnormal value corresponding to the abnormal area, that is, the binary value of the abnormal area is converted into a decimal value. For example, the abnormal value is 50℃, the normal value is 30℃, and the difference is 20℃. In this way, the abnormal situation corresponding to 20℃ can be queried. The mapping relationship between the above interval and the abnormal situation can be obtained through the statistical data between the historical abnormal situation and the difference, which will not be repeated here.
[0043] For example, before executing the emergency process corresponding to the first abnormal situation, the above method may further include:
[0044] The data center obtains the association relationship of the first abnormal situation, extracts other data collected by other collection terminals under the association relationship in the first period, and the data center conducts intelligent diagnosis on the other data to determine the second situation corresponding to the other data. If the first abnormal situation is consistent with the second situation, the emergency process corresponding to the first abnormal situation is executed. If the second situation is normal, it is determined that the collection terminal is an equipment abnormality.
[0045] For example, the correlation between the above abnormal conditions can be obtained based on historical data. For example, if the first abnormal condition is a fire, the temperature value will be very high. At the same time, the smoke sensor will also detect the abnormality. Therefore, if the first abnormal condition is a fire, if the acquisition terminal is a temperature sensor, the data collected by the smoke sensor in the same area as the temperature sensor in the first cycle can be extracted as other data. Of course, there may be other correlations based on different abnormal conditions. The present application does not limit the specific form of expression of the above correlation.
[0046] See also Figure 3 , Figure 3 A structural diagram of an intelligent diagnosis system based on online data of equipment is provided, the system comprising: a collection terminal, a data transfer device and a data center.
[0047] A collection terminal is used to collect first data in a first period, compare the first data with preset normal data before the first period to determine whether they are consistent, if they are consistent, write the destination address of the first data packet header into the destination address of the communication transfer device to obtain a first packet, and send the first packet to the data transfer device; if they are inconsistent, write the destination address of the first data packet header into the emergency destination address to obtain the first packet, and send the first packet to the data transfer device;
[0048] The data transfer device is used for, after receiving the first packet, if it is determined that the destination address of the first packet is an emergency destination address, forwarding the first packet to the data center corresponding to the emergency destination address with the highest priority, and if it is determined that the destination address of the first packet is a local address, executing a normal data processing process;
[0049] The data center is used to, after receiving the first packet, parse the first packet to obtain first data of the first packet, perform intelligent diagnosis on the first data to determine a first abnormal situation corresponding to the first data, and execute an emergency process corresponding to the first abnormal situation.
[0050] For example,
[0051] The acquisition terminal is specifically used to add the numerical value of each bit of the first data to obtain a first sum, and compare the first sum with the sum threshold to see if they are consistent. If they are consistent, it is determined that the first data is consistent with the preset normal data before the first cycle; if they are inconsistent, it is determined that the first data is inconsistent with the preset normal data before the first cycle.
[0052] For example,
[0053] The collection terminal is specifically used to compare the first data with the preset normal data to determine the abnormal area of the first data, analyze the abnormal area to obtain the abnormal value corresponding to the abnormal area, calculate the difference between the abnormal value and the normal value to obtain the first difference, and determine the abnormal situation of the first data according to the interval where the first difference is located; determining the abnormal situation of the first data according to the interval where the first difference is located specifically includes: determining the first interval corresponding to the first difference, and querying the first abnormal situation corresponding to the first interval from the mapping relationship between the interval and the abnormal situation.
[0054] An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the intelligent diagnosis methods based on online data of equipment as recorded in the above method embodiments.
[0055] An embodiment of the present invention also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute part or all of the steps of any one of the intelligent diagnosis methods based on online data of the device as recorded in the above method embodiments.
[0056] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described order of actions, because according to the present invention, certain steps can be received in other orders or performed simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0057] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0058] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.
[0059] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0060] The embodiments of the present invention are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. An intelligent diagnosis method based on online data of equipment, characterized in that: The method comprises the following steps: The collection terminal collects first data within a first period, compares the first data with preset normal data before the first period to determine whether they are consistent, if they are consistent, writes the destination address of the first data packet header into the destination address of the communication transfer device to obtain a first packet, and sends the first packet to the data transfer device; if they are inconsistent, writes the destination address of the first data packet header into the emergency destination address to obtain a first packet, and sends the first packet to the data transfer device; After receiving the first packet, if the data transfer device determines that the destination address of the first packet is an emergency destination address, the first packet is forwarded to the data center corresponding to the emergency destination address with the highest priority; if the destination address of the first packet is determined to be a local address, the normal data processing process is executed; After receiving the first packet, the data center parses the first packet to obtain first data of the first packet, performs intelligent diagnosis on the first data to determine a first abnormal situation corresponding to the first data, and executes an emergency process corresponding to the first abnormal situation; The performing intelligent diagnosis on the first data to determine the abnormal situation corresponding to the first data specifically includes: Comparing the first data with preset normal data to determine an abnormal region of the first data, analyzing the abnormal region to obtain an abnormal value corresponding to the abnormal region, calculating the difference between the abnormal value and the normal value to obtain a first difference, and determining the abnormality of the first data according to the interval in which the first difference is located; Determining the abnormality of the first data according to the interval in which the first difference value is located specifically includes: A first interval corresponding to the first difference is determined, and a first abnormal situation corresponding to the first interval is queried from a mapping relationship between intervals and abnormal situations.
2. The intelligent diagnosis method based on online equipment data according to claim 1 is characterized in that: Comparing the first data with the preset normal data before the first cycle to determine whether they are consistent specifically includes: The acquisition terminal adds the value of each bit of the first data to obtain a first sum, and compares the first sum with the sum threshold to see if they are consistent. If they are consistent, it is determined that the first data is consistent with the preset normal data before the first cycle; if they are inconsistent, it is determined that the first data is inconsistent with the preset normal data before the first cycle.
3. The intelligent diagnosis method based on equipment online data according to claim 1 is characterized in that: The normal data processing flow specifically includes: The data transfer device saves the first data of the first packet or saves the collection period corresponding to the first packet.
4. An intelligent diagnosis system based on online data of equipment, the system comprising: Collection terminal, data transfer equipment and data center, characterized in that: A collection terminal is used to collect first data in a first period, compare the first data with preset normal data before the first period to determine whether they are consistent, if they are consistent, write the destination address of the first data packet header into the destination address of the communication transfer device to obtain a first packet, and send the first packet to the data transfer device; if they are inconsistent, write the destination address of the first data packet header into the emergency destination address to obtain the first packet, and send the first packet to the data transfer device; The data transfer device is used for, after receiving the first packet, if it is determined that the destination address of the first packet is an emergency destination address, forwarding the first packet to the data center corresponding to the emergency destination address with the highest priority, and if it is determined that the destination address of the first packet is a local address, executing a normal data processing process; A data center is configured to, after receiving the first packet, parse the first packet to obtain first data of the first packet, perform intelligent diagnosis on the first data to determine a first abnormal situation corresponding to the first data, and execute an emergency process corresponding to the first abnormal situation; The performing intelligent diagnosis on the first data to determine the abnormal situation corresponding to the first data specifically includes: Comparing the first data with preset normal data to determine an abnormal region of the first data, analyzing the abnormal region to obtain an abnormal value corresponding to the abnormal region, calculating the difference between the abnormal value and the normal value to obtain a first difference, and determining the abnormality of the first data according to the interval in which the first difference is located; Determining the abnormality of the first data according to the interval in which the first difference value is located specifically includes: A first interval corresponding to the first difference is determined, and a first abnormal situation corresponding to the first interval is queried from a mapping relationship between intervals and abnormal situations.
5. The intelligent diagnosis system based on online equipment data according to claim 4, The acquisition terminal is specifically used to add the numerical value of each bit of the first data to obtain a first sum, and compare the first sum with the sum threshold to see if they are consistent. If they are consistent, it is determined that the first data is consistent with the preset normal data before the first cycle; if they are inconsistent, it is determined that the first data is inconsistent with the preset normal data before the first cycle.
6. The intelligent diagnosis system based on online equipment data according to claim 4 is characterized in that: The normal data processing flow specifically includes: The data transfer device saves the first data of the first packet or saves the collection period corresponding to the first packet.
7. A computer-readable storage medium storing a program for electronic data exchange, characterized in that: The program enables the intelligent diagnosis system based on the online data of the equipment to execute the method according to any one of claims 1 to 3.
