CN114827304A - High-adaptability industrial data acquisition system - Google Patents

High-adaptability industrial data acquisition system Download PDF

Info

Publication number
CN114827304A
CN114827304A CN202210203466.6A CN202210203466A CN114827304A CN 114827304 A CN114827304 A CN 114827304A CN 202210203466 A CN202210203466 A CN 202210203466A CN 114827304 A CN114827304 A CN 114827304A
Authority
CN
China
Prior art keywords
equipment
information
unit
interface
protocol
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
CN202210203466.6A
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.)
Ningbo Shuyi Union Technology Co ltd
Original Assignee
Ningbo Shuyi Union 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 Ningbo Shuyi Union Technology Co ltd filed Critical Ningbo Shuyi Union Technology Co ltd
Priority to CN202210203466.6A priority Critical patent/CN114827304A/en
Publication of CN114827304A publication Critical patent/CN114827304A/en
Pending legal-status Critical Current

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/22Parsing or analysis of headers

Abstract

The invention relates to a high-adaptability industrial data acquisition system, which comprises an interface unit, a data acquisition unit and a data acquisition unit, wherein the interface unit acquires an original message of equipment from an inserted equipment interface, and the original message comprises interface information, equipment information and equipment interaction information; the message analysis unit matches the interface information according to the standard message to obtain the device interface type, determines a protocol analysis format, respectively analyzes the device information and the device interaction information according to the protocol analysis format to generate a device information file and a device interaction information file, and counts the device information file and the device interaction information file into a report; the display unit displays the original message, the equipment interface type, the equipment information file and the equipment interaction information file; and the data management unit writes the original message, the equipment interface type and the report into the data storage unit. Plug and play can be realized, and interface model matching can be carried out on accessed equipment, so that analysis of a corresponding protocol is realized, and equipment information and interaction information are obtained.

Description

High-adaptability industrial data acquisition system
Technical Field
The invention mainly relates to the technical field of data acquisition, in particular to a high-adaptability industrial data acquisition system.
Background
Most of the acquisition systems on the market at present develop options for a certain protocol and several protocols independently, and do not integrate data for acquisition by analyzing and displaying the protocol according to the captured data, the code developed in the implementation process is troublesome to maintain, each protocol has a single function, and the functions of only realizing data acquisition and basic protocol functions are not used as automatic judgment, and the functions of data analysis and various automatic protocol conversions are not realized, so that the development cost is increased.
Disclosure of Invention
The invention aims to solve the technical problem of providing a high-adaptability industrial data acquisition system aiming at the defects of the prior art.
The technical scheme for solving the technical problems is as follows: a high-adaptability industrial data acquisition system comprises an interface unit, a message analysis unit, a display unit, a data management unit and a data storage unit;
the interface unit is used for acquiring an original message of the equipment from an inserted equipment interface, wherein the original message comprises interface information, equipment information and equipment interaction information;
the message analysis unit is used for matching the interface information according to the standard message stored in the data storage unit to obtain an equipment interface type, determining a protocol analysis format according to the equipment interface type, respectively analyzing the equipment information and the equipment interaction information according to the protocol analysis format to generate an equipment information file and an equipment interaction information file, and counting the equipment information file and the equipment interaction information file into a report;
the display unit is used for displaying the original message, the equipment interface type, the equipment information file and the equipment interaction information file;
and the data management unit is used for writing the original message, the equipment interface type and the report into the data storage unit.
The invention has the beneficial effects that: plug and play can be realized, and interface model matching can be performed on accessed equipment, so that analysis of a corresponding protocol is realized, equipment information and interaction information are obtained, and high adaptability is realized;
the system is not limited by wires, product models and manual control, and can help to realize automatic interaction of information research, acquisition, analysis and the like of the insertion equipment, so that the most effective information connection is formed;
the method reduces line connection, improves communication efficiency, has relatively low development cost and maintenance cost, and can better iterate a system and add new communication protocols and new functions.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, in the packet analysis unit, the interface information is analyzed according to the standard packet stored in the data storage unit to obtain an equipment interface type, which specifically includes:
and reading a plurality of standard messages from the data storage unit, sending the standard messages to the equipment one by one, and judging that the standard messages are matched when one standard message obtains the reply of the equipment to obtain the interface type of the equipment.
Further, the packet analysis unit is further configured to: and when the matching and analyzing processes are finished, generating an equipment log, and writing the equipment log into the data storage unit.
Further, the data management unit is further configured to:
and carrying out management operation on the protocol analysis format according to the set authority, wherein the management operation comprises updating the protocol parameters of the protocol analysis format, adding the protocol parameters of the protocol analysis format and deleting the protocol parameters of the protocol analysis format.
Further, in the data management unit, the management operation is performed on the protocol parsing format according to the set authority, specifically:
receiving a management request through the interface unit, acquiring administrator permission information from the management request, reading the management information from the data storage unit, judging whether the administrator permission information can carry out permission control or not through the management information, and if so, starting management operation permission.
Further, the data management unit is further configured to:
and when the original message is received, counting the packet loss rate, and writing the counted data into the data storage unit.
Drawings
Fig. 1 is a schematic functional diagram of units of a high-adaptability industrial data acquisition system according to an embodiment of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, a high-adaptability industrial data acquisition system includes an interface unit, a message analysis unit, a display unit, a data management unit, and a data storage unit;
the interface unit is used for obtaining an original message of the equipment from an inserted equipment interface, wherein the original message comprises interface information, equipment information and equipment interaction information;
the message analysis unit is used for matching the interface information according to the standard message stored in the data storage unit to obtain an equipment interface type, determining a protocol analysis format according to the equipment interface type, respectively analyzing the equipment information and the equipment interaction information according to the protocol analysis format to generate an equipment information file and an equipment interaction information file, and counting the equipment information file and the equipment interaction information file into a report;
the display unit is used for displaying the original message, the equipment interface type, the equipment information file and the equipment interaction information file;
and the data management unit is used for writing the original message, the equipment interface type and the report into the data storage unit.
Specifically, the display unit establishes a visual interface through the QTcreator, interface information, a current protocol and data which can be collected can be viewed from the interface, a QT display layer of the display unit can be provided with authority control, and non-factory internal personnel cannot view the interface or manage the data.
The data management unit comprises a database, and the information stored in the database is respectively as follows: interface information, equipment information, data caching, data record collection, packet loss rate statistics and protocol format. When the QT display layer needs, the contents can be read out, if the connection with the equipment is disconnected in the midway, the data cache of the equipment stores a part of the contents in the database for viewing. The database supports SQLite, Redis respectively, can generate the simplest XML format, and can be used as a carrier for other software.
In the embodiment, plug and play can be realized, and interface model matching can be performed on accessed equipment, so that analysis of a corresponding protocol is realized, equipment information and interaction information are obtained, and high adaptability is realized;
the system is not limited by wires, product models and manual control, and can help to realize automatic interaction of information research, acquisition, analysis and the like of the insertion equipment, so that the most effective information connection is formed;
the method reduces line connection, improves communication efficiency, has relatively low development cost and maintenance cost, and can better iterate a system and add new communication protocols and new functions.
Optionally, in the packet analysis unit, the interface information is analyzed according to the standard packet stored in the data storage unit to obtain an equipment interface type, which specifically includes:
and reading a plurality of standard messages from the data storage unit, sending the standard messages to the equipment one by one, and judging that the standard messages are matched when one standard message obtains the reply of the equipment to obtain the interface type of the equipment.
Specifically, the standard formats of various protocols and the point location information of the protocols are obtained through preselection, when interface information is obtained, the message headers and the standard formats of the protocols are already visible, the standard message formats of message management stored in a program are obtained in an intelligent driver and sent to equipment one by one, and if the message is obtained and replied, the message is judged to be matched, each type of driving transmission message has the specific format, and after the reply of the equipment is obtained, the microservice driven by the protocols is started to collect. And then the driver of the protocol analyzes the detailed data in the message, displays the collectable equipment data (collectable data) and generates a file.
Taking the protocol of the ohm dragon as an example, the following is the message Format of the ohm dragon, and the Command Format is the instruction Format of the ohm dragon, that is, the instruction to be sent to the device in the process. The Response Format is a Format that the standard ohm dragon protocol will respond/reply to the instruction, and after the instruction is sent to the device by the above process, if the Format replied by the device is as follows, it can be determined that the acquisition protocol is changed to be ohm dragon.
In the above embodiment, a plurality of standard messages are sent to the device, and when the device replies according to one of the standard messages, the device interface type can be obtained through fast matching.
Optionally, the packet analysis unit is further configured to: and when the matching and analyzing processes are finished, generating an equipment log, and writing the equipment log into the data storage unit.
In the above embodiment, the device log is automatically generated, so that a history record can be provided, and device management and device maintenance are facilitated.
Optionally, the data management unit is further configured to:
and managing the protocol analysis format according to the set authority, wherein the managing operation comprises updating the protocol parameters of the protocol analysis format, adding the protocol parameters of the protocol analysis format and deleting the protocol parameters of the protocol analysis format.
In the embodiment, the protocol analysis format can be managed, so that more interface protocols can be conveniently expanded, and more interface types can be identified.
Optionally, in the data management unit, the managing operation is performed on the protocol parsing format according to a set authority, specifically:
receiving a management request through the interface unit, acquiring administrator permission information from the management request, reading the management information from the data storage unit, judging whether the administrator permission information can carry out permission control or not through the management information, and if so, starting management operation permission.
In the embodiment, the management operation can be performed only by the administrator of the authority, so that the safety of equipment management is improved.
Optionally, the data management unit is further configured to:
and when the original message is received, counting the packet loss rate, and writing the counted data into the data storage unit.
In the embodiment, the packet loss rate can be counted, and when the packet loss rate is too high, the fault can be timely eliminated.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (6)

1. A high-adaptability industrial data acquisition system is characterized by comprising an interface unit, a message analysis unit, a display unit, a data management unit and a data storage unit;
the interface unit is used for obtaining an original message of the equipment from an inserted equipment interface, wherein the original message comprises interface information, equipment information and equipment interaction information;
the message analysis unit is used for matching the interface information according to the standard message stored in the data storage unit to obtain an equipment interface type, determining a protocol analysis format according to the equipment interface type, respectively analyzing the equipment information and the equipment interaction information according to the protocol analysis format to generate an equipment information file and an equipment interaction information file, and counting the equipment information file and the equipment interaction information file into a report;
the display unit is used for displaying the original message, the equipment interface type, the equipment information file and the equipment interaction information file;
and the data management unit is used for writing the original message, the equipment interface type and the report into the data storage unit.
2. The high-adaptability industrial data acquisition system according to claim 1, wherein, in the packet analysis unit, the interface information is analyzed according to the standard packet stored in the data storage unit to obtain the device interface type, specifically:
and reading a plurality of standard messages from the data storage unit, sending the standard messages to the equipment one by one, and judging that the standard messages are matched when one standard message obtains the reply of the equipment to obtain the interface type of the equipment.
3. The high-adaptability industrial data acquisition system according to claim 1, wherein the message analysis unit is further configured to: and when the matching and analyzing processes are finished, generating an equipment log, and writing the equipment log into the data storage unit.
4. The high-adaptability industrial data acquisition system according to claim 1, wherein the data management unit is further configured to:
and carrying out management operation on the protocol analysis format according to the set authority, wherein the management operation comprises updating the protocol parameters of the protocol analysis format, adding the protocol parameters of the protocol analysis format and deleting the protocol parameters of the protocol analysis format.
5. The high-adaptability industrial data acquisition system as claimed in claim 4, wherein, in the data management unit, the protocol parsing format is managed according to a set authority, specifically:
receiving a management request through the interface unit, acquiring administrator permission information from the management request, reading the management information from the data storage unit, judging whether the administrator permission information can carry out permission control or not through the management information, and if so, starting management operation permission.
6. The high-adaptability industrial data acquisition system according to any one of claims 1 to 5, wherein the data management unit is further configured to:
and when the original message is received, counting the packet loss rate, and writing the counted data into the data storage unit.
CN202210203466.6A 2022-03-03 2022-03-03 High-adaptability industrial data acquisition system Pending CN114827304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210203466.6A CN114827304A (en) 2022-03-03 2022-03-03 High-adaptability industrial data acquisition system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210203466.6A CN114827304A (en) 2022-03-03 2022-03-03 High-adaptability industrial data acquisition system

Publications (1)

Publication Number Publication Date
CN114827304A true CN114827304A (en) 2022-07-29

Family

ID=82528981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210203466.6A Pending CN114827304A (en) 2022-03-03 2022-03-03 High-adaptability industrial data acquisition system

Country Status (1)

Country Link
CN (1) CN114827304A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090157630A1 (en) * 2007-10-26 2009-06-18 Max Yuan Method of extracting data and recommending and generating visual displays
US20180026830A1 (en) * 2016-07-25 2018-01-25 American Megatrends, Inc. Network switch management via embedded management controller using management information base (mib) to json parser
US20200134043A1 (en) * 2018-10-31 2020-04-30 Western Digital Technologies, Inc. Duplicate Request Checking for File System Interfaces
US20200159661A1 (en) * 2018-11-16 2020-05-21 Western Digital Technologies, Inc. Cache Coherence for File System Interfaces
CN111459495A (en) * 2020-03-30 2020-07-28 招商局金融科技有限公司 Unit test code file generation method, electronic device and storage medium
CN112118232A (en) * 2020-08-25 2020-12-22 通号城市轨道交通技术有限公司 Message protocol analysis method and device
CN112769795A (en) * 2020-12-30 2021-05-07 中国兵器装备集团自动化研究所 Message communication analysis system and method based on data warehouse
CN113590468A (en) * 2021-07-01 2021-11-02 交控科技股份有限公司 Automatic testing method and device for ATS interface of automatic train monitoring system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090157630A1 (en) * 2007-10-26 2009-06-18 Max Yuan Method of extracting data and recommending and generating visual displays
US20180026830A1 (en) * 2016-07-25 2018-01-25 American Megatrends, Inc. Network switch management via embedded management controller using management information base (mib) to json parser
US20200134043A1 (en) * 2018-10-31 2020-04-30 Western Digital Technologies, Inc. Duplicate Request Checking for File System Interfaces
US20200159661A1 (en) * 2018-11-16 2020-05-21 Western Digital Technologies, Inc. Cache Coherence for File System Interfaces
CN111459495A (en) * 2020-03-30 2020-07-28 招商局金融科技有限公司 Unit test code file generation method, electronic device and storage medium
CN112118232A (en) * 2020-08-25 2020-12-22 通号城市轨道交通技术有限公司 Message protocol analysis method and device
CN112769795A (en) * 2020-12-30 2021-05-07 中国兵器装备集团自动化研究所 Message communication analysis system and method based on data warehouse
CN113590468A (en) * 2021-07-01 2021-11-02 交控科技股份有限公司 Automatic testing method and device for ATS interface of automatic train monitoring system

Similar Documents

Publication Publication Date Title
CN110912998B (en) Vehicle problem troubleshooting system and method based on remote equipment terminal
US10055901B2 (en) Method and apparatus for remotely communicating vehicle information to the cloud
CN108011904B (en) Information sending method, receiving method, device and information receiving and sending system
CN110784398B (en) Data acquisition system and data analysis method for industrial Internet of things processing equipment
CN106559270B (en) Data analysis method and device for urban rail signal equipment
CN105072206A (en) System and method for realizing on-the-spot vehicle repair and maintenance service based on Internet
CN111737023B (en) Vehicle-mounted event processing method, cloud server and computer readable storage medium
CN101094249A (en) Interactive communication method for remote monitoring devices of playing advertisements and posters in electric media
CN111324782A (en) Big data storage system
CN113872840A (en) CAN data acquisition and transmission method, device and vehicle-mounted terminal
CN105262811A (en) Vehicle information monitoring method, vehicle information monitoring system and service end monitoring platform
CN112433759A (en) Standardized maintenance terminal for train control center system and implementation method thereof
CN106530438A (en) Massive and real-time tachograph data collection method and system
CN104202389A (en) Monitoring method for storage space and running state in cloud environment and cloud storage system
CN1971599A (en) Error monitoring method and system of software application
CN114827304A (en) High-adaptability industrial data acquisition system
CN110222100B (en) Processing method, system and storage medium based on big data display process timing diagram
CN114201659A (en) Message track transmission query method, device and system
CN112637370B (en) Data processing method, device, equipment and storage medium
CN115145241A (en) SOA service-based remote diagnosis method for vehicle-end CAN node and storage medium
CN210490919U (en) Terminal access unit
CN113709226A (en) Remote communication terminal data acquisition method based on configuration file
CN111917874A (en) Management system and method for new energy automobile fleet
CN111553497A (en) Equipment working state detection method and device of multimedia terminal
CN113572854B (en) Data transmission method and system based on Kafka component

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