CN108200062B - Data management method and system for intelligent instrument equipment - Google Patents

Data management method and system for intelligent instrument equipment Download PDF

Info

Publication number
CN108200062B
CN108200062B CN201810005231.XA CN201810005231A CN108200062B CN 108200062 B CN108200062 B CN 108200062B CN 201810005231 A CN201810005231 A CN 201810005231A CN 108200062 B CN108200062 B CN 108200062B
Authority
CN
China
Prior art keywords
intelligent instrument
data
information
data message
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810005231.XA
Other languages
Chinese (zh)
Other versions
CN108200062A (en
Inventor
李跃
李昱
解朝杰
马超
陈胜军
董永刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hollysys Automation Co Ltd
Original Assignee
Hangzhou Hollysys Automation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hollysys Automation Co Ltd filed Critical Hangzhou Hollysys Automation Co Ltd
Priority to CN201810005231.XA priority Critical patent/CN108200062B/en
Publication of CN108200062A publication Critical patent/CN108200062A/en
Application granted granted Critical
Publication of CN108200062B publication Critical patent/CN108200062B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The invention discloses a data management method and a system of intelligent instrument equipment, wherein the method comprises the following steps: acquiring a data message sent by intelligent instrument equipment; judging whether the data message is an HART message or not according to the packet header of the data message; if so, processing the data message by using the HART driving device to obtain the information meaning corresponding to the data message; if not, processing the data message by using the Profibus driving device to obtain the information meaning corresponding to the data message; the invention splits the message header of the data message, and sends the data message of different protocols to the corresponding driving device for processing, so that the data message of the intelligent instrument equipment supporting HART and Profibus protocols can be analyzed, and the function of collecting the data of the intelligent instrument equipment by various interfaces is provided, thereby improving the availability of the existing intelligent instrument equipment, reducing the maintenance cost of the equipment, optimizing the operation of a factory and increasing the profitability.

Description

Data management method and system for intelligent instrument equipment
Technical Field
The invention relates to the technical field of data processing, in particular to a data management method and system for intelligent instrument equipment.
Background
With the rapid development of the field bus technology, it has become a trend of future development in the field of industrial automation that enterprises choose to use intelligent instrument devices to realize factory automation production. However, the smart meter devices have large differences in types, manufacturers, versions and time, and each meter requires special software for configuration and operation, which causes inconvenience in operation, management, maintenance, upgrade and the like for users.
Meanwhile, due to the fact that the field environment is poor and harsh in working conditions, intelligent instrument equipment is damaged anytime and anywhere, such as valve abrasion, pressure guide pipe blockage, thermocouple branch breakage, abnormal motor vibration and the like, production fluctuation can be caused by a plurality of faults, and even stop is achieved. Therefore, statistical analysis needs to be performed on data of the intelligent instrument device to improve the availability of the existing intelligent instrument device, reduce the cost of equipment maintenance, reduce production influence caused by equipment failure, optimize the operation of a factory, and increase the profitability.
In the prior art, intelligent instrument devices support different communication protocols, some intelligent instrument devices only support one protocol communication, and some intelligent instrument devices support multiple protocol communication, so that data collection for upper-layer software has multiple ways or multiple interfaces, which are not uniform, and thus data of the intelligent instrument devices supporting different communication protocols cannot be uniformly managed and analyzed. How to analyze the data message of the intelligent instrument equipment supporting different communication protocols and provide a data function of collecting the intelligent instrument equipment by various interfaces so as to improve the availability of the existing intelligent instrument equipment, reduce the cost of equipment maintenance, reduce the production influence caused by equipment failure, optimize the operation of a factory and increase the profitability is a problem which needs to be solved urgently nowadays.
Disclosure of Invention
The invention aims to provide a data management method and a data management system for intelligent instrument equipment, which are used for analyzing data messages of the intelligent instrument equipment supporting HART (highway addressable remote transducer) and Profibus (Process Field Bus) protocols and providing a function of collecting data of the intelligent instrument equipment by multiple interfaces.
In order to solve the technical problem, the invention provides a data management method of intelligent instrument equipment, which comprises the following steps:
acquiring a data message sent by intelligent instrument equipment; wherein, the data message is a HART message or a Profibus message;
judging whether the data message is the HART message or not according to the sub header of the data message;
if so, processing the data message by using an HART driving device to obtain the information meaning corresponding to the data message;
and if not, processing the data message by using a Profibus driving device to obtain the information meaning corresponding to the data message.
Optionally, the processing the data packet by using the Profibus driving apparatus to obtain the information meaning corresponding to the data packet includes:
acquiring parameter information of the intelligent instrument equipment from a data table according to the type of the intelligent instrument equipment;
and translating the data message by using the parameter information to acquire the information meaning corresponding to the data message.
Optionally, before acquiring the parameter information of the smart meter device from the data table according to the type of the smart meter device, the method further includes:
acquiring the parameter information from a DDL file corresponding to the type of the intelligent instrument equipment according to a preset data model, and extracting the parameter information to the data table; wherein the data table comprises a mapping relation between the type of the intelligent instrument device and the parameter information.
Optionally, the obtaining the parameter information from the DDL file corresponding to the type of the smart meter device according to a preset data model includes:
and according to the data model, obtaining the position parameter information and the index parameter information in a relevant way from the data structures of the read command and the write command in the DDL file corresponding to the type of the intelligent instrument equipment.
Optionally, the method further includes:
acquiring the state of each intelligent instrument device according to the information meaning corresponding to the acquired data message of each intelligent instrument device;
judging whether to alarm or not according to the state of each intelligent instrument device;
if yes, generating and displaying alarm information; the alarm information comprises at least one of alarm time, alarm level, alarm content, intelligent instrument equipment information and alarm quantity.
Optionally, after the generating and displaying the alarm information, the method further includes:
generating and displaying a fault maintenance plan according to the alarm information; wherein the fault maintenance plan comprises: at least one of a fault type, a fault time, a fault level, a number of faulty devices, and a fault handling state;
and recording the processing information corresponding to the maintenance plan.
Optionally, the method further includes:
counting basic information, use information, alarm information, fault maintenance plan and processing information of each intelligent instrument device;
performing statistical analysis according to each fault type, fault time and intelligent instrument equipment corresponding to each fault type, and acquiring and displaying equipment integrity; and/or
Performing statistical analysis according to the fault type, the fault time and the fault frequency of each intelligent instrument device to obtain the fault condition, the fault frequency and the fault reason of each intelligent instrument device; and/or
And performing statistical analysis according to the fault maintenance plan and the processing information of each intelligent instrument device to obtain the maintenance frequency, the fault reason, the processing efficiency and the processing result of each intelligent instrument device.
In addition, the present invention also provides a data management system of an intelligent instrument device, including:
the acquisition module is used for acquiring a data message sent by the intelligent instrument equipment; wherein, the data message is a HART message or a Profibus message;
the first judging module is used for judging whether the data message is the HART message according to the distribution header of the data message;
the first processing module is used for processing the data message by using a HART driving device if the data message is a HART message, and acquiring the information meaning corresponding to the data message;
and the second processing module is used for processing the data message by using a Profibus driving device if the data message is not the HART message, and acquiring the information meaning corresponding to the data message.
Optionally, the second processing module includes:
the parameter acquisition submodule is used for acquiring parameter information of the intelligent instrument equipment from a data table according to the type of the intelligent instrument equipment;
and the translation submodule is used for translating the data message by using the parameter information and acquiring the information meaning corresponding to the data message.
Optionally, the system further comprises:
the state acquisition module is used for acquiring the state of each intelligent instrument device according to the information meaning corresponding to the acquired data message of each intelligent instrument device;
the second judgment module is used for judging whether to give an alarm or not according to the state of each intelligent instrument device;
the alarm module generates and displays alarm information if the alarm is given; the alarm information comprises at least one of alarm time, alarm level, alarm content, intelligent instrument equipment information and alarm quantity.
The invention provides a data management method of intelligent instrument equipment, which comprises the following steps: acquiring a data message sent by intelligent instrument equipment; wherein, the data message is HART message or Profibus message; judging whether the data message is an HART message or not according to the packet header of the data message; if so, processing the data message by using the HART driving device to obtain the information meaning corresponding to the data message; if not, processing the data message by using the Profibus driving device to obtain the information meaning corresponding to the data message;
therefore, the invention judges whether the data message is the HART message or not according to the distribution header of the data message, splits the message header of the data message, and delivers the data messages of different protocols to the corresponding driving devices for processing, so that the data message of the intelligent instrument equipment supporting HART and Profibus protocols can be analyzed, the information meaning corresponding to the data message is obtained, and the data function of collecting the data of the intelligent instrument equipment by multiple interfaces is provided, thereby improving the availability of the existing intelligent instrument equipment, reducing the cost of equipment maintenance, reducing the production influence caused by equipment failure, optimizing the operation of a factory and increasing the profitability. In addition, the invention also provides a data management system of the intelligent instrument device, and the data management system also has the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a data management method for an intelligent meter device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a software structure of a data management method for an intelligent meter device according to an embodiment of the present invention;
fig. 3 is a flowchart of another data management method for a smart meter device according to an embodiment of the present invention;
fig. 4 is a structural diagram of a data management system of a smart meter device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a data management method of an intelligent meter device according to an embodiment of the present invention. The method can comprise the following steps:
step 101: acquiring a data message sent by intelligent instrument equipment; wherein, the data message is HART message or Profibus message.
It will be appreciated that because of the prior art smart meter devices such as FDT/DTM (Field Device Tool/Device Type Manager) and EDDL (electronic Device Description Language), tend to communicate via the HART and Profibus protocols (Profibus-DP/PA). Therefore, the smart meter devices in the method provided by this embodiment, that is, the smart meter devices connected to the System (AMS, Asset Management System) corresponding to the method provided by this embodiment, may be the smart meter devices based on FDT/DTM and EDDL that support HART and Profibus protocols. The specific model of the smart meter device can be set by a designer according to a practical scene and user requirements, and the embodiment does not limit the model as long as the model can support HART and/or Profibus protocols for communication.
Specifically, in this embodiment, a specific manner of acquiring the data packet sent by the intelligent instrument device may be as shown in fig. 2, the intelligent instrument device transmits the data packet to the physical hardware through a physical connection, the device management system is connected to the physical hardware through a network cable, and a communication agent device (communication agent) in the device management system may be a bridge between the physical hardware and a program, and the interaction between the software and the intelligent instrument device is completed through the communication agent device. The communication agent device forwards the data message from the physical hardware to the hardware drive, the hardware drive analyzes the data message, carries out split processing according to different message headers, and delivers the data message with different protocols to the corresponding drive device for processing. Specifically, for example, HAMS (HOLLiAS Asset Management System, and time-of-interest device Management System) may communicate with the smart meter device supporting the HART protocol and Profibus protocol through hollyys DCS, MTL4850/4851, P + F MUX2700/KFD2-HMM-16, tripod real pbstudio1.0, and HART modem, as long as the data message sent by the connected smart meter device can be acquired, which is not limited in this embodiment.
Step 102: and judging whether the data message is the HART message or not according to the packet header of the data message. If yes, go to step 103; if not, go to step 104.
It can be understood that, because the method provided in this embodiment only shows that data management is performed on the smart meter device supporting communication of the HART and/or Profibus protocols, in this step, the packet header of the data packet is split, and it is only necessary to determine whether the data packet is a HART packet or not, and which type of the HART packet and the Profibus packet the data packet is. Of course, the purpose of this embodiment may also be achieved by determining whether the data packet is a Profibus packet, as long as the type of the data packet can be determined by splitting the packet header of the data packet, and for a specific determination manner, the type can be set by a designer according to a practical scenario and a user requirement. The present embodiment does not set any limit to this.
Step 103: and processing the data message by using the HART driving device to obtain the information meaning corresponding to the data message.
It can be understood that, in this embodiment, a specific manner of processing a data message sent by a smart meter device supporting HART by using a HART driver may be set by a designer, for example, a manner similar to the prior art is adopted, as long as the data message of the type of HART message can be translated, and information meanings which can be analyzed and correspond to the data message in the system, such as the AMS, corresponding to the method provided in this embodiment may be obtained, which is not limited in this embodiment.
Specifically, the specific structure of the HART driver can be set by the designer according to the practical situation and the user's requirement, and can include hollyys DCS (Distributed Control Systems), MTL (MTL 4850/4851, for example), P + F (P + F MUX2700/KFD2-HMM-16, for example), and HART MODEM (HART MODEM), as shown in fig. 2. As long as the information meaning corresponding to the data message of the HART message type can be analyzed, this embodiment does not set any limitation.
Step 104: and processing the data message by using the Profibus driving device to obtain the information meaning corresponding to the data message.
It should be noted that, in the prior art, since many parameter information in Profibus communication of the FDT/DTM-based smart meter device is already packaged or is not completely provided, it may not be possible to directly process the data packet acquired from the FDT/DTM-based smart meter device. Therefore, in the step, the data message is processed by using the Profibus driving device, and the parameter information of the intelligent instrument equipment can be obtained from the data table according to the type of the intelligent instrument equipment; and translating the data message by using the parameter information to acquire the information meaning corresponding to the data message. That is, the data message is translated according to the parameter information of the intelligent instrument device matched in the data table to obtain the specific information meaning, so that some packaged and supplemented information is extracted, and the information can be displayed in a unified manner.
It is understood that the parameter information of the smart meter devices in the data table can be obtained through the DDL file corresponding to each type of smart meter device. If the data model is preset, acquiring parameter information from a DDL file corresponding to the type of the intelligent instrument equipment, and extracting the parameter information to a data table; the data table comprises the mapping relation between the type of the intelligent instrument equipment and the parameter information.
Specifically, the data structure of the DDL file corresponding to the smart meter device supporting the Profibus protocol may be as follows:
Figure BDA0001538402680000071
Figure BDA0001538402680000081
Figure BDA0001538402680000091
it can be understood that according to the type of the smart meter device and a preset data model, the position parameter information (SLOT) and the INDEX parameter Information (INDEX) are obtained from two types of data structures of a read COMMAND (COMMAND read _ xxx) and a write COMMAND (COMMAND write _ xxx) in a corresponding DDL file in an associated manner, other parameter information is extracted from the DDL file, and the corresponding parameter information is extracted into a mapping table (data table) of a database (SQLServer). And in the analysis process, acquiring parameter information of the intelligent instrument equipment from the data table according to the actual type of the intelligent instrument equipment. And translating the received data message of the intelligent instrument equipment by using the parameter information obtained by the data table to obtain the information meaning corresponding to the data message.
In this embodiment, the embodiment of the present invention determines whether the data packet is an HART packet according to the distribution header of the data packet, splits the packet header of the data packet, and delivers the data packets of different protocols to corresponding driving devices for processing, so as to analyze the data packet of the smart meter device supporting HART and Profibus protocols, obtain the information meaning corresponding to the data packet, and provide a data function for acquiring data of the smart meter device by using multiple interfaces, thereby improving the availability of the existing smart meter device, reducing the cost of device maintenance, reducing the production influence caused by device failure, optimizing the operation of a factory, and increasing the profitability.
Based on the previous embodiment, in order to further improve the functionality of the method provided by the present embodiment, the method provided by the present embodiment may further add a function of alarming the smart meter device on the basis of collecting the information meaning corresponding to the data packet of each smart meter device in the previous embodiment. Specifically, referring to fig. 3, fig. 3 is a flowchart of another data management method for an intelligent meter device according to an embodiment of the present invention. The method can comprise the following steps:
step 201: and acquiring the state of each intelligent instrument device according to the information meaning corresponding to the acquired data message of each intelligent instrument device.
The state of each smart meter device in this step may be a state that can be preset by a designer and matched according to the acquired information meaning, and the specific type of the state of each smart meter device may be set by the designer according to a practical scene and a user requirement, as long as the corresponding state can be matched according to the information meaning of each smart meter device, which is not limited in this embodiment.
Step 202: judging whether to alarm or not according to the state of each intelligent instrument device; if yes, go to step 203.
It can be understood that, for the matching relationship between the state of the intelligent instrument device and whether the alarm needs to be performed, the setting of the designer may be performed by himself, and as long as whether the alarm needs to be performed can be determined according to each intelligent instrument device, the present embodiment does not limit the present invention.
Step 203: generating and displaying alarm information; the alarm information comprises at least one of alarm time, alarm level, alarm content, intelligent instrument equipment information and alarm quantity.
It can be understood that the purpose of this embodiment is to determine whether there is an intelligent instrument device that needs to be alerted according to the information meaning corresponding to the acquired data packet of each intelligent instrument device, and alert the intelligent instrument device that needs to be alerted by generating and displaying the alert information, so that a user can view the alert information on a corresponding display device.
It should be noted that, in the present embodiment, the alarm is performed by displaying the alarm information, and the alarm is performed by other methods such as an indicator light or a buzzer, which may also achieve the purpose of the present embodiment, and the present embodiment does not limit this. Specifically, the alarm information in this embodiment may include at least one of an alarm time, an alarm level, an alarm content, smart meter device information, and an alarm quantity, and may also include other information, which is not limited in this embodiment.
It is understood that, in order to further enhance the functional type of the method provided in this embodiment, the method provided in this embodiment may further include a function of automatically generating a maintenance plan. If after the alarm information is generated and displayed, the method also comprises the step of generating and displaying a fault maintenance plan according to the alarm information; wherein the fault maintenance schedule comprises: at least one of a fault type, a fault time, a fault level, a number of faulty devices, and a fault handling status. And processing information corresponding to the maintenance plan can be recorded, so that a data base is provided for later management. That is, the user may view the corresponding maintenance plan content in the maintenance plan interface, which may include: time, level, number of devices, processing status, etc. After the user processes the corresponding maintenance plan, corresponding processing information may be generated according to the maintenance plan, and the processing information is recorded one by one.
Preferably, in order to further improve the functional type of the method provided in this embodiment, the method provided in this embodiment may further include an information summary statistical analysis function. The method provided by this embodiment may further include: counting basic information, use information, alarm information, fault maintenance plan and processing information of each intelligent instrument device; performing statistical analysis according to each fault type, fault time and intelligent instrument equipment corresponding to each fault type, and acquiring and displaying equipment integrity; and/or performing statistical analysis according to the fault type, fault time and fault frequency of each intelligent instrument device to obtain the fault condition, fault frequency and fault reason of each intelligent instrument device; and/or performing statistical analysis according to the fault maintenance plan and the processing information of each intelligent instrument device to obtain the maintenance frequency, the fault reason, the processing efficiency and the processing result of each intelligent instrument device.
That is, after the user uses the AMS, the basic information, alarm information, fault maintenance plan, process information, and usage information of the smart meter device may be summarized in the statistical analysis module for statistical analysis. The statistical analysis module can perform statistics according to the equipment completeness rate, the equipment fault type and the maintenance record. Firstly, the equipment integrity rate can be statistically analyzed according to the fault type and fault time of the instrument and the information of the intelligent instrument equipment and the intelligent instrument equipment related to each fault type, and the relationship between the fault type and the intelligent instrument equipment can be statistically analyzed according to different dimensions such as time, fault type and quantity. And then, the distribution of different fault types and the relation between the fault types and the intelligent instrument equipment can be visually seen through a pie chart and a bar chart which are calculated and displayed by the completeness rate. Secondly, the equipment fault type can be subjected to statistical analysis aiming at the fault type of single intelligent instrument equipment, the information such as the fault type, the fault time and the fault frequency of the single intelligent instrument equipment is subjected to statistics, and the fault condition and the fault frequency of the single intelligent instrument equipment and the reason causing the fault are analyzed. Finally, through the statistics of the maintenance records, the statistical analysis can be carried out according to the maintenance plan and the maintenance record data of the intelligent instrument equipment, and the information such as the maintenance frequency, the problem reason, the processing efficiency, the processing result and the like of the intelligent instrument equipment is obtained.
In this embodiment, by adding an alarm function, the functionality of the method provided by this embodiment can be further improved, the use safety of the intelligent instrument device is guaranteed, and a data basis is provided for generating a maintenance plan and performing statistical analysis.
Based on any embodiment, when the user adds the smart meter device standing book module in the AMS, corresponding standing book data can be automatically generated. For example, when the user adds, deletes, and replaces the smart meter device for the AMS physical topology operation, the smart meter device data corresponding to the ledger module may also change simultaneously. Meanwhile, an intelligent instrument device which is not in the AMS device type library is added in the physical network, and then the information of the intelligent instrument device is added in the inventory module. The number of actual inventory equipment is input into the inventory module, when the intelligent instrument equipment is abnormal, the inventory of the instrument changes, the intelligent instrument equipment corresponding to the inventory is input into and output from the inventory module, and finally the information of the corresponding intelligent instrument equipment can be displayed in the inventory module and the standing book module in a linkage mode. So as to ensure the synchronism of the method provided by the implementation.
Correspondingly, for the intelligent instrument equipment added in the standing book module, the overhaul period can be automatically set according to the factory time, and when the overhaul period is up, a plan maintenance plan can be automatically generated in the maintenance plan. Likewise, such maintenance planning processes may be followed to generate corresponding process information in the maintenance record. A custom maintenance plan can be generated in the maintenance plan to process the user-defined maintenance plan. So as to further enhance the automatic generation function of the maintenance plan of the method provided by the embodiment.
Referring to fig. 4, fig. 4 is a structural diagram of a data management system of an intelligent meter device according to an embodiment of the present invention. The system may include:
an obtaining module 100, configured to obtain a data packet sent by an intelligent instrument device; wherein, the data message is HART message or Profibus message;
the first judging module 200 is configured to judge whether the data packet is an HART packet according to a distribution header of the data packet;
the first processing module 300 is configured to, if the data message is a HART message, process the data message by using a HART driver, and obtain an information meaning corresponding to the data message;
and a second processing module 400, configured to, if the data packet is not a HART packet, process the data packet by using a Profibus driver, and obtain an information meaning corresponding to the data packet.
Optionally, the second processing module 400 may include:
the parameter acquisition submodule is used for acquiring parameter information of the intelligent instrument equipment from the data sheet according to the type of the intelligent instrument equipment;
and the translation submodule is used for translating the data message by using the parameter information and acquiring the information meaning corresponding to the data message.
Optionally, the second processing module 400 may further include:
the parameter generation submodule is used for acquiring parameter information from a DDL file corresponding to the type of the intelligent instrument equipment according to a preset data model and extracting the parameter information to a data table; the data table comprises the mapping relation between the type of the intelligent instrument equipment and the parameter information.
Optionally, the parameter generation sub-module may include:
and the parameter generating unit is used for obtaining the position parameter information and the index parameter information in a data structure of a read command and a write command in the DDL file corresponding to the type of the intelligent instrument device in an associated mode according to the data model.
Optionally, the system may further include:
the state acquisition module is used for acquiring the state of each intelligent instrument device according to the information meaning corresponding to the acquired data message of each intelligent instrument device;
the second judgment module is used for judging whether to give an alarm or not according to the state of each intelligent instrument device;
the alarm module generates and displays alarm information if the alarm is given; the alarm information comprises at least one of alarm time, alarm level, alarm content, intelligent instrument equipment information and alarm quantity.
Optionally, the system may further include:
the maintenance module is used for generating and displaying a fault maintenance plan according to the alarm information; wherein the fault maintenance schedule comprises: at least one of a fault type, a fault time, a fault level, a number of faulty devices, and a fault handling state;
and the maintenance recording module is used for recording the processing information corresponding to the maintenance plan.
Optionally, the system may further include:
the statistical module is used for counting the basic information, the use information, the alarm information, the fault maintenance plan and the processing information of each intelligent instrument device;
the equipment integrity rate module is used for carrying out statistical analysis according to each fault type, fault time and intelligent instrument equipment corresponding to each fault type, and acquiring and displaying the equipment integrity rate; and/or
The fault analysis module is used for carrying out statistical analysis according to the fault type, the fault time and the fault frequency of each intelligent instrument device to obtain the fault condition, the fault frequency and the fault reason of each intelligent instrument device; and/or
And the maintenance analysis module is used for performing statistical analysis according to the fault maintenance plan and the processing information of each intelligent instrument device to obtain the maintenance frequency, the fault reason, the processing efficiency and the processing result of each intelligent instrument device.
In this embodiment, the first determining module 200 determines whether the data packet is an HART packet according to the distribution header of the data packet, splits the packet header of the data packet, and delivers the data packets of different protocols to corresponding driving devices for processing, so as to analyze the data packet of the smart meter device supporting HART and Profibus protocols, obtain the information meaning corresponding to the data packet, and provide a function of collecting data of the smart meter device by multiple interfaces, thereby improving the availability of the existing smart meter device, reducing the cost of device maintenance, reducing the production influence caused by device failure, optimizing the operation of a factory, and increasing the profitability.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The data management method and system of the intelligent instrument device provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (6)

1. A data management method of an intelligent instrument device is characterized by comprising the following steps:
acquiring a data message sent by intelligent instrument equipment; wherein, the data message is a HART message or a Profibus message;
judging whether the data message is the HART message or not according to the message header of the data message;
if so, processing the data message by using an HART driving device to obtain the information meaning corresponding to the data message;
if not, processing the data message by using a Profibus driving device to obtain the information meaning corresponding to the data message;
the processing of the data message by using the Profibus driving device to obtain the information meaning corresponding to the data message includes:
acquiring parameter information of the intelligent instrument equipment from a data table according to the type of the intelligent instrument equipment;
translating the data message by using the parameter information to acquire the information meaning corresponding to the data message;
before acquiring the parameter information of the intelligent instrument device from a data table according to the type of the intelligent instrument device, the method further comprises the following steps:
acquiring the parameter information from a DDL file corresponding to the type of the intelligent instrument equipment according to a preset data model, and extracting the parameter information to the data table; the data table comprises a mapping relation between the type of the intelligent instrument equipment and the parameter information;
the acquiring the parameter information from the DDL file corresponding to the type of the intelligent instrument device according to a preset data model comprises the following steps:
acquiring position parameter information and index parameter information in a data structure of a read command and a write command in a DDL file corresponding to the type of the intelligent instrument device in a correlation manner according to the data model; specifically, by defining a general data structure of the DDL file of the smart meter device, the Profibus driver obtains the location parameter information and the index parameter information by analyzing the association in the data structure of the read command and the write command in the DDL file corresponding to the type of the smart meter device by using the data model.
2. The data management method of a smart meter device according to claim 1, further comprising:
acquiring the state of each intelligent instrument device according to the information meaning corresponding to the acquired data message of each intelligent instrument device;
judging whether to alarm or not according to the state of each intelligent instrument device;
if yes, generating and displaying alarm information; the alarm information comprises at least one of alarm time, alarm level, alarm content, intelligent instrument equipment information and alarm quantity.
3. The data management method of a smart meter device according to claim 2, further comprising, after the generating and displaying the alarm information:
generating and displaying a fault maintenance plan according to the alarm information; wherein the fault maintenance plan comprises: at least one of a fault type, a fault time, a fault level, a number of faulty devices, and a fault handling state;
and recording the processing information corresponding to the maintenance plan.
4. The data management method of a smart meter device according to claim 3, further comprising:
counting basic information, use information, alarm information, fault maintenance plan and processing information of each intelligent instrument device;
performing statistical analysis according to each fault type, fault time and intelligent instrument equipment corresponding to each fault type, and acquiring and displaying equipment integrity; and/or
Performing statistical analysis according to the fault type, the fault time and the fault frequency of each intelligent instrument device to obtain the fault condition, the fault frequency and the fault reason of each intelligent instrument device; and/or
And performing statistical analysis according to the fault maintenance plan and the processing information of each intelligent instrument device to obtain the maintenance frequency, the fault reason, the processing efficiency and the processing result of each intelligent instrument device.
5. A data management system for a smart meter device, comprising:
the acquisition module is used for acquiring a data message sent by the intelligent instrument equipment; wherein, the data message is a HART message or a Profibus message;
the first judging module is used for judging whether the data message is the HART message according to the message header of the data message;
the first processing module is used for processing the data message by using a HART driving device if the data message is a HART message, and acquiring the information meaning corresponding to the data message;
the second processing module is used for processing the data message by using a Profibus driving device if the data message is not the HART message, and acquiring the information meaning corresponding to the data message;
the second processing module comprises:
the parameter acquisition submodule is used for acquiring parameter information of the intelligent instrument equipment from a data table according to the type of the intelligent instrument equipment;
the translation submodule is used for translating the data message by utilizing the parameter information and acquiring the information meaning corresponding to the data message;
a second processing module, further comprising:
the parameter generation submodule is used for acquiring the parameter information from the DDL file corresponding to the type of the intelligent instrument equipment according to a preset data model and extracting the parameter information to the data table; the data table comprises a mapping relation between the type of the intelligent instrument equipment and the parameter information;
a parameter generation submodule comprising:
the parameter generating unit is used for obtaining position parameter information and index parameter information in a correlation mode from data structures of read commands and write commands in the DDL file corresponding to the type of the intelligent instrument equipment according to the data model; specifically, by defining a general data structure of the DDL file of the smart meter device, the Profibus driver obtains the location parameter information and the index parameter information by analyzing the association in the data structure of the read command and the write command in the DDL file corresponding to the type of the smart meter device by using the data model.
6. The data management system of a smart meter device according to claim 5, further comprising:
the state acquisition module is used for acquiring the state of each intelligent instrument device according to the information meaning corresponding to the acquired data message of each intelligent instrument device;
the second judgment module is used for judging whether to give an alarm or not according to the state of each intelligent instrument device;
the alarm module generates and displays alarm information if the alarm is given; the alarm information comprises at least one of alarm time, alarm level, alarm content, intelligent instrument equipment information and alarm quantity.
CN201810005231.XA 2018-01-03 2018-01-03 Data management method and system for intelligent instrument equipment Active CN108200062B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810005231.XA CN108200062B (en) 2018-01-03 2018-01-03 Data management method and system for intelligent instrument equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810005231.XA CN108200062B (en) 2018-01-03 2018-01-03 Data management method and system for intelligent instrument equipment

Publications (2)

Publication Number Publication Date
CN108200062A CN108200062A (en) 2018-06-22
CN108200062B true CN108200062B (en) 2021-01-08

Family

ID=62587753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810005231.XA Active CN108200062B (en) 2018-01-03 2018-01-03 Data management method and system for intelligent instrument equipment

Country Status (1)

Country Link
CN (1) CN108200062B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131477B (en) * 2019-12-28 2022-01-11 杭州和利时自动化有限公司 Data processing method, device and equipment
CN113225382A (en) * 2021-04-07 2021-08-06 中国二十冶集团有限公司 Method and system for diagnosing state of instrument equipment through digital quantity remote communication

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625387A (en) * 2009-08-06 2010-01-13 上海工业自动化仪表研究所 Fast scanning detecting device of two-wire system industrial instrument and detecting method
CN101957619A (en) * 2010-10-25 2011-01-26 京仪华文自动化系统工程(上海)有限公司 Decentralized control system for layering controller
CN203119886U (en) * 2012-12-28 2013-08-07 上海自动化仪表股份有限公司 Universal manual operator for HART instrument
CN103281204A (en) * 2013-05-22 2013-09-04 杭州和利时自动化有限公司 Field bus device management and diagnostic method and system
CN103401881A (en) * 2013-08-15 2013-11-20 济钢集团有限公司 Data collection system and method based on intelligent instrument
CN103984333A (en) * 2014-06-04 2014-08-13 北京京能高安屯燃气热电有限责任公司 Monitoring and management system for power plant
CN104052631A (en) * 2014-05-22 2014-09-17 中兴通讯股份有限公司 Equipment information collecting method, device and system
CN105242592A (en) * 2015-09-11 2016-01-13 重庆川仪自动化股份有限公司 Method and system for directly reading HART instrument parameters through PROFIBUS PA operating station
CN105656600A (en) * 2015-12-29 2016-06-08 湖南先步信息股份有限公司 Communication method for slave station to adapt to two communication protocols
WO2016119956A1 (en) * 2015-01-26 2016-08-04 Endress+Hauser Process Solutions Ag Device access by means of a generic communication driver
CN106603363A (en) * 2016-12-31 2017-04-26 重庆川仪自动化股份有限公司 Intelligent bus switching controller
CN106707985A (en) * 2016-11-29 2017-05-24 无锡易通精密机械股份有限公司 Multi-bus data communication system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625387A (en) * 2009-08-06 2010-01-13 上海工业自动化仪表研究所 Fast scanning detecting device of two-wire system industrial instrument and detecting method
CN101957619A (en) * 2010-10-25 2011-01-26 京仪华文自动化系统工程(上海)有限公司 Decentralized control system for layering controller
CN203119886U (en) * 2012-12-28 2013-08-07 上海自动化仪表股份有限公司 Universal manual operator for HART instrument
CN103281204A (en) * 2013-05-22 2013-09-04 杭州和利时自动化有限公司 Field bus device management and diagnostic method and system
CN103401881A (en) * 2013-08-15 2013-11-20 济钢集团有限公司 Data collection system and method based on intelligent instrument
CN104052631A (en) * 2014-05-22 2014-09-17 中兴通讯股份有限公司 Equipment information collecting method, device and system
CN103984333A (en) * 2014-06-04 2014-08-13 北京京能高安屯燃气热电有限责任公司 Monitoring and management system for power plant
WO2016119956A1 (en) * 2015-01-26 2016-08-04 Endress+Hauser Process Solutions Ag Device access by means of a generic communication driver
CN105242592A (en) * 2015-09-11 2016-01-13 重庆川仪自动化股份有限公司 Method and system for directly reading HART instrument parameters through PROFIBUS PA operating station
CN105656600A (en) * 2015-12-29 2016-06-08 湖南先步信息股份有限公司 Communication method for slave station to adapt to two communication protocols
CN106707985A (en) * 2016-11-29 2017-05-24 无锡易通精密机械股份有限公司 Multi-bus data communication system
CN106603363A (en) * 2016-12-31 2017-04-26 重庆川仪自动化股份有限公司 Intelligent bus switching controller

Also Published As

Publication number Publication date
CN108200062A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN110430128B (en) Edge computing gateway
CN115063118B (en) Intelligent workshop equipment management method and system based on industrial Internet
CN111026460B (en) Method and device for rapidly allocating points by using regional templates in configuration tool
CN109254922B (en) Automatic testing method and device for BMC Redfish function of server
US11487912B2 (en) Method and system for 3D visually monitoring a building, and memorizer
CN108200062B (en) Data management method and system for intelligent instrument equipment
CN112737936A (en) Edge computing gateway for equipment pre-maintenance
CN107944005B (en) Data display method and device
CN108572614B (en) Casting equipment data acquisition and storage method based on configuration software KingView and PLC
CN112506969A (en) BMC address query method, system, equipment and readable storage medium
CN115129430A (en) Robot remote control instruction issuing method and system based on 5g network
CN104967667A (en) Software stability test remote monitoring system based on cloud service
CN113074783A (en) Lighthouse type industrial equipment monitoring method and device
CN110597198B (en) Quality control device, quality control system and quality control method for TFT substrate glass
CN111212093A (en) Data processing system and control device
US9274515B2 (en) Systems and methods for recording data associated with the operation of foundation fieldbus devices
CN114077633A (en) Multi-source heterogeneous numerical control system monitoring server based on OPC UA
CN116643542A (en) Oil field station digital twin process configuration method, system and device based on low-code development platform
CN107733082B (en) Method and system for collecting abnormal information of relay protection equipment device
CN110532153A (en) A kind of business level user's operation experience visualization system
CN114500178B (en) Self-operation intelligent Internet of things gateway
CN113533887B (en) Intelligent debugging method and system for power distribution terminal
CN210724868U (en) Data processing system and control device
CN113706739B (en) Remote fault diagnosis processing method, platform and system
CN114137923A (en) Industrial production field data acquisition and control device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant