CN112381346A - Product process formula parameter issuing and checking method and system based on API gateway - Google Patents

Product process formula parameter issuing and checking method and system based on API gateway Download PDF

Info

Publication number
CN112381346A
CN112381346A CN202011088544.XA CN202011088544A CN112381346A CN 112381346 A CN112381346 A CN 112381346A CN 202011088544 A CN202011088544 A CN 202011088544A CN 112381346 A CN112381346 A CN 112381346A
Authority
CN
China
Prior art keywords
product process
issuing
verification
parameter data
api gateway
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
CN202011088544.XA
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 CN202011088544.XA priority Critical patent/CN112381346A/en
Publication of CN112381346A publication Critical patent/CN112381346A/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/00Systems or methods specially adapted for 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
    • 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

Abstract

The invention belongs to the technical field of production scheduling, and particularly relates to a product process formula parameter issuing verification method, a product process formula parameter issuing verification system, a product process formula parameter issuing verification platform and a storage medium based on an API gateway. Obtaining product process formula parameter data; issuing product process formula parameter data in real time through an API gateway; and verifying the product process formula parameter data issued in real time. The core functions of flexible manufacturing, unmanned workshop, quick line changing and mixed single production of a factory can be realized, the labor cost and the production efficiency can be effectively reduced through formula downloading, and parameter error prevention is realized through formula parameter comparison, so that the product quality is improved.

Description

Product process formula parameter issuing and checking method and system based on API gateway
Technical Field
The invention belongs to the technical field of production scheduling, and particularly relates to a product process formula parameter issuing verification method, a product process formula parameter issuing verification system, a product process formula parameter issuing verification platform and a storage medium 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, at present, in the production scheduling process, the automatic and accurate issuing of the product process formula parameters cannot be realized, so that the production line change is slow, the single production is mixed, the labor cost is increased invisibly, and the production efficiency is reduced. Therefore, a method, a system, a platform and a storage medium for issuing and checking product process formula parameters based on an API gateway are needed to solve the technical problems that automatic and accurate issuing of product process formula parameters cannot be realized, so that production line change is slow, mixed production cannot be realized, labor cost is increased invisibly, and production efficiency is reduced.
Disclosure of Invention
Aiming at the technical problems and defects that the production line change is slow and the single production is mixed because the automatic and accurate issuing of the product process formula parameters cannot be realized at present. The invention provides a product process formula parameter issuing and checking method, a system, a platform and a storage medium based on an API gateway, namely:
the first object of the present invention is to: providing a product process formula parameter issuing and checking method based on an API gateway;
the second object of the present invention is to: providing a product process formula parameter issuing and checking system based on an API gateway;
the third object of the present invention is to: providing a product process formula parameter issuing verification platform based on an API gateway;
a fourth object of the present invention is to: providing a computer-readable storage medium;
the first object of the present invention is achieved by: the method specifically comprises the following steps:
acquiring product process formula parameter data;
issuing product process formula parameter data in real time through an API gateway;
and verifying the product process formula parameter data issued in real time.
Further, in the step of issuing the parameter data of the product process formula in real time through the API gateway, the method also comprises the following steps:
and caching the issued product process formula parameter data in real time through a service node.
Further, in the step of verifying the parameter data of the product process formula issued in real time, the method also comprises the following steps:
acquiring production task data information received by production equipment;
and carrying out real-time first verification on the product process formula parameter data.
Further, in the step of checking the parameter data of the product process formula for the first time in real time, the method further comprises the following steps:
querying a second process recipe parameter corresponding to the product process recipe parameter data in a recipe cache;
and issuing the parameter data of the second process formula for the second time in real time.
Further, after the step of issuing the second process recipe parameter data for the second time in real time, the method further comprises the following steps:
acquiring production equipment process formula parameter data;
and carrying out real-time second verification on the parameter data of the production equipment process formula.
Further, before the step of obtaining the process recipe parameter data of the production equipment, the method further comprises the following steps:
and acquiring the information that the production equipment successfully receives the second process formula parameter data.
Further, in the step of performing real-time second calibration on the parameter data of the production equipment process formula, the method further comprises the following steps:
and judging whether to issue an equipment production instruction, if the second verification is passed, issuing the equipment production instruction, and if not, issuing an equipment operation stop instruction and forwarding the data information to be maintained of the production equipment.
The second object of the present invention is achieved by: the system specifically comprises:
the acquisition unit is used for acquiring product process formula parameter data;
the issuing unit is used for issuing product process formula parameter data in real time through the API gateway;
and the verification unit is used for verifying the product process formula parameter data issued in real time.
Further, the sending unit further includes:
the first issuing module is used for caching the issued product process formula parameter data in real time through a service node;
the verification unit further comprises:
the first acquisition module is used for acquiring the production task data information received by the production equipment;
the first verification module is used for verifying the product process formula parameter data for the first time in real time;
the first verification module further comprises:
the query module is used for querying a second process formula parameter corresponding to the product process formula parameter data in the formula cache;
the second issuing module is used for issuing the second process formula parameter data for the second time in real time;
the second acquisition module is used for acquiring the parameter data of the process formula of the production equipment;
the second verification module is used for verifying the process formula parameter data of the production equipment for the second time in real time;
the third acquisition module is used for acquiring the information that the production equipment successfully receives the second process formula parameter data;
the second verification module further comprises:
and the judging module is used for judging whether to issue the equipment production instruction.
The third object of the present invention is achieved by: the method comprises the following steps: the system comprises a processor, a memory and a platform control program for issuing verification based on the product process formula parameters of the API gateway;
the processor executes the platform control program for issuing and checking the product process formula parameters based on the API gateway, the platform control program for issuing and checking the product process formula parameters based on the API gateway is stored in the memory, and the platform control program for issuing and checking the product process formula parameters based on the API gateway realizes the method steps for issuing and checking the product process formula parameters based on the API gateway.
The fourth object of the present invention is achieved by: the computer readable storage medium stores a platform control program for issuing and checking the product process formula parameters based on the API gateway, and the platform control program for issuing and checking the product process formula parameters based on the API gateway realizes the steps of the method for issuing and checking the product process formula parameters based on the API gateway.
Compared with the prior art, the invention has the following beneficial effects:
according to the invention, the core functions of factory flexible manufacturing, unmanned workshop, quick line change and mixed single production can be realized through the issuing mode, the checking mode and the checking times in the storage medium, the issuing mode and the checking mode of the product process formula parameters based on the API gateway, and the formula downloading can effectively reduce the labor cost and the production efficiency, and meanwhile, parameter error prevention is realized through the formula parameter comparison, and the product quality is improved.
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 flow architecture of a product process recipe parameter issuing verification method based on an API gateway according to the present invention;
FIG. 2 is a schematic diagram of a preferred embodiment of a product process recipe parameter issuing verification method architecture based on an API gateway;
FIG. 3 is a schematic diagram of a second preferred embodiment of a product process recipe parameter issuing verification method architecture based on an API gateway according to the present invention;
FIG. 4 is a schematic diagram of a third preferred embodiment of a product process recipe parameter issuing verification method architecture based on an API gateway;
FIG. 5 is a schematic diagram of a product process recipe parameter issuing verification system architecture based on an API gateway according to the present invention;
FIG. 6 is a schematic diagram of a product process recipe parameter issuing verification platform architecture based on an API gateway according to the present invention;
FIG. 7 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 product process recipe parameter issuing and checking 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 relates to a product process formula parameter issuing and checking method, a system, a platform and a storage medium based on an API gateway.
Fig. 1 is a flowchart of a product process recipe parameter issuing verification method based on an API gateway according to an embodiment of the present invention.
In this embodiment, the product process recipe parameter issuing verification method 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 an all-in-one machine with a camera, and the like.
The product process formula parameter issuing and checking 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 product process recipe parameter issuing and checking method based on the API gateway can be executed by a server, a terminal or both.
For example, for a terminal that needs to issue and verify parameters of a product process recipe based on an API gateway, the function of issuing and verifying parameters of a product process recipe based on an 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 server or other devices in the form of a Software Development Kit (SDK), and an interface for issuing and verifying the product process recipe parameters based on the API gateway is provided in the form of the SDK, so that the terminal or other devices can implement the issuing and verifying function of the product process recipe parameters based on the API gateway through the provided interface.
The invention is further elucidated with reference to the drawing.
As shown in fig. 1, the present invention provides a product process recipe parameter issuing verification method based on an API gateway, and the method specifically includes the following steps:
s1, acquiring product process formula parameter data;
s2, issuing product process formula parameter data in real time through an API gateway;
and S3, verifying the product process formula parameter data issued in real time.
The mode for verifying the product process formula parameter data issued in real time comprises the following steps: interval verification, equivalence verification and deviation amplitude fluctuation verification;
in the step S2, the method further includes the following steps:
and S21, caching the issued product process formula parameter data in real time through the service node.
In the step S3, verifying the product process recipe parameter data issued in real time, the method further includes the following steps:
s31, acquiring the production task data information received by the production equipment;
and S32, checking the parameter data of the product process formula for the first time in real time.
In the step S32, the real-time first verification of the product process recipe parameter data further includes the following steps:
s321, inquiring a second process formula parameter corresponding to the product process formula parameter data in a formula cache;
and S322, issuing the parameter data of the second process formula for the second time in real time.
After the step of issuing the second process recipe parameter data for the second time in real time in step S322, the method further includes the following steps:
s3221, acquiring parameter data of a production equipment process formula;
and S3222, carrying out real-time second verification on the production equipment process formula parameter data.
Before the step of obtaining the process recipe parameter data of the manufacturing equipment in step S31, the method further includes the following steps:
and S310, acquiring the information that the production equipment successfully receives the second process formula parameter data.
In the step of performing the second real-time verification on the parameter data of the process recipe of the manufacturing equipment in step S3222, the method further includes the following steps:
s32221, judging whether an equipment production instruction is issued, if the second verification is passed, issuing the equipment production instruction, otherwise, issuing an equipment operation stop instruction and forwarding data information to be maintained of the production equipment.
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.
Preferably, in the embodiment of the present invention, as shown in fig. 4, in the factory intelligent manufacturing transformation, the issuing of the recipe parameters is a core function of implementing factory flexible manufacturing, unmanned workshop, fast line change, and mixed single production, and the downloading of the recipe can effectively reduce labor cost and production efficiency, and meanwhile, the parameter error prevention is implemented by comparing the recipe parameters, thereby improving product quality. In order to realize the automatic issuing of the formula parameters, the following conditions are required:
1. the equipment is automatic, the equipment needs to have communication integration capability and can carry out production capacity according to set process parameters
2. Standardization of process parameters
3. An IT (MES) system and an OT (or equipment interconnection, data intercommunication system) system are deeply fused to realize the cooperation among the systems;
the specific working principle is as follows:
1. recipe for technological parameters of MES system maintaining all products
2. The MES issues the production dispatch list information and the process parameter formula to equipment interconnection through an API gateway, the service node of the data intercommunication system, the equipment interconnection and the service node of the data intercommunication system cache the process formula parameters
3. The service node receives the dispatching list information and then issues the dispatching list information to equipment for production
4. After receiving the production task, the equipment uploads the code to equipment interconnection and data intercommunication system service nodes after the code is scanned by an operator or automatically scanned by RFID;
5. the system service node inquires the process formula parameters of the corresponding product from the formula cache according to the uploaded product bar code
6. The system service node issues the inquired formula parameters to the equipment in the modes of IO communication protocol, shared folder, ftp and the like
7. After the equipment receives the formula parameters, the equipment transmits a successful receiving signal back to the system service node
8. The system service node acquires the current formula parameters of the equipment after receiving the successful receiving signal of the equipment and carries out secondary verification, if the verification is successful, an instruction is issued to inform the equipment to produce, and if the verification is failed, an abnormal alarm is given to inform manual processing
9. After the equipment receives the production instruction, the distribution of the formula parameters is completed, and the equipment starts to produce the product according to the downloaded formula.
In order to achieve the above object, the present invention further provides a product process recipe parameter issuing verification system based on the API gateway, as shown in fig. 5, the system specifically includes:
the acquisition unit is used for acquiring product process formula parameter data;
the issuing unit is used for issuing product process formula parameter data in real time through the API gateway;
and the verification unit is used for verifying the product process formula parameter data issued in real time.
The mode for verifying the product process formula parameter data issued in real time comprises the following steps: interval verification, equivalence verification and deviation amplitude fluctuation verification; further, the sending unit further includes:
the first issuing module is used for caching the issued product process formula parameter data in real time through a service node;
the verification unit further comprises:
the first acquisition module is used for acquiring the production task data information received by the production equipment;
the first verification module is used for verifying the product process formula parameter data for the first time in real time;
the first verification module further comprises:
the query module is used for querying a second process formula parameter corresponding to the product process formula parameter data in the formula cache;
the second issuing module is used for issuing the second process formula parameter data for the second time in real time;
the second acquisition module is used for acquiring the parameter data of the process formula of the production equipment;
the second verification module is used for verifying the process formula parameter data of the production equipment for the second time in real time;
the third acquisition module is used for acquiring the information that the production equipment successfully receives the second process formula parameter data;
the second verification module further comprises:
and the judging module is used for judging whether to issue the equipment production instruction.
In the embodiment of the system scheme of the present invention, the specific details of the method steps involved in the API gateway based product process recipe parameter issuing verification system are set forth above and are not described herein again.
In order to achieve the above object, the present invention further provides a product process recipe parameter issuing verification platform based on the API gateway, as shown in fig. 6, including:
the system comprises a processor, a memory and a product process formula parameter issuing verification platform control program based on an API gateway;
wherein the processor executes the product process recipe parameter issuing verification platform control program based on the API gateway, the product process recipe parameter issuing verification platform control program based on the API gateway is stored in the memory, and the product process recipe parameter issuing verification platform control program based on the API gateway realizes the product process recipe parameter issuing verification method steps based on the API gateway, such as:
s1, acquiring product process formula parameter data;
s2, issuing product process formula parameter data in real time through an API gateway;
and S3, verifying the product process formula parameter data issued in real time.
The details of the steps have been set forth above and will not be described herein.
In the embodiment of the present invention, the product process recipe parameter issuing verification platform built-in processor based on the API gateway 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 the program or unit stored in the memory and calls the data stored in the memory to execute the product process recipe parameters based on the API gateway to issue verification various functions and process data;
the memory is used for storing program codes and various data, is installed in a product process formula parameter issuing verification platform based on the API gateway, and realizes high-speed and automatic access of programs or 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. 7, where a product process recipe parameter issuing verification platform control program based on an API gateway is stored in the computer readable storage medium, and the product process recipe parameter issuing verification platform control program based on the API gateway implements the steps of the product process recipe parameter issuing verification method based on the API gateway, for example:
s1, acquiring product process formula parameter data;
s2, issuing product process formula parameter data in real time through an API gateway;
and S3, verifying the product process formula parameter data issued in real time.
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 executes the steps of the API gateway-based product process recipe parameter issuing verification method, for example:
s1, acquiring product process formula parameter data;
s2, issuing product process formula parameter data in real time through an API gateway;
and S3, verifying the product process formula parameter data issued in real time.
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 core functions of flexible manufacturing, unmanned workshop, quick line change and mixed single production of a factory can be realized through the issuing mode, the checking mode and the checking times in the steps, the system, the platform and the storage medium of the method, the formula downloading can effectively reduce the labor cost and the production efficiency, and meanwhile, parameter error prevention is realized through the formula parameter comparison, and the product quality is improved.
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 product process formula parameter issuing and checking method based on an API gateway is characterized by comprising the following steps:
acquiring product process formula parameter data;
issuing product process formula parameter data in real time through an API gateway;
and verifying the product process formula parameter data issued in real time.
2. The product process recipe parameter issuing verification method based on the API gateway as recited in claim 1, wherein in the step of issuing the product process recipe parameter data in real time through the API gateway, the method further comprises the steps of:
and caching the issued product process formula parameter data in real time through a service node.
3. The product process recipe parameter issuing verification method based on the API gateway as recited in claim 1, further comprising the following steps in the step of verifying the product process recipe parameter data issued in real time:
acquiring production task data information received by production equipment;
and carrying out real-time first verification on the product process formula parameter data.
4. The product process recipe parameter issuing verification method based on the API gateway as recited in claim 3, further comprising the following steps in the step of performing a first verification on the product process recipe parameter data in real time:
querying a second process recipe parameter corresponding to the product process recipe parameter data in a recipe cache;
and issuing the parameter data of the second process formula for the second time in real time.
5. The API gateway-based product process recipe parameter issuing verification method according to claim 4, further comprising the following steps after the step of issuing the second process recipe parameter data for the second time in real time:
acquiring production equipment process formula parameter data;
and carrying out real-time second verification on the parameter data of the production equipment process formula.
6. The API gateway-based product process recipe parameter issuing verification method according to claim 5, further comprising, before the step of obtaining production equipment process recipe parameter data, the steps of:
and acquiring the information that the production equipment successfully receives the second process formula parameter data.
7. The API gateway-based product process recipe parameter issuing verification method according to claim 5, wherein in the step of performing real-time second verification on the production equipment process recipe parameter data, the method further comprises the following steps:
and judging whether to issue an equipment production instruction, if the second verification is passed, issuing the equipment production instruction, and if not, issuing an equipment operation stop instruction and forwarding the data information to be maintained of the production equipment.
8. A product process formula parameter issuing and checking system based on an API gateway is characterized by specifically comprising:
the acquisition unit is used for acquiring product process formula parameter data;
the issuing unit is used for issuing product process formula parameter data in real time through the API gateway;
and the verification unit is used for verifying the product process formula parameter data issued in real time.
9. The API gateway-based product process recipe parameter issuing verification system according to claim 8,
the issuing unit further comprises:
the first issuing module is used for caching the issued product process formula parameter data in real time through a service node;
the verification unit further comprises:
the first acquisition module is used for acquiring the production task data information received by the production equipment;
the first verification module is used for verifying the product process formula parameter data for the first time in real time;
the first verification module further comprises:
the query module is used for querying a second process formula parameter corresponding to the product process formula parameter data in the formula cache;
the second issuing module is used for issuing the second process formula parameter data for the second time in real time;
the second acquisition module is used for acquiring the parameter data of the process formula of the production equipment;
the second verification module is used for verifying the process formula parameter data of the production equipment for the second time in real time;
the third acquisition module is used for acquiring the information that the production equipment successfully receives the second process formula parameter data;
the second verification module further comprises:
and the judging module is used for judging whether to issue the equipment production instruction.
10. A product process formula parameter issuing verification platform based on an API gateway is characterized by comprising the following steps:
the system comprises a processor, a memory and a platform control program for issuing verification based on the product process formula parameters of the API gateway;
wherein the platform control program for API gateway based product process recipe parameter issue verification is executed on the processor, the platform control program for API gateway based product process recipe parameter issue verification is stored in the memory, and the platform control program for API gateway based product process recipe parameter issue verification implements the method steps for API gateway based product process recipe parameter issue verification as recited in any one of claims 1 to 7.
CN202011088544.XA 2020-10-13 2020-10-13 Product process formula parameter issuing and checking method and system based on API gateway Pending CN112381346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011088544.XA CN112381346A (en) 2020-10-13 2020-10-13 Product process formula parameter issuing and checking method and system based on API gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011088544.XA CN112381346A (en) 2020-10-13 2020-10-13 Product process formula parameter issuing and checking method and system based on API gateway

Publications (1)

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

Family

ID=74581319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011088544.XA Pending CN112381346A (en) 2020-10-13 2020-10-13 Product process formula parameter issuing and checking method and system based on API gateway

Country Status (1)

Country Link
CN (1) CN112381346A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115357000A (en) * 2022-10-19 2022-11-18 东方合智数据科技(广东)有限责任公司 Production parameter issuing method, device, equipment and storage medium
CN117784740A (en) * 2024-02-27 2024-03-29 宁德时代新能源科技股份有限公司 Parameter configuration method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491850A (en) * 2016-10-14 2017-12-19 浙江中之杰软件技术有限公司 A kind of product quality monitoring system
CN108693846A (en) * 2018-05-16 2018-10-23 京东方科技集团股份有限公司 Control method, production executive system and the equipment interface system of technological parameter
CN109784631A (en) * 2018-12-12 2019-05-21 广州永霸信息科技股份有限公司 A kind of production work order generates processing method, system, platform and storage medium
WO2020083189A1 (en) * 2018-10-24 2020-04-30 北京金山云网络技术有限公司 Request processing method and device, api gateway, and readable storage medium
CN111308980A (en) * 2020-03-11 2020-06-19 浙江杰克智能缝制科技有限公司 Control system and control method based on issuing of sewing machine process files

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491850A (en) * 2016-10-14 2017-12-19 浙江中之杰软件技术有限公司 A kind of product quality monitoring system
CN108693846A (en) * 2018-05-16 2018-10-23 京东方科技集团股份有限公司 Control method, production executive system and the equipment interface system of technological parameter
WO2020083189A1 (en) * 2018-10-24 2020-04-30 北京金山云网络技术有限公司 Request processing method and device, api gateway, and readable storage medium
CN109784631A (en) * 2018-12-12 2019-05-21 广州永霸信息科技股份有限公司 A kind of production work order generates processing method, system, platform and storage medium
CN111308980A (en) * 2020-03-11 2020-06-19 浙江杰克智能缝制科技有限公司 Control system and control method based on issuing of sewing machine process files

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115357000A (en) * 2022-10-19 2022-11-18 东方合智数据科技(广东)有限责任公司 Production parameter issuing method, device, equipment and storage medium
CN117784740A (en) * 2024-02-27 2024-03-29 宁德时代新能源科技股份有限公司 Parameter configuration method and system

Similar Documents

Publication Publication Date Title
CN109889551B (en) Method for accessing intelligent hardware to Internet of things cloud platform
CN106534107B (en) Message service system of Internet of things
US11178049B2 (en) Device deployment and net work management using a self-service portal
CN107454092B (en) OPCUA and DDS protocol signal conversion device, communication system and communication method
CN108847979B (en) Self-adaptive configuration system and method based on SCADA
US20090157835A1 (en) Presence Enabled Instance Messaging for Distributed Energy Management Solutions
CN112381347A (en) Production equipment state data real-time monitoring method and system based on API gateway
EP2378741B1 (en) Systems and Methods for Conducting Communications Among Components of Multidomain Industrial Automation System
CN113411215B (en) Time-sensitive network centralized user configuration method and system based on OPC UA
CN109391516B (en) Cloud third-party network management system for realizing centralized maintenance and management of multi-manufacturer UTN equipment
CN109960634B (en) Application program monitoring method, device and system
CN109379217B (en) A kind of different producer's arranging service device of Metropolitan Area Network (MAN)
CN112381346A (en) Product process formula parameter issuing and checking method and system based on API gateway
CN106549864B (en) A kind of Realization Method of Communication of cloud gateway
CN110417760B (en) Interoperation method of edge layer in industrial Internet and middleware
US20220108806A1 (en) Global internet of things (iot) connectivity fabric
US20220019199A1 (en) Industrial automation broker device
CN111309691A (en) Data sharing exchange system and exchange method based on bus architecture
CN113518125A (en) Offline data uploading method and system, storage medium and electronic device
EP3576376A1 (en) Data transmission within an industrial automation system
CN116915827A (en) Data transmission method and device of internet of things edge gateway, electronic equipment and medium
CN105306442A (en) Proxy server and command transmission methods
CN112381348A (en) Production data real-time clock synchronization method and system based on API gateway
CN116915669B (en) Message management method, device, related equipment, chip and storage medium
CN113946143B (en) Industrial automation proxy equipment

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