CN117609228A - Industrial equipment metadata storage method, device, equipment and computer storage medium - Google Patents

Industrial equipment metadata storage method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN117609228A
CN117609228A CN202311505860.6A CN202311505860A CN117609228A CN 117609228 A CN117609228 A CN 117609228A CN 202311505860 A CN202311505860 A CN 202311505860A CN 117609228 A CN117609228 A CN 117609228A
Authority
CN
China
Prior art keywords
metadata
target
industrial equipment
equipment
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
CN202311505860.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.)
Karos Iot Technology Co ltd
Cosmoplat Industrial Intelligent Research Institute Qingdao Co Ltd
Original Assignee
Karos Iot Technology Co ltd
Cosmoplat Industrial Intelligent Research Institute Qingdao 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 Karos Iot Technology Co ltd, Cosmoplat Industrial Intelligent Research Institute Qingdao Co Ltd filed Critical Karos Iot Technology Co ltd
Priority to CN202311505860.6A priority Critical patent/CN117609228A/en
Publication of CN117609228A publication Critical patent/CN117609228A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • 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)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application belongs to the technical field of industrial equipment, and particularly relates to an industrial equipment metadata storage method, an industrial equipment metadata storage device, equipment and a computer storage medium, wherein first metadata transmitted by gateway equipment are obtained by analyzing a first transmission protocol corresponding to target industrial equipment through an analysis script template by the gateway equipment, a target data format corresponding to the target industrial equipment is determined, a target format analysis script template corresponding to the target data format is obtained, the analysis processing is carried out on the data format of the first metadata by adopting the target format analysis script template, the data format of the target metadata is the target data format, and the target metadata is stored; the method realizes the data filtering of the metadata of the industrial equipment, so that the metadata of the industrial equipment is better suitable for various scenes of industrial Internet production, and the pressure of storing data by the Internet of things platform is reduced.

Description

Industrial equipment metadata storage method, device, equipment and computer storage medium
Technical Field
The application belongs to the field of industrial equipment, and particularly relates to an industrial equipment metadata storage method, an industrial equipment metadata storage device, equipment and a computer storage medium.
Background
In recent years, digital transformation has become a new revolution in liberation of productivity. In order to meet urgent demands of digital transformation and upgrading, more and more factories start to establish a data acquisition system, build a digital management platform, realize digital detection, analysis and management of a production process, and provide real-time data reporting and early warning through a data visualization technology.
In the prior art, metadata acquired from industrial equipment is sent to gateway equipment through a transmission protocol corresponding to the industrial equipment, the transmission protocol is analyzed through the gateway equipment to obtain metadata corresponding to the industrial equipment, then the analyzed metadata is sent to an internet of things platform through the transmission protocol corresponding to the gateway equipment, the internet of things platform analyzes the transmission protocol sent by the gateway equipment to obtain metadata, and the metadata is stored.
However, the types of industrial devices are different, the corresponding transmission protocols are also different, and the rules of analyzing the transmission protocols sent by the industrial devices by different gateways are also different, so that in order to ensure the integrity of received data, the internet of things platform generally only needs to meet the condition that the message data in the JSON format can be received, and the data of some unimportant non-production processes are saved, so that more resources are occupied over time, and the pressure of data storage of the management platform is greatly increased.
Disclosure of Invention
The application provides a metadata storage method, device, equipment and computer storage medium for industrial equipment, which are used for solving the problems that in order to ensure the integrity of received data, an Internet of things platform generally only needs to meet the condition that message data in a JSON format can be received, and some unimportant non-production process data are saved, more resources are occupied in the process of time, and the pressure for managing the platform data storage is greatly increased.
In a first aspect, the present application provides an industrial device metadata storage method, applied to an internet of things platform, including:
acquiring first metadata transmitted by gateway equipment, wherein the first metadata is obtained by analyzing a first transmission protocol corresponding to target industrial equipment through an analysis script template by the gateway equipment;
determining a target data format corresponding to the target industrial equipment, and acquiring a target format analysis script template corresponding to the target data format;
and analyzing the data format of the first metadata by adopting the target format analysis script template to obtain target metadata, wherein the data format of the target metadata is the target data format, and storing the target metadata.
Optionally, before the obtaining the first metadata transmitted by the gateway device, the method further includes:
acquiring candidate data formats corresponding to the data of a plurality of industrial devices;
and generating a format analysis script template corresponding to each candidate data format according to the plurality of candidate data formats and the processing type corresponding to each candidate data format.
Optionally, the acquiring the first metadata transmitted by the gateway device includes:
and analyzing the second transmission protocol corresponding to the gateway equipment to obtain the first metadata acquired by the target industrial equipment.
Optionally, the method further comprises:
obtaining a display request sent by an object model management module, wherein the display request comprises: identification information of the target industrial equipment;
according to the display request, converting the target metadata to obtain display information corresponding to the target industrial equipment;
and displaying the display information on an object model management interface.
Optionally, the method further comprises:
acquiring a data forwarding request sent by an external system, wherein the data forwarding request comprises the following steps: identification information of the target industrial equipment;
and according to the data forwarding request, sending the stored target metadata corresponding to the target industrial equipment to the external system.
In a second aspect, the present application provides an industrial device metadata storage method, applied to a gateway device, including:
analyzing a first transmission protocol corresponding to target industrial equipment to obtain first metadata acquired by the target industrial equipment;
and sending the first metadata to an Internet of things platform by adopting a second transmission protocol, so that the Internet of things platform analyzes the first metadata by adopting a target format analysis script template corresponding to the target industrial equipment to obtain and store target metadata.
In a third aspect, the present application provides an industrial equipment metadata storage apparatus comprising:
the acquisition module is used for acquiring first metadata transmitted by the gateway equipment, wherein the first metadata is obtained by analyzing a first transmission protocol corresponding to the target industrial equipment through an analysis script template by the gateway equipment;
a determining module, configured to determine a target data format corresponding to the target industrial device;
the acquisition module is further used for acquiring a target format analysis script template corresponding to the target data format;
and the processing module is used for analyzing the data format of the first metadata by adopting the target format analysis script template to obtain target metadata, wherein the data format of the target metadata is the target data format, and the target metadata is stored.
Optionally, the industrial equipment metadata storage device further comprises: a generating module;
the acquisition module is also used for acquiring candidate data formats corresponding to the data of the plurality of industrial equipment;
the generation module is further configured to generate a format parsing script template corresponding to each candidate data format according to the plurality of candidate data formats and the processing type corresponding to each candidate data format.
Optionally, the processing module is further configured to analyze the second transmission protocol corresponding to the gateway device, so as to obtain the first metadata collected by the target industrial device.
Optionally, the industrial equipment metadata storage device further comprises: a display module;
the obtaining module is further configured to obtain a display request sent by the object model management module, where the display request includes: identification information of the target industrial equipment;
the processing module is further used for converting the target metadata according to the display request to obtain display information corresponding to the target industrial equipment;
and the display module is used for displaying the display information on the object model management interface.
Optionally, the industrial equipment metadata storage device further comprises: a transmitting module;
The obtaining module is further configured to obtain a data forwarding request sent by an external system, where the data forwarding request includes: identification information of the target industrial equipment;
and the sending module is further used for sending the stored target metadata corresponding to the target industrial equipment to the external system according to the data forwarding request.
In a fourth aspect, the present application provides an industrial equipment metadata storage apparatus, further comprising:
the processing module is used for analyzing and processing a first transmission protocol corresponding to target industrial equipment to obtain first metadata acquired by the target industrial equipment;
the sending module is used for sending the first metadata to the Internet of things platform by adopting a second transmission protocol;
and the processing module is also used for enabling the Internet of things platform to analyze the first metadata by adopting a target format analysis script template corresponding to the target industrial equipment to obtain and store target metadata.
In a fifth aspect, the present application provides an industrial device metadata storage device comprising:
a memory;
a processor;
wherein the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored by the memory to implement the industrial device metadata storage method as described above in the first aspect and various possible implementations of the first aspect and in the second aspect and various possible implementations of the second aspect.
In a sixth aspect, the present application provides a computer storage medium, where computer-executable instructions are stored, where the computer-executable instructions are executed by a processor to implement the industrial device metadata storage method according to the first aspect and the various possible implementations of the second aspect and the second aspect.
According to the industrial equipment metadata storage method, first metadata transmitted by gateway equipment are obtained by the gateway equipment through analysis of a first transmission protocol corresponding to target industrial equipment through an analysis script template, a target data format corresponding to the target industrial equipment is determined, a target format analysis script template corresponding to the target data format is obtained, analysis processing is conducted on the data format of the first metadata through the target format analysis script template, target metadata is obtained, the data format of the target metadata is the target data format, and the target metadata is stored; the method realizes the data filtering of the metadata of the industrial equipment and reduces the pressure of the internet of things platform for storing the data.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
FIG. 1 is a flow chart of an industrial device metadata storage method provided herein;
FIG. 2 is an interactive diagram of an industrial device metadata storage method provided herein;
FIG. 3 is a schematic diagram of an industrial equipment metadata storage device according to the present application;
FIG. 4 is a schematic diagram II of an industrial equipment metadata storage device provided in the present application;
fig. 5 is a schematic structural diagram of an industrial device metadata storage device provided in the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is apparent that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented, for example, in sequences other than those illustrated or otherwise described herein.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In recent years, digital transformation has become a new revolution in liberation of productivity. In order to meet urgent demands of digital transformation and upgrading, more and more factories start to establish a data acquisition system, build a digital management platform, realize digital detection, analysis and management of a production process, and provide real-time data reporting and early warning through a data visualization technology.
In the prior art, metadata acquired from industrial equipment is sent to a gateway through a transmission protocol corresponding to the industrial equipment, the transmission protocol is analyzed through the gateway to obtain metadata corresponding to the industrial equipment, the analyzed metadata is sent to an internet of things platform through the transmission protocol corresponding to the gateway, the internet of things platform analyzes the transmission protocol sent by the gateway to obtain metadata, and the metadata is stored.
However, the types of industrial devices are different, the corresponding transmission protocols are also different, and the rules of analyzing the transmission protocols sent by the industrial devices by different gateways are also different, so that in order to ensure the integrity of received data, the internet of things platform generally only needs to meet the condition that the message data in the JSON format can be received, and the data of some unimportant non-production processes are saved, so that more resources are occupied over time, and the pressure of data storage of the management platform is greatly increased.
According to the industrial equipment metadata storage method, an Internet of things platform obtains first metadata corresponding to target industrial equipment transmitted by gateway equipment, determines a target data format corresponding to the target industrial equipment, then obtains a target format analysis script template corresponding to the target data format, analyzes the data format of the first metadata by adopting the target format analysis script template to obtain target metadata, wherein the data format of the target metadata is the target data format, and stores the target metadata; the method realizes the data filtering of the metadata of the industrial equipment and reduces the pressure of the internet of things platform for storing the data.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
FIG. 1 is a flow chart of an industrial device metadata storage method provided herein. As shown in fig. 1, the method for storing metadata of industrial equipment provided in this embodiment includes:
s101: and acquiring first metadata transmitted by the gateway equipment, wherein the first metadata is obtained by analyzing a first transmission protocol corresponding to the target industrial equipment through an analysis script template by the gateway equipment.
The first metadata is used for indicating the industrial equipment to correspond to a large number of data stored to the gateway equipment in different format types.
Industrial equipment types and brands are numerous, metadata format types generated by different industrial equipment types are different, and the corresponding first transmission protocols cannot be unified. Therefore, metadata generated by the industrial equipment cannot be directly stored in the internet of things platform, and the gateway equipment is required to analyze and transmit the metadata corresponding to the industrial equipment.
Gateway devices play a role in data transmission in an environment monitoring system, and data acquisition is one of the core functions of an industrial gateway in the modes of 4G, ethernet, WIFI, RS485 and the like, because the data of the industrial device can be acquired and sent to an Internet of things platform through data acquisition, the following is the principle of the gateway device for acquiring the data:
1) Data acquisition unit: the data are collected into the gateway equipment through connecting sensors, industrial equipment and the like, and common data collection modes comprise digital quantity input, analog quantity input, serial port input, ethernet input and the like;
2) And (3) data processing: the gateway device extracts valuable information by processing the collected data, and generally comprises operations such as data verification, protocol conversion, data analysis, data storage and the like so as to ensure the accuracy and the integrity of the data;
3) And (3) data transmission: after data processing, the gateway device transmits the data to the internet of things platform or other devices through a network, wherein the transmission mode comprises the following steps: ethernet, WIFI, bluetooth, GPRS, etc.;
4) And (3) data storage: the gateway equipment stores the collected data in a local or cloud end for subsequent data analysis, control and other purposes;
in general, the data acquisition principle of the gateway equipment is that the data acquisition is performed through the collector, and the acquired data is transmitted to the internet of things platform or other equipment through the steps of data processing, transmission, storage and the like, so that the functions of real-time monitoring, control, debugging and the like are realized.
The gateway device may mount a direct connection device of the sub-device. The gateway equipment is provided with a sub-equipment management module which can manage the topological relation between the gateway equipment and the sub-equipment; the gateway sub-equipment cannot be directly connected with the internet of things platform and can only access the equipment of the internet of things platform by means of the gateway equipment.
Because the gateway of different manufacturers analyzes that the rule of the same type of industrial equipment corresponding to the first transmission protocol is different, in order to ensure the integrity of the metadata received by the internet of things platform, the gateway equipment is set as follows: and as long as the object numbered musical notation message format is met, the data can be forwarded and stored to the Internet of things platform. The process can lead to the data of non-production processes of some industrial equipment to be stored, occupy more resources over time, and increase the pressure of data storage of an Internet of things platform.
In order to avoid that data of non-production processes of some industrial equipment are saved, resources of the Internet of things platform are occupied. Some gateway vendors may provide script development capability to parse the message data format by writing script code before forwarding the data, filtering the data. Although this approach can solve the problem of different message data formats to some extent, there are a number of drawbacks, such as: the threshold is high, a certain requirement is provided for development skills of personnel, and the script needs to be encoded and developed; the efficiency is low, a large amount of codes and debugging are required for script development, and a large amount of time and cost are consumed; the reusability is poor, the gateways of each manufacturer are different in brands corresponding to the gateways, the analysis of the script written each time on the message data format is limited to the gateway of a certain brand, the script is required to be rewritten for the gateways of other brands, and a unified message data analysis template is not available.
Therefore, the first metadata, which is transmitted by the gateway device and is obtained by analyzing the first transmission protocol corresponding to the target industrial device through the analysis script template, is firstly obtained, and the internet of things platform stores and filters the first metadata.
S102: and determining a target data format corresponding to the target industrial equipment, and acquiring a target format analysis script template corresponding to the target data format.
The target industrial equipment is used for indicating the industrial equipment created by the Internet of things platform. The target data format is used for indicating a data format corresponding to data generated in the industrial equipment production process created by the Internet of things platform. The target format analysis script template is used for analyzing a data format corresponding to data generated in the production process of industrial equipment created by the Internet of things platform.
It can be understood that, after the first metadata transmitted by the gateway device is obtained, in order to store the target metadata, the internet of things platform can determine the data format of the first metadata transmitted by the gateway device first, and after the first metadata is determined according to the data format, the internet of things platform is different from the data storage mode of the industrial device, so that the format analysis script template is required to analyze the first metadata, not only the data in the production process of the non-industrial device is filtered, but also the first metadata is required to be converted into the data storage mode corresponding to the internet of things platform for storage.
Before storing metadata of industrial equipment, the Internet of things platform needs to define information such as product names, node types (industrial equipment selects gateway sub-equipment, gateway equipment selects gateway equipment), transmission protocols and the like by creating industrial equipment (such as an injection molding machine) and gateway equipment (such as a Kaos Internet of things gateway), and creates a physical model of the configured product after the industrial equipment and the gateway equipment products, wherein the physical model comprises detection points and attribute states; after the product and the object model are established, industrial equipment (for example, no. 1 injection molding machine) and gateway equipment (No. 1 Kaos Internet of things) are established, and when the industrial equipment and the gateway equipment are established, the product of the equipment needs to be selected, and the basic information and the object model configuration of the product are inherited; and binding the No. 1 injection molding machine (sub-equipment) at a sub-equipment management interface of the No. 1 Kaois Internet of things gateway.
The object model is a digital representation of an entity in a physical space in an internet of things platform, and is a data model attached to equipment. The measurement points represent point location data that the device can be monitored, for example: yield of the apparatus. The attribute represents a device operational attribute that is distinguished from the measurement point by a low frequency of data changes and is more focused on the current value, such as: device operating state.
A device is a unit having the capability of transmitting data, which corresponds to a physical device in a physical space, such as: and the smoke sensor is specifically arranged at the top of a workshop.
S103: and analyzing the data format of the first metadata by adopting the target format analysis script template to obtain target metadata, wherein the data format of the target metadata is the target data format, and storing the target metadata.
The target metadata are used for indicating metadata generated in the production process of the corresponding industrial equipment of the Internet of things platform to be converted into metadata which can be stored in the Internet of things platform.
It can be understood that the internet of things platform performs configuration of analysis rules on the data format analysis interface, selects the processing type of metadata (different processing types correspond to different data formats) according to the data format standard of the internet of things platform, generates a format analysis script, adjusts the script according to actually required equipment data, selects a product to be applied (for example, a Kaos internet of things gateway), clicks a debugging button to analyze the format of the metadata, generates a target data format, displays the analyzed target data format and target metadata, and realizes data filtering of the metadata while generating the target metadata.
After the first metadata format analysis is completed by the Internet of things platform, a user can check real-time equipment telemetry data (such as temperature and other information of an injection molding machine No. 1) or attributes (such as state of the injection molding machine No. 1) pushed by entity industrial equipment on an equipment management-object model management interface; in addition, by means of a rule chain of the internet of things platform, storage and forwarding of the analyzed target metadata can be automatically achieved, and based on the forwarding function, integrated application with other systems can be achieved.
According to the industrial equipment metadata storage method, first metadata transmitted by gateway equipment are obtained, the gateway equipment analyzes a first transmission protocol corresponding to target industrial equipment through an analysis script template, a target data format corresponding to the target industrial equipment is determined, a target format analysis script template corresponding to the target data format is obtained, the target format analysis script template is adopted to analyze the data format of the first metadata, target metadata is obtained, the data format of the target metadata is the target data format, and the target metadata is stored; the method realizes the data filtering of the metadata of the industrial equipment and reduces the pressure of the internet of things platform for storing the data.
Fig. 2 is an interaction diagram of an industrial device metadata storage method according to an embodiment of the present application. As shown in fig. 2, this embodiment is a detailed description of an industrial equipment metadata storage method based on the embodiment of fig. 1, where the industrial equipment metadata storage method provided in this embodiment includes:
s201: the industrial equipment collects second metadata and generates a first transmission protocol according to the second metadata.
Wherein the second metadata is used to indicate raw data generated by the industrial equipment during production.
The method for acquiring data by the industrial equipment can comprise the following steps: sensor acquisition, instrument acquisition, computer interface acquisition, wireless data acquisition, human-computer interface and data log recorder.
And (3) sensor acquisition: various sensors are used to measure and collect various parameters such as temperature, pressure, flow, humidity, vibration, etc. The sensor converts the physical quantity into an electrical signal, which is then collected and processed using a data collection device.
Instrument measurement: specific electrical or electronic parameters are measured and collected using special measuring instruments, such as oscilloscopes, spectrometers, multimeters, etc. These instruments typically have built-in data acquisition functions that can record and store measurement data.
Computer interface: connected to various devices and sensors through computer interfaces, such as serial ports, parallel ports, USB, ethernet, etc. These interfaces allow the computer to exchange and communicate data with external devices, and software can be used for data collection and processing.
And (3) wireless data acquisition: wireless data acquisition is achieved using wireless sensors and communication technologies, such as Wi-Fi, bluetooth, zigbee, and the like. The wireless sensor transmits the acquired data to a receiving device, such as a base station or a receiver, through wireless communication.
Human-machine interface (HMI): data is collected by an operator manually entering or triggering events through human interface devices such as touch screens, keyboards, buttons, etc. This approach is often used in operational control, equipment status monitoring, and other scenarios.
Data log logger: data is recorded and stored using a data logger or data logger. These devices typically have multiple input channels, which collect and record data for multiple parameters, which may be downloaded and analyzed by a storage medium (e.g., memory card) or connected to a computer.
S202: the industrial device sends the second metadata to a gateway device using a first transmission protocol.
Wherein the first transmission protocol is used for indicating to provide service functions for the gateway device. In order to provide such a service function, the gateway device incorporates data in the industrial device into the data field of the gateway device and then implements the gateway device service function by adding a header or trailer, a process called data encapsulation. The second metadata of the industrial equipment is subjected to secondary packaging, and finally converted into signals which can be transmitted on a network and sent to the gateway equipment.
The industrial equipment (for example, no. 1 injection molding machine) is connected with gateway equipment (for example, no. 1 Kaos Internet of things) and is configured with an industrial equipment acquisition point location through the gateway equipment, a first transmission protocol corresponding to the industrial equipment is set, and connection between the industrial equipment and the gateway equipment is established.
S203: and the gateway equipment analyzes and processes the first transmission protocol corresponding to the target industrial equipment to obtain first metadata acquired by the target industrial equipment.
The first metadata is used for indicating metadata which can be obtained by analyzing the first transmission protocol in the gateway equipment.
The first metadata differs from the second metadata in that: the first metadata is data obtained after the gateway processes the second metadata; the format of the first metadata is different from that of the second metadata, which is mainly determined by the properties of the industrial equipment and the gateway equipment; the first metadata is obtained by arranging the second metadata, and the regularity of the first metadata is stronger than that of the second metadata.
And the gateway equipment analyzes the transmission protocol of the industrial equipment according to the configuration information to obtain metadata transmitted by the industrial equipment.
S204: and the gateway adopts a second transmission protocol to send the first metadata to the Internet of things platform.
The second transmission protocol (which may be the MQTT protocol) is a protocol designed for communication between remote sensors and control devices in a low bandwidth, unreliable network with limited computational power, and has the following main several characteristics:
1) Providing one-to-many message publication using a publish/subscribe message schema, decoupling the application;
2) Message transmission to load content mask;
3) Providing network connectivity using TCP/IP;
4) There are three message distribution qualities of service:
5) Small transmission, low overhead (2 bytes for fixed length header), minimal protocol exchanges to reduce network traffic;
6) The Last Will and technology features are used to inform the mechanism about the client abort at each party.
S205: and the Internet of things platform analyzes the second transmission protocol corresponding to the gateway equipment to obtain the first metadata acquired by the target industrial equipment.
The second transmission protocol is different from the first transmission protocol, and is used for transmitting the first metadata obtained by analyzing the gateway equipment to the internet of things platform through the transmission protocol, and the first transmission protocol is used for transmitting the second metadata corresponding to the industrial equipment to the gateway equipment through the transmission protocol.
And generating a corresponding format analysis script template according to different processing types of the metadata message data, properly adjusting the script template according to the required industrial equipment metadata by a user, and executing the script template to analyze the metadata message format to generate a new message data format.
Optionally, before acquiring the first metadata transmitted by the gateway device, the method further includes:
acquiring candidate data formats corresponding to the data of a plurality of industrial devices;
and generating a format analysis script template corresponding to each candidate data format according to the plurality of candidate data formats and the processing type corresponding to each candidate data format.
S206: and the Internet of things platform determines a target data format corresponding to the target industrial equipment and acquires a target format analysis script template corresponding to the target data format.
The target data format may be multiple or one.
The step of determining the target data format corresponding to the target industrial equipment is mainly used for preparing the first metadata by analyzing and filtering the first metadata by the Internet of things platform, so that the target metadata can be acquired and stored by the Internet of things platform more easily.
Each data format has a corresponding format analysis script template, and analysis processing is needed to be carried out on the data format corresponding to the data through the format analysis script template. And the data format and the format analysis script template have a certain association relation, and the target format analysis script template needs to be determined according to the target data format.
S207: and the Internet of things platform analyzes the data format of the first metadata by adopting the target format analysis script template to obtain target metadata and stores the target metadata.
Wherein the target metadata is used to indicate data generated during production of the industrial equipment. The target metadata, the first metadata, and the second metadata differ in that: the data formats are different; the data content is different (the second metadata is processed and filtered to obtain the first metadata, and the first metadata is processed and filtered to obtain the target metadata).
The step thing allies oneself with the platform and analyzes the script template to the data format of first metadata through the sub-o with the target format, obtain the target metadata (namely obtain the data that the industrial equipment produces in the production process, can filter the data that the non-industrial equipment produces in the production process), and store the target metadata.
S208: the internet of things platform obtains a display request sent by an object model management module, wherein the display request comprises: identification information of the target industrial device.
The object model management module is used for indicating a platform on the internet of things platform for virtual model display of the target metadata.
The display request is used for indicating a request for displaying the virtual model after uploading the target metadata to the object model management module.
It can be understood that when the internet of things platform obtains the target metadata, the target metadata is stored first, and the object model management module sends a display request to the internet of things platform.
S209: and the Internet of things platform performs conversion processing on the target metadata according to the display request to obtain display information corresponding to the target industrial equipment.
The internet of things platform can input target metadata to the object model management module according to the display request, and then the generation process of the industrial equipment performs model display to obtain virtual industrial equipment, so that the data generated by the industrial equipment can be traced and inquired conveniently.
S210: and the Internet of things platform displays the display information on an object model management interface.
The object model management interface can view real-time equipment telemetry data (such as temperature and other information of the No. 1 injection molding machine) or attributes (such as the state of the No. 1 injection molding machine) pushed by industrial equipment.
S211: the internet of things platform obtains a data forwarding request sent by an external system, wherein the data forwarding request comprises: identification information of the target industrial device.
Wherein the data forwarding request is used to indicate a request to forward the target metadata to an external system.
It can be appreciated that when the internet of things platform obtains the target metadata, the target metadata is stored, and then the target metadata can be forwarded to an external system.
S212: and the Internet of things platform sends the stored target metadata corresponding to the target industrial equipment to the external system according to the data forwarding request.
And after forwarding the analyzed target metadata based on the rule chain, the integrated application with other systems is realized.
According to the industrial equipment metadata storage method provided by the embodiment, industrial equipment acquires first metadata, generates a first transmission protocol, sends the first metadata to gateway equipment, the gateway equipment analyzes the first transmission protocol to obtain first metadata acquired by the target industrial equipment, sends the first metadata to an Internet of things platform by adopting a second transmission protocol, analyzes the second transmission protocol to obtain the first metadata acquired by the target industrial equipment, the Internet of things platform determines a target data format corresponding to the target industrial equipment, obtains a target format analysis script template corresponding to the target data format, analyzes the data format of the first metadata by adopting the target format analysis script template to obtain target metadata, stores the target metadata, obtains a display request sent by an object model management module, converts the target metadata to obtain display information corresponding to the target industrial equipment, displays the display information on an object model management interface, and obtains a data forwarding request sent by an external system, and the data forwarding request comprises: the identification information of the target industrial equipment sends the stored target metadata corresponding to the target industrial equipment to the external system according to the data forwarding request; the method realizes the data filtering of the metadata of the industrial equipment and reduces the pressure of the internet of things platform for storing the data.
Fig. 3 is a schematic structural diagram of an industrial equipment metadata storage device provided in the present application. As shown in fig. 3, the present application provides an industrial equipment metadata storage 300, comprising:
the acquiring module 301 is configured to acquire first metadata transmitted by a gateway device, where the first metadata is obtained by the gateway device performing an parsing process on a first transmission protocol corresponding to a target industrial device through a parsing script template;
a determining module 302, configured to determine a target data format corresponding to the target industrial device;
the acquiring module 301 is further configured to acquire a target format parsing script template corresponding to the target data format;
and the processing module 303 is configured to perform parsing processing on the data format of the first metadata by using the target format parsing script template to obtain target metadata, where the data format of the target metadata is the target data format, and store the target metadata.
Optionally, the industrial equipment metadata storage device further comprises: a generation module 304;
the acquiring module 301 is further configured to acquire candidate data formats corresponding to data of a plurality of industrial devices;
The generating module 304 is further configured to generate a format parsing script template corresponding to each candidate data format according to the plurality of candidate data formats and the processing type corresponding to each candidate data format.
Optionally, the processing module 303 is further configured to analyze the second transmission protocol corresponding to the gateway device to obtain the first metadata collected by the target industrial device.
Optionally, the industrial equipment metadata storage device further comprises: a display module 305;
the obtaining module 301 is further configured to obtain a display request sent by the object model management module, where the display request includes: identification information of the target industrial equipment;
the processing module 303 is further configured to perform conversion processing on the target metadata according to the display request, so as to obtain display information corresponding to the target industrial device;
the display module 305 is configured to display the display information on an object model management interface.
Optionally, the industrial equipment metadata storage device further comprises: a transmitting module 306;
the obtaining module 301 is further configured to obtain a data forwarding request sent by an external system, where the data forwarding request includes: identification information of the target industrial equipment;
The sending module 306 is further configured to send, according to the data forwarding request, the stored target metadata corresponding to the target industrial device to the external system.
Fig. 4 is a schematic structural diagram of a metadata storage device of an industrial apparatus provided in the present application. As shown in fig. 4, the present application provides an industrial equipment metadata storage apparatus 400 comprising:
the processing module 401 is configured to perform parsing processing on a first transmission protocol corresponding to a target industrial device, so as to obtain first metadata collected by the target industrial device;
a sending module 402, configured to send the first metadata to an internet of things platform by using a second transmission protocol;
the processing module 401 is further configured to enable the internet of things platform to analyze the first metadata by using a target format analysis script template corresponding to the target industrial device, so as to obtain and store target metadata.
Fig. 5 is a schematic structural diagram of an industrial device metadata storage device provided in the present application. As shown in fig. 5, the present application provides an industrial device metadata storage 500 comprising: a receiver 501, a transmitter 502, a processor 503 and a memory 504.
A receiver 501 for receiving instructions and data;
a transmitter 502 for transmitting instructions and data;
memory 504 for storing computer-executable instructions;
a processor 503, configured to execute the computer-executable instructions stored in the memory 504, to implement the steps performed by the metadata storage method of the industrial equipment in the above embodiment. Reference may be made in particular to the description of the foregoing embodiments of the industrial equipment metadata storage method.
Alternatively, the memory 504 may be separate or integrated with the processor 503.
When the memory 504 is provided separately, the electronic device further comprises a bus for connecting the memory 504 and the processor 503.
The application also provides a computer readable storage medium, in which computer executable instructions are stored, which when executed by a processor, implement an industrial device metadata storage method as performed by the industrial device metadata storage device described above.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include (or be non-transitory) and communication media (or transitory medium). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
While the present application has been described in connection with the preferred embodiments illustrated in the accompanying drawings, it will be readily understood by those skilled in the art that the scope of the application is not limited to such specific embodiments, and the above examples are intended to illustrate the technical aspects of the application, but not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. An industrial equipment metadata storage method, which is applied to an internet of things platform, comprising:
acquiring first metadata transmitted by gateway equipment, wherein the first metadata is obtained by analyzing a first transmission protocol corresponding to target industrial equipment through an analysis script template by the gateway equipment;
determining a target data format corresponding to the target industrial equipment, and acquiring a target format analysis script template corresponding to the target data format;
And analyzing the data format of the first metadata by adopting the target format analysis script template to obtain target metadata, wherein the data format of the target metadata is the target data format, and storing the target metadata.
2. The method of claim 1, wherein prior to the obtaining the first metadata transmitted by the gateway device, the method further comprises:
acquiring candidate data formats corresponding to the data of a plurality of industrial devices;
and generating a format analysis script template corresponding to each candidate data format according to the plurality of candidate data formats and the processing type corresponding to each candidate data format.
3. The method of claim 1, wherein the obtaining the first metadata transmitted by the gateway device comprises:
and analyzing the second transmission protocol corresponding to the gateway equipment to obtain the first metadata acquired by the target industrial equipment.
4. The method according to claim 1, wherein the method further comprises:
obtaining a display request sent by an object model management module, wherein the display request comprises: identification information of the target industrial equipment;
According to the display request, converting the target metadata to obtain display information corresponding to the target industrial equipment;
and displaying the display information on an object model management interface.
5. The method according to claim 1, wherein the method further comprises:
acquiring a data forwarding request sent by an external system, wherein the data forwarding request comprises the following steps: identification information of the target industrial equipment;
and according to the data forwarding request, sending the stored target metadata corresponding to the target industrial equipment to the external system.
6. An industrial device metadata storage method, applied to a gateway device, the method comprising:
analyzing a first transmission protocol corresponding to target industrial equipment to obtain first metadata acquired by the target industrial equipment;
and sending the first metadata to an Internet of things platform by adopting a second transmission protocol, so that the Internet of things platform analyzes the first metadata by adopting a target format analysis script template corresponding to the target industrial equipment to obtain and store target metadata.
7. An industrial equipment metadata storage apparatus, the apparatus comprising:
The acquisition module is used for acquiring first metadata transmitted by the gateway equipment, wherein the first metadata is obtained by analyzing a first transmission protocol corresponding to the target industrial equipment through an analysis script template by the gateway equipment;
a determining module, configured to determine a target data format corresponding to the target industrial device;
the acquisition module is also used for acquiring a target format analysis script template corresponding to the target data format;
and the processing module is used for analyzing the data format of the first metadata by adopting the target format analysis script template to obtain target metadata, wherein the data format of the target metadata is the target data format, and the target metadata is stored.
8. An industrial equipment metadata storage apparatus, the apparatus comprising:
the processing module is used for analyzing and processing a first transmission protocol corresponding to target industrial equipment to obtain first metadata acquired by the target industrial equipment;
the sending module is used for sending the first metadata to the Internet of things platform by adopting a second transmission protocol;
and the processing module is also used for enabling the Internet of things platform to analyze the first metadata by adopting a target format analysis script template corresponding to the target industrial equipment to obtain and store target metadata.
9. An industrial device metadata storage device, comprising:
a memory;
a processor;
wherein the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored by the memory to implement the industrial device metadata storage method of any one of claims 1-6.
10. A computer storage medium having stored therein computer executable instructions which when executed by a processor are adapted to implement the industrial device metadata storage method of any of claims 1-6.
CN202311505860.6A 2023-11-10 2023-11-10 Industrial equipment metadata storage method, device, equipment and computer storage medium Pending CN117609228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311505860.6A CN117609228A (en) 2023-11-10 2023-11-10 Industrial equipment metadata storage method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311505860.6A CN117609228A (en) 2023-11-10 2023-11-10 Industrial equipment metadata storage method, device, equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN117609228A true CN117609228A (en) 2024-02-27

Family

ID=89943460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311505860.6A Pending CN117609228A (en) 2023-11-10 2023-11-10 Industrial equipment metadata storage method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN117609228A (en)

Similar Documents

Publication Publication Date Title
EP3584658A1 (en) Method, system, device, and computer readable storage medium for diagnosing vehicle
CN110325979B (en) Measurement solution service providing system
US20160142493A1 (en) Sensor data collection system
CN111414416A (en) Data processing method, device, equipment and storage medium
CN107727941B (en) Environment sensitive area mobile electromagnetic environment information monitoring and management method and system
CN107402869B (en) Data acquisition method, device and system
CN110347377B (en) Prometheus exporter database monitoring system
CN110989555A (en) Vehicle diagnosis and alarm method, device and system
CN101888408A (en) Wireless sensor network-based environment monitoring system
CN108737453B (en) Telemetry data organization method and device for communication of Internet of things
WO2013008476A1 (en) Dynamic infrastructure administration system
CN114116281A (en) Vehicle CAN data processing method, system and device and readable storage medium
CN111918230A (en) Data acquisition method, data transmission method, gateway, equipment and storage medium
CN201725417U (en) Environment monitoring system based on wireless sensor network
CN106462532A (en) System architecture for wireless metrological devices
CN107493377B (en) Thermotechnical parameter acquisition device and method based on mobile terminal application
CN111552266A (en) Vehicle remote diagnosis method, system, equipment connector and vehicle connector
CN114760368A (en) Data transmission method and related equipment
CN114422555A (en) CIM platform based method for self-defined configuration of IoT data analysis
CN110427297A (en) Diagnostic message acquisition methods, system and gateway and computer-readable medium
CN117609228A (en) Industrial equipment metadata storage method, device, equipment and computer storage medium
CN109147295B (en) Data acquisition and transmission method, device and system and repeater
JP2018055457A (en) Data acquisition system, acquisition device, information acquisition program, server device and server program
KR101471362B1 (en) M2m network system and standardizing method for data collected by m2m device in m2m network system
CN112118162B (en) Communication system and communication method thereof

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