Disclosure of Invention
The invention aims to solve at least one of the technical problems in the prior art to a certain extent, and provides an efficient, safe and controllable solution for MES operation control management by providing an automatic assembly line MES operation control management method and system.
In order to achieve the above object, in a first aspect, the present application provides a method for controlling and managing an MES operation of an automation pipeline, based on an operation and maintenance side and a development side, comprising the steps of:
Authenticating the intelligent equipment at the operation and maintenance side;
Acquiring an MES package to be deployed from an MES software warehouse at a research and development side through authenticated intelligent equipment, and calculating a package characteristic value of the MES package;
Based on the packet characteristic value, carrying out integrity check on the MES packet by adopting a preset double-side check mechanism;
executing the deployment operation of the MES package based on the integrity check result;
creating a configuration item in the intelligent equipment with the MES package deployed;
and associating the configuration item with the MES system software product, and carrying out version management on the deployed MES system software product to form an MES product warehouse.
Further, the MES package comprises an MES system software product and application environment information of the MES system software product.
Further, the method comprises the steps of acquiring the identification information of the MES package and the digital signature for tamper resistance while acquiring the MES package to be deployed.
Further, the MES product warehouse comprises version information, construction time and metadata of constructors of each MES system software product.
Further, in the creating configuration items, each of the configuration items is associated with an MES system software product, application environment information, a class of functional modules of the MES system software product, an encoding specification, a server IP, and a deployment path.
Further, the preset double-side checking mechanism comprises:
The intelligent equipment at the operation and maintenance side generates a data packet containing a packet characteristic value, identification information and a digital signature;
The intelligent equipment at the operation and maintenance side sends the data packet to an environment server appointed by the operation and maintenance side;
after the environment server appointed by the operation and maintenance side receives the data packet, decrypting and checking the digital signature by using the stored private key;
the environment server appointed by the operation and maintenance side returns the verification result to the intelligent equipment of the operation and maintenance side;
after receiving the verification result, the intelligent equipment at the operation and maintenance side performs integrity verification on the MES package by using the public key, the file characteristic value, the identification information and the digital signature.
Further, the packet characteristic values of the MES packet comprise a hash value, a time stamp, a checksum and a sequence number.
Further, associating the configuration items with the MES system software products and version managing the deployed MES system software products to form an MES product warehouse, comprising:
The intelligent equipment at the operation and maintenance side promotes the MES system software product from the research and development side, and deploys the MES system software product with the appointed version and the configuration item to the appointed environment server at the operation and maintenance side by using an automatic pipeline.
Further, the automated pipeline comprises:
The MES is constructed into a class pipeline, an MES deployment class pipeline and an MES conventional class pipeline;
wherein, the MES construction class pipeline is responsible for compiling and generating products;
the MES deployment class pipeline is responsible for pushing and deploying configuration items and products to a specified server or mirror image;
the MES conventional class pipeline is responsible for tandem building class and deployment class operations.
In a second aspect, the present application further provides an automated assembly line MES operation control management system, configured to implement an automated assembly line MES operation control management method, including:
an authentication unit for authenticating the intelligent equipment at the operation and maintenance side;
An MES package acquisition unit for acquiring an MES package to be deployed from an MES software warehouse at a research and development side through authenticated intelligent equipment and calculating a package characteristic value of the MES package;
The double-end verification unit is used for carrying out integrity verification on the MES packet by adopting a preset double-side verification mechanism based on the packet characteristic value;
the deployment unit is used for executing the deployment operation of the MES package based on the integrity check result;
The configuration item management unit is used for creating a configuration item in the intelligent equipment with the MES package deployed;
The cooperative configuration unit is used for associating the configuration items with the MES system software products and carrying out version management on the deployed MES system software products to form an MES product warehouse;
and the pipeline setting unit is used for setting an MES construction class pipeline, an MES deployment class pipeline and an MES conventional class pipeline.
Compared with the prior art, the invention provides the method and the system for controlling and managing the operation of the MES of the automatic assembly line, which have the following specific effects:
(1) The safety and accuracy of the deployment of the MES system are improved, and malicious software and tampering behaviors are effectively prevented;
(2) Unified management, version control and inter-environment circulation of configuration parameters are realized, and efficiency and consistency of configuration management are improved;
(3) The MES software product warehouse and the version management mechanism are established, and the accuracy and the safety of the MES product are ensured;
(4) The automatic pipeline service is realized, the situation of human configuration errors is reduced, and the production efficiency and the operation and maintenance convenience are improved;
in summary, the technical scheme provides an efficient, safe and controllable solution for MES operation control management.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In embodiment 1, referring to fig. 1, the present application provides a method for controlling and managing an MES operation of an automated assembly line, based on an operation and maintenance side and a development side, comprising the following steps:
Authenticating the intelligent equipment at the operation and maintenance side;
Acquiring an MES package to be deployed from an MES software warehouse at a research and development side through authenticated intelligent equipment, and calculating a package characteristic value of the MES package;
Based on the packet characteristic value, carrying out integrity check on the MES packet by adopting a preset double-side check mechanism;
executing the deployment operation of the MES package based on the integrity check result;
creating a configuration item in the intelligent equipment with the MES package deployed;
and associating the configuration item with the MES system software product, and carrying out version management on the deployed MES system software product to form an MES product warehouse.
In the implementation process, the MES package comprises an MES system software product and application environment information of the MES system software product.
In the implementation process, the method comprises the steps of acquiring the identification information of the MES package and the tamper-proof digital signature while acquiring the MES package to be deployed.
In the specific implementation process, the digital signature is obtained by encrypting the content of the data packet by using a private key, and comprises information such as sender information, sending time, abstract of the data packet and the like of the data packet. The main function of digital signature is to ensure the authenticity and integrity of data and prevent the data from being tampered or impersonated during transmission. The receiving end can decrypt and verify the digital signature by using the stored public key, thereby confirming the sender identity and the data content of the data packet.
In a specific implementation, the MES product warehouse comprises version information, construction time and metadata of constructors of each MES system software product.
In a specific implementation, in creating the configuration items, each configuration item is associated with an MES system software product, application environment information, a class of functional modules of the MES system software product, an encoding specification, a server IP, and a deployment path.
In the specific implementation process, the method also comprises configuration item operation and version management, wherein the configuration item is created, modified and deleted to realize the version management of the configuration parameters. Meanwhile, the circulation of configuration items among different environments is supported, and the consistency of configuration information is ensured.
In a specific implementation process, a preset double-side checking mechanism includes:
The intelligent equipment at the operation and maintenance side generates a data packet containing a packet characteristic value, identification information and a digital signature;
The intelligent equipment at the operation and maintenance side sends the data packet to an environment server appointed by the operation and maintenance side;
after the environment server appointed by the operation and maintenance side receives the data packet, decrypting and checking the digital signature by using the stored private key;
the environment server appointed by the operation and maintenance side returns the verification result to the intelligent equipment of the operation and maintenance side;
after receiving the verification result, the intelligent equipment at the operation and maintenance side performs integrity verification on the MES package by using the public key, the file characteristic value, the identification information and the digital signature.
In a specific implementation, the packet characteristic values of the MES packet include a hash value, a time stamp, a checksum and a sequence number.
In a specific implementation process, the hash value is a data summary calculated by a specific algorithm, and can map data with any length to a hash value with a fixed length. In MES packets, hash values are typically used to verify the integrity of the data. If the data is tampered in the transmission process, the hash value of the data will change, so that the data is detected by the receiving end.
In a specific implementation, the timestamp is a time record of the generation or transmission of the data packet. In MES packets, time stamps can be used to verify the timeliness of the data, preventing stale data from being processed or applied erroneously.
In a specific implementation, the checksum is a simple data integrity verification method that is the result of adding (or otherwise operating) bits to the data in the data packet. The receiving end can perform the same operation on the received data packet, and compare the result with the checksum provided by the transmitting end to verify the integrity of the data.
In particular implementations, sequence numbers are typically used to identify the order and uniqueness of the data packets. In an MES system, the serial number can help a receiving end to identify and process data packets, and the correctness and the order of the data are ensured.
In a specific implementation, associating configuration items with an MES system software product, and performing version management on the deployed MES system software product to form an MES product warehouse, including:
The intelligent equipment at the operation and maintenance side promotes the MES system software product from the research and development side, and deploys the MES system software product with the appointed version and the configuration item to the appointed environment server at the operation and maintenance side by using an automatic pipeline. Ensuring the accuracy and the safety of MES products.
In a specific implementation, an automated pipeline includes:
The MES is constructed into a class pipeline, an MES deployment class pipeline and an MES conventional class pipeline;
wherein, the MES construction class pipeline is responsible for compiling and generating products;
the MES deployment class pipeline is responsible for pushing and deploying configuration items and products to a specified server or mirror image;
the MES conventional class pipeline is responsible for tandem building class and deployment class operations.
In the specific implementation process, an MES construction class pipeline, an MES deployment class pipeline and an MES conventional class pipeline are generated according to project requirements.
In the specific implementation process, the automatic pipeline records the execution log, the state information and the abnormal information in real time in the execution process. The MES management system provides a monitoring interface, displays the execution progress, state and abnormal alarm of the assembly line, and is convenient for operation and maintenance personnel to discover and process problems in time.
In a specific implementation, an automated pipelining technique is utilized to automatically deploy a particular version of an MES system software product (i.e., a particular version of software) and associated configuration items (including settings and parameters required for software operation) to a specified production environment server. The purpose of this is to ensure that the software and its configuration can be validated quickly and accurately in the target environment, while reducing the risk of errors from manual operations.
In specific implementations, the MES article includes the following types:
The MES system software product is a core part of the MES system and contains all functional codes and necessary configuration files of the MES system. These articles are often subjected to rigorous testing and validation to ensure their stability and reliability.
MES System Module the MES system is typically made up of a number of modules, such as a production plan management module, a production process monitoring module, a quality management module, and the like. Each module can be compiled and packaged into products independently, and the modular deployment and management are facilitated.
Customizing MES products, namely customizing and developing the MES system according to the requirements and business processes of different enterprises. A customized MES product is a software product that customizes developed MES systems or modules according to enterprise needs.
In practice, the generation and deployment of MES articles typically relies on an automated pipeline. The automatic assembly line can automatically complete tasks such as compiling, packing, testing, deploying and the like of the MES product, and improves the efficiency and accuracy of the MES system deployment.
In a specific embodiment, the invention ensures the safe, reliable and efficient deployment of the MES system and improves the management level of the manufacturing execution system through a series of measures such as intelligent equipment authentication, double-side verification mechanism, configuration item management, version management and the like.
Embodiment 2, referring to fig. 2, the present application further provides an automated pipeline MES operation control management system, configured to implement the automated pipeline MES operation control management method according to any one of embodiment 1, including:
an authentication unit for authenticating the intelligent equipment at the operation and maintenance side;
An MES package acquisition unit for acquiring an MES package to be deployed from an MES software warehouse at a research and development side through authenticated intelligent equipment and calculating a package characteristic value of the MES package;
The double-end verification unit is used for carrying out integrity verification on the MES packet by adopting a preset double-side verification mechanism based on the packet characteristic value;
the deployment unit is used for executing the deployment operation of the MES package based on the integrity check result;
The configuration item management unit is used for creating a configuration item in the intelligent equipment with the MES package deployed;
The cooperative configuration unit is used for associating the configuration items with the MES system software products and carrying out version management on the deployed MES system software products to form an MES product warehouse;
and the pipeline setting unit is used for setting an MES construction class pipeline, an MES deployment class pipeline and an MES conventional class pipeline.
Embodiments of the invention may be provided as a system or method by way of the description of the implementations above. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed system or method may be implemented in other manners. The above-described embodiments are merely illustrative, e.g., the division of modules or units is merely a logical division of functionality, and there may be additional divisions of actual implementation, and e.g., multiple modules or units may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, indirect coupling or communication connection of systems, modules, and units, which may be in electrical, mechanical, or other form.
It should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present application, and not for limiting the same, and although the present application has been described in detail with reference to the above-mentioned embodiments, it should be understood by those skilled in the art that the technical solution described in the above-mentioned embodiments may be modified or some technical features may be equivalently replaced, and these modifications or substitutions do not make the essence of the corresponding technical solution deviate from the spirit and scope of the technical solution of the embodiments of the present application.