CN112596472A - Automatic acquisition method of industrial equipment data - Google Patents

Automatic acquisition method of industrial equipment data Download PDF

Info

Publication number
CN112596472A
CN112596472A CN202011291019.8A CN202011291019A CN112596472A CN 112596472 A CN112596472 A CN 112596472A CN 202011291019 A CN202011291019 A CN 202011291019A CN 112596472 A CN112596472 A CN 112596472A
Authority
CN
China
Prior art keywords
control
equipment
health state
text
data
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.)
Pending
Application number
CN202011291019.8A
Other languages
Chinese (zh)
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.)
Zhejiang Lanzhuo Industrial Internet Information Technology Co ltd
Original Assignee
Zhejiang Lanzhuo Industrial Internet Information Technology 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 Zhejiang Lanzhuo Industrial Internet Information Technology Co ltd filed Critical Zhejiang Lanzhuo Industrial Internet Information Technology Co ltd
Priority to CN202011291019.8A priority Critical patent/CN112596472A/en
Publication of CN112596472A publication Critical patent/CN112596472A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4183Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by data acquisition, e.g. workpiece identification
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/31From computer integrated manufacturing till monitoring
    • G05B2219/31282Data acquisition, BDE MDE
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to the field of data of industrial internet edge layers, in particular to an automatic acquisition method of industrial equipment data, which comprises the following steps: configuring the corresponding relation between the color displayed by the control and the health state of the equipment, wherein different health states correspond to different health state values; entering an equipment detail interface, and sequentially extracting colors displayed by a control in the equipment detail interface and texts corresponding to the control and used for describing equipment state details; judging the health state of the equipment according to the corresponding relation between the color displayed by the configuration control and the health state of the equipment; when the equipment health state corresponding to the color displayed by the control is abnormal, marking the health state value of the control; and storing and uploading the marked health state value and the corresponding text. By using the present invention, the following effects can be achieved: and automatically extracting colors displayed by the control in the equipment detail interface and texts corresponding to the control and used for describing equipment state details.

Description

Automatic acquisition method of industrial equipment data
Technical Field
The invention relates to the field of data of industrial internet edge layers, in particular to an automatic acquisition method of industrial equipment data.
Background
Industrial data is at the heart of the industrial internet. The industrial data enables the industrial system to have intelligent functions of describing process flows, diagnosing equipment faults, optimizing a control system, helping enterprise decision making and the like. The industrial internet edge layer mainly refers to unification and edge processing of data acquisition in a large range and deep level and access modes of heterogeneous data, and the unification and edge processing constitute a data basis of an industrial internet platform. Therefore, real-time and efficient acquisition and cloud convergence of element information such as multi-source equipment, heterogeneous systems, operation environments, people and the like are facilitated.
The current data acquisition technology is mainly limited by the following. The data access method comprises the steps of firstly, enabling part of machines to have no data interface, secondly, having a large number of heterogeneous communication specifications, thirdly, enabling equipment data accessed into an upper computer system to have no universal access interface, enabling enterprises to take measures to increase data interfaces (including sensors) on the machines without the data interfaces, adopting fully-compatible data acquisition technologies between the heterogeneous communication specifications, and enabling the data access interfaces to be manually operated or enabled by the upper computer system.
For some devices which do not have access to a communication protocol or an upper computer system, such as machine tools without a numerical control system, a touch screen and other devices can be placed on the machine tool, and some production related information can be collected in a manual assistance mode. Some operational status information about the equipment may even involve some modifications to the equipment, such as adding some sensors, hardware devices like digital panel cards, etc. The mode has high operation difficulty and high cost, and brings certain risks to the stable operation of the equipment.
For data acquisition of equipment with a unified interface for realizing connection of various industrial communication protocols, such as OPC specifications and a standard for connection of an application program and a field control system, a cross-platform data exchange technology taking SOA and Web Service as cores is used, and data exchange of various industrial protocol standards is realized through the unified interface, so that unified data transmission is realized. For example, the PI interface provided by the osi soft company and supporting the PI based on the specification can directly obtain the data through the PI service interface when the device data is in accordance with the specification and enters the PI database. However, the system device data of all manufacturers do not support the uniform interface access mode, for example, it cannot be guaranteed that all data enter the PI database.
For the Device data with the upper computer system, the Device data is mainly connected through the Device management systems of different manufacturers, such as the FDM system (Field Device Manager) of the hounwell corporation and the PRM system (Plant Resource Manager, Plant Resource management system) of the japan yowa corporation, by industrial communication protocols such as HART, PROFIBUS, Fieldbus Foundation, etc., and these systems generally acquire and store the data of the Device layer, such as storing the data in the database carried by the system, and then releasing the data access interface in a manner of opening the access right of the database or in a manner of Web Service, etc., thereby realizing the acquisition of the data. However, not all manufacturers may develop a database or other third-party data access interfaces, which may not be included in security, intellectual property or user purchase service, and some desktop clients with older versions still have a network partition problem, which may cause a great obstacle to data acquisition.
The methods have a certain limited range, and if hardware devices such as sensors and data acquisition cards need to be added, the operation difficulty is high, the cost is high, some heterogeneous systems are difficult to ensure that the access interfaces are unified, some upper computer systems do not open the third-party data access interfaces, the cost for purchasing services is high, and the manual recording efficiency is low.
Disclosure of Invention
In order to solve the problems, the invention provides an automatic acquisition method of industrial equipment data.
A method of automatically collecting industrial equipment data, comprising:
configuring the corresponding relation between the color displayed by the control and the health state of the equipment, wherein different health states correspond to different health state values;
entering an equipment detail interface, and sequentially extracting colors displayed by a control in the equipment detail interface and texts corresponding to the control and used for describing equipment state details;
judging the health state of the equipment according to the corresponding relation between the color displayed by the configuration control and the health state of the equipment;
when the equipment health state corresponding to the color displayed by the control is abnormal, marking the health state value of the control;
and storing and uploading the marked health state value and the corresponding text.
Preferably, the entry device details interface comprises:
and acquiring a control list by using the script, traversing each device, and simulating keystroke to enter a device detail interface.
Preferably, the sequentially extracting the color displayed by the control in the device detail interface and the text corresponding to the control and used for describing the device state details includes:
writing a program to call the component service through an API (application programming interface);
and acquiring the color displayed by the control and the text corresponding to the control and used for describing the equipment state details from the component service.
Preferably, when the health state of the device corresponding to the color displayed by the control is abnormal, the health state value of the control is marked as ej, the text corresponding to the control is marked as mj, and the two are integrated to be used as one piece of abnormal state information, which is marked as Tj, wherein Tj + mj.
Preferably, the method further comprises the following steps:
setting the color displayed by a control in an extraction equipment detail interface and the time of a text corresponding to the control;
and when the set time is up, triggering and extracting the color displayed by the control in the equipment detail interface and the text corresponding to the control.
Preferably, the method further comprises the following steps:
setting the health state value of the uploading mark and the time of the corresponding text;
and when the set time is up, triggering the health state value of the uploading mark and the corresponding text.
By using the present invention, the following effects can be achieved:
1. automatically extracting colors displayed by a control in an equipment detail interface and texts corresponding to the control and used for describing equipment state details;
2. the color displayed by the control in the equipment detail interface, the time of the text corresponding to the control, the health state value of the uploading mark and the time of the corresponding text are set, manual operation is not needed, the efficiency is high, and automatic acquisition and automatic updating of equipment data are realized.
Drawings
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic flow chart of a method for automatically acquiring data of an industrial device according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be further described below with reference to the accompanying drawings, but the present invention is not limited to these embodiments.
The acquisition of equipment data is a data base of an industrial internet platform, and has great significance for describing process flows, diagnosing equipment faults, optimizing a control system, helping enterprise decision-making and other intelligent functions. Aiming at the fact that some upper computer systems and equipment are integrated, and no interface for data interaction is provided, such as a database is not opened, the 'automatic island' of the industrial field is formed, which is often said by the inventor, although the data of the equipment is collected in the upper computer systems, the data cannot be transmitted to other information systems and is still trapped in the production field.
The basic idea of the embodiment of the invention is to provide an automatic acquisition method of industrial equipment data based on an interface extraction technology, which applies an automatic software technology to an industrial data acquisition direction, realizes data acquisition under the condition that some upper computer systems do not provide a data interface externally, realizes automatic acquisition of equipment state data by using the interface extraction technology, and has automation, low cost and high efficiency.
Based on the above thought, an embodiment of the present invention provides an automatic acquisition method for industrial device data, as shown in fig. 1, including the following steps:
s1: and configuring the corresponding relation between the color displayed by the control and the health state of the equipment, wherein different health states correspond to different health state values.
And if the color displayed by the control is green, the health state of the equipment is normal, and the health state value of the equipment is marked as 0. If the color displayed by the control is other colors, for example, red indicates that the health status is alarm, white indicates that the health status is unstable, yellow indicates that the health status is alarm, gray indicates communication error, etc., in this embodiment, the health statuses of the devices corresponding to the colors other than green are all listed as abnormal, and the health status values corresponding to the abnormal statuses are all marked as 1 for distinguishing from the normal statuses.
The correspondence of control color, health status and health status value is shown in the following table:
control color State of health Value of state of health
Green colour Is normal 0
Red colour Alarm device 1
White colour Indefinite state 1
Yellow colour Warning 1
Grey colour Communication error 1
... ... ...
S2: and entering an equipment detail interface, and sequentially extracting the color displayed by the control in the equipment detail interface and the text corresponding to the control and used for describing the equipment state detail.
First, a list of controls is obtained using a script (third party tools such as White, Autoit, etc. can be used as such automated scripting software), and the writer traverses each Device on the Network View level, simulating keystrokes into the Device Status Device details interface.
Then, for obtaining the control color and text in the system detail interface, generally, the interface of the upper computer system of the device is integrated based on the Windows system, so the open component service of Windows is naturally integrated, and the component service has a public API interface, so that the text and color of the Windows control can be obtained by programming and calling the component service. For the upper computer system integrated with the non-Windows system, an open API can be found according to the corresponding operating system, and a program is written to call similar component services to obtain the color and the text of the control.
S3: and judging the health state of the equipment according to the corresponding relation between the color displayed by the configuration control and the health state of the equipment.
After the color of the control is obtained, the health state of the device may be determined according to the correspondence configured in step S1.
S4: and when the equipment health state corresponding to the color displayed by the control is abnormal, marking the health state value of the control.
Skip if the color is green; if the color is not green, the health status value is set to 1. The obtained color can be judged whether to be abnormal or not through the corresponding relation, the health state value setting value is recorded as ej, the right control text is taken and recorded as mj (the obtaining mode is similar to the control color taking and is not repeated); the two are integrated as one piece of abnormal state information, which is denoted as Tj, wherein Tj is ej + mj, and the summation relationship can be represented by colon symbols at intervals when actually stored in the text. And continuing to poll and judge the next control until the polling is finished.
S5: and storing and uploading the marked health state value and the corresponding text.
And after scanning all the Icon type controls of the equipment detail interface, judging that the health state values ej are all 0, and indicating that abnormal state information does not occur once. The health status of The Device is recorded as Normal and recorded as Normal, and The status details are recorded as The Device is Normal.
If the health status value ej is 1, the health status of the device is Abnormal, and the device is recorded as Abnormal. The status details are the set of all exception information of the device, denoted sum (tj), and the set relationship can be represented by a separation of semicolons when actually stored in the text.
And judging whether the traversal of the level equipment is finished or not, if not, continuing to execute the extraction step until the equipment of all levels is obtained. And after traversing, storing the state information of all the devices to the local, and transmitting the state information to a data acquisition layer through an ftp file transfer protocol, thereby realizing the automatic acquisition of the industrial device data.
In order to improve the automation of industrial equipment data acquisition, in some embodiments, the time for extracting the color displayed by the control and the text corresponding to the control in the equipment detail interface is also set, and when the set time is up, the extraction of the color displayed by the control and the text corresponding to the control in the equipment detail interface is triggered.
In order to improve automation of data uploading of the industrial equipment, in some embodiments, a health state value of the upload flag and a time corresponding to the text are set, and when the set time is reached, the health state value of the upload flag and the corresponding text are triggered.
If the operator does not do any operation, the data acquisition layer continuously obtains new equipment state information at the moment according to the triggering condition of the timing task time; the operator can also choose to close the timing task and quit the upper computer system, and end the device data acquisition task in the time period.
Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.

Claims (6)

1. A method for automatically collecting industrial equipment data is characterized by comprising the following steps:
configuring the corresponding relation between the color displayed by the control and the health state of the equipment, wherein different health states correspond to different health state values;
entering an equipment detail interface, and sequentially extracting colors displayed by a control in the equipment detail interface and texts corresponding to the control and used for describing equipment state details;
judging the health state of the equipment according to the corresponding relation between the color displayed by the configuration control and the health state of the equipment;
when the equipment health state corresponding to the color displayed by the control is abnormal, marking the health state value of the control;
and storing and uploading the marked health state value and the corresponding text.
2. The method of claim 1, wherein the access device details interface comprises:
and acquiring a control list by using the script, traversing each device, and simulating keystroke to enter a device detail interface.
3. The method for automatically acquiring industrial equipment data according to claim 1, wherein the sequentially extracting colors displayed by a control in an equipment detail interface and a text corresponding to the control and used for describing equipment state details comprises:
writing a program to call the component service through an API (application programming interface);
and acquiring the color displayed by the control and the text corresponding to the control and used for describing the equipment state details from the component service.
4. The method of claim 1, wherein the data of the industrial equipment is collected automatically,
when the health state of the equipment corresponding to the color displayed by the control is abnormal, marking the health state value of the control as ej, marking the text corresponding to the control as mj, integrating the text and the text as abnormal state information and marking as Tj, wherein Tj is ej + mj.
5. The method for automatically collecting data of industrial equipment according to any one of claims 1 to 4, further comprising:
setting the color displayed by a control in an extraction equipment detail interface and the time of a text corresponding to the control;
and when the set time is up, triggering and extracting the color displayed by the control in the equipment detail interface and the text corresponding to the control.
6. The method for automatically collecting data of industrial equipment according to any one of claims 1 to 4, further comprising:
setting the health state value of the uploading mark and the time of the corresponding text;
and when the set time is up, triggering the health state value of the uploading mark and the corresponding text.
CN202011291019.8A 2020-11-18 2020-11-18 Automatic acquisition method of industrial equipment data Pending CN112596472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011291019.8A CN112596472A (en) 2020-11-18 2020-11-18 Automatic acquisition method of industrial equipment data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011291019.8A CN112596472A (en) 2020-11-18 2020-11-18 Automatic acquisition method of industrial equipment data

Publications (1)

Publication Number Publication Date
CN112596472A true CN112596472A (en) 2021-04-02

Family

ID=75183238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011291019.8A Pending CN112596472A (en) 2020-11-18 2020-11-18 Automatic acquisition method of industrial equipment data

Country Status (1)

Country Link
CN (1) CN112596472A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023011566A1 (en) * 2021-08-05 2023-02-09 中智城(苏州)工程设计咨询服务有限公司 Method and system for generating state of health of road integrated pole system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106750A (en) * 2012-12-28 2013-05-15 深圳市怡化电脑有限公司 Maintaining method of automatic teller machine (ATM)
CN103313287A (en) * 2012-03-07 2013-09-18 京信通信系统(中国)有限公司 Method and device for repeater equipment alarm notification
CN103955859A (en) * 2014-04-28 2014-07-30 航天东方红卫星有限公司 Panoramic satellite state monitoring system
WO2015179861A1 (en) * 2014-05-23 2015-11-26 Neumitra Inc. Operating system with color-based health state themes
CN105405258A (en) * 2015-10-26 2016-03-16 深圳市元征软件开发有限公司 Vehicle fault alarming method and device
CN111611439A (en) * 2020-03-31 2020-09-01 深圳奇迹智慧网络有限公司 Fire safety monitoring method and device, computer equipment and storage medium
CN211959265U (en) * 2020-06-15 2020-11-17 罗森伯格(上海)通信技术有限公司 Monitoring device of intelligent cabinet and intelligent cabinet

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313287A (en) * 2012-03-07 2013-09-18 京信通信系统(中国)有限公司 Method and device for repeater equipment alarm notification
CN103106750A (en) * 2012-12-28 2013-05-15 深圳市怡化电脑有限公司 Maintaining method of automatic teller machine (ATM)
CN103955859A (en) * 2014-04-28 2014-07-30 航天东方红卫星有限公司 Panoramic satellite state monitoring system
WO2015179861A1 (en) * 2014-05-23 2015-11-26 Neumitra Inc. Operating system with color-based health state themes
CN105405258A (en) * 2015-10-26 2016-03-16 深圳市元征软件开发有限公司 Vehicle fault alarming method and device
CN111611439A (en) * 2020-03-31 2020-09-01 深圳奇迹智慧网络有限公司 Fire safety monitoring method and device, computer equipment and storage medium
CN211959265U (en) * 2020-06-15 2020-11-17 罗森伯格(上海)通信技术有限公司 Monitoring device of intelligent cabinet and intelligent cabinet

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023011566A1 (en) * 2021-08-05 2023-02-09 中智城(苏州)工程设计咨询服务有限公司 Method and system for generating state of health of road integrated pole system

Similar Documents

Publication Publication Date Title
US11227080B2 (en) Industrial automation information contextualization method and system
US10387011B2 (en) System and method to capture and document cross-product compatibility status information for industrial devices
CN100403712C (en) Apparatus,method and program for setting controlling system
US9762454B2 (en) System and method to capture and document cross-product compatibility status information for industrial devices
EP3246827B1 (en) Method to automate historian configuration using controller-based meta attribute
US6353446B1 (en) Method and system for integrated network management applications
EP2176991B1 (en) Network scanning and management in a device type manager of type device
CN103294023B (en) For the method and apparatus for the storage demand for reducing Process Control System software application
CN102291264B (en) Broadband service guarantee support system
CN101460910A (en) Field device editor tool
CN109639756A (en) A kind of terminal network incidence relation is shown and equipment accesses real-time monitoring system
US20020183881A1 (en) Method for managing manufacturing data
CN109753029A (en) The method and operator's system of identification and display operation person's access process object
EP2068542A1 (en) Method and system for providing a user interface to a call center agent which guides him through the conversation with a caller
CN114326634A (en) General model abstraction system and method based on heterogeneous industrial data acquisition protocol
CN113467771B (en) Model-based industrial edge cloud collaboration system and method
CN112596472A (en) Automatic acquisition method of industrial equipment data
CN103366037B (en) Logic chart processes device and processing method thereof
JP2000504865A (en) System and method for managing a transactional database of records of changes to field device configurations
CN112925687A (en) Method, system and computer program product for monitoring the status of a field device
CN116643542A (en) Oil field station digital twin process configuration method, system and device based on low-code development platform
CN113347060B (en) Method, device and system for detecting power network fault based on process automation
CN207099116U (en) Data acquisition and remote control
US11449025B2 (en) Unique UDTs to exploit the power of the connected enterprise
CA3153912A1 (en) Workflow for self provisioning smart well controller

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210402

RJ01 Rejection of invention patent application after publication