CN112381347A - Production equipment state data real-time monitoring method and system based on API gateway - Google Patents

Production equipment state data real-time monitoring method and system based on API gateway Download PDF

Info

Publication number
CN112381347A
CN112381347A CN202011088572.1A CN202011088572A CN112381347A CN 112381347 A CN112381347 A CN 112381347A CN 202011088572 A CN202011088572 A CN 202011088572A CN 112381347 A CN112381347 A CN 112381347A
Authority
CN
China
Prior art keywords
production equipment
data
real
time
state 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
CN202011088572.1A
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.)
Sie Consulting Co ltd
Original Assignee
Sie Consulting 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 Sie Consulting Co ltd filed Critical Sie Consulting Co ltd
Priority to CN202011088572.1A priority Critical patent/CN112381347A/en
Publication of CN112381347A publication Critical patent/CN112381347A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • G06Q10/063114Status monitoring or status determination for a person or group
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • 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/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Primary Health Care (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • General Health & Medical Sciences (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention belongs to the technical field of production scheduling, and particularly relates to a production equipment state data real-time monitoring method and system based on an API gateway. Obtaining real-time production equipment state data; generating the real-time production equipment state data identifier through a service node of the production equipment; the API gateway forwards the real-time production equipment state data in real time according to the identification; generating visual production equipment state data; and monitoring the state data of the production equipment in real time according to the state data of the visual production equipment. The production equipment can be connected through a serial port of a service node of the production equipment or the Ethernet, and data such as the state, production information, fault information, process parameters, program file names, quality inspection, energy consumption and the like of the production equipment are collected uniformly through an equipment protocol, so that the equipment data and system data thereof are obtained through a visual billboard platform in combination with API gateway service, and transparent production is realized.

Description

Production equipment state data real-time monitoring method and system based on API gateway
Technical Field
The invention belongs to the technical field of production scheduling, and particularly relates to a production equipment state data real-time monitoring method and system based on an API gateway.
Background
The basic idea of the IT/OT integrated support platform is that an open type data acquisition and parameter issuing platform is 'equipment interconnection and data intercommunication', and in the current IT/OT integrated support platform, the IT/OT integrated support platform is generally connected with equipment through Ethernet, serial port bus or wireless network modes such as industrial AP and 5G, and the data acquisition and parameter issuing with the equipment are realized through corresponding protocol analysis.
Because the traditional platform generally communicates with a plurality of devices in a polling scheduling mode, when the number of the devices is large and the positions of the devices are scattered, the real-time performance of data interaction with the devices is greatly reduced due to polling delay and long communication distance, a production device service node cannot be simultaneously connected with all the devices, but a plurality of production device service nodes are respectively connected with different regional devices, the real-time performance of device communication is improved through distributed deployment, the devices are divided into different regions for collection and control, and the risk that faults in other regions are caused by faults in a single region and faults in the other regions are caused is effectively reduced.
The distributed deployment is typically characterized in that each node is relatively independent, functions are complete, and the nodes do not affect each other, equipment in different areas is monitored by different service nodes, so that data and interfaces of the equipment are dispersed, unified portals and dispatching are not needed, when the equipment is cooperated with three-party systems such as MES and QMS, more interfaces of the three-party systems are needed for dispatching, the integration difficulty of the three-party systems is high, and the implementation cost is high.
Secondly, transferring the data in a database mode, storing the data in the database, inquiring and taking the data out of the database, increasing data delay time, and repeatedly reading and writing the hard disk at the same time, so that the service life of the hard disk is reduced, and the IT operation and maintenance cost is reduced; similarly, data transfer interaction is carried out through an Enterprise Service Bus (ESB), the production equipment service point data still need to be transferred and temporarily stored in an ESB server, bottleneck is easily generated on ESB service nodes aiming at mass equipment data, professional ESB service nodes are introduced, the overall operation and maintenance difficulty and cost of the system are increased, and intermediate layer routing is needed between the production equipment service nodes, so that the real-time performance of the reduced system data is improved.
Based on the defects, currently, in the production scheduling process, a user cannot visually monitor the state data of the production equipment in real time, and transparent production cannot be realized. Therefore, it is necessary to provide a method and a system for monitoring status data of production equipment in real time based on API gateway to solve the technical problem that transparent production cannot be realized due to the inability of intuitive real-time monitoring of status data of production equipment.
Disclosure of Invention
Aiming at the technical problems and defects that visual real-time monitoring can not be realized at present and transparent production can not be realized. The invention provides a production equipment state data real-time monitoring method and a system based on an API gateway, namely:
the first object of the present invention is to: providing a production equipment state data real-time monitoring method based on an API gateway;
the second object of the present invention is to: providing a production equipment state data real-time monitoring system based on an API gateway;
the first object of the present invention is achieved by: the method specifically comprises the following steps:
acquiring real-time production equipment state data;
generating the real-time production equipment state data identifier through a service node of the production equipment;
the API gateway forwards the real-time production equipment state data in real time according to the identification;
generating visual production equipment state data;
and monitoring the state data of the production equipment in real time according to the state data of the visual production equipment.
Further, the production equipment state data specifically includes: production data information, fault data information, process parameter data, program file name, quality inspection data information and energy consumption data information.
Further, in the step of generating the real-time production equipment status data identifier by the service node of the production equipment, the method further comprises the following steps:
generating an identifier corresponding to a production equipment service node according to the production equipment service node starting information;
and generating an instruction for deleting the cache information of the service node of the production equipment according to the exit information of the service node of the production equipment.
Further, the step of forwarding the real-time production equipment status data in real time by the API gateway according to the identifier further includes the following steps:
screening, filtering and routing the real-time production equipment state data;
and logging and archiving and storing the call data crossing the API gateway.
Further, in the step of screening, filtering and routing the real-time production equipment state data, the method further comprises the following steps:
analyzing the running state and fault state data of the production equipment;
and acquiring the comprehensive efficiency and the time utilization rate of the production equipment.
Further, the call data of the cross API gateway includes: API call parameters, frequency, response time, and exception information.
Further, the forwarding the real-time production equipment status data in real time includes: timed interval push and data value change push.
Further, the number of the service nodes of the production equipment is at least two;
and the service nodes of the production equipment are subjected to point-to-point transmission through a TCP data channel.
The second object of the present invention is achieved by: the system specifically comprises:
the acquisition unit is used for acquiring real-time production equipment state data;
the first generating unit is used for generating the real-time production equipment state data identifier through a service node of the production equipment;
the forwarding unit is used for forwarding the real-time production equipment state data in real time by the API gateway according to the identification;
the second generation unit is used for generating visualized production equipment state data;
and the monitoring unit is used for monitoring the state data of the production equipment in real time according to the state data of the visual production equipment.
Further, the first generating unit further includes:
the first generation module is used for generating an identifier corresponding to the production equipment service node according to the starting information of the production equipment service node;
the second generation module is used for generating an instruction for deleting the cache information of the service node of the production equipment according to the exit information of the service node of the production equipment;
the forwarding unit further includes:
the screening module is used for screening, filtering and routing the real-time production equipment state data;
the archiving storage module is used for carrying out log recording and archiving storage on the calling data crossing the API gateway;
the analysis module is used for analyzing the running state and fault state data of the production equipment;
the acquisition module is used for acquiring the comprehensive efficiency and the time utilization rate of the production equipment.
Compared with the prior art, the invention has the following beneficial effects:
according to the method and the system for monitoring the status data of the production equipment in real time based on the API gateway, the production equipment can be connected through a serial port of a service node of the production equipment or an Ethernet, and the status, the production information, the fault information, the process parameters, the program file name, the quality inspection, the energy consumption and other data of the production equipment are collected uniformly through an equipment protocol, so that the equipment data and the system data thereof are obtained through a visual billboard platform in combination with the API gateway service, and transparent production is realized.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic view of a process architecture of a real-time monitoring method for status data of production equipment based on an API gateway according to the present invention;
FIG. 2 is a schematic diagram of a preferred embodiment of a production equipment status data real-time monitoring method architecture based on an API gateway according to the present invention;
FIG. 3 is a schematic diagram of a second preferred embodiment of the present invention, which is a method for real-time monitoring status data of a production facility based on an API gateway;
FIG. 4 is a schematic diagram of a real-time monitoring system for status data of production equipment based on an API gateway according to the present invention;
FIG. 5 is a schematic diagram of a real-time monitoring platform architecture for status data of production equipment based on an API gateway according to the present invention;
FIG. 6 is a block diagram of a computer-readable storage medium according to an embodiment of the present invention;
the objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
For better understanding of the objects, aspects and advantages of the present invention, reference will now be made to the following detailed description taken in conjunction with the accompanying drawings, and other advantages and capabilities of the present invention will become apparent to those skilled in the art from the description.
The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. Secondly, the technical solutions in the embodiments can be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not be within the protection scope of the present invention.
Preferably, the production equipment state data real-time monitoring method based on the API gateway is applied to one or more terminals or servers. The terminal is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The terminal can be a desktop computer, a notebook, a palm computer, a cloud server and other computing equipment. The terminal can be in man-machine interaction with a client in a keyboard mode, a mouse mode, a remote controller mode, a touch panel mode or a voice control device mode.
The invention discloses a method and a system for monitoring production equipment state data in real time based on an API gateway.
Fig. 1 is a flowchart of a method for monitoring status data of a production device in real time based on an API gateway according to an embodiment of the present invention.
In this embodiment, the method for monitoring the status data of the production equipment in real time based on the API gateway may be applied to a terminal with a display function or a fixed terminal, where the terminal is not limited to a personal computer, a smart phone, a tablet computer, a desktop or all-in-one machine with a camera, and the like.
The production equipment state data real-time monitoring method based on the API gateway can also be applied to a hardware environment formed by a terminal and a server connected with the terminal through a network. Networks include, but are not limited to: a wide area network, a metropolitan area network, or a local area network. The method for monitoring the status data of the production equipment in real time based on the API gateway can be executed by a server, can also be executed by a terminal, and can also be executed by the server and the terminal together.
For example, for a terminal that needs to perform real-time monitoring of production equipment status data based on the API gateway, the real-time monitoring function of production equipment status data based on the API gateway provided by the method of the present invention may be directly integrated on the terminal, or a client for implementing the method of the present invention may be installed. For another example, the method provided by the present invention may further run on a device such as a server in the form of a Software Development Kit (SDK), and an interface of the API gateway-based production device status data real-time monitoring function is provided in the form of an SDK, so that the terminal or other devices can implement the API gateway-based production device status data real-time monitoring function through the provided interface.
The invention is further elucidated with reference to the drawing.
As shown in fig. 1, the present invention provides a method for monitoring status data of a production device in real time based on an API gateway, where the method specifically includes the following steps:
s1, acquiring real-time production equipment state data;
s2, generating the real-time production equipment state data identifier through the service node of the production equipment;
s3, the API gateway forwards the real-time production equipment state data in real time according to the identification;
s4, generating visual production equipment state data;
and S5, monitoring the production equipment state data in real time according to the visualized production equipment state data.
The production equipment state data specifically comprises: production data information, fault data information, process parameter data, program file name, quality inspection data information and energy consumption data information.
Further, in the step of generating the real-time production equipment status data identifier by the service node of the production equipment, the method further comprises the following steps:
s21, generating an identifier corresponding to the production equipment service node according to the production equipment service node starting information;
and S22, generating an instruction for deleting the cache information of the service node of the production equipment according to the exit information of the service node of the production equipment.
Further, the step of forwarding the real-time production equipment status data in real time by the API gateway according to the identifier further includes the following steps:
s31, screening, filtering and routing the real-time production equipment state data;
and S32, logging and archiving the call data crossing the API gateway.
Preferably, in the step of screening, filtering and routing the real-time production equipment status data, the method further comprises the following steps:
s311, analyzing the running state and fault state data of the production equipment;
and S312, acquiring the comprehensive efficiency and the time utilization rate of the production equipment.
Further, the call data across the API gateway includes: API call parameters, frequency, response time, and exception information.
The real-time forwarding of the real-time production equipment state data comprises: timed interval push and data value change push.
Preferably, the number of the service nodes of the production equipment is at least two;
and the service nodes of the production equipment are subjected to point-to-point transmission through a TCP data channel.
In particular, in embodiments of the present invention,
as shown in fig. 2, for the problem of high difficulty in service collaboration among systems due to dispersion of distributed deployment interfaces and data dispersion, the present invention provides the following solutions to solve the problems of system decoupling and data real-time pushing:
1. the API gateway service provides a uniform API interface portal, decoupling IT system and equipment interconnection, and the data intercommunication system has a one-to-many relationship, so that the upper-layer IT system does not need to care about equipment interconnection, the node address and the number of the data intercommunication system, and the coupling degree between the systems is reduced.
The specific working principle is as follows:
and equipment interconnection, wherein an API gateway service IP and a port are configured before the data intercommunication system edge service node is accessed.
Equipment interconnection, after the service node of the data intercommunication system is started, the unique identifier of the node, the unique identifier of equipment connection and the information of API interface table are automatically uploaded
The equipment is interconnected, and when the service node of the data intercommunication system exits, the API gateway is informed to delete all cache information of the node;
when the IT system calls the API, a unique service node identifier or a unique equipment identifier needs to be added into a request packet header, an API gateway carries out API request routing according to the unique identifier and forwards the API request routing to corresponding equipment for interconnection, an edge service node of a data intercommunication system and returns a return result to the IT system, and therefore automatic API calling routing is achieved;
when the equipment is interconnected and the edge service node of the data intercommunication system is abnormal, the API gateway returns a default abnormal message to the IT system according to a fault tolerance mechanism, so that abnormal isolation among services is realized, and the service fault of the IT system is avoided;
when the IT system executes illegal requests or frequent malicious requests, the API gateway can execute interception actions according to safety rules, so that equipment interconnection caused by external violent access is avoided, and the performance of an edge service node of the data intercommunication system is reduced;
the API gateway only screens, filters and routes the request data, the equipment is interconnected, the service node of the data intercommunication system and the IT system data are transmitted in time in a routing way, and data access action is not performed in the middle, so that the system data are ensured to interact in time, and the data real-time performance is provided;
in a safe and controllable internal network, interaction can be carried out through the gRPCs, the gRPCs adopt a protobuf protocol to carry out binary coding and support stream transmission, the data transmission amount can be effectively reduced, and the overall performance among systems is improved.
The API gateway carries out log recording and filing storage on API calling parameters, frequency, response time and abnormal information among the systems, so that subsequent abnormal tracing and system problem troubleshooting are facilitated;
the upper-layer IT system can directly issue the process parameters to the equipment according to the unique equipment identifier, and when the API gateway receives the request of the IT system, the equipment interconnection and data intercommunication system service node corresponding to the equipment is automatically identified according to the unique equipment identifier, and the issued parameters are forwarded to the equipment interconnection and data intercommunication system service node. When the identification fails, the API automatically fails to download, and the unique identifier of the returned equipment does not find abnormal information;
2. the equipment is interconnected, the real-time data of the data intercommunication system is published in an MQTT or RabbitMQ message queue mode, the IT system subscribes consumption data to an MQTT Broker or a RabbitMQ Server, real-time pushing and consumption of the equipment data are realized, and the real-time performance of the data is improved.
The working principle is as follows:
the equipment interconnection, the data intercommunication system service node configures the data push mode in advance, can select MQTT or RabbitMQ, and configures MQTT Broker or RabbitMQ Server parameter information;
the method comprises the steps that equipment is interconnected, and a service node of a data interconnection system is pre-configured with equipment data, a subject format, a push message field and a message format which need to be pushed in real time, and a Json format is defaulted;
the equipment interconnection, the data intercommunication system service node configures the data push strategy in advance, and can configure the push at a regular interval or the push of data value change;
the equipment interconnection is carried out after the service node of the data intercommunication system is started, and real-time data release is carried out according to the configuration information
The IT system subscribes a theme to the MQTT Broker or the Rabbit MQ Server according to the service requirement of the IT system;
the IT system is interconnected according to the subscription subject consumption equipment, and the data intercommunication system pushes data;
and canceling the subscription when the IT system is quitted or the consumption is finished.
3. The equipment interconnection, the point-to-point communication is realized between the service nodes of the data intercommunication system through peer-to-peer network service, a TCP data channel is established between each service node for point-to-point transmission, and the real-time transmission of OT service node data is realized without bridging by three parties such as an API gateway, an MQTTbroker, a RabbitMQ and the like.
The equipment interconnection, the data intercommunication system service node provides TCP service for other node connection, and the service node is used as a client to connect other service nodes to perform data interaction according to the requirement, thereby realizing point-to-point communication between the nodes, and the working principle is as follows:
the method comprises the following steps that equipment interconnection, other equipment interconnection needing data interaction, an IP (Internet protocol) and a port of a service node of a data intercommunication system are configured in advance by the service node of the data intercommunication system;
the equipment interconnection, the data intercommunication system service node pre-configures the equipment data to be interacted;
the equipment interconnection, after the data intercommunication system service is started, the data interaction is automatically carried out with the IP and port configuration resume TCP connecting channel;
equipment interconnection, when the service of the data intercommunication system exits, the TCP connection is disconnected, and data interaction is stopped;
preferably, as shown in fig. 3, the devices are interconnected, and the service nodes of the data interworking system and the centralized monitoring server implement point-to-point TCP communication through peer-to-peer network service, thereby implementing efficient communication between the nodes;
the interconnection of API gateway service providing equipment is provided, the service nodes of the data intercommunication system unify API inlets, the integration difficulty of a three-party system is simplified, and the implementation delivery cost is reduced;
the API gateway service provides flow monitoring, performance monitoring and log recording functions, realizes calling monitoring, interface parameter monitoring and interface performance monitoring of an API interface between systems, can provide original data for interactive abnormal data between systems, interface performance data and interface concurrent data, and ensures subsequent operation and maintenance, performance optimization and abnormal tracing of the system;
providing an API fault tolerance mechanism which comprises service fault tolerance, service degradation and fault tolerance elaboration, ensuring the interconnection of equipment and the influence of abnormal service of a data intercommunication system on a three-party system, and ensuring the stability of the three-party system;
providing RPC routing scheduling and authority control functions, improving the internal calling efficiency of equipment interconnection and data intercommunication system service nodes through grpc, and automatically intercepting illegal requests and abnormal requests through authority control
The automatic distribution mechanism for the equipment process parameter issuing is realized, the unique code of the equipment can be automatically routed to the service node corresponding to the equipment, and the seamless butt joint of the MES and the equipment service and data is realized.
That is to say, the devices are interconnected, the service nodes of the data intercommunication system connect the production devices through serial ports or ethernet, and uniformly acquire data such as the state, production information, fault information, process parameters, program file names, quality inspection, energy consumption and the like of the production devices through a device protocol, the visual billboard platform acquires device data and system data thereof through API gateway service, and displays the device data and the system data to users through charts, reports, animations and the like, so that transparent production is realized, namely, the device state data is monitored, and transparent production is realized.
The equipment interconnection system analyzes the collected equipment running state and fault state data through a protocol, calculates the running time, the downtime, the fault time, the maintenance time and the like of the current equipment through the state switching timestamp, further calculates the indexes of the equipment such as OEE, the time utilization rate and the like, helps a user to improve the equipment utilization rate and reasonably arrange the equipment maintenance time.
In order to achieve the above object, the present invention further provides a production equipment status data real-time monitoring system based on API gateway, as shown in fig. 4, the system specifically includes:
the acquisition unit is used for acquiring real-time production equipment state data;
the first generating unit is used for generating the real-time production equipment state data identifier through a service node of the production equipment;
the forwarding unit is used for forwarding the real-time production equipment state data in real time by the API gateway according to the identification;
the second generation unit is used for generating visualized production equipment state data;
and the monitoring unit is used for monitoring the state data of the production equipment in real time according to the state data of the visual production equipment.
Further, the first generating unit further includes:
the first generation module is used for generating an identifier corresponding to the production equipment service node according to the starting information of the production equipment service node;
the second generation module is used for generating an instruction for deleting the cache information of the service node of the production equipment according to the exit information of the service node of the production equipment;
the forwarding unit further includes:
the screening module is used for screening, filtering and routing the real-time production equipment state data;
the archiving storage module is used for carrying out log recording and archiving storage on the calling data crossing the API gateway;
the analysis module is used for analyzing the running state and fault state data of the production equipment;
the acquisition module is used for acquiring the comprehensive efficiency and the time utilization rate of the production equipment.
In the embodiment of the system scheme of the present invention, specific details of the method steps involved in the production device status data real-time monitoring system based on the API gateway have been set forth above, and are not described herein again.
In order to achieve the above object, the present invention further provides a production equipment status data real-time monitoring platform based on API gateway, as shown in fig. 5, including:
the system comprises a processor, a memory and a production equipment state data real-time monitoring platform control program based on an API gateway;
the API gateway-based real-time monitoring platform control program for the status data of the production equipment is executed by the processor, and is stored in the memory, and implements the API gateway-based real-time monitoring method, for example:
s1, acquiring real-time production equipment state data;
s2, generating the real-time production equipment state data identifier through the service node of the production equipment;
s3, the API gateway forwards the real-time production equipment state data in real time according to the identification;
s4, generating visual production equipment state data;
and S5, monitoring the production equipment state data in real time according to the visualized production equipment state data.
The details of the steps have been set forth above and will not be described herein.
In an embodiment of the present invention, the API gateway-based processor built in the production device status data real-time monitoring platform may be composed of an integrated circuit, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same function or different functions, and include one or more Central Processing Units (CPUs), a microprocessor, a digital Processing chip, a graphics processor, and a combination of various control chips. The processor acquires each component by using various interfaces and line connections, and executes various functions and processes data in real time by running or executing programs or units stored in the memory and calling data stored in the memory to execute the production equipment state data based on the API gateway;
the memory is used for storing program codes and various data, is installed in the production equipment state data real-time monitoring platform based on the API gateway and realizes high-speed and automatic access to the program or the data in the running process.
The Memory includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable rewritable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM) or other optical Disc Memory, magnetic disk Memory, tape Memory, or any other medium readable by a computer that can be used to carry or store data.
In order to achieve the above object, the present invention further provides a computer readable storage medium, as shown in fig. 6, where the computer readable storage medium stores a production equipment status data real-time monitoring platform control program based on an API gateway, and the production equipment status data real-time monitoring platform control program based on the API gateway implements the production equipment status data real-time monitoring method based on the API gateway, for example:
s1, acquiring real-time production equipment state data;
s2, generating the real-time production equipment state data identifier through the service node of the production equipment;
s3, the API gateway forwards the real-time production equipment state data in real time according to the identification;
s4, generating visual production equipment state data;
and S5, monitoring the production equipment state data in real time according to the visualized production equipment state data.
The details of the steps have been set forth above and will not be described herein.
In describing embodiments of the present invention, it should be noted that any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and that the scope of the preferred embodiments of the present invention includes additional implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processing module-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM).
Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
In an embodiment of the present invention, to achieve the above object, the present invention further provides a chip system, where the chip system includes at least one processor, and when a program instruction is executed in the at least one processor, the chip system is enabled to execute the steps of the API gateway-based method for monitoring status data of a production device in real time, for example:
s1, acquiring real-time production equipment state data;
s2, generating the real-time production equipment state data identifier through the service node of the production equipment;
s3, the API gateway forwards the real-time production equipment state data in real time according to the identification;
s4, generating visual production equipment state data;
and S5, monitoring the production equipment state data in real time according to the visualized production equipment state data.
The details of the steps have been set forth above and will not be described herein.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The method, the system, the platform and the storage medium can connect the production equipment through a service node serial port or an Ethernet of the production equipment, uniformly acquire data such as the state, the production information, the fault information, the process parameters, the program file name, the quality inspection, the energy consumption and the like of the production equipment through an equipment protocol, realize the acquisition of the equipment data and the system data thereof by combining the API gateway service through a visual billboard platform, and display the equipment data and the system data to a user through a chart, a report form, an animation and the like, thereby realizing the transparent production.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A production equipment state data real-time monitoring method based on an API gateway is characterized by comprising the following steps:
acquiring real-time production equipment state data;
generating the real-time production equipment state data identifier through a service node of the production equipment;
the API gateway forwards the real-time production equipment state data in real time according to the identification;
generating visual production equipment state data;
and monitoring the state data of the production equipment in real time according to the state data of the visual production equipment.
2. The method for monitoring the status data of the production equipment based on the API gateway in real time according to claim 1, wherein the status data of the production equipment specifically includes: production data information, fault data information, process parameter data, program file name, quality inspection data information and energy consumption data information.
3. The method for real-time monitoring of status data of production equipment based on API gateway according to claim 1, wherein in the step of generating said real-time status data of production equipment by a service node of said production equipment, further comprising the steps of:
generating an identifier corresponding to a production equipment service node according to the production equipment service node starting information;
and generating an instruction for deleting the cache information of the service node of the production equipment according to the exit information of the service node of the production equipment.
4. The method for real-time monitoring of status data of production equipment based on API gateway as claimed in claim 1, wherein the API gateway forwards the real-time status data of production equipment in real time according to the identifier, further comprising the steps of:
screening, filtering and routing the real-time production equipment state data;
and logging and archiving and storing the call data crossing the API gateway.
5. The method according to claim 4, wherein the steps of screening, filtering and routing the real-time production equipment status data further comprise the following steps:
analyzing the running state and fault state data of the production equipment;
and acquiring the comprehensive efficiency and the time utilization rate of the production equipment.
6. The method according to claim 4, wherein the call data across the API gateway comprises: API call parameters, frequency, response time, and exception information.
7. The method for real-time monitoring of status data of API gateway based production equipment as claimed in claim 1, 4 or 5, wherein said real-time forwarding of said real-time status data of production equipment comprises: timed interval push and data value change push.
8. The method for real-time monitoring of the status data of the production equipment based on the API gateway as recited in claim 1 or 3, wherein the number of the service nodes of the production equipment is at least two;
and the service nodes of the production equipment are subjected to point-to-point transmission through a TCP data channel.
9. A production equipment state data real-time monitoring system based on an API gateway is characterized by specifically comprising:
the acquisition unit is used for acquiring real-time production equipment state data;
the first generating unit is used for generating the real-time production equipment state data identifier through a service node of the production equipment;
the forwarding unit is used for forwarding the real-time production equipment state data in real time by the API gateway according to the identification;
the second generation unit is used for generating visualized production equipment state data;
and the monitoring unit is used for monitoring the state data of the production equipment in real time according to the state data of the visual production equipment.
10. The API gateway-based production equipment status data real-time monitoring system of claim 9,
the first generating unit further includes:
the first generation module is used for generating an identifier corresponding to the production equipment service node according to the starting information of the production equipment service node;
the second generation module is used for generating an instruction for deleting the cache information of the service node of the production equipment according to the exit information of the service node of the production equipment;
the forwarding unit further includes:
the screening module is used for screening, filtering and routing the real-time production equipment state data;
the archiving storage module is used for carrying out log recording and archiving storage on the calling data crossing the API gateway;
the analysis module is used for analyzing the running state and fault state data of the production equipment;
the acquisition module is used for acquiring the comprehensive efficiency and the time utilization rate of the production equipment.
CN202011088572.1A 2020-10-13 2020-10-13 Production equipment state data real-time monitoring method and system based on API gateway Pending CN112381347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011088572.1A CN112381347A (en) 2020-10-13 2020-10-13 Production equipment state data real-time monitoring method and system based on API gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011088572.1A CN112381347A (en) 2020-10-13 2020-10-13 Production equipment state data real-time monitoring method and system based on API gateway

Publications (1)

Publication Number Publication Date
CN112381347A true CN112381347A (en) 2021-02-19

Family

ID=74581374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011088572.1A Pending CN112381347A (en) 2020-10-13 2020-10-13 Production equipment state data real-time monitoring method and system based on API gateway

Country Status (1)

Country Link
CN (1) CN112381347A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691622A (en) * 2021-08-24 2021-11-23 重庆忽米网络科技有限公司 Industrial data forwarding method based on edge calculation
CN114401123A (en) * 2021-12-28 2022-04-26 国网天津市电力公司营销服务中心 Novel intelligent meter acquisition system based on extensible communication protocol and access method
CN114488989A (en) * 2022-04-15 2022-05-13 广州赛意信息科技股份有限公司 Industrial control system based on internet of things technology

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301948A (en) * 2016-08-31 2017-01-04 北京奇艺世纪科技有限公司 A kind of message circulation visualization and monitoring method and system
KR20190123370A (en) * 2018-04-11 2019-11-01 (주) 유비씨 Cps system for smart factories
CN210007722U (en) * 2019-07-03 2020-01-31 皖西学院 Chemical plant visual safety monitoring system based on Internet of things
CN110944044A (en) * 2019-11-20 2020-03-31 广州市品高软件股份有限公司 Distributed API gateway system and implementation method thereof
CN111049673A (en) * 2019-11-21 2020-04-21 山东健康医疗大数据有限公司 Method and system for counting and monitoring API call in service gateway
CN111212075A (en) * 2020-01-02 2020-05-29 腾讯云计算(北京)有限责任公司 Service request processing method and device, electronic equipment and computer storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301948A (en) * 2016-08-31 2017-01-04 北京奇艺世纪科技有限公司 A kind of message circulation visualization and monitoring method and system
KR20190123370A (en) * 2018-04-11 2019-11-01 (주) 유비씨 Cps system for smart factories
CN210007722U (en) * 2019-07-03 2020-01-31 皖西学院 Chemical plant visual safety monitoring system based on Internet of things
CN110944044A (en) * 2019-11-20 2020-03-31 广州市品高软件股份有限公司 Distributed API gateway system and implementation method thereof
CN111049673A (en) * 2019-11-21 2020-04-21 山东健康医疗大数据有限公司 Method and system for counting and monitoring API call in service gateway
CN111212075A (en) * 2020-01-02 2020-05-29 腾讯云计算(北京)有限责任公司 Service request processing method and device, electronic equipment and computer storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691622A (en) * 2021-08-24 2021-11-23 重庆忽米网络科技有限公司 Industrial data forwarding method based on edge calculation
CN113691622B (en) * 2021-08-24 2023-06-27 重庆忽米网络科技有限公司 Industrial data forwarding method based on edge calculation
CN114401123A (en) * 2021-12-28 2022-04-26 国网天津市电力公司营销服务中心 Novel intelligent meter acquisition system based on extensible communication protocol and access method
CN114488989A (en) * 2022-04-15 2022-05-13 广州赛意信息科技股份有限公司 Industrial control system based on internet of things technology

Similar Documents

Publication Publication Date Title
CN109889551B (en) Method for accessing intelligent hardware to Internet of things cloud platform
CN114143203B (en) Method and system for collecting network data packet indexes of Kubernetes container based on dynamic service topology mapping
CN112381347A (en) Production equipment state data real-time monitoring method and system based on API gateway
EP3072260B1 (en) Methods, systems, and computer readable media for a network function virtualization information concentrator
CN110048927B (en) Communication method and communication device
CN106534107B (en) Message service system of Internet of things
CN112104754B (en) Network proxy method, system, device, equipment and storage medium
EP2378741B1 (en) Systems and Methods for Conducting Communications Among Components of Multidomain Industrial Automation System
US11924058B2 (en) Extensible analytics and recommendation engine for network traffic data
CN109379217B (en) A kind of different producer's arranging service device of Metropolitan Area Network (MAN)
CN109960634B (en) Application program monitoring method, device and system
CN105119787B (en) A kind of public internet access system and method based on software definition
CN109756474B (en) Service cross-region calling method and device for power dispatching automation system
Schwan et al. Autoflow: Autonomic information flows for critical information systems
CN112769602A (en) System and method for unified configuration management of white box switch and network operating system
CN112381346A (en) Product process formula parameter issuing and checking method and system based on API gateway
CN104412547A (en) Communication method, information processing apparatus, communication system, communication terminal, and program
CN112381348A (en) Production data real-time clock synchronization method and system based on API gateway
CN104412545A (en) Communication method, information processing apparatus, communication system, program, node, and communication terminal
JP2017220240A (en) Graphical policy interface for network control system
CN113489684A (en) Communication device, method for calling service between cloud and intranet
CN116915669B (en) Message management method, device, related equipment, chip and storage medium
CN113407611B (en) Data integration distribution platform and system
CN103001800B (en) Software entity automatic discovering method, service node and equipment
Gifre et al. Interfaces for Monitoring and Data Analytics Systems

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